/* Max Face Oral & Facial Surgery — site styles
   Palette and type are taken from the logo: champagne gold, graphite and silver on ivory. */

:root {
  /* Color */
  --ivory: #FAF8F4;        /* page background */
  --white: #FFFFFF;        /* cards, surfaces */
  --stone: #F3EFE8;        /* alternate sections */
  --ink: #24282C;          /* body text, headings */
  --muted: #5B6066;        /* secondary text (7:1 on ivory) */
  --line: #E6E0D6;         /* hairlines, borders */
  --gold: #B8925A;         /* decorative gold: rules, icons, large type */
  --gold-text: #8A693A;    /* gold for links and small text (4.9:1 on white) */
  --gold-btn: #C9A66E;     /* primary button fill, dark text on top (8:1) */
  --gold-btn-hover: #D6B784;
  --gold-soft: #EFE3CC;
  --graphite: #262A2E;     /* dark bands */
  --graphite-2: #1E2124;   /* footer */
  --silver: #B9BDC2;

  /* Type */
  --serif: "Marcellus", "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.875rem, 3vw, 2.5rem);
  --step-4: clamp(2.25rem, 4.4vw, 3.25rem);

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(36, 40, 44, 0.04), 0 8px 24px rgba(36, 40, 44, 0.06);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* scroll-padding keeps focused elements and #anchors clear of the sticky header (WCAG 2.4.11) */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (max-width: 760px) { html { scroll-padding-bottom: 90px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }

h1, h2, h3 { margin: 0 0 0.5em; font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.25; }
p { margin: 0 0 1em; max-width: 68ch; }
ul { padding-left: 1.2em; }

a { color: var(--gold-text); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* A short gold rule that sits under section headings, echoing the lines in the logo */
.rule { display: block; width: 56px; height: 2px; background: var(--gold); border: 0; margin: 0 0 22px; }
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 50px; padding: 0.75em 1.6em;
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.2;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold-btn); color: var(--ink); }
.btn-gold:hover { background: var(--gold-btn-hover); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.on-dark .btn-outline { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.on-dark .btn-outline:hover { background: var(--white); color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .cta-row, .cta-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 244, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 48px; height: 48px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: 0.16em; color: #9A9EA3; }
.brand-name b { font-weight: 400; color: var(--gold); }
.brand-sub { font-family: var(--sans); font-size: 0.625rem; font-weight: 600; letter-spacing: 0.16em; color: var(--gold-text); margin-top: 6px; }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--gold-text); }
.nav a[aria-current="page"] { color: var(--gold-text); box-shadow: inset 0 -2px 0 var(--gold); }
.header-cta { min-height: 44px; padding: 0.6em 1.25em; white-space: nowrap; }

.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.nav-toggle svg { margin: auto; width: 22px; height: 22px; }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 16px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 15px 4px; font-size: var(--step-1); border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; }
}
@media (max-width: 420px) {
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.2rem; }
}

/* ---------- Hero: logo + real photo ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(calc(100dvh - 79px), 820px); background: var(--ivory); }
.hero-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.hero-brand h1 { margin: 0 0 clamp(28px, 4vw, 44px); width: min(100%, 500px); }
.hero-brand h1 img { width: 100%; }
.hero-photo { position: relative; overflow: hidden; background: var(--stone); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .hero-brand > * { animation: rise 0.9s var(--ease) both; }
  .hero-brand > *:nth-child(2) { animation-delay: 0.15s; }
  .hero-photo img { animation: settle 1.6s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { height: 300px; }
}

/* ---------- Quick links bar ---------- */
.quickbar { background: var(--graphite); color: var(--white); }
.quickbar ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.quickbar li + li { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.quickbar a { display: flex; align-items: center; gap: 14px; padding: 26px 22px; color: var(--white); text-decoration: none; height: 100%; transition: background-color 0.2s var(--ease); }
.quickbar a:hover { background: rgba(255, 255, 255, 0.05); }
.quickbar svg { width: 30px; height: 30px; color: var(--gold-btn); flex: none; }
.quickbar strong { display: block; font-weight: 600; font-size: 0.9375rem; line-height: 1.3; }
.quickbar span { display: block; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.68); line-height: 1.4; }
@media (max-width: 900px) {
  .quickbar ul { grid-template-columns: 1fr 1fr; }
  .quickbar li:nth-child(3) { border-left: 0; }
  .quickbar li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .quickbar a { padding: 20px 16px; gap: 12px; }
  .quickbar svg { width: 26px; height: 26px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-stone { background: var(--stone); }
.section-white { background: var(--white); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); }
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.7; }

