/* ============================================================
   MASA Landscaping — design system
   Palette keyed to the brand logo: forest-green leaf + wordmark,
   water-ripple teal accent, on a soft green-white surface.
   ============================================================ */

:root{
  --bg:        #F6F9F4;
  --surface:   #FFFFFF;
  --text:      #15241A;
  --muted:     #566359;
  --primary:   #1F7A42;
  --primary-d: #15592F;   /* deeper green for solid sections */
  --secondary: #2F9F58;
  --accent:    #1FA0AB;
  --accent-d:  #157E88;
  --border:    #E0E7DC;
  --focus:     #1FA0AB;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 2px rgba(21,36,26,.05), 0 1px 3px rgba(21,36,26,.06);
  --shadow-md: 0 6px 18px rgba(21,36,26,.08), 0 2px 6px rgba(21,36,26,.05);
  --shadow-lg: 0 24px 60px rgba(21,36,26,.16), 0 8px 24px rgba(21,36,26,.10);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 152px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

body{
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }

:focus-visible{ outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* ---------- layout ---------- */
.wrap{ max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section{ padding-block: clamp(64px, 9vw, 132px); }
.section--tight{ padding-block: clamp(48px, 6vw, 88px); }

/* ---------- type ---------- */
h1,h2,h3{ margin: 0; font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; }
.display{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.005em;
}
.h-hero{ font-size: clamp(2.7rem, 7.5vw, 5.4rem); }
.h-sec{ font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.h-sub{ font-size: clamp(1.5rem, 3vw, 2.1rem); }

.eyebrow{
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: "";
  width: 26px; height: 1.5px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--center{ justify-content: center; }
.lead{ font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--muted); line-height: 1.6; max-width: 60ch; }
.muted{ color: var(--muted); }

.sec-head{ max-width: 760px; }
.sec-head--center{ margin-inline: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: 15px 28px; border-radius: 100px; border: 1.5px solid transparent;
  min-height: 52px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{ background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover{ background: var(--primary-d); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn--accent{ background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(31,160,171,.28); }
.btn--accent:hover{ background: var(--accent-d); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31,160,171,.34); }
.btn--ghost{ background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover{ border-color: var(--primary); color: var(--primary); }
.btn--light{ background: #fff; color: var(--primary-d); }
.btn--light:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-light{ background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover{ border-color: #fff; background: rgba(255,255,255,.08); }
.btn .ic{ width: 18px; height: 18px; }

/* ============================================================
   Header
   ============================================================ */
.header{
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header .wrap{ display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.header.scrolled{
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.brand{ display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.brand img{ height: 132px; width: auto; transition: height .3s ease; filter: drop-shadow(0 1px 1px rgba(0,0,0,.04)); }
.header.scrolled .brand img{ height: 116px; }

.nav{ display: flex; align-items: center; gap: 4px; }
.nav a{
  font-weight: 500; font-size: .96rem; color: #fff; padding: 9px 16px; border-radius: 100px;
  position: relative; transition: color .2s ease, background .2s ease; opacity: .92;
}
.header.scrolled .nav a{ color: var(--text); }
.nav a:hover{ opacity: 1; background: rgba(255,255,255,.14); }
.header.scrolled .nav a:hover{ background: var(--bg); color: var(--primary); }
.nav a.active{ color: var(--accent); opacity: 1; }
.header.scrolled .nav a.active{ color: var(--primary); }

.header-cta{ display: flex; align-items: center; gap: 12px; }
.header-cta .btn{ padding: 12px 22px; min-height: 46px; }
/* before scroll the header sits on the dark hero — make the quote btn pop */
.header:not(.scrolled) .header-cta .btn--primary{ background: #fff; color: var(--primary-d); }
.header:not(.scrolled) .header-cta .btn--primary:hover{ background: var(--bg); }
/* call button: on the dark hero use light text/border; revert to dark ghost once scrolled */
.header:not(.scrolled) .header-cta .btn--ghost{ color: #fff; border-color: rgba(255,255,255,.55); }
.header:not(.scrolled) .header-cta .btn--ghost:hover{ color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }

.burger{
  display: none; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  width: 48px; height: 48px; border-radius: 12px; padding: 0; align-items: center; justify-content: center;
}
.header.scrolled .burger{ background: var(--bg); border-color: var(--border); }
.burger span{ display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: .25s; }
.header.scrolled .burger span{ background: var(--text); }
.burger span::before, .burger span::after{ content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: inherit; transition: .25s; }
.burger span::before{ top: -6px; }
.burger span::after{ top: 6px; }

/* ---------- mobile drawer ---------- */
.drawer-scrim{
  position: fixed; inset: 0; z-index: 110; background: rgba(15,30,20,.5);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
  backdrop-filter: blur(2px);
}
.drawer-scrim.open{ opacity: 1; visibility: visible; }
.drawer{
  position: fixed; top: 0; right: 0; z-index: 111; height: 100%;
  width: min(86vw, 360px); background: var(--surface);
  transform: translateX(100%); transition: transform .34s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; padding: 22px; box-shadow: var(--shadow-lg);
}
.drawer.open{ transform: translateX(0); }
.drawer-top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer-top img{ height: 104px; }
.drawer-close{ background: var(--bg); border: 1px solid var(--border); width: 44px; height: 44px; border-radius: 12px; font-size: 20px; color: var(--text); display: flex; align-items: center; justify-content: center; }
.drawer nav{ display: flex; flex-direction: column; margin-top: 8px; }
.drawer nav a{ padding: 15px 8px; font-size: 1.18rem; font-weight: 500; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.drawer nav a span{ color: var(--accent); }
.drawer-actions{ margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 18px; }
.drawer-actions .btn{ width: 100%; }
.drawer-contact{ margin-top: 16px; font-size: .92rem; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.drawer-contact a{ color: var(--primary); font-weight: 600; }

/* ============================================================
   Hero
   ============================================================ */
.hero{ position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-media img{ width: 100%; height: 100%; object-fit: cover; }
.hero-media::after{
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,20,12,.88) 0%, rgba(8,20,12,.55) 34%, rgba(8,20,12,.15) 62%, rgba(8,20,12,.45) 100%);
}
.hero-inner{ position: relative; z-index: 1; width: 100%; padding-block: clamp(40px, 9vh, 110px); }
.hero .eyebrow{ color: #fff; }
.hero .eyebrow::before{ background: var(--accent); }
.hero h1{ max-width: 16ch; margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero-lead{ font-size: clamp(1.08rem, 2vw, 1.4rem); color: rgba(255,255,255,.92); max-width: 48ch; line-height: 1.55; margin-bottom: 34px; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-scroll{ position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1; color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll .dot{ width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 12px; position: relative; }
.hero-scroll .dot::after{ content:""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 2px; background: #fff; animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot{ 0%,100%{ opacity: 0; transform: translate(-50%,0);} 50%{ opacity:1; transform: translate(-50%,8px);} }

/* ---------- stat / trust strip ---------- */
.trust{ background: var(--primary-d); color: #fff; }
.trust .wrap{ display: flex; flex-wrap: wrap; gap: 14px 48px; align-items: center; justify-content: space-between; padding-block: 26px; }
.trust-item{ display: flex; align-items: center; gap: 12px; font-weight: 500; }
.trust-item .k{ font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; }
.trust-item .l{ font-size: .92rem; color: rgba(255,255,255,.78); line-height: 1.3; }
.trust-sep{ width: 1px; height: 34px; background: rgba(255,255,255,.2); }

/* ============================================================
   Services
   ============================================================ */
.svc-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.svc{
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease; min-height: 300px; display: flex; flex-direction: column;
}
.svc:hover{ transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-media{ position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--border); }
.svc-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.svc:hover .svc-media img{ transform: scale(1.06); }
.svc-tag{ position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--primary-d); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 100px; }
.svc-body{ padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-body h3{ font-size: 1.24rem; font-weight: 600; }
.svc-body p{ margin: 0; font-size: .96rem; color: var(--muted); line-height: 1.55; }
.svc-link{ margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--primary); font-size: .92rem; display: inline-flex; align-items: center; gap: 7px; }
.svc-link .ar{ transition: transform .25s ease; }
.svc:hover .svc-link .ar{ transform: translateX(4px); }

/* tile without a photo — patterned green panel */
.svc--plain .svc-media{
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 100% at 0% 0%, var(--secondary) 0%, var(--primary) 55%, var(--primary-d) 100%);
}
.svc--plain .svc-media::before{
  content:""; position:absolute; inset:0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 2px, transparent 2px 14px);
}
.svc--plain .svc-glyph{ position: relative; color: rgba(255,255,255,.92); width: 56px; height: 56px; }

/* ============================================================
   Projects gallery
   ============================================================ */
.proj-grid{ display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; margin-top: 52px; }
.proj{
  position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: pointer; background: var(--border);
  box-shadow: var(--shadow-sm);
}
.proj img{ width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.proj:hover img{ transform: scale(1.07); }
.proj::after{ content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(8,20,12,.55), transparent 55%); opacity: 0; transition: opacity .3s ease; }
.proj:hover::after{ opacity: 1; }
.proj-cap{ position: absolute; left: 16px; bottom: 14px; right: 16px; color: #fff; z-index: 2; opacity: 0; transform: translateY(8px); transition: .3s ease; font-weight: 600; font-size: .98rem; display: flex; align-items: center; gap: 8px; }
.proj:hover .proj-cap{ opacity: 1; transform: translateY(0); }
.proj-cap .expand{ width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.proj.tall{ grid-row: span 2; }
.proj.wide{ grid-column: span 2; }

/* lightbox */
.lb{ position: fixed; inset: 0; z-index: 200; background: rgba(7,16,10,.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.lb.open{ opacity: 1; visibility: visible; }
.lb-img{ max-width: 90vw; max-height: 82vh; border-radius: 8px; box-shadow: var(--shadow-lg); object-fit: contain; }
.lb-cap{ position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: .95rem; padding-inline: 20px; }
.lb-btn{ position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 54px; height: 54px; border-radius: 50%; font-size: 22px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lb-btn:hover{ background: rgba(255,255,255,.24); }
.lb-prev{ left: clamp(12px, 3vw, 40px); top: 50%; transform: translateY(-50%); }
.lb-next{ right: clamp(12px, 3vw, 40px); top: 50%; transform: translateY(-50%); }
.lb-close{ top: 22px; right: 22px; width: 48px; height: 48px; }

/* ============================================================
   Process
   ============================================================ */
.process{ background: var(--primary-d); color: #fff; position: relative; overflow: hidden; }
.process::before{ content:""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px); }
.process .eyebrow{ color: #fff; }
.process .eyebrow::before{ background: var(--accent); }
.process .wrap{ position: relative; }
.steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.step{ padding: 32px 28px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.step-n{ font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 16px; }
.step h3{ font-size: 1.4rem; margin-bottom: 10px; }
.step p{ margin: 0; color: rgba(255,255,255,.78); font-size: .98rem; line-height: 1.6; }

/* ============================================================
   Why / About split
   ============================================================ */
.split{ display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-media{ position: relative; }
.split-media img{ width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; }
.split-media .badge{
  position: absolute; bottom: -22px; left: -22px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-lg); max-width: 230px;
}
.split-media .badge .k{ font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--primary); line-height: 1; }
.split-media .badge .l{ font-size: .9rem; color: var(--muted); margin-top: 4px; }
.feature-list{ list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 18px; }
.feature-list li{ display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fi{ flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.feature-list h4{ margin: 0 0 2px; font-size: 1.06rem; font-weight: 600; }
.feature-list p{ margin: 0; font-size: .96rem; color: var(--muted); line-height: 1.5; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band{ background: linear-gradient(120deg, var(--primary) 0%, var(--primary-d) 70%); color: #fff; border-radius: clamp(20px, 3vw, 32px); padding: clamp(40px, 6vw, 76px); text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band::before{ content:""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 100% 0%, rgba(31,160,171,.4), transparent 60%); }
.cta-band > *{ position: relative; }
.cta-band h2{ margin-bottom: 16px; }
.cta-band p{ color: rgba(255,255,255,.9); max-width: 52ch; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-actions{ display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid{ display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); margin-top: 50px; }
.office{ display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.office:first-of-type{ padding-top: 0; }
.office .pin{ flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.office h3{ font-size: 1.16rem; margin-bottom: 4px; }
.office p{ margin: 0; color: var(--muted); font-size: .98rem; }
.contact-rows{ display: grid; gap: 6px; margin-top: 26px; }
.crow{ display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.crow .ci{ width: 42px; height: 42px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.crow .ck{ font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crow a, .crow span.cv{ font-weight: 600; font-size: 1.05rem; color: var(--text); }
.crow a:hover{ color: var(--primary); }

.map-ph{
  margin-top: 26px; border-radius: var(--radius); border: 1.5px dashed var(--border); background:
    repeating-linear-gradient(45deg, rgba(31,122,66,.05) 0 12px, transparent 12px 24px), var(--surface);
  min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; color: var(--muted);
}
.map-ph .mt{ font-weight: 600; color: var(--text); font-size: 1.02rem; }
.map-ph .ms{ font-size: .88rem; }

/* form */
.form-card{ background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-md); }
.form-card h3{ font-size: 1.5rem; margin-bottom: 6px; }
.form-card .fsub{ color: var(--muted); margin: 0 0 24px; font-size: .98rem; }
.field{ margin-bottom: 16px; }
.field label{ display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 7px; color: var(--text); }
.field label .req{ color: var(--accent); }
.field input, .field select, .field textarea{
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea{ resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus{ outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px rgba(31,160,171,.12); }
.field.error input, .field.error select, .field.error textarea{ border-color: #c0392b; }
.field .err{ display: none; color: #c0392b; font-size: .8rem; margin-top: 5px; }
.field.error .err{ display: block; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit{ width: 100%; margin-top: 6px; }
.form-fine{ font-size: .82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-success{ display: none; text-align: center; padding: 30px 10px; }
.form-success.show{ display: block; }
.form-success .check{ width: 64px; height: 64px; border-radius: 50%; background: var(--bg); border: 2px solid var(--primary); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success h3{ margin-bottom: 8px; }
.form-success p{ color: var(--muted); margin: 0; }

/* ============================================================
   Footer
   ============================================================ */
.footer{ background: var(--text); color: rgba(255,255,255,.7); padding-block: clamp(48px, 6vw, 72px) 28px; }
.footer-top{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img{ height: 210px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p{ font-size: .96rem; line-height: 1.6; max-width: 34ch; color: rgba(255,255,255,.6); }
.footer h4{ color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; font-weight: 600; }
.footer ul{ list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a{ font-size: .96rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer ul a:hover{ color: var(--accent); }
.footer-contact span{ display: block; font-size: .96rem; margin-bottom: 10px; line-height: 1.5; color: rgba(255,255,255,.7); }
.footer-contact a{ color: #fff; font-weight: 600; }
.socials{ display: flex; gap: 10px; margin-top: 18px; }
.socials a{ width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); transition: .2s; }
.socials a:hover{ background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ============================================================
   Mobile sticky action bar
   ============================================================ */
.mbar{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(21,36,26,.08);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
}
.mbar a{ flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 4px; border-radius: 12px; font-size: .72rem; font-weight: 600; min-height: 52px; color: var(--text); }
.mbar a .ic{ width: 22px; height: 22px; }
.mbar a.call{ color: var(--primary); }
.mbar a.wa{ background: var(--accent); color: #fff; }
.mbar a.quote{ background: var(--primary); color: #fff; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal{ opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity: 1; transform: none; }
.reveal.d1{ transition-delay: .08s; }
.reveal.d2{ transition-delay: .16s; }
.reveal.d3{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity: 1; transform: none; transition: none; } .hero-scroll .dot::after{ animation: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px){
  .svc-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px){
  .nav, .header-cta .btn--ghost{ display: none; }
  .burger{ display: flex; }
  .header-cta .btn{ display: none; }
  .split{ grid-template-columns: 1fr; gap: 48px; }
  .split-media{ max-width: 460px; }
  .split-media .badge{ left: auto; right: -10px; }
  .steps{ grid-template-columns: 1fr; gap: 16px; }
  .contact-grid{ grid-template-columns: 1fr; }
  .proj-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .proj.wide{ grid-column: span 2; }
  .proj.tall{ grid-row: span 1; }
}
@media (max-width: 760px){
  body{ font-size: 16px; }
  .mbar{ display: flex; }
  body{ padding-bottom: 0; }
  main{ padding-bottom: 72px; }
  .trust .wrap{ justify-content: flex-start; gap: 18px 28px; }
  .trust-sep{ display: none; }
  .trust-item{ flex-basis: calc(50% - 28px); }
  .footer-top{ grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom{ flex-direction: column; gap: 6px; }
}
@media (max-width: 560px){
  :root{ --header-h: 118px; }
  .svc-grid{ grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
  .proj-grid{ grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 10px; margin-top: 36px; }
  .form-row{ grid-template-columns: 1fr; gap: 0; }
  .hero-inner{ padding-bottom: 116px; }
  .hero-scroll{ display:none; }
  .hero-actions{ gap: 10px; }
  .hero-actions .btn{ flex: 1; min-width: 100%; }
  .split-media .badge{ position: static; margin-top: 16px; max-width: none; }
  .cta-actions .btn{ width: 100%; }
  .brand img{ height: 100px; }
  .header.scrolled .brand img{ height: 88px; }
}
