/* ============================================================
   Advanced Skin Treatment Center of Orange County
   Redesign v2 — Shared Design System
   ============================================================ */

:root {
  --ink: #14333b;
  --ink-soft: #3f5a61;
  --ink-faint: #6a7f85;
  --brand: #0b4f5c;
  --brand-dark: #093e49;
  --brand-deep: #062e37;
  --brand-soft: #e6f2f1;
  --teal: #128a96;
  --teal-soft: #d9eef0;
  --gold: #c8a45c;
  --gold-dark: #b08d45;
  --gold-soft: #f6efe1;
  --paper: #ffffff;
  --mist: #f4f8f7;
  --line: #e2ecec;
  --shadow-sm: 0 1px 3px rgba(6, 46, 55, 0.08), 0 1px 2px rgba(6, 46, 55, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(6, 46, 55, 0.22);
  --shadow-lg: 0 30px 60px -25px rgba(6, 46, 55, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --container: 1180px;
  --nav-h: 78px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--brand); }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--brand-deep); line-height: 1.15; margin: 0 0 0.6em; font-weight: 600; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }

.container { width: min(var(--container), 92vw); margin-inline: auto; }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--mist { background: var(--mist); }
.section--deep { background: var(--brand-deep); color: #cfe0e4; }
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--light { color: #9fd3db; }
.section--deep .eyebrow::before, .eyebrow--light::before { background: var(--gold); }

.lead { font-size: 1.12rem; line-height: 1.75; color: var(--ink-soft); }

.section-title { font-size: clamp(1.75rem, 4vw, 2.6rem); margin-bottom: 0.35em; }
.section-intro { max-width: 720px; }

.text-center { text-align: center; }
.text-center .section-intro { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--brand); }
.btn--outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn--outline:hover { background: var(--teal); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--brand-deep); color: #cfe0e4; font-size: 0.85rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; flex-wrap: wrap; padding-block: 0.35rem; }
.topbar a { color: #eef6f7; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.tb-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.tb-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.tb-right { display: flex; gap: 1.2rem; align-items: center; }
.tb-badge { background: var(--gold); color: var(--brand-deep) !important; padding: 0.14rem 0.7rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: 1rem; }
.brand { display: flex; align-items: center; }
.brand-logo { display: block; height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav > a, .has-sub-link { padding: 0.5rem 0.85rem; font-size: 0.93rem; font-weight: 600; color: var(--ink); border-radius: 10px; display: inline-flex; align-items: center; gap: 0.3rem; }
.nav > a:hover, .has-sub:hover .has-sub-link, .nav > a.is-active { color: var(--teal); background: var(--brand-soft); }
.nav-cta { margin-left: 0.6rem; }

.has-sub { position: relative; }
.has-sub .caret { width: 15px; height: 15px; color: var(--ink-soft); flex: 0 0 auto; transition: transform 0.25s ease; }
.has-sub:hover .caret { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 230px; background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 0.5rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.22s ease;
}
.has-sub:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 0.6rem 0.8rem; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: 0.92rem; }
.submenu a:hover { background: var(--brand-soft); color: var(--teal); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--brand-deep); border-radius: 2px; transition: all 0.25s ease; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.menu-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #eef7f6 0%, #ffffff 55%, var(--gold-soft) 120%); }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); margin-bottom: 0.35em; letter-spacing: -0.01em; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero p.sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 34rem; }
.hero-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 0.45rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.82rem; font-weight: 600; color: var(--brand); box-shadow: var(--shadow-sm); }
.hero-badges svg { width: 15px; height: 15px; color: var(--gold); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-photo { position: relative; height: 100%; display: flex; }
.hero-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero-card {
  position: absolute; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 1rem 1.2rem; display: flex; align-items: center; gap: 0.8rem; border: 1px solid var(--line);
}
.hero-card--rating { bottom: 2rem; left: -1.6rem; }
.hero-card--years { top: 2rem; right: -1.2rem; flex-direction: column; align-items: flex-start; }
.hero-card strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand-deep); line-height: 1; }
.hero-card span { font-size: 0.78rem; color: var(--ink-faint); line-height: 1.3; }
.hero-card .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--brand-deep); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 2rem; }
.trust-item { display: flex; gap: 0.9rem; align-items: center; color: #eaf3f5; }
.trust-item .t-ic { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; color: var(--gold); }
.trust-item strong { display: block; color: #fff; font-size: 0.98rem; }
.trust-item span { font-size: 0.82rem; color: #a9c7cd; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split__media--offset { margin-left: auto; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.5rem 0; }
.checklist .ck { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-top: 0.2rem; }
.checklist .ck svg { width: 13px; height: 13px; }

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .card-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--teal); margin-bottom: 1.1rem; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; margin-bottom: 0; }
.card a.more { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 600; font-size: 0.9rem; }

.service-card { display: flex; gap: 1.1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; transition: all 0.25s ease; }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.service-card .sc-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); line-height: 1; font-weight: 600; min-width: 2.2rem; }
.service-card h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.service-card p { font-size: 0.9rem; margin-bottom: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.stat { text-align: center; padding: 1.6rem 1rem; border-radius: var(--radius); background: var(--mist); border: 1px solid var(--line); }
.stat strong { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--teal); display: block; line-height: 1; }
.stat span { font-size: 0.88rem; color: var(--ink-faint); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; position: relative; }
.testi .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 0.8rem; }
.testi p { font-size: 0.96rem; font-style: italic; margin-bottom: 1.2rem; }
.testi .t-who { display: flex; align-items: center; gap: 0.7rem; }
.testi .t-av { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.testi .t-who strong { color: var(--brand-deep); font-size: 0.92rem; display: block; line-height: 1.2; }
.testi .t-who span { font-size: 0.78rem; color: var(--ink-faint); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: 0.9rem; overflow: hidden; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 600; color: var(--brand-deep); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-ic { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; background: var(--brand-soft); color: var(--teal); display: grid; place-items: center; transition: transform 0.25s ease; }
.faq-item[open] summary .faq-ic { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--brand-deep), var(--brand)); border-radius: var(--radius); padding: clamp(2.2rem, 5vw, 3.6rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 0.2rem; }
.cta-band p { color: #b9d6db; margin-bottom: 0; }
.cta-band .cta-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.cta-band::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(200, 164, 92, 0.18); }
.cta-band::before { content: ""; position: absolute; right: 40px; bottom: -120px; width: 200px; height: 200px; border-radius: 50%; background: rgba(18, 138, 150, 0.35); }

/* ---------- Page hero (inner) ---------- */
.page-hero { background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 60%, #0f6a76 100%); color: #dbeaed; position: relative; overflow: hidden; padding: clamp(3.2rem, 7vw, 5.4rem) 0; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(200,164,92,0.25), transparent 65%); }
.page-hero::before { content: ""; position: absolute; left: -80px; bottom: -160px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(18,138,150,0.4), transparent 65%); }
.page-hero .container { position: relative; z-index: 1; }
.crumbs { display: flex; gap: 0.5rem; align-items: center; font-size: 0.82rem; margin-bottom: 1rem; color: #9fc7cf; flex-wrap: wrap; }
.crumbs a { color: #9fc7cf; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { opacity: 0.5; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: 0.4em; }
.page-hero p { max-width: 640px; margin-bottom: 1.6rem; color: #cfe3e7; }
.page-hero .hero-actions { margin-top: 0.4rem; }

/* ---------- Article / prose ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul { margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose blockquote { border-left: 3px solid var(--gold); background: var(--gold-soft); padding: 1rem 1.4rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.6em 0; font-style: italic; color: var(--ink); }
.prose .callout { display: flex; gap: 0.9rem; background: var(--brand-soft); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; margin: 1.6em 0; }
.prose .callout .cc-ic { flex: 0 0 auto; color: var(--teal); }
.callout h4 { margin-bottom: 0.3rem; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-md); margin-bottom: 1.6em; }
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.prose figcaption { font-size: 0.82rem; color: var(--ink-faint); margin-top: 0.5rem; text-align: center; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem 1.6rem; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--gold); opacity: 0.9; line-height: 1; }
.step h3 { font-size: 1.1rem; margin-top: 0.9rem; }
.step p { font-size: 0.9rem; margin: 0; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.team-card { display: grid; grid-template-columns: 150px 1fr; gap: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; align-items: start; }
.team-card img { width: 150px; height: 190px; object-fit: cover; border-radius: var(--radius-sm); }
.team-card h3 { margin-bottom: 0.15rem; }
.team-card .role { color: var(--teal); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.7rem; }
.team-card p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card .pc-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-meta { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal); font-weight: 700; margin-bottom: 0.5rem; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.post-card h3 a { color: var(--brand-deep); }
.post-card h3 a:hover { color: var(--teal); }
.post-card p { font-size: 0.9rem; flex: 1; margin-bottom: 1rem; }
.post-card .more { font-weight: 600; font-size: 0.88rem; }
.post-card .more svg { width: 14px; height: 14px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-grid a { border-radius: var(--radius-sm); overflow: hidden; position: relative; display: block; }
.gallery-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid a::after { content: "⌕"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: rgba(6, 46, 55, 0.45); opacity: 0; transition: opacity 0.3s ease; }
.gallery-grid a:hover::after { opacity: 1; }
.gallery-grid a:hover img { transform: scale(1.06); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 24, 30, 0.92); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox .lb-close { position: absolute; top: 1.4rem; right: 1.6rem; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }
.lightbox .lb-caption { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.4rem; align-items: start; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; margin-bottom: 1rem; }
.info-card .ic-ic { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 12px; background: var(--brand-soft); color: var(--teal); display: grid; place-items: center; }
.info-card h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.info-card p, .info-card a { font-size: 0.94rem; color: var(--ink-soft); }
.info-card a { font-weight: 600; }
.info-card a:hover { color: var(--teal); }
.hours-badge { display: inline-block; background: var(--gold-soft); color: var(--gold-dark); font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.7rem; border-radius: 999px; margin-top: 0.3rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow-md); }
.form-card h2 { font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--brand-deep); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fcfefe; transition: all 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--ink-faint); margin-top: 0.7rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: #a9c3c9; }
.site-footer .container { padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.4rem; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1.1rem; letter-spacing: 0.02em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { color: #a9c3c9; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-logo-card { display: block; background: #fff; border-radius: 12px; padding: 10px 16px; margin-bottom: 1.1rem; box-shadow: var(--shadow-md); }
.footer-logo { display: block; width: 100%; height: auto; }
.footer-brand .logo-mark { margin-bottom: 0.9rem; }
.footer-brand p { font-size: 0.9rem; margin-bottom: 1.2rem; }
.social { display: flex; gap: 0.6rem; }
.social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); display: grid; place-items: center; color: #cfdfe3; transition: all 0.2s ease; }
.social a:hover { background: var(--gold); color: var(--brand-deep); border-color: var(--gold); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold); margin-top: 0.28rem; flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; color: #7e9da4; }
.footer-bottom a { color: #7e9da4; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 6rem 1.5rem; }
.notfound .nf-code { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); color: var(--teal); line-height: 1; font-weight: 700; }
.notfound h1 { margin-bottom: 0.4em; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cards-4, .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials, .cards-3, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid, .split { grid-template-columns: 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-card--rating { left: 1rem; bottom: 1rem; }
  .hero-card--years { right: 1rem; top: 1rem; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--nav-h) 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 1rem; gap: 0.2rem; box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: transform 0.3s ease;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  body.menu-open .nav { transform: translateY(0); }
  .nav > a, .has-sub-link { padding: 0.9rem 1rem; border-radius: 10px; }
  .nav-cta { margin: 0.5rem 0 0; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0.4rem 1rem; display: none; }
  .has-sub.open .submenu { display: block; }
  .has-sub .caret { margin-left: auto; }
  .has-sub.open .caret { transform: rotate(180deg); }
  .tb-right .tb-item--hours { display: none; }
  .tb-item--address { display: none; }
  .topbar .container { justify-content: space-between; gap: 0.5rem; }
  /* ---------- Mobile footer ---------- */
  .site-footer .container { padding-block: 2.6rem 1.6rem; }
  .footer-brand { text-align: center; }
  .footer-logo-card { margin-inline: auto; }
  .footer-brand p { margin-inline: auto; max-width: 24rem; }
  .social { justify-content: center; }
  .footer-grid { row-gap: 0; }
  .footer-grid > div:not(.footer-brand) { padding: 1.6rem 0; border-top: 1px solid rgba(255, 255, 255, 0.09); }
  .footer-grid h4 { margin-bottom: 0.9rem; }
  .footer-grid ul { text-align: center; }
  .footer-grid li { margin-bottom: 0.7rem; }
  .footer-contact li { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .cards-3, .cards-4, .testimonials, .blog-grid, .stats, .steps, .steps-3, .trust-strip .container, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; text-align: center; }
  .team-card img { margin-inline: auto; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; align-items: center; }
  .cta-actions { justify-content: center; }
  .hero-card { display: none; }
  .hero-badges { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .topbar { font-size: 0.78rem; }
  .tb-left { gap: 0.5rem; }
  .tb-badge { padding: 0.16rem 0.55rem; font-size: 0.7rem; }
  .brand-logo { height: 40px; }
  .btn { width: 100%; }
  .hero-actions, .cta-actions { flex-direction: column; }
}