/* Welcome / doctor intro */
.welcome { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.framed { margin: 0; }
.frame { position: relative; }
.frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold); border-radius: var(--radius); }
.framed img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius); }
.framed figcaption { position: relative; margin-top: 30px; font-size: var(--step--1); color: var(--muted); }
.framed figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: var(--step-1); color: var(--ink); }
.welcome .cta-row { margin-top: 28px; }
@media (max-width: 860px) {
  .welcome { grid-template-columns: 1fr; }
  .welcome .framed { max-width: 380px; margin-right: 18px; }
}

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.card:hover { box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--line); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card h3 { font-size: 1.3125rem; margin-bottom: 0.45em; }
.card p { color: var(--muted); font-size: 0.9375rem; line-height: 1.65; }
.card a { margin-top: auto; font-weight: 600; font-size: 0.875rem; }
.after-cards { margin: 40px auto 0; max-width: none; text-align: center; }
@media (max-width: 1060px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Office / visit */
.visit { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.visit-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.facts { list-style: none; padding: 0; margin: 0 0 28px; }
.facts li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts li:first-child { border-top: 1px solid var(--line); }
.facts svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 3px; }
.facts strong { display: block; font-weight: 600; }
.facts span { color: var(--muted); font-size: 0.9375rem; }
.facts address { font-style: normal; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* Patient reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; padding: 32px 28px 28px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.quote-mark { width: 30px; height: 22px; color: var(--gold); margin-bottom: 18px; }
.review blockquote { margin: 0 0 22px; }
.review blockquote p { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.55; color: var(--ink); margin: 0; }
.review figcaption { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.review figcaption strong { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Subtle reveal as content scrolls into view. Only runs with JavaScript on and motion allowed. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); transition-delay: var(--delay, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* CTA band */
.cta-band { background: var(--graphite); color: var(--white); padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.75); margin: 0 auto 28px; }
.cta-band .phone-big { display: inline-block; font-family: var(--serif); font-size: var(--step-3); color: var(--gold-btn); text-decoration: none; margin-bottom: 24px; letter-spacing: 0.02em; }
.cta-band .phone-big:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--stone); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-head p { font-size: var(--step-1); color: var(--muted); max-width: 56ch; margin: 0; }
.page-head-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.page-head-split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .page-head-split { grid-template-columns: 1fr; } }

.service-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.service-jump a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; color: var(--ink); font-size: var(--step--1); font-weight: 500; }
.service-jump a:hover { border-color: var(--gold); color: var(--gold-text); }

