/* =========================================================================
   West Islip Wallpaper Installer — design system
   Palette: warm ivory / espresso / terracotta / clay / graphite / copper
   Type:    Playfair Display (display serif) + Inter (sans)
   ========================================================================= */

:root {
  /* palette (contrast-checked, WCAG AA) */
  --ivory:        #F5EEE1;
  --clay:         #EADFCC;
  --card:         #FBF7EF;
  --ink:          #2A211A;
  --muted:        #6A5942;
  --terra:        #9E4626;
  --terra-hover:  #833718;
  --copper:       #8F5A2E;   /* decorative rules only (non-text) */
  --copper-light: #C79A62;   /* decorative on dark */
  --graphite:     #23201C;
  --on-dark:      #F0E7D8;
  --on-dark-muted:#C6B497;
  --white:        #FFFFFF;
  --line:         rgba(42, 33, 26, 0.14);
  --line-strong:  rgba(42, 33, 26, 0.28);

  /* type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);
  --radius: 3px;

  --shadow-sm: 0 1px 2px rgba(42,33,26,.06), 0 6px 20px rgba(42,33,26,.06);
  --shadow-md: 0 10px 40px rgba(42,33,26,.14);

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

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

::selection { background: var(--terra); color: var(--white); }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--ink); color: var(--ivory); padding: .6rem 1rem; border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--copper); display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--copper-light); }

.section { padding-block: var(--section-y); }
.section--clay { background: var(--clay); }
.section--dark { background: var(--graphite); color: var(--on-dark); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3.05rem); }
.section-head p { color: var(--muted); margin: 1rem 0 0; font-size: 1.05rem; }
.section--dark .section-head p { color: var(--on-dark-muted); }

.hairline { border: 0; height: 1px; background: var(--line); margin: 0; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--terra); --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem;
  min-height: 48px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: 1px solid var(--btn-bg); border-radius: var(--radius);
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--terra-hover); border-color: var(--terra-hover); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); transform: translateY(-2px); }

.btn--light {
  --btn-bg: var(--ivory); --btn-fg: var(--ink);
  border-color: var(--ivory);
}
.btn--light:hover { background: transparent; color: var(--ivory); border-color: var(--ivory); }

.btn--ghost-light {
  --btn-bg: transparent; --btn-fg: var(--on-dark);
  border-color: rgba(240,231,216,.4);
}
.btn--ghost-light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(245,238,225,.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(245,238,225,.96);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(42,33,26,.07);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: 82px; transition: height .3s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 66px; }

.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; border-radius: 7px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em; }
.brand__tag { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  font-size: .9rem; font-weight: 500; color: var(--ink); position: relative; padding: .3rem 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0; background: var(--terra);
  transition: width .28s var(--ease);
}
.nav__link:hover::after, .nav__link:focus-visible::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; color: var(--terra); }
.header-cta { padding: .7rem 1.25rem; min-height: 44px; }
/* On desktop only the header-actions CTA shows; the nav CTA is for the mobile drawer. */
.nav > .header-cta { display: none; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; padding-top: 82px; }
.hero__media { position: relative; }
.hero__media picture, .hero__media img { width: 100%; height: clamp(460px, 74vh, 780px); object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(35,32,28,.62) 0%, rgba(35,32,28,.28) 40%, rgba(35,32,28,0) 68%);
}
.hero__wrap { position: relative; }
.hero__panel {
  position: relative;
  margin-top: clamp(-200px, -18vw, -120px);
  margin-left: 0;
  max-width: 620px;
  background: var(--ivory);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-top: 3px solid var(--terra);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.hero__title {
  font-size: clamp(2.3rem, 1.2rem + 4.4vw, 4.15rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.hero__title em { font-style: italic; color: var(--terra); }
.hero__lead { color: var(--muted); font-size: clamp(1.02rem, 1rem + .2vw, 1.15rem); max-width: 34rem; margin: 0 0 1.7rem; }
.hero__cta { margin-bottom: 1.5rem; }
.hero__trust {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.hero__trust svg { width: 17px; height: 17px; color: var(--terra); flex-shrink: 0; }

/* on very wide screens overlay the panel on the image, editorial style */
@media (min-width: 992px) {
  .hero__media picture, .hero__media img { height: min(80vh, 760px); }
  .hero__panel { margin-top: -260px; }
}

/* =========================================================================
   INTRO strip
   ========================================================================= */
.intro { padding-block: clamp(3rem, 6vw, 5rem); }
.intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.intro__lead { font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); line-height: 1.32; }
.intro__body p { color: var(--muted); margin: 0 0 1rem; }
.intro__body p:last-child { margin-bottom: 0; }
.intro__stats { display: flex; gap: 2.5rem; margin-top: 2rem; flex-wrap: wrap; }
.intro__stat strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.intro__stat span { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* =========================================================================
   SERVICES — editorial index grid (not identical cards)
   ========================================================================= */
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.service {
  position: relative;
  padding: 2.2rem 1.9rem 2.4rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background-color .3s var(--ease);
}
.services__grid .service:nth-child(3n) { border-right: 0; }
.service:hover { background: var(--card); }
.service__no { font-family: var(--serif); font-size: .95rem; color: var(--terra); letter-spacing: .04em; }
.service__icon { width: 34px; height: 34px; color: var(--terra); margin: 1rem 0 1.1rem; stroke-width: 1.4; }
.service h3 { font-size: 1.28rem; margin-bottom: .6rem; }
.service p { color: var(--muted); font-size: .96rem; margin: 0; }

/* =========================================================================
   FEATURE split — "The Difference Is in the Details"
   ========================================================================= */
.feature__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature__media { position: relative; }
.feature__media img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.feature__media::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--copper); border-radius: var(--radius); z-index: -1;
}
.feature__body h2 { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.75rem); margin-bottom: 1.2rem; }
.feature__body > p { color: var(--muted); margin: 0 0 1.8rem; }
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.detail-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: baseline;
  padding: .95rem 0; border-top: 1px solid var(--line);
}
.detail-list li:last-child { border-bottom: 1px solid var(--line); }
.detail-list b { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.detail-list span { color: var(--muted); font-size: .95rem; }
.detail-list .dl-key { color: var(--terra); font-weight: 700; font-size: .8rem; letter-spacing: .1em; }

/* =========================================================================
   PROCESS — timeline
   ========================================================================= */
.process__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 1rem; }
.process__track::before {
  content: ""; position: absolute; top: 26px; left: 0; right: 0; height: 1px; background: var(--line-strong);
}
.step { position: relative; padding: 0 1.5rem; }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step__dot {
  position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--line-strong); color: var(--terra);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; margin-bottom: 1.4rem;
}
.section--clay .step__dot { background: var(--clay); }
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* =========================================================================
   WHY CHOOSE US — dark band, numbered list
   ========================================================================= */
