/* =========================================================
   Smiles by Grace Dental Care — site styles
   White stone marble · pure black marble · logo gold
   ========================================================= */

/* ===== Self-hosted fonts (SIL Open Font License) ===== */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/marcellus-latin-400-normal.woff2') format('woff2'); }

/* ===== Brand tokens ===== */
:root {
  /* Gold (matched to the logo) */
  --g1: #8a5a10;
  --g2: #e3a52e;
  --g3: #f8d47e;
  --g4: #b97f1c;
  --g5: #fff1c8;
  --gold-ink: #573806;          /* gold for text on white marble */
  --gold-grad: linear-gradient(115deg, var(--g1) 0%, var(--g2) 16%, var(--g3) 31%, var(--g5) 38%, var(--g3) 45%, var(--g2) 57%, var(--g1) 73%, var(--g4) 87%, var(--g2) 100%);

  /* Neutrals */
  --ink: #161514;               /* headings on white */
  --text: #3a3733;              /* body on white */
  --text-strong: #2a2826;
  --ivory: #f4f1ea;             /* headings on black */
  --text-on-dark: #d2ccc2;      /* body on black */
  --muted-on-dark: #bdb6aa;
  --line-on-dark: rgba(255, 255, 255, 0.12);

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-caps: 'Marcellus', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --gutter: clamp(16px, 4vw, 48px);
  --section-pad: clamp(80px, 10vw, 130px);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #000; color: var(--text-strong); font-family: var(--font-body); font-weight: 400; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--gold-ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--g2); outline-offset: 3px; }
.container { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-pad); }
.center { text-align: center; }
.icon { width: 1em; height: 1em; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--g2); color: #121212; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* ===== Marble surfaces ===== */
.marble-white { background: #efece6 url('../img/marble-white.jpg') repeat; background-size: 1100px; }
.marble-black { background: #000 url('../img/marble-black.jpg') repeat; background-size: 1400px; color: var(--ivory); }

/* ===== Gold ===== */
@keyframes gold-sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.gold-text {
  background-image: var(--gold-grad); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: gold-sheen 7s ease-in-out infinite alternate;
}
.gold-rule { height: 2px; background-image: var(--gold-grad); }
.gold-rule--thin { height: 1px; }
.diamond { width: 7px; height: 7px; flex: none; background-image: var(--gold-grad); transform: rotate(45deg) translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .gold-text { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===== Type ===== */
.kicker { font-family: var(--font-caps); font-weight: 400; font-size: 18px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.kicker--sm { font-size: 15px; }
.kicker--xs { font-size: 14px; }
.marble-black .kicker { color: var(--g2); }
.h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(50px, 6.4vw, 92px); line-height: 1; letter-spacing: -.005em; color: var(--ivory); }
.h2 { margin-top: 16px; font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; color: var(--ink); text-wrap: balance; }
.h3 { margin-top: 14px; font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 3.8vw, 48px); line-height: 1.1; color: var(--ink); }
.marble-black .h2, .marble-black .h3 { color: var(--ivory); }
.italic-gold { font-style: italic; padding-right: .12em; }
.lead { font-size: 18px; line-height: 1.8; color: var(--text); }
.body { font-size: 17px; line-height: 1.85; color: var(--text); }
.marble-black .lead, .marble-black .body { color: var(--text-on-dark); }

/* ===== Buttons & links ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 32px; text-decoration: none;
  font-family: var(--font-caps); font-size: 14px; letter-spacing: .2em; text-transform: uppercase;
  transition: background-position .8s ease, background-color .25s, color .25s, box-shadow .3s;
}
.btn--gold { color: #121212; background-image: var(--gold-grad); background-size: 220% 100%; }
.btn--gold:hover { background-position: 100% 0; box-shadow: 0 8px 24px rgba(227, 165, 46, .28); }
.btn--outline-gold { border: 1px solid var(--g2); color: var(--g3); }
.btn--outline-gold:hover { background: rgba(227, 165, 46, .14); }
.btn--outline-dark { border: 1px solid #151515; color: #151515; }
.btn--outline-dark:hover { background: #151515; color: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-family: var(--font-caps); font-size: 14px; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; color: var(--gold-ink); border-bottom: 1px solid var(--g4);
}
.text-link:hover { color: #1a1917; }
.marble-black .text-link { color: var(--g2); border-color: var(--g2); }
.marble-black .text-link:hover { color: var(--g3); }

/* ===== Photo placeholders (replace with <img>) ===== */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 24px; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(60, 50, 35, .06); border: 1px dashed rgba(118, 84, 15, .55); color: #57514a;
}
.marble-black .ph { background: rgba(255, 255, 255, .04); border-color: rgba(227, 165, 46, .5); color: var(--muted-on-dark); }
.ph .icon { width: 30px; height: 30px; color: var(--gold-ink); }
.marble-black .ph .icon { color: var(--g2); }

/* ===== Top bar ===== */
.topbar { font-size: 13px; letter-spacing: .06em; color: #cfc9bf; border-bottom: 1px solid rgba(227, 165, 46, .45); }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 28px; padding-block: 8px; }
.topbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: inherit; text-decoration: none; }
.topbar .icon { color: var(--g2); width: 15px; height: 15px; }
.topbar a:hover { color: var(--g3); }
.social-row { display: inline-flex; gap: 4px; }
.social { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--g2); }
.social .icon { width: 17px; height: 17px; }

/* ===== Header & nav ===== */
.site-header { position: relative; z-index: 30; }
.site-header__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 22px; }
.logo { display: flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; }
.logo__symbol { height: 60px; width: auto; }
.logo__wordmark { height: 46px; width: auto; max-width: 62vw; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 30px; font-family: var(--font-caps); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.nav a:not(.btn) { color: #e9e5dd; text-decoration: none; padding-block: 12px; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--g3); }
.nav .btn { min-height: 46px; padding: 0 26px; }
.nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 1px solid rgba(227, 165, 46, .6); color: var(--g3); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; z-index: 20; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    background: #000; box-shadow: 0 24px 40px rgba(0, 0, 0, .6);
    border-top: 1px solid rgba(227, 165, 46, .45); border-bottom: 1px solid rgba(227, 165, 46, .45);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding-block: 16px; border-bottom: 1px solid var(--line-on-dark); }
  .nav .btn { margin-top: 20px; min-height: 54px; }
  .logo__symbol { height: 48px; }
  .logo__wordmark { height: 36px; }
}

