/* =============================================================
   Alpharetta Wallpaper Installer — styles.css
   Warm architectural / interior studio aesthetic
   Palette + type all contrast-checked (WCAG AA)
   ============================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/dmserif-regular.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('assets/fonts/dmserif-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  --ivory:      #F6F2EA;
  --limestone:  #ECE6DA;
  --sand:       #E4DBC9;
  --line:       #D8CFBD;
  --ink:        #2B2E27;
  --muted:      #5E6353;
  --olive:      #556A43;
  --olive-deep: #4C5E3B;
  --terracotta: #A9542F;
  --dark:       #23261F;
  --dark-2:     #1C1F18;
  --on-dark:    #ECE6DA;
  --sage:       #B7C0A6;
  --sage-bright:#8FA07C;
  --terra-soft: #CD7C56;
  --white:      #FFFFFF;

  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans:  'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(43,46,39,.05), 0 6px 20px -12px rgba(43,46,39,.22);
  --shadow-md: 0 18px 50px -24px rgba(43,46,39,.40);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-decoration: none; }
a:hover { color: var(--olive-deep); }

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--dark); color: var(--on-dark);
  padding: 10px 16px; border-radius: 8px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--on-dark); }

/* Focus visibility */
:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Typography ---------- */
h1,h2,h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.15rem); }
h3 { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem); }
p { color: var(--ink); }
.lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.28rem); color: var(--muted); line-height: 1.6; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 92px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--olive); display: inline-block; opacity: .7;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--sage); }
.eyebrow--light::before { background: var(--sage); }

.section-head { max-width: 62ch; }
.section-head--center { max-width: 66ch; margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; }

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

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--olive); --btn-fg: var(--white); --btn-bd: var(--olive);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: 15px 28px; border-radius: 100px; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  text-align: center;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--olive-deep); border-color: var(--olive-deep); }
.btn:active { transform: translateY(0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { background: var(--ink); --btn-fg: var(--ivory); color: var(--ivory); border-color: var(--ink); }
.btn--on-dark { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: rgba(236,230,218,.4); }
.btn--on-dark:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }
.btn-arrow { transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(246,242,234,.9);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -24px rgba(43,46,39,.5);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0; }
.brand__name { font-family: var(--serif); font-size: 1.14rem; line-height: 1.05; letter-spacing: -0.01em; }
.brand__name small { display: block; font-family: var(--sans); font-weight: 600; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
/* legibility of brand over hero when header transparent */
.site-header:not(.is-solid) .brand__name { color: var(--ink); }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav__links a {
  display: inline-block; padding: 9px 15px; color: var(--ink); font-weight: 500; font-size: .96rem;
  border-radius: 8px; position: relative; transition: color .2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1.5px;
  background: var(--olive); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--olive-deep); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink);
  font-size: 1rem; white-space: nowrap;
}
.nav__phone:hover { color: var(--olive-deep); }
.nav__phone svg { color: var(--olive); flex-shrink: 0; }