.why__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.why__intro h2 { font-size: clamp(1.85rem, 1.1rem + 2.6vw, 3rem); color: var(--on-dark); }
.why__intro p { color: var(--on-dark-muted); margin-top: 1.1rem; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.why__item { padding: 1.4rem .4rem 1.4rem 0; border-top: 1px solid rgba(240,231,216,.16); }
.why__item h3 { font-size: 1.08rem; color: var(--on-dark); display: flex; gap: .7rem; align-items: baseline; }
.why__item h3 i { font-style: normal; font-family: var(--serif); color: var(--copper-light); font-size: .9rem; }
.why__item p { color: var(--on-dark-muted); font-size: .92rem; margin: .4rem 0 0; padding-left: 1.9rem; }

/* =========================================================================
   GALLERY — masonry (CSS columns)
   ========================================================================= */
.gallery { columns: 3; column-gap: 1.1rem; }
.gallery__item {
  break-inside: avoid; margin: 0 0 1.1rem; position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--clay);
}
.gallery__item img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,32,28,0) 55%, rgba(35,32,28,.55) 100%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery__cap {
  position: absolute; left: 1rem; bottom: .85rem; z-index: 2; color: var(--ivory);
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500;
  opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gallery__btn { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; padding: 0; cursor: zoom-in; z-index: 3; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover .gallery__cap { opacity: 1; transform: translateY(0); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(24,21,18,.9); padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.3rem; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(245,238,225,.12); border: 1px solid rgba(240,231,216,.4); color: var(--ivory);
  font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
}
.lightbox__close:hover { background: var(--terra); border-color: var(--terra); }

/* =========================================================================
   MID CTA band
   ========================================================================= */
.cta-band { background: var(--graphite); color: var(--on-dark); text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image: repeating-linear-gradient(90deg, var(--copper-light) 0 1px, transparent 1px 46px);
}
.cta-band__inner { position: relative; max-width: 44rem; margin-inline: auto; }
.cta-band h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.1rem); color: var(--on-dark); }
.cta-band p { color: var(--on-dark-muted); margin: 1.1rem auto 2rem; max-width: 36rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band__phone { display: inline-flex; align-items: center; gap: .55rem; color: var(--on-dark); font-weight: 600; }
.cta-band__phone svg { width: 18px; height: 18px; color: var(--copper-light); }

/* =========================================================================
   CONTACT + FORM
   ========================================================================= */
.contact__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }

.contact-info h2 { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.7rem); margin-bottom: 1.3rem; }
.contact-info > p { color: var(--muted); margin: 0 0 2rem; }
.contact-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.15rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.contact-list .ci-ico { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--terra); }
.contact-list .ci-ico svg { width: 18px; height: 18px; }
.contact-list .ci-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list .ci-value { font-weight: 600; color: var(--ink); }
.contact-list a.ci-value:hover { color: var(--terra); }