/* ===== Hero ===== */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 72px; padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 110px); }
.hero__copy { flex: 1 1 460px; min-width: 0; }
.hero__kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.hero__kicker .gold-rule { width: 48px; }
.hero__kicker .kicker { color: var(--g2); }
.hero__copy .lead { margin-top: 30px; max-width: 540px; color: var(--text-on-dark); }
.hero__copy .btn-row { margin-top: 40px; }
.hero__media { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.arch { position: relative; width: 100%; max-width: 440px; padding: 0 0 22px 22px; }
.arch::before { content: ""; position: absolute; left: 0; bottom: 0; width: calc(100% - 22px); height: calc(100% - 22px); border: 1px solid var(--g2); border-radius: 240px 240px 0 0; }
.arch .ph, .arch__img { position: relative; width: 100%; height: clamp(420px, 60vw, 560px); border-radius: 220px 220px 0 0; }
.arch__img { object-fit: cover; }

/* ===== Affiliations & intro ===== */
.affiliations { padding-top: 40px; }
.affil-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 0; margin-top: 18px; font-family: var(--font-caps); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-strong); }
.affil-list li { display: inline-flex; align-items: center; }
.affil-list li + li::before { content: ""; width: 6px; height: 6px; margin: 0 20px; background-image: var(--gold-grad); transform: rotate(45deg); }
.intro { max-width: 820px; margin: 0 auto; padding-block: clamp(72px, 9vw, 120px) clamp(56px, 7vw, 96px); text-align: center; }
.intro .h2 { margin-top: 18px; font-size: clamp(38px, 4.6vw, 60px); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 26px 0; }
.ornament .gold-rule { width: 70px; }
.ornament img { height: 42px; width: auto; }

/* ===== Split layouts ===== */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 80px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split--reverse { flex-direction: row-reverse; }
.frame { position: relative; width: 100%; max-width: 480px; margin: 0 auto; padding: 0 22px 22px 0; }
.frame::before { content: ""; position: absolute; right: 0; bottom: 0; width: calc(100% - 22px); height: calc(100% - 22px); border: 1px solid var(--g4); }
.frame .ph, .frame__img { position: relative; width: 100%; height: clamp(420px, 60vw, 600px); }
.frame__img { object-fit: cover; }
.about { padding-bottom: var(--section-pad); }
.about .h2 { font-size: clamp(36px, 4.2vw, 54px); line-height: 1.1; }
.about .body { margin-top: 26px; }
.checklist { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; font-size: 16px; color: var(--text-strong); }
.checklist li { display: flex; align-items: baseline; gap: 14px; }
.about .text-link { margin-top: 36px; }

