/* ============================================================
   Kings Contractors — Stylesheet
   Light theme, gold accents, mobile-first responsive
   ============================================================ */

:root {
  --bg: #F8F4ED;
  --bg-white: #FFFFFF;
  --bg-deep: #EFE8D9;
  --bg-strip: #1A1814;
  --ink: #0A0A0A;
  --ink-soft: #2A2A2A;
  --muted: #6B6B6B;
  --muted-soft: #8E8E8E;
  --gold: #B8954A;
  --gold-bright: #C9A961;
  --gold-dark: #8B7642;
  --line: rgba(0, 0, 0, 0.08);
  --line-gold: rgba(184, 149, 74, 0.22);
  --nav-height: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--gold);
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
}

/* ============ NAVIGATION ============ */
nav.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(248, 244, 237, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
nav.top .container {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 42px; width: auto; }
.nav-brand-text {
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 11px 22px;
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.02em !important;
  transition: all 0.25s;
}
.nav-cta:hover {
  background: var(--gold); color: var(--ink) !important;
  transform: translateY(-1px);
}

/* Hamburger button */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.nav-toggle:hover { border-color: var(--gold); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: all 0.3s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; position: absolute; left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  background: var(--bg);
  color: var(--ink);
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(184, 149, 74, 0.18), transparent 70%),
    radial-gradient(circle at 90% 70%, rgba(184, 149, 74, 0.08), transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 92px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 24px;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.hero h1 .underline-word {
  position: relative;
  display: inline-block;
}
.hero h1 .underline-word::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 6px;
  background: var(--gold);
  opacity: 0.35;
  z-index: -1;
}
.hero-sub {
  margin-top: 28px;
  font-size: clamp(16px, 2.5vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 540px;
}
.hero-cta-row {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--gold); color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(184, 149, 74, 0.4);
}
.btn-ghost {
  color: var(--ink);
  padding: 16px 26px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(184, 149, 74, 0.05);
}

.hero-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.12);
}
.hero-card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero-card-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 28px;
  font-weight: 400;
}
.hero-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-card-row:first-of-type { border-top: none; }
.hero-card-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(184, 149, 74, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.hero-card-row strong { display: block; color: var(--ink); font-weight: 600; }
.hero-card-row span { color: var(--muted); font-size: 12px; }

.hero-marquee {
  margin-top: 80px;
  background: var(--bg-strip);
  border-radius: 100px;
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  gap: 70px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: 'Fraunces', serif;
  font-size: 17px;
  color: rgba(248, 244, 237, 0.7);
  font-style: italic;
  font-weight: 300;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 70px; }
.marquee-track span::after {
  content: '✦';
  color: var(--gold-bright);
  font-size: 14px;
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ ABOUT ============ */
.about {
  padding: 120px 0;
  background: var(--bg-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
  align-items: center;
}
.about-image {
  border-radius: 4px;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.18);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.about h2 {
  font-size: clamp(32px, 4.5vw, 58px);
  margin-top: 22px;
  color: var(--ink);
}
.about h2 em { font-style: italic; color: var(--gold-dark); font-weight: 400; }
.about p {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.about-signature {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.about-signature .name {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--ink);
}
.about-signature .role {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 4px;
}

/* ============ SERVICES ============ */
.services {
  padding: 120px 0;
  background: var(--bg);
  color: var(--ink);
  position: relative;
}
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: end;
}
.services h2 {
  font-size: clamp(32px, 5vw, 64px);
  margin-top: 22px;
  color: var(--ink);
}
.services h2 em { font-style: italic; color: var(--gold-dark); font-weight: 400; }
.services-sub {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 480px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.service-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 36px;
  transition: background 0.3s;
  position: relative;
}
.service-card:hover { background: var(--bg); }
.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-last-child(-n+3) { border-bottom: none; }
.service-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  font-weight: 300;
}
.service-card h3 {
  margin-top: 18px;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.15;
}
.service-card p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.service-icon {
  width: 44px; height: 44px;
  margin-bottom: 8px;
  color: var(--gold);
}

/* ============ STATS ============ */
.stats {
  background: var(--bg-deep);
  padding: 70px 0;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat .num {
  font-family: 'Fraunces', serif;
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 400;
  color: var(--gold-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .num sup { font-size: 0.45em; vertical-align: super; }
.stat .label {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* ============ PROCESS ============ */
.process {
  padding: 120px 0;
  background: var(--bg-white);
}
.process-head {
  text-align: center;
  margin-bottom: 70px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.process-head .eyebrow { margin-bottom: 20px; }
.process-head h2 {
  font-size: clamp(32px, 5vw, 60px);
  color: var(--ink);
}
.process-head h2 em { font-style: italic; color: var(--gold-dark); font-weight: 400; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}
.process-step { position: relative; }
.process-step .num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  font-weight: 400;
}
.process-step h3 {
  font-size: 22px;
  margin-top: 18px;
  color: var(--ink);
  font-weight: 500;
}
.process-step p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.process-step::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 60px;
  right: -20px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.5;
}
.process-step:last-child::before { display: none; }

/* ============ GALLERY ============ */
.gallery {
  padding: 120px 0;
  background: var(--bg);
  color: var(--ink);
}
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 60px;
  gap: 40px;
  flex-wrap: wrap;
}
.gallery h2 {
  font-size: clamp(32px, 5vw, 64px);
  margin-top: 22px;
  color: var(--ink);
  max-width: 700px;
}
.gallery h2 em { font-style: italic; color: var(--gold-dark); font-weight: 400; }
.gallery-sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 320px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  transition: transform 0.4s, box-shadow 0.4s;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.18);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item.span-3 { grid-column: span 3; }
.gallery-item.row-2 { grid-row: span 2; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 10, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay .tag {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--gold-bright);
}
.gallery-overlay .title {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  margin-top: 6px;
  color: #fff;
}
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background:
    linear-gradient(135deg, rgba(184, 149, 74, 0.06), rgba(184, 149, 74, 0.02)),
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(184, 149, 74, 0.06) 18px, rgba(184, 149, 74, 0.06) 19px);
  color: var(--gold-dark);
  font-family: 'Fraunces', serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 16px;
  gap: 10px;
}
.gallery-placeholder svg { opacity: 0.55; }
.gallery-placeholder small {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.05em;
  font-style: italic;
  margin-top: 4px;
}

/* ============ TESTIMONIAL ============ */
.testimonial {
  padding: 120px 0;
  background: var(--bg-white);
  text-align: center;
}
.testimonial .container { max-width: 880px; }
.testimonial .quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 110px;
  color: var(--gold);
  line-height: 0.5;
  font-weight: 300;
  margin-bottom: 30px;
}
.testimonial blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.3;
  color: var(--ink);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}
