/* =========================================================================
   Atlantis Restoration — stylesheet
   Builders & Contractors, Houston TX
   Palette: deep navy/slate + amber accent + clean neutrals
   ========================================================================= */

:root {
  /* Color */
  --ink:        #0e1a2b;
  --ink-700:    #16273e;
  --ink-600:    #20354f;
  --slate:      #3a5170;
  --muted:      #5d6b7e;
  --muted-soft: #8595a8;
  --line:       #e6ebf2;
  --mist:       #f4f7fb;
  --mist-2:     #eef2f8;
  --paper:      #ffffff;

  --accent:     #f2a23c;
  --accent-600: #e58b1c;
  --accent-700: #c4720f;
  --accent-glow: rgba(242, 162, 60, .35);

  /* Typography */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif:   "Cinzel", Georgia, "Times New Roman", serif;

  /* Radius */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(14,26,43,.06), 0 2px 6px rgba(14,26,43,.05);
  --shadow:    0 14px 40px -16px rgba(14,26,43,.22);
  --shadow-lg: 0 36px 70px -28px rgba(14,26,43,.45);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 78px;
}

/* ----------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink); }

/* --------------------------------------------------------------- Headings */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.05rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
p  { color: var(--muted); }

/* ---------------------------------------------------------------- Layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #dbe4f0; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-700);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.section--ink .eyebrow { color: var(--accent); }

.section-head { max-width: 660px; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--ink); box-shadow: 0 10px 24px -10px var(--accent-glow); }
.btn--primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--accent-glow); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--on-dark { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.28); }
.btn--on-dark:hover { box-shadow: inset 0 0 0 2px #fff; transform: translateY(-2px); }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ----------------------------------------------------------------- Header */
.site-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, height .3s ease;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }

.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand__emblem { height: 48px; width: auto; display: block; transition: height .3s ease; }
.brand__emblem--light { display: none; }
.scrolled .brand__emblem--dark { display: none; }
.scrolled .brand__emblem--light { display: block; }
.scrolled .brand__emblem { height: 42px; }
.brand__wm { display: flex; flex-direction: column; line-height: 1; }
.brand__wm-main { font-family: var(--font-serif); font-weight: 700; font-size: 1.22rem; letter-spacing: .1em; color: #fff; transition: color .3s ease; }
.brand__wm-sub { font-family: var(--font-serif); font-weight: 600; font-size: .6rem; letter-spacing: .46em; color: rgba(255,255,255,.72); margin-top: 4px; transition: color .3s ease; }
.scrolled .brand__wm-main { color: var(--ink); }
.scrolled .brand__wm-sub { color: var(--accent-700); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  color: rgba(255,255,255,.86); padding: 10px 14px; border-radius: var(--r-pill);
  transition: color .2s ease, background .2s ease;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.scrolled .nav a { color: var(--ink-600); }
.scrolled .nav a:hover { color: var(--ink); background: var(--mist-2); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #fff;
  transition: color .3s ease;
}
.header-phone svg { width: 18px; height: 18px; color: var(--accent); }
.scrolled .header-phone { color: var(--ink); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: background .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.scrolled .nav-toggle span, .scrolled .nav-toggle span::before, .scrolled .nav-toggle span::after { background: var(--ink); }

/* ------------------------------------------------------------------- Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; padding-top: var(--header-h); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(8,16,28,.93) 0%, rgba(8,16,28,.78) 38%, rgba(8,16,28,.34) 78%, rgba(8,16,28,.18) 100%),
    linear-gradient(0deg, rgba(8,16,28,.6), rgba(8,16,28,0) 45%);
}
.hero__inner { padding-block: clamp(40px, 8vw, 90px); max-width: 720px; }
.hero .eyebrow { color: var(--accent); margin-bottom: 22px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--accent); }
.hero__sub { margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: rgba(255,255,255,.86); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.16); }
.hero__trust li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.9); }
.hero__trust svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.scroll-cue span { width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%,100% { opacity: .2; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ----------------------------------------------------- Page (sub) hero */
.hero--page { min-height: 70vh; min-height: 70svh; }
.hero--page .hero__inner { max-width: 760px; }
.hero__crumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-family: var(--font-display); font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.72); }
.hero__crumb a { color: var(--accent); }
.hero__crumb a:hover { text-decoration: underline; }
.hero__crumb svg { width: 14px; height: 14px; opacity: .6; }

/* ------------------------------------------------------- Division grid */
.divisions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.division-card { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); isolation: isolate; min-height: 320px; color: #fff; }
.division-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.division-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,16,28,.15) 0%, rgba(8,16,28,.5) 45%, rgba(8,16,28,.92) 100%); transition: background .3s ease; }
.division-card:hover img { transform: scale(1.07); }
.division-card:hover::after { background: linear-gradient(180deg, rgba(8,16,28,.2) 0%, rgba(14,26,43,.65) 45%, rgba(14,26,43,.96) 100%); }
.division-card__body { position: absolute; inset: auto 0 0 0; padding: 28px 26px; }
.division-card__num { font-family: var(--font-serif); font-size: .82rem; letter-spacing: .12em; color: var(--accent); margin-bottom: 8px; }
.division-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.division-card p { color: rgba(255,255,255,.82); font-size: .94rem; margin-bottom: 14px; }
.division-card__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: #fff; }
.division-card__link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.division-card:hover .division-card__link svg { transform: translateX(5px); }
.division-card:hover .division-card__link { color: var(--accent); }