/* ===== Services ===== */
.section-intro { max-width: 760px; margin: 0 auto; }
.section-intro .lead { margin: 20px auto 0; max-width: 620px; font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 28px; margin-top: 60px; }
.card { display: flex; flex-direction: column; background: rgba(0, 0, 0, .55); border: 1px solid var(--line-on-dark); }
.card .ph { height: 230px; border: 0; border-bottom: 1px dashed rgba(255, 255, 255, .18); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 32px 30px 34px; }
.card__title { font-family: var(--font-caps); font-weight: 400; font-size: 21px; letter-spacing: .16em; text-transform: uppercase; }
.card__body > p { margin-top: 14px; font-size: 15px; line-height: 1.75; color: var(--text-on-dark); }
.card__list { display: flex; flex-direction: column; gap: 9px; margin-top: 20px; font-size: 15px; color: #e9e5dd; }
.card__list li { display: flex; align-items: baseline; gap: 12px; }
.card__list .diamond { width: 6px; height: 6px; }
.card .text-link { margin-top: auto; padding-top: 28px; border: 0; font-size: 13px; }

/* ===== Featured treatments ===== */
.features { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 120px); }
.feature .ph { height: clamp(300px, 40vw, 440px); }
.feature .body { margin-top: 22px; }
.feature .text-link { margin-top: 30px; }

/* ===== Quote ===== */
.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote__mark { font-family: var(--font-display); font-size: 130px; line-height: .6; height: 64px; }
.quote blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(26px, 3vw, 38px); line-height: 1.45; color: var(--ivory); }
.quote figcaption { margin-top: 30px; font-family: var(--font-caps); font-size: 15px; letter-spacing: .24em; text-transform: uppercase; color: var(--g2); }

/* ===== Gallery: before/after sliders ===== */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; }
.section-head .h2 { font-size: clamp(36px, 4.4vw, 58px); }
.hint { margin-top: 20px; font-size: 15px; color: var(--text); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 36px 32px; margin-top: 40px; }
.gallery figure { min-width: 0; }
.gallery figcaption { margin-top: 14px; text-align: center; font-family: var(--font-caps); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-strong); }
.ba-frame { padding: 6px; border: 1px solid var(--g4); background: rgba(255, 255, 255, .35); }
.ba {
  --pos: 50%;
  position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #111;
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.ba:focus-within { outline: 2px solid var(--g2); outline-offset: 4px; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: 12px; padding: 5px 10px; background: rgba(0, 0, 0, .62); color: var(--ivory); font-family: var(--font-caps); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; pointer-events: none; }
.ba__tag--left { left: 12px; }
.ba__tag--right { right: 12px; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--g3); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; gap: 2px; border-radius: 50%; background-image: var(--gold-grad); background-size: 220% 100%; color: #121212; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.ba__knob svg { width: 18px; height: 18px; }
.ba__range { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }

/* ===== Team ===== */
/* 5 people: 3 on the first row, 2 centered below; 1 per row on phones */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 32px; margin-top: 56px; }
.member { display: flex; flex-direction: column; flex: 1 1 280px; max-width: 340px; min-width: 0; }
.member__photo { position: relative; padding: 0 12px 12px 0; }
.member__photo::before { content: ""; position: absolute; right: 0; bottom: 0; width: calc(100% - 12px); height: calc(100% - 12px); border: 1px solid var(--g2); }
.member__photo .ph, .member__photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.member__photo .ph { padding: 20px; gap: 10px; }
.member__photo .ph .icon { width: 26px; height: 26px; }
.member__name { margin-top: 22px; font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.2; color: var(--ivory); }
.member__role { margin-top: 6px; font-family: var(--font-caps); font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--g2); }
.member__bio { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--text-on-dark); }

/* ===== FAQ ===== */
.faq-wrap { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.faq-intro { flex: 1 1 320px; min-width: 0; }
.faq-intro .h2 { font-size: clamp(36px, 4.4vw, 56px); }
.faq-intro .body { margin-top: 22px; max-width: 380px; }
.faq-intro a { color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid var(--g4); }
.faq-list { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--g4); }
.faq-list details { border-bottom: 1px solid var(--g4); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; padding: 18px 0;
  cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 500; font-size: 25px; line-height: 1.3; color: var(--ink);
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-ink); }
.faq-list summary::after { content: "+"; flex: none; font-family: var(--font-body); font-weight: 400; font-size: 28px; line-height: 1; color: var(--gold-ink); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 48px 26px 0; font-size: 16px; line-height: 1.8; color: var(--text); }

