/* ============================================================
   Elkin Corp — Pool & Landscape  ·  Lead-gen showcase
   Palette keyed to the brand logo: pool-water teal, palm green,
   sun-arc gold, deep slate wordmark on warm sand neutrals.
   Mobile-first. Test at 375px.
   ============================================================ */

:root {
  --bg:        #F7F5F0;
  --bg-2:      #F1ECE2;
  --surface:   #FFFFFF;
  --text:      #1F3A44;
  --muted:     #5C6B6E;
  --primary:   #159B92;
  --primary-d: #0E7E76;
  --secondary: #4E9A5C;
  --accent:    #C2A35E;
  --border:    #E4DFD4;
  --ink:       #14272D;  /* deep slate-teal for the single dark band */
  --ink-2:     #0E1D22;
  --focus:     #159B92;

  --maxw: 1240px;
  --gut: clamp(1.15rem, 5vw, 4rem);
  --sect: clamp(3.5rem, 9vw, 7.5rem);
  --radius: 4px;
  --shadow-s: 0 1px 2px rgba(20,39,44,.04), 0 2px 8px rgba(20,39,44,.05);
  --shadow-m: 0 12px 30px -12px rgba(20,39,44,.18);
  --shadow-l: 0 30px 60px -24px rgba(20,39,44,.30);

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

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

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

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.06; letter-spacing: -0.01em; }
p { margin: 0; }

::selection { background: var(--primary); color: #fff; }

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

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: var(--sect); }

.eyebrow {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section-head { max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }
h2.display {
  font-size: clamp(2.1rem, 6.2vw, 3.6rem);
  letter-spacing: -0.015em;
}
.lead {
  margin-top: 1.1rem;
  font-size: clamp(1.02rem, 2.4vw, 1.18rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 56ch;
}
.section-head.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bgc: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  padding: 1rem 1.6rem;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--bgc);
  color: #fff;
  cursor: pointer;
  transition: transform .35s var(--ease), background .25s var(--ease), box-shadow .35s var(--ease), color .25s, border-color .25s;
  will-change: transform;
}
.btn:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--text); color: var(--text); box-shadow: var(--shadow-s); }

.btn--light {
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.42);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: #fff; color: var(--text); border-color: #fff; }