/* --------------------------------------------------------- Trust marquee */
.proof-strip { background: var(--ink); color: #fff; }
.proof-strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; padding-block: 30px; }
.proof-item { display: flex; align-items: center; gap: 14px; }
.proof-item__num { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--accent); line-height: 1; }
.proof-item__label { font-size: .9rem; color: rgba(255,255,255,.72); line-height: 1.3; }

/* ----------------------------------------------------------- Clients band */
.clients { padding-block: clamp(34px, 5vw, 52px); border-bottom: 1px solid var(--line); }
.clients .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 48px; }
.clients__title {
  font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted-soft);
  margin: 0; width: 100%; text-align: center;
}
.clients__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 48px; }
.clients__logos li {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: -.02em; color: var(--ink); opacity: .55;
  transition: opacity .25s ease, color .25s ease;
}
.clients__logos li:hover { opacity: 1; color: var(--accent-700); }

/* --------------------------------------------------------------- Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.svc-card:hover .svc-card__media img { transform: scale(1.07); }
.svc-card__icon {
  position: absolute; bottom: -24px; left: 24px; width: 52px; height: 52px;
  background: var(--accent); color: var(--ink); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card__body { padding: 38px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card__body h3 { margin-bottom: 10px; }
.svc-card__body p { font-size: .96rem; flex: 1; }
.svc-card__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--accent-700);
}
.svc-card__link svg { width: 16px; height: 16px; transition: transform .25s ease; }
.svc-card:hover .svc-card__link svg { transform: translateX(5px); }

/* ------------------------------------------------------------------ About */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; }
.about__badge {
  position: absolute; right: -18px; bottom: -22px;
  background: var(--accent); color: var(--ink); border-radius: var(--r);
  padding: 20px 24px; box-shadow: var(--shadow-lg); max-width: 220px;
}
.about__badge strong { font-family: var(--font-display); font-size: 1.05rem; display: block; }
.about__badge span { font-size: .85rem; }
.about__media::before {
  content: ""; position: absolute; inset: auto auto -18px -18px; width: 140px; height: 140px;
  border: 3px solid var(--accent); border-radius: var(--r-lg); z-index: -1;
}
.pillars { display: grid; gap: 18px; margin-top: 30px; }
.pillar { display: flex; gap: 16px; }
.pillar__ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--mist-2); color: var(--accent-700); display: flex; align-items: center; justify-content: center; }
.pillar__ico svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.12rem; margin-bottom: 3px; }
.pillar p { font-size: .95rem; }

/* -------------------------------------------------------------- Why / feat */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__ico { width: 50px; height: 50px; border-radius: 13px; background: linear-gradient(135deg, var(--accent), var(--accent-600)); color: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature__ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { font-size: .95rem; }

/* ---------------------------------------------------------------- Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step__num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
  color: var(--accent); line-height: 1; margin-bottom: 14px;
  -webkit-text-stroke: 1px var(--accent); color: transparent;
}
.section--ink .step h3 { color: #fff; }
.section--ink .step p { color: rgba(219,228,240,.7); }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { font-size: .95rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; right: -14px; width: 28px; height: 2px;
  background: rgba(242,162,60,.4);
}

/* ---------------------------------------------------------------- Reviews */
.reviews { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: stretch; }
.review-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 48px); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.review-card__stars { display: flex; gap: 4px; margin-bottom: 22px; color: var(--accent); }
.review-card__stars svg { width: 22px; height: 22px; }
.review-card blockquote { font-family: var(--font-display); font-size: clamp(1.25rem, 2.3vw, 1.7rem); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); flex: 1; }
.review-card blockquote::before { content: "“"; color: var(--accent); font-size: 1.2em; line-height: 0; vertical-align: -.35em; margin-right: .04em; }
.review-card__by { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.review-card__avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--ink-600), var(--slate)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.review-card__by strong { font-family: var(--font-display); display: block; font-size: 1rem; }
.review-card__by span { font-size: .85rem; color: var(--muted); }
.review-card__src { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: .82rem; color: var(--muted); }
.review-card__src svg { width: 18px; height: 18px; }