.testimonial cite {
  display: block;
  margin-top: 38px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-style: normal;
  color: var(--muted);
}
.testimonial cite strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

/* ============ CTA ============ */
.cta {
  padding: 140px 0;
  background: var(--bg-deep);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(184, 149, 74, 0.18), transparent 70%);
}
.cta .container { position: relative; z-index: 2; text-align: center; max-width: 880px; }
.cta h2 {
  font-size: clamp(36px, 6vw, 84px);
  line-height: 1;
  color: var(--ink);
}
.cta h2 em { font-style: italic; color: var(--gold-dark); font-weight: 400; }
.cta p {
  margin-top: 28px;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--ink-soft);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.cta-row {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-info {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}
.cta-info .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.cta-info .value {
  font-family: 'Fraunces', serif;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--ink);
  font-weight: 400;
  word-break: break-word;
}
.cta-info a:hover .value { color: var(--gold); }

/* ============ FOOTER ============ */
footer {
  background: var(--bg-strip);
  color: rgba(248, 244, 237, 0.6);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(184, 149, 74, 0.15);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand img {
  height: 64px; width: auto;
  margin-bottom: 20px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 4px;
}
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(248, 244, 237, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .about-grid { gap: 60px; }
  .services-head { gap: 40px; }
}

/* ============================================================
   RESPONSIVE — MOBILE LANDSCAPE / SMALL TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  /* Show hamburger, hide nav links */
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.12);
    align-items: stretch;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta {
    margin-top: 14px;
    text-align: center;
  }

  /* Hero stacks */
  .hero { padding: 130px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-marquee { margin-top: 60px; }

  /* About stacks */
  .about { padding: 80px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { aspect-ratio: 16/12; max-height: 480px; }

  /* Services to 2-col */
  .services { padding: 80px 0; }
  .services-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { padding: 32px 24px; }
  .service-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .service-card:nth-last-child(-n+2) { border-bottom: none; }

  /* Stats to 2-col */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

  /* Process to 2-col */
  .process { padding: 80px 0; }
  .process-head { margin-bottom: 48px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-step::before { display: none; }

  /* Gallery */
  .gallery { padding: 80px 0; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }

  /* Testimonial */
  .testimonial { padding: 80px 0; }

  /* CTA */
  .cta { padding: 100px 0; }
  .cta-info { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .cta-info .value { font-size: 18px; }

  /* Footer to 2-col */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ============================================================
   RESPONSIVE — MOBILE PORTRAIT (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  :root { --nav-height: 72px; }
  .container { padding: 0 20px; }

  nav.top { padding: 14px 0; }
  .nav-brand img { height: 36px; }
  .nav-brand-text { font-size: 16px; }

  /* Hero adjustments */
  .hero { padding: 120px 0 80px; }
  .hero-card { padding: 28px 22px; }
  .hero-card-title { font-size: 22px; margin-bottom: 22px; }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-ghost { flex: 1; justify-content: center; }
  .marquee-track { font-size: 14px; gap: 50px; }
  .marquee-track span { gap: 50px; }

  /* Services to 1-col */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .service-card:last-child { border-bottom: none !important; }

  /* Process to 1-col */
  .process-grid { grid-template-columns: 1fr; gap: 36px; }

  /* Gallery: simpler 2-col layout, all items even */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
    gap: 10px;
  }
  .gallery-item.span-3,
  .gallery-item.span-2 { grid-column: span 2; }
  .gallery-item.row-2 { grid-row: span 1; }

  /* CTA */
  .cta-row .btn-primary,
  .cta-row .btn-ghost { flex: 1; justify-content: center; }

  /* Footer: stack columns */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ============================================================
   ACCESSIBILITY — Respect prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal, .marquee-track {
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