.btn--wa { background: #1FAE5A; }
.btn--wa:hover { background: #178c48; }

.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .85rem var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header.scrolled {
  background: rgba(247,245,240,.92);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(20,39,44,.03);
}
.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand img { height: 52px; width: auto; transition: height .4s var(--ease); }
.header.scrolled .brand img { height: 46px; }

/* logo sits on the dark hero image until scrolled — give it a soft plate so the navy
   wordmark stays legible. */
.brand__plate {
  display: flex; align-items: center;
  padding: .3rem .55rem;
  border-radius: 8px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 2px 14px rgba(20,39,44,.12);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s;
}
.header.scrolled .brand__plate { background: transparent; box-shadow: none; padding: 0; }

.nav { display: none; }
.nav a {
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--text);
  padding: .5rem .2rem;
  position: relative;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: .15rem;
  height: 1.5px; background: var(--primary);
  transition: right .3s var(--ease);
}
.nav a:hover { color: var(--primary); }
.nav a:hover::after { right: 0; }

.header__cta { display: none; align-items: center; gap: .7rem; }

/* header colour variant while over hero (not scrolled) */
.header:not(.scrolled) .nav a,
.header:not(.scrolled) .header__cta .btn--ghost { color: #fff; }
.header:not(.scrolled) .header__cta .btn--ghost { border-color: rgba(255,255,255,.5); }
.header:not(.scrolled) .header__cta .btn--ghost:hover { background: rgba(255,255,255,.14); color:#fff; }

/* hamburger */
.menu-btn {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  flex: none;
}
.header:not(.scrolled) .menu-btn { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.menu-btn span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.header:not(.scrolled) .menu-btn span { background: #fff; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 80;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  display: flex; flex-direction: column;
  padding: 1.1rem var(--gut) 2rem;
}
.drawer.open { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__top img { height: 48px; }
.drawer__close {
  width: 46px; height: 46px; border: 1px solid var(--border);
  background: var(--surface); border-radius: var(--radius); cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: var(--text);
}
.drawer nav { display: flex; flex-direction: column; margin-top: 1.5rem; }
.drawer nav a {
  font-family: var(--serif);
  font-size: 2rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.drawer__actions { margin-top: auto; display: grid; gap: .7rem; padding-top: 1.5rem; }
.drawer__actions .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(8,22,26,.86) 0%, rgba(8,22,26,.42) 32%, rgba(8,22,26,0) 62%),
    linear-gradient(to right, rgba(8,22,26,.55) 0%, rgba(8,22,26,0) 55%);
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut) clamp(2.4rem, 8vh, 5rem);
}
.hero__eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: #fff; opacity: .9;
  display: inline-flex; align-items: center; gap: .7rem;
  margin-bottom: 1.1rem;
}
.hero__eyebrow::before { content:""; width: 34px; height:1px; background: var(--accent); }
.hero h1 {
  font-size: clamp(2.6rem, 9.5vw, 5.6rem);
  font-weight: 500;
  max-width: 16ch;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero h1 em { font-style: italic; color: #fff; }
.hero__sub {
  margin-top: 1.3rem;
  max-width: 50ch;
  font-size: clamp(1.02rem, 2.7vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255,255,255,.92);
}
.hero__actions {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; gap: .8rem;
}
.hero__scroll {
  display: none;
  position: absolute; bottom: 1.6rem; right: var(--gut);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.8);
  align-items: center; gap: .6rem;
}

/* ---------- Trust strip ---------- */
.trust { background: var(--ink); color: #fff; }
.trust__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.trust__item {
  padding: 1.6rem var(--gut);
  display: flex; flex-direction: column; gap: .3rem;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.trust__item:last-child { border-bottom: none; }
.trust__k {
  font-family: var(--serif);
  font-size: 1.7rem; font-weight: 500; color: #fff;
  line-height: 1;
}
.trust__k span { color: var(--accent); }
.trust__v { font-size: .9rem; color: rgba(255,255,255,.72); letter-spacing: .02em; }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.svc-grid {
  margin-top: clamp(2rem, 5vw, 3.2rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.7rem;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content:""; position:absolute; left:0; top:0; bottom:0; width:3px;
  background: linear-gradient(var(--primary), var(--secondary));
  transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: transparent; }
.svc-card:hover::before { transform: scaleY(1); }
.svc-icon {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--primary) 12%, white);
  color: var(--primary);
  margin-bottom: 1.2rem;
}
.svc-icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 1.55rem; margin-bottom: .55rem; }
.svc-card p { color: var(--muted); font-size: .98rem; margin-bottom: 1rem; }
.svc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.svc-list li {
  font-size: .8rem; color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: .32rem .7rem; border-radius: 100px;
  letter-spacing: .01em;
}

/* ---------- Portfolio ---------- */
.portfolio { background: var(--surface); border-block: 1px solid var(--border); }
.port-head { display: flex; flex-direction: column; gap: 1.4rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  font-family: var(--sans);
  font-size: .85rem; font-weight: 500;
  padding: .55rem 1.05rem;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 100px;
  color: var(--muted);
  cursor: pointer;
  transition: .25s var(--ease);
  min-height: 40px;
}
.filter:hover { color: var(--text); border-color: var(--text); }
.filter.active { background: var(--text); color: #fff; border-color: var(--text); }

.gallery {
  margin-top: clamp(1.6rem, 4vw, 2.6rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--bg-2);
  aspect-ratio: 4 / 3;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease), filter .5s;
}
.tile__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,22,26,.78), rgba(8,22,26,.05) 55%, transparent);
  opacity: .85; transition: opacity .4s;
}
.tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1.2rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem;
  color: #fff;
  transform: translateY(0);
}
.tile__cap h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.1; }
.tile__cap span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78); display:block; margin-bottom:.2rem; }
.tile__plus {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  display: grid; place-items: center; flex: none;
  transition: background .3s, transform .4s var(--ease);
}
.tile__plus::before, .tile__plus::after { content:""; position:absolute; background:#fff; }
.tile__plus::before { width: 13px; height: 1.5px; }
.tile__plus::after { width: 1.5px; height: 13px; }
.tile:hover img { transform: scale(1.07); }
.tile:hover .tile__veil { opacity: 1; }
.tile:hover .tile__plus { background: var(--primary); transform: rotate(90deg); border-color: var(--primary); }
.tile.hide { display: none; }

/* feature tile spanning */
@media (min-width: 720px) {
  .tile.feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* ---------- About ---------- */
.about { background: var(--bg); }
.about__grid {
  display: grid; gap: clamp(2rem, 6vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}
.about__media { position: relative; }
.about__media .a1 {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow-m);
}
.about__media .a2 {
  display: none;
  position: absolute; right: -1rem; bottom: -2rem;
  width: 52%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-l);
}
.about__badge {
  position: absolute; left: -.6rem; top: -.6rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .9rem 1.1rem;
  box-shadow: var(--shadow-m); text-align: center;
}
.about__badge b { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; color: var(--primary); display:block; line-height:1; }
.about__badge span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.about__body p + p { margin-top: 1rem; }
.about__points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .9rem; }
.about__points li { display: flex; gap: .8rem; align-items: flex-start; font-size: .98rem; }
.about__points svg { width: 22px; height: 22px; flex: none; color: var(--secondary); margin-top: .12rem; }