.review-aside {
  background: linear-gradient(150deg, var(--ink-700), var(--ink)); color: #fff;
  border-radius: var(--r-lg); padding: clamp(30px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center;
}
.review-aside .gscore { font-family: var(--font-display); font-size: 3.4rem; font-weight: 800; line-height: 1; }
.review-aside .gstars { color: var(--accent); display: flex; gap: 3px; margin: 12px 0; }
.review-aside .gstars svg { width: 20px; height: 20px; }
.review-aside p { color: rgba(255,255,255,.78); font-size: .95rem; margin-bottom: 24px; }
.review-aside .btn { margin-top: auto; }

/* ------------------------------------------------------------- Area / CTA */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.area__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.area__list li { font-size: .9rem; font-weight: 500; color: var(--ink-600); background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 16px; }
.area__map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4/3; }
.area__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }

.cta-band { position: relative; isolation: isolate; color: #fff; text-align: center; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,16,28,.95), rgba(8,16,28,.8)); }
.cta-band .wrap { padding-block: clamp(64px, 9vw, 110px); }
.cta-band h2 { color: #fff; max-width: 720px; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 18px auto 0; font-size: 1.08rem; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* ---------------------------------------------------------------- Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact__info { display: grid; gap: 18px; margin-top: 30px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row__ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 13px; background: var(--mist-2); color: var(--accent-700); display: flex; align-items: center; justify-content: center; }
.contact-row__ico svg { width: 23px; height: 23px; }
.contact-row strong { font-family: var(--font-display); display: block; font-size: 1.02rem; }
.contact-row a, .contact-row span { color: var(--muted); }
.contact-row a:hover { color: var(--accent-700); }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--ink-600); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--mist); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-glow); }
.form-card .btn { margin-top: 4px; }
.form-note { font-size: .82rem; color: var(--muted-soft); margin-top: 14px; text-align: center; }
.form-status { font-size: .92rem; font-weight: 600; padding: 12px 16px; border-radius: var(--r-sm); margin-top: 4px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #eef8f0; color: #1b7a3d; border: 1px solid #cdeccf; }

/* ----------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: rgba(219,228,240,.72); }
.site-footer .wrap { padding-block: clamp(50px, 7vw, 80px) 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand__emblem { height: 56px; }
.footer-brand .brand__wm-main { color: #fff; }
.footer-brand .brand__wm-sub { color: var(--accent); }
.footer-brand p { margin-top: 20px; font-size: .94rem; color: rgba(219,228,240,.6); max-width: 320px; }
.footer-col h4 { font-family: var(--font-display); font-size: .95rem; color: #fff; margin-bottom: 18px; letter-spacing: .02em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col span { font-size: .93rem; color: rgba(219,228,240,.7); transition: color .2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; margin-bottom: 12px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; font-size: .85rem; color: rgba(219,228,240,.5); }
.footer-bottom a { color: rgba(219,228,240,.6); }
.footer-bottom a:hover { color: var(--accent); }

/* ------------------------------------------------------------- Reveal/anim */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1024px) {
  .services-grid, .feature-grid, .divisions-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Header collapses to a hamburger earlier than the page layout, so the full
   nav + phone + CTA never crowds or clips at the right edge. */
@media (max-width: 1140px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: 16px var(--gutter) 24px;
    box-shadow: var(--shadow); border-top: 1px solid var(--line);
  }
  .nav.open a { color: var(--ink-600); padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
  .nav.open a:hover { background: var(--mist-2); }
}
@media (max-width: 980px) {
  .about, .reviews, .area, .contact { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin-inline: auto; order: -1; }
  .review-aside { flex-direction: row; align-items: center; gap: 24px; flex-wrap: wrap; }
  .review-aside .btn { margin: 0 0 0 auto; }
  body { font-size: 16px; }
}

@media (max-width: 560px) {
  .services-grid, .feature-grid, .process, .divisions-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .proof-strip .wrap { justify-content: flex-start; gap: 22px; }
  .proof-item { width: calc(50% - 16px); }
  .about__badge { right: 12px; }
  /* free up room for the brand + hamburger; hero already has a big CTA */
  .header-actions .btn--primary { display: none; }
  .brand__emblem { height: 38px; }
  .scrolled .brand__emblem { height: 36px; }
  .brand__wm-main { font-size: 1.05rem; }
  .brand__wm-sub { font-size: .54rem; letter-spacing: .4em; }
}