/* ===== Contact ===== */
.contact__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 72px; }
.contact__info { flex: 1 1 400px; min-width: 0; }
.contact .h2 { font-size: clamp(40px, 5vw, 62px); line-height: 1.05; }
.contact .body { margin-top: 26px; max-width: 520px; }
.info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; font-size: 16px; color: #e9e5dd; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--g2); }
.info-list a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(227, 165, 46, .5); }
.info-list a:hover { color: var(--g3); }
.contact__info .text-link { margin-top: 28px; font-size: 13px; }

/* ----- Request form ----- */
.form-card { flex: 1 1 460px; min-width: 0; padding: clamp(26px, 4vw, 44px); background: rgba(0, 0, 0, .62); border: 1px solid rgba(227, 165, 46, .35); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.form-card__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 3vw, 38px); line-height: 1.1; color: var(--ivory); }
.form-card__sub { margin-top: 8px; font-size: 14px; color: var(--muted-on-dark); }
.appt-form { display: flex; flex-direction: column; gap: 20px; }
.appt-form[hidden] { display: none; }
.appt-form .form-card__sub { margin-top: -10px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px; }
.field label, .reasons legend { font-family: var(--font-caps); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #e9e5dd; }
.req { color: var(--g2); }
.optional { text-transform: none; letter-spacing: .02em; font-family: var(--font-body); font-size: 13px; color: var(--muted-on-dark); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 2px;
  font: inherit; font-size: 16px; color: var(--ivory);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .2);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--g2) 50%), linear-gradient(135deg, var(--g2) 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: #161514; background: #f4f1ea; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--g2); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 3px rgba(227, 165, 46, .22); }
.field input[aria-invalid="true"] { border-color: #f0a19a; box-shadow: 0 0 0 3px rgba(240, 161, 154, .18); }
.field__error { min-height: 0; font-size: 14px; color: #f6b7b0; }
.field__error:empty { display: none; }
.field__hint { font-size: 13px; color: var(--muted-on-dark); }

.reasons { margin: 0; padding: 0; border: 0; min-width: 0; }
.reasons legend { padding: 0; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; color: #e9e5dd; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .03);
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover span { border-color: var(--g2); }
.chip input:checked + span { color: #121212; border-color: transparent; background-image: var(--gold-grad); background-size: 220% 100%; font-weight: 500; }
.chip input:focus-visible + span { outline: 2px solid var(--g3); outline-offset: 3px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; margin-top: 4px; border: 0; cursor: pointer; }
.form-submit .icon { width: 18px; height: 18px; }
.form-submit[disabled] { opacity: .7; cursor: progress; }
.form-status { font-size: 15px; color: #f6b7b0; }
.form-status:empty { display: none; }
.form-note { font-size: 13px; line-height: 1.6; color: var(--muted-on-dark); }
.form-note a, .form-done a { color: var(--g3); }

.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 24px; outline: none; }
.form-done[hidden] { display: none; }
.form-done__icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; color: #121212; background-image: var(--gold-grad); background-size: 220% 100%; }
.form-done__icon .icon { width: 26px; height: 26px; }
.form-done p { font-size: 17px; line-height: 1.7; color: var(--text-on-dark); }
.form-done__demo { font-size: 14px !important; color: var(--g3) !important; }

/* ===== Footer (white marble) ===== */
.site-footer { padding: 64px 0 32px; color: var(--text-strong); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.footer-about { flex: 1 1 320px; min-width: 0; max-width: 420px; }
.footer-logo { width: 250px; }
.footer-about p { margin-top: 22px; font-size: 15px; line-height: 1.8; color: var(--text); }
.footer-nav { display: flex; flex-direction: column; font-family: var(--font-caps); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.footer-nav a { padding-block: 8px; color: var(--text-strong); text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--gold-ink); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-contact .kicker { font-size: 13px; letter-spacing: .24em; }
.footer-contact a { color: var(--gold-ink); text-decoration: none; }
.footer-contact a:hover { color: #1a1917; }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.footer-ig .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--g4); font-size: 13px; color: #57514a; }
.footer-bottom a { color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid var(--g4); }

/* ===== Small phones ===== */
@media (max-width: 480px) {
  .btn-row .btn { width: 100%; }
  .faq-list summary { font-size: 22px; }
  .faq-list details p { padding-right: 0; }
  .affil-list { flex-direction: column; gap: 10px; }
  .affil-list li + li::before { display: none; }
  .ba__knob { width: 40px; height: 40px; }
}