.service-detail { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(48px, 7vw, 80px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.service-detail:last-of-type { border-bottom: 0; }
.service-detail img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.service-detail h3 { font-family: var(--sans); font-size: var(--step-0); font-weight: 700; margin-top: 1.5em; margin-bottom: 0.4em; }
.service-detail ul { margin: 0 0 1em; }
.service-detail li { margin-bottom: 0.35em; }
.service-detail li::marker { color: var(--gold); }
.service-detail .cta-row { margin-top: 28px; }
@media (max-width: 860px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail img { max-width: 320px; }
}

/* Split text + list */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 16px 0 16px 38px; border-bottom: 1px solid var(--line); }
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 21px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%23B8925A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.check-list strong { display: block; font-weight: 600; }
.check-list span { color: var(--muted); font-size: 0.9375rem; }

/* Surgeons */
.people { display: grid; gap: clamp(48px, 7vw, 88px); }
.person { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; scroll-margin-top: 110px; }
.person + .person { padding-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.person .framed { position: sticky; top: 110px; }
.person-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.person-lists h3, .list-title { font-family: var(--sans); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-text); margin-bottom: 0.6em; }
.person-lists ul { margin: 0; padding-left: 1.1em; font-size: 0.9375rem; }
.person-lists li { margin-bottom: 0.3em; }
.person-lists li::marker { color: var(--gold); }
@media (max-width: 560px) { .person-lists { grid-template-columns: 1fr; } }

/* Numbered steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-text); font-family: var(--serif); font-size: 1.125rem; margin-bottom: 16px; }
.steps h3 { font-size: 1.3125rem; margin-bottom: 0.4em; }
.steps p { color: var(--muted); font-size: 0.9375rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Compact surgeon links on the referring page */
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.doc { display: flex; align-items: center; gap: 20px; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.doc:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.doc img { width: 88px; height: 104px; object-fit: cover; object-position: center 20%; border-radius: var(--radius); flex: none; }
.doc strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3125rem; }
.doc span span { display: block; color: var(--muted); font-size: 0.875rem; }
@media (max-width: 700px) { .doc-grid { grid-template-columns: 1fr; } }
.person .creds { color: var(--gold-text); font-weight: 600; font-size: var(--step--1); letter-spacing: 0.02em; margin-bottom: 1.2em; }
.portrait-ph { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--stone); border: 1px solid var(--line); display: grid; place-items: center; color: var(--silver); }
.portrait-ph svg { width: 34%; }
.portrait-ph span { display: block; margin-top: -40%; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 760px) { .person { grid-template-columns: 1fr; } .person .framed { position: static; max-width: 300px; } }

.photo-pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.photo-pair img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 640px) { .photo-pair { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--serif); font-size: var(--step-1); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 1.5px solid var(--gold-text); border-bottom: 1.5px solid var(--gold-text); transform: rotate(45deg); transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 22px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-option { padding: 30px 0; border-top: 1px solid var(--line); }
.contact-option:first-child { border-top: 0; padding-top: 0; }
.contact-option h2 { font-size: var(--step-2); margin-bottom: 0.3em; }
.contact-option p { color: var(--muted); }
.contact-big { font-family: var(--serif); font-size: var(--step-3); text-decoration: none; color: var(--ink); }
.contact-big:hover { color: var(--gold-text); }
.info-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-panel .info-body { padding: 26px; }
.info-panel h3 { font-family: var(--sans); font-size: var(--step-0); font-weight: 700; margin: 0 0 0.3em; }
.info-panel address { font-style: normal; margin-bottom: 1.2em; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 0.4em; font-size: 0.9375rem; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--muted); }
.map { display: block; width: 100%; height: 280px; border: 0; background: var(--stone); }
.email-template { background: var(--stone); border-radius: var(--radius); padding: 16px 18px; font-size: var(--step--1); color: var(--ink); margin: 0 0 1.2em; }
.email-template p { margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite-2); color: rgba(255, 255, 255, 0.72); padding: 64px 0 32px; font-size: 0.875rem; }
.site-footer a { color: var(--white); text-decoration-color: rgba(255, 255, 255, 0.35); }
.site-footer a:hover { color: var(--gold-btn); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
/* The silver parts of the logo disappear on dark backgrounds, so the footer shows it in white */
.footer-logo { width: 190px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.92; }
.site-footer h3 { font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-btn); margin-bottom: 0.9em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer address { font-style: normal; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8125rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(36, 40, 44, 0.08);
  }
  .call-bar .btn { width: 100%; }
  body { padding-bottom: 78px; }
}