/* ---------- Process / CTA dark band ---------- */
.process { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.process .lead { color: rgba(255,255,255,.74); }
.process .eyebrow { color: var(--accent); }
.process .eyebrow::before { background: rgba(255,255,255,.4); }
.steps {
  margin-top: clamp(2rem, 5vw, 3.4rem);
  display: grid; grid-template-columns: 1fr; gap: 1.4rem;
  counter-reset: step;
}
.step {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step__n {
  font-family: var(--serif); font-size: 1.5rem; color: var(--accent);
  flex: none; width: 2.4rem; line-height: 1.2;
}
.step h3 { font-size: 1.45rem; margin-bottom: .35rem; color:#fff; }
.step p { color: rgba(255,255,255,.7); font-size: .96rem; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact__grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
}
.contact__info .lead { margin-bottom: 1.8rem; }
.nap { display: grid; gap: 1.1rem; margin-bottom: 1.8rem; }
.nap a, .nap div { display: flex; gap: .85rem; align-items: flex-start; }
.nap .ic {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--primary) 12%, white);
  color: var(--primary);
}
.nap .ic svg { width: 20px; height: 20px; }
.nap .lbl { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nap .val { font-size: 1.05rem; font-weight: 500; color: var(--text); }
.nap a:hover .val { color: var(--primary); }
.nap .note { font-size: .82rem; color: var(--muted); }

.socials { display: flex; gap: .6rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; color: var(--text);
  transition: .25s var(--ease);
}
.socials a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }

/* form */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-m);
}
.form-card h3 { font-size: 1.7rem; margin-bottom: .4rem; }
.form-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .03em; margin-bottom: .45rem; color: var(--text); }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans); font-size: 1rem;
  color: var(--text);
  padding: .85rem .95rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, background .2s;
  min-height: 50px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); background: var(--surface);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 18%, transparent);
}
.field input.invalid, .field select.invalid { border-color: #c4503f; box-shadow: 0 0 0 3px rgba(196,80,63,.14); }
.field .err { color: #b8432f; font-size: .78rem; margin-top: .35rem; display: none; }
.field input.invalid ~ .err, .field select.invalid ~ .err { display: block; }
.row2 { display: grid; gap: 0; }
.form-card .btn { width: 100%; margin-top: .4rem; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 1rem; text-align: center; }
.form-success {
  display: none;
  text-align: center; padding: 1rem 0;
}
.form-success.show { display: block; }
.form-success .check {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.2rem;
  background: color-mix(in oklab, var(--secondary) 16%, white);
  color: var(--secondary); display: grid; place-items: center;
}
.form-success .check svg { width: 32px; height: 32px; }
.form-success h3 { margin-bottom: .5rem; }
.form-success p { color: var(--muted); }

/* map placeholder */
.map-ph {
  margin-top: 1.6rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, var(--bg-2) 0 12px, var(--bg) 12px 24px);
  min-height: 200px;
  display: grid; place-items: center; text-align: center;
  padding: 1.5rem;
}
.map-ph .pin {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--primary); margin: 0 auto .8rem;
  box-shadow: var(--shadow-s);
}
.map-ph p { font-weight: 600; color: var(--text); }
.map-ph small { color: var(--muted); font-size: .82rem; display: block; margin-top: .25rem; max-width: 38ch; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); }
.footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 2.2rem;
  padding-block: clamp(2.8rem, 6vw, 4rem);
}
.footer__brand img { height: 76px; width: auto; }
.footer__brand p { color: var(--muted); font-size: .95rem; margin-top: 1.1rem; max-width: 40ch; }
.footer__col h4 {
  font-family: var(--sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer__col a, .footer__col li { font-size: .95rem; color: var(--text); transition: color .2s; }
.footer__col a:hover { color: var(--primary); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
  display: flex; flex-direction: column; gap: .6rem;
  font-size: .82rem; color: var(--muted);
}
.footer__bottom .socials a { width: 40px; height: 40px; }

/* ---------- Mobile sticky action bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr 1.2fr;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(20,39,44,.10);
  padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom));
  gap: .4rem;
  transform: translateY(120%);
  transition: transform .4s var(--ease);
}
.mbar.show { transform: translateY(0); }
.mbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .25rem; padding: .55rem .3rem; border-radius: var(--radius);
  font-size: .72rem; font-weight: 600; min-height: 52px;
  color: var(--text);
}
.mbar a svg { width: 20px; height: 20px; }
.mbar .m-wa { color: #178c48; }
.mbar .m-quote { background: var(--primary); color: #fff; }
.mbar .m-call { color: var(--primary); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8,18,21,.94);
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; transition: opacity .3s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox__fig { max-width: 1100px; width: 100%; text-align: center; }
.lightbox__img {
  max-width: 100%; max-height: 78vh; width: auto; margin: 0 auto;
  border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.5);
  object-fit: contain;
}
.lightbox__cap { color: #fff; margin-top: 1rem; }
.lightbox__cap span { display:block; font-size: .74rem; letter-spacing:.16em; text-transform:uppercase; color: var(--accent); margin-bottom:.3rem; }
.lightbox__cap h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background .25s;
}
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: clamp(.6rem, 2vw, 2rem); }
.lb-next { right: clamp(.6rem, 2vw, 2rem); }
.lb-close {
  position: absolute; top: clamp(.8rem,2vw,1.5rem); right: clamp(.8rem,2vw,1.5rem);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
  color: #fff; cursor: pointer; font-size: 1.6rem; line-height: 1;
}
.lb-btn svg { width: 22px; height: 22px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.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 !important; transform: none !important; transition: none; }
  .tile img, .btn, .svc-card { transition: none !important; }
}

/* =========================================================
   RESPONSIVE  — tablet & desktop
   ========================================================= */
@media (min-width: 600px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .row2 { grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item { border-bottom: none; border-right: 1px solid rgba(255,255,255,.10); }
  .trust__item:nth-child(2) { border-right: none; }
}

@media (min-width: 880px) {
  body { font-size: 18px; }
  .mbar { display: none; }
  .nav { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
  .header__cta { display: flex; }
  .menu-btn { display: none; }
  .hero__scroll { display: flex; }

  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .trust__item { border-right: 1px solid rgba(255,255,255,.10); padding-block: 2rem; }
  .trust__item:last-child { border-right: none; }

  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }

  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; grid-auto-flow: dense; }

  .about__grid { grid-template-columns: 1fr 1.05fr; }
  .about__media { padding-bottom: 2rem; padding-right: 2rem; }
  .about__media .a2 { display: block; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
  .step { border-bottom: none; padding-bottom: 0; }

  .contact__grid { grid-template-columns: 1fr 1.05fr; align-items: start; }

  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
}