.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(246,242,234,.6); cursor: pointer; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -6px; left: 0; }
.nav__toggle span::after { position: absolute; top: 6px; left: 0; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero__copy { max-width: 33rem; }
.hero__loc {
  display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 600;
  letter-spacing: .04em; color: var(--muted); margin-top: 26px;
}
.hero__loc svg { color: var(--terracotta); }
.hero h1 { margin-top: 2px; }
.hero h1 em { font-style: italic; color: var(--olive-deep); }
.hero__sub { margin-top: 22px; max-width: 30rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; height: clamp(360px, 52vw, 600px); object-fit: cover;
  border-radius: 18px; box-shadow: var(--shadow-md);
}
.hero__media::before {
  content: ""; position: absolute; inset: -14px auto auto -14px; width: 62%; height: 62%;
  border: 1px solid var(--line); border-radius: 18px; z-index: -1;
}
.hero__badge {
  position: absolute; right: clamp(-6px, 1vw, 18px); bottom: 22px;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; box-shadow: var(--shadow-sm); max-width: 220px;
}
.hero__badge strong { font-family: var(--serif); font-size: 1.5rem; display: block; line-height: 1; }
.hero__badge span { font-size: .82rem; color: var(--muted); }

/* ---------- Trust strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--limestone); }
.strip__inner { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; padding-block: 20px; }
.strip__item { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.strip__item svg { color: var(--olive); flex-shrink: 0; }

/* ---------- Intro / value ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px); align-items: center; }
.intro__media { position: relative; }
.intro__media img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; }
.intro__media .tag {
  position: absolute; left: 20px; bottom: 20px; background: rgba(35,38,31,.86); color: var(--on-dark);
  font-size: .8rem; font-weight: 600; letter-spacing: .03em; padding: 9px 16px; border-radius: 100px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.intro__points { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 16px; }
.intro__points li { display: flex; gap: 14px; align-items: flex-start; }
.intro__points .dot {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--limestone);
  border: 1px solid var(--line); display: grid; place-items: center; margin-top: 2px;
}
.intro__points .dot svg { color: var(--olive); }
.intro__points strong { font-weight: 700; }
.intro__points span { color: var(--muted); }

/* ---------- Services ---------- */
.services { background: var(--limestone); }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); margin-top: 52px;
}
.card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--sand); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--limestone);
  display: grid; place-items: center; margin-bottom: 22px; color: var(--olive);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.card:hover .card__icon { background: var(--olive); color: var(--white); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- Why us (numbered) ---------- */
.why { background: var(--dark); color: var(--on-dark); }
.why h2, .why h3 { color: var(--on-dark); }
.why__top { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.why__top p { color: var(--sage); max-width: 42ch; }
.why__list {
  margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(236,230,218,.16);
}
.why__step {
  padding: 32px 26px 30px 0; border-right: 1px solid rgba(236,230,218,.16); position: relative;
}
.why__step:last-child { border-right: 0; }
.why__num { font-family: var(--serif); font-size: 2.7rem; color: var(--sage-bright); line-height: 1; display: block; margin-bottom: 16px; }
.why__step h3 { font-size: 1.3rem; margin-bottom: 8px; letter-spacing: .01em; }
.why__step p { color: var(--sage); font-size: .95rem; }
.why__extras { list-style: none; padding: 0; margin-top: 48px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px 34px; }
.why__extras li { display: flex; align-items: center; gap: 12px; color: var(--on-dark); font-weight: 500; font-size: .96rem; }
.why__extras svg { color: var(--terra-soft); flex-shrink: 0; }

/* ---------- Process (timeline) ---------- */
.process__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
.process__intro { position: sticky; top: 110px; }
.timeline { list-style: none; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(var(--line), var(--sand)); border-radius: 2px;
}
.timeline li { position: relative; padding: 0 0 40px 78px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .step-num {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ivory); border: 1.5px solid var(--olive); color: var(--olive-deep);
  font-family: var(--serif); font-size: 1.35rem; display: grid; place-items: center; z-index: 1;
}
.timeline li h3 { margin-bottom: 8px; }
.timeline li p { color: var(--muted); max-width: 46ch; }

/* ---------- Gallery ---------- */
.gallery__head { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: end; margin-bottom: 44px; }
.masonry { column-count: 3; column-gap: 20px; }
.masonry .shot { break-inside: avoid; margin-bottom: 20px; border-radius: 14px; overflow: hidden;
  position: relative; border: 1px solid var(--line); background: var(--limestone); }
.shot button.shot__open {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; color: inherit; font: inherit;
}
.shot img { width: 100%; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(28,31,24,.82));
  color: var(--ivory); font-size: .9rem; font-weight: 600; text-align: left;
  opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.shot:hover .shot__cap, .shot:focus-within .shot__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,26,20,.92); padding: clamp(16px, 4vw, 50px);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(246,242,234,.12); border: 1px solid rgba(236,230,218,.35);
  color: var(--ivory); width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; transition: background .2s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(246,242,234,.24); }
.lightbox__close { top: clamp(14px,3vw,28px); right: clamp(14px,3vw,28px); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: clamp(10px,2vw,26px); }
.lightbox__nav--next { right: clamp(10px,2vw,26px); }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: clamp(12px,3vw,24px); text-align: center; color: var(--sage); font-size: .92rem; padding-inline: 20px; }

/* ---------- About ---------- */
.about { background: var(--limestone); }
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; border-radius: 16px; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }
.about__media::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 55%; height: 55%;
  border: 1px solid var(--sand); border-radius: 16px; z-index: 0;
}
.about__owner { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.about__owner .ini {
  width: 52px; height: 52px; border-radius: 50%; background: var(--olive); color: var(--white);
  font-family: var(--serif); font-size: 1.25rem; display: grid; place-items: center; flex-shrink: 0;
}
.about__owner b { display: block; font-weight: 700; }
.about__owner span { color: var(--muted); font-size: .9rem; }
.about__addr { display: inline-flex; align-items: flex-start; gap: 10px; margin-top: 24px; color: var(--muted); font-size: .95rem; }
.about__addr svg { color: var(--terracotta); flex-shrink: 0; margin-top: 3px; }

/* ---------- Service area / map ---------- */
.area__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.area__facts { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 14px; }
.area__facts li { display: flex; gap: 13px; align-items: flex-start; }
.area__facts svg { color: var(--olive); flex-shrink: 0; margin-top: 3px; }
.area__facts b { font-weight: 700; }
.area__facts span { color: var(--muted); }
.map {
  position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--limestone);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--dark); color: var(--on-dark); }