/* form */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-sm);
}
.form-card__head { margin-bottom: 1.6rem; }
.form-card__head h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.form-card__head p { color: var(--muted); font-size: .95rem; margin: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.15rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.field .req { color: var(--terra); }
.field input, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: .85rem .95rem; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder, .field textarea::placeholder { color: #796751; opacity: 1; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--terra); background: var(--white);
  box-shadow: 0 0 0 3px rgba(158,70,38,.14);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #b23b26; }

.form-actions { margin-top: 1.5rem; }
.form-actions .btn { width: 100%; }
.form-note { color: var(--muted); font-size: .82rem; text-align: center; margin: .95rem 0 0; }

/* honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* inline server-side notices (native-submit fallback) */
.form-alert { border-radius: var(--radius); padding: .85rem 1rem; font-size: .9rem; margin-bottom: 1.3rem; display: none; }
.form-alert--err { background: #f7e4dd; border: 1px solid #d99a86; color: #7c2d16; }

/* success message */
.form-success {
  display: none; text-align: center; padding: 2.5rem 1rem;
}
.form-success__icon {
  width: 62px; height: 62px; border-radius: 50%; background: rgba(158,70,38,.12); color: var(--terra);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem;
}
.form-success h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.form-success p { color: var(--muted); margin: 0 auto; max-width: 26rem; }

/* =========================================================================
   MAP / LOCATION
   ========================================================================= */
.map__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.map__embed { min-height: 340px; }
.map__embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: grayscale(.25) sepia(.12); }
.map__info { padding: clamp(1.75rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.map__info h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.map__addr { color: var(--muted); font-style: normal; margin-bottom: 1.6rem; line-height: 1.9; }
.map__addr strong { color: var(--ink); font-family: var(--serif); font-weight: 600; font-size: 1.05rem; display: block; margin-bottom: .3rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 2.5rem; border-bottom: 1px solid rgba(240,231,216,.14); }
.footer__brand .brand__name { color: var(--on-dark); }
.footer__brand .brand__tag { color: var(--on-dark-muted); }
.footer__about { color: var(--on-dark-muted); font-size: .94rem; margin: 1.1rem 0 0; max-width: 24rem; }
.footer h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper-light); margin: 0 0 1.1rem; font-weight: 600; }
.footer__nav, .footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer__nav a, .footer__contact a { color: var(--on-dark-muted); font-size: .94rem; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--on-dark); }
.footer__contact li { color: var(--on-dark-muted); font-size: .94rem; }
.footer__bottom { padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--on-dark-muted); font-size: .84rem; }

/* =========================================================================
   REVEAL ANIMATION (progressive enhancement)
   visible by default; only hidden once JS confirms IntersectionObserver
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  html.js-enhance [data-reveal] { opacity: 0; transform: translateY(22px); }
  html.js-enhance [data-reveal].is-visible {
    opacity: 1; transform: none;
    transition: opacity .8s var(--ease), transform .8s var(--ease);
  }
  html.js-enhance [data-reveal-delay="1"].is-visible { transition-delay: .09s; }
  html.js-enhance [data-reveal-delay="2"].is-visible { transition-delay: .18s; }
  html.js-enhance [data-reveal-delay="3"].is-visible { transition-delay: .27s; }
}

@media print {
  .site-header, .menu-toggle, .lightbox, .cta-band, .map__embed { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  body { color: #000; background: #fff; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 991px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    background: var(--ivory); flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 6rem 2rem 2rem; gap: 1.5rem; transform: translateX(105%);
    transition: transform .35s var(--ease); box-shadow: var(--shadow-md); z-index: 90;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: .3rem; }
  .nav__link { padding: .7rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .header-actions .header-phone { display: none; }
  .nav .header-cta { display: inline-flex; width: 100%; margin-top: .5rem; }
  .header-cta.header-cta--desktop { display: none; }
  .menu-toggle { display: flex; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(24,21,18,.4); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease); z-index: 80;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .intro__grid { grid-template-columns: 1fr; gap: 2rem; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .services__grid .service:nth-child(3n) { border-right: 1px solid var(--line); }
  .services__grid .service:nth-child(2n) { border-right: 0; }
  .feature__grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature__media { order: -1; }
  .why__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .map__grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .header-cta--desktop { display: none; }
  .process__track { grid-template-columns: 1fr; gap: 0; }
  .process__track::before { display: none; }
  .step { padding: 0 0 1.9rem 0; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; column-gap: 1.2rem; }
  .step__dot { margin-bottom: 0; }
  .step__body { padding-top: .3rem; }
  .step:not(:last-child) { position: relative; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; left: 26px; top: 54px; bottom: 0; width: 1px; background: var(--line-strong);
  }
  .why__list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .services__grid .service,
  .services__grid .service:nth-child(3n),
  .services__grid .service:nth-child(2n) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .intro__stats { gap: 1.75rem; }
}

@media (max-width: 420px) {
  .gallery { columns: 1; }
  .brand__tag { display: none; }
  .hero__panel { margin-top: -90px; }
}