.contact h2, .contact h3 { color: var(--on-dark); }
.contact__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__intro p { color: var(--sage); margin-top: 18px; max-width: 40ch; }
.contact__methods { list-style: none; padding: 0; margin-top: 34px; display: grid; gap: 12px; }
.contact__method {
  display: flex; align-items: center; gap: 15px; padding: 16px 20px;
  background: rgba(246,242,234,.05); border: 1px solid rgba(236,230,218,.16); border-radius: 12px;
}
.contact__method:hover { background: rgba(246,242,234,.09); color: var(--on-dark); }
.contact__method .ic { width: 42px; height: 42px; border-radius: 10px; background: rgba(143,160,124,.16); color: var(--sage-bright); display: grid; place-items: center; flex-shrink: 0; }
.contact__method b { display: block; color: var(--on-dark); font-weight: 700; font-size: 1.02rem; }
.contact__method span { color: var(--sage); font-size: .84rem; }

.form-wrap {
  background: var(--ivory); color: var(--ink); border-radius: 18px; padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--terracotta); }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--ivory); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 13px 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #9a9789; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(85,106,67,.15);
}
.field textarea { resize: vertical; min-height: 118px; }
.form-wrap .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 14px; }
.form-success {
  display: none; text-align: center; padding: 30px 20px;
}
.form-success .check {
  width: 62px; height: 62px; border-radius: 50%; background: var(--olive); color: var(--white);
  display: grid; place-items: center; margin: 0 auto 18px;
}
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--muted); }
.error-message { color: var(--terracotta) !important; }

/* ---------- Footer ---------- */
.footer { background: var(--dark-2); color: var(--on-dark); padding-block: clamp(48px, 6vw, 76px) 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand__name { color: var(--on-dark); }
.footer .brand__name small { color: var(--sage); }
.footer__about { color: var(--sage); margin-top: 18px; max-width: 34ch; font-size: .95rem; }
.footer h4 { font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-bright); margin-bottom: 18px; }
.footer__links { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer__links a { color: var(--on-dark); font-size: .96rem; }
.footer__links a:hover { color: var(--sage-bright); }
.footer__contact { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; color: var(--on-dark); font-size: .96rem; }
.footer__contact svg { color: var(--sage-bright); flex-shrink: 0; margin-top: 3px; }
.footer__contact a { color: var(--on-dark); }
.footer__contact a:hover { color: var(--sage-bright); }
.footer__bar { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(236,230,218,.14);
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center;
  color: var(--sage); font-size: .86rem; }

/* ---------- Scroll reveal (progressive enhancement) ----------
   Content is fully visible by default. Only when JS confirms
   IntersectionObserver support and adds .js-reveal to <html>
   do reveal targets start hidden and animate in. */
.js-reveal .reveal { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.js-reveal .reveal[data-delay="1"] { transition-delay: .08s; }
.js-reveal .reveal[data-delay="2"] { transition-delay: .16s; }
.js-reveal .reveal[data-delay="3"] { transition-delay: .24s; }

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .nav__toggle, .lightbox { display: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__list { grid-template-columns: repeat(2, 1fr); }
  .why__step { border-right: 0; border-bottom: 1px solid rgba(236,230,218,.16); padding-right: 20px; }
  .why__step:nth-child(odd) { border-right: 1px solid rgba(236,230,218,.16); padding-right: 26px; }
  .masonry { column-count: 2; }
}

@media (max-width: 1024px) {
  /* Switch to hamburger nav before the desktop nav would overflow */
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav { height: 68px; }

  /* Mobile menu panel */
  .nav__links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--ivory); border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 22px;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .nav__links.is-open { display: flex; transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 13px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__links a::after { display: none; }
  .nav__links li:last-child a { border-bottom: 0; }
  .nav__links .nav__mobile-phone { display: block; margin-top: 10px; }
  .nav__links .nav__mobile-phone a { color: var(--white); background: var(--olive); border-radius: 100px; text-align: center; font-weight: 700; border: 0; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__copy { max-width: none; order: 2; }
  .hero__media { order: 1; }
  .hero__media img { height: clamp(300px, 62vw, 460px); }
  .intro__grid, .about__grid, .area__grid, .process__grid, .contact__grid { grid-template-columns: 1fr; }
  .process__intro { position: static; }
  .about__media { order: 2; max-width: 460px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brandcol { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .services__grid { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: 1fr; }
  .why__step, .why__step:nth-child(odd) { border-right: 0; }
  .why__extras { grid-template-columns: 1fr; }
  .why__top { grid-template-columns: 1fr; }
  .masonry { column-count: 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__badge { position: static; margin-top: 16px; max-width: none; }
  .hero__media::before { display: none; }
  .lightbox__nav { width: 44px; height: 44px; }
}

@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; align-items: stretch; }
}
