/* ==========================================================================
   Oryncrest Rides — main stylesheet
   Sections: 1 Fonts · 2 Tokens · 3 Base · 4 Layout · 5 Brand/Header/Nav
             6 Buttons · 7 Components · 8 Forms · 9 Footer · 10 Utilities
   ========================================================================== */

/* 1. Fonts (self-hosted, latin subset — no third-party font requests) */
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* 2. Design tokens */
:root {
  --ivory: #FAF6EE;
  --ivory-2: #F3ECDF;
  --paper: #FFFDF9;
  --navy: #0F1B2D;
  --navy-2: #18294A;
  --navy-3: #22375E;
  --ink: #1D2433;
  --muted: #565E6E;
  --line: #E4DACA;
  --gold-ink: #7A5813;          /* AA-contrast gold for text on ivory (≈5.9:1) */
  --gold: #B8862B;
  --gold-light: #E7C97E;        /* gold for text on navy */
  --gold-grad: linear-gradient(135deg, #9C7220 0%, #D9B566 42%, #B8862B 68%, #EBD293 100%);
  --error: #A3261C;
  --success: #2E6B47;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 12px 32px -12px rgba(15, 27, 45, .18);
  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7rem);
  --header-h: 76px;
}

/* 3. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: color-mix(in srgb, var(--gold) 70%, transparent); text-underline-offset: .2em; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--navy); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
main:focus { outline: none; }
::selection { background: #EAD8A8; color: var(--navy); }

/* 4. Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--cream { background: var(--ivory-2); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #D9DEE8; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.25rem); color: var(--muted); }
.section--navy .lead { color: #B9C2D3; }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1.05fr .95fr; } .split--reverse > :first-child { order: 2; } }

/* Eyebrow + gold rule — reusable brand accents */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font: 500 .78rem/1 var(--font-caps); letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 1.1rem;
}
@media (max-width: 480px) { .eyebrow { letter-spacing: .16em; font-size: .72rem; gap: .55rem; } .eyebrow::before { width: 22px; } }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-grad); }
.section--navy .eyebrow { color: var(--gold-light); }
.gold-rule { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--gold) 20%, #EBD293 50%, var(--gold) 80%, transparent); margin: 0; }
.accent { font-style: italic; font-weight: 500; color: var(--gold-ink); }
.section--navy .accent, .hero--navy .accent { color: var(--gold-light); }

/* 5. Notice bar, header, brand, nav */
.notice-bar { background: var(--navy); color: #D9DEE8; font-size: .85rem; line-height: 1.4; padding: .6rem 0; text-align: center; }
@media (max-width: 640px) { .notice-bar__more { display: none; } }
.notice-bar__dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); margin-right: .55rem; vertical-align: middle; box-shadow: 0 0 0 3px rgba(231, 201, 126, .2); }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed-position mobile menu inside it */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(250, 246, 238, .92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 27, 45, .35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.site-header__brand { text-decoration: none; color: inherit; flex-shrink: 0; }

.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand__crest { width: 76px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 500 1.38rem/1 var(--font-caps); letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(135deg, #7A5813 0%, #B8862B 45%, #8C6418 75%, #A87B22 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__sub { font: 600 .66rem/1 var(--font-body); letter-spacing: .5em; text-transform: uppercase; color: var(--navy); margin-top: .42rem; padding-left: .1em; }

.nav-toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav__list { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: .4rem 0; position: relative; }
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__list a[aria-current="page"] { color: var(--navy); }
.site-nav__actions { display: flex; align-items: center; gap: 1.1rem; }
.site-nav__phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; font-size: .95rem; text-decoration: none; color: var(--navy); white-space: nowrap; }
.site-nav__phone svg { color: var(--gold-ink); }

@media (max-width: 1080px) { .site-nav__phone { display: none; } }
@media (max-width: 920px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; display: block; width: 20px; height: 1.6px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .25s, background-color .2s; }
  .nav-toggle__bars::before { position: absolute; top: -6px; }
  .nav-toggle__bars::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav { position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; background: var(--ivory); flex-direction: column; align-items: stretch; gap: 0; padding: 1.25rem var(--gutter) 2rem; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; border-top: 1px solid var(--line); }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; font: 600 1.6rem/1.2 var(--font-display); padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav__list a::after { display: none; }
  .site-nav__list a[aria-current="page"] { color: var(--gold-ink); }
  .site-nav__actions { flex-direction: column; align-items: stretch; margin-top: 1.5rem; gap: .9rem; }
  .site-nav__phone { display: inline-flex; justify-content: center; padding: .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: 1.05rem; }
  .site-nav__actions .btn { justify-content: center; }
  body.nav-open { overflow: hidden; }
  .brand__crest { width: 60px; }
  .brand__name { font-size: 1.12rem; }
}

/* 6. Buttons */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  min-height: 48px; padding: .8rem 1.55rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); font: 600 .97rem/1.2 var(--font-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background-color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(15, 27, 45, .5); }
.btn:active { transform: none; }
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--gold-grad); color: var(--navy); border-color: rgba(122, 88, 19, .25); --btn-fg: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); --btn-fg: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; --btn-fg: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(231, 201, 126, .55); --btn-fg: #fff; }
.btn--ghost-light:hover { border-color: var(--gold-light); }
.btn--lg { min-height: 54px; padding: .95rem 1.9rem; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--navy); }
.link-arrow svg { width: 18px; height: 18px; color: var(--gold-ink); transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* 7. Components ---------------------------------------------------------- */

/* Hero */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem); position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2.25rem, 5vw, 4rem); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { margin-bottom: .45em; }
.hero__lead { font-size: clamp(1.1rem, 1.9vw, 1.3rem); color: var(--muted); max-width: 36rem; margin-bottom: 2rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 2rem 0 0; color: var(--muted); font-size: .95rem; }
.hero__points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__points svg { width: 18px; height: 18px; color: var(--gold-ink); }
.hero__art { position: relative; }
.hero__art .vehicle-art { border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(15, 27, 45, .55); width: 100%; }
.hero__art::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); border-radius: 26px; opacity: .45; z-index: -1; }
.hero__badge { position: absolute; left: 28px; bottom: -30px; background: var(--paper); border-radius: 14px; padding: .85rem 1.1rem; box-shadow: var(--shadow); display: flex; gap: .75rem; align-items: center; font-size: .9rem; line-height: 1.35; max-width: 270px; }
.hero__badge svg { width: 30px; height: 30px; color: var(--gold-ink); flex-shrink: 0; }
.hero__badge strong { color: var(--navy); display: block; }
@media (min-width: 561px) { .hero__art { margin-bottom: 30px; } }
@media (max-width: 560px) { .hero__badge { position: static; margin-top: 1rem; max-width: none; } .hero__art::before { display: none; } }

/* Page hero (interior pages) */
.page-hero { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2.5rem, 6vw, 4rem); background: radial-gradient(1200px 400px at 85% -10%, rgba(231, 201, 126, .22), transparent 60%), var(--ivory); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); max-width: 18ch; }
.page-hero .lead { max-width: 42rem; margin: 0; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--gold); }
.breadcrumbs a { color: var(--muted); }

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D8C7A3; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); margin-bottom: 1.2rem; }
.card__icon svg { width: 24px; height: 24px; }
.card__tag { position: absolute; top: 1.2rem; right: 1.2rem; font: 600 .68rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); background: #F6EBD0; padding: .4rem .6rem; border-radius: 999px; }
.card--link { text-decoration: none; color: inherit; display: block; }

/* Value points */
.value { display: flex; gap: 1rem; align-items: flex-start; }
.value__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(231, 201, 126, .45); color: var(--gold-light); }
.value__icon svg { width: 22px; height: 22px; }
.value h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.value p { margin: 0; color: #B9C2D3; font-size: .98rem; }
.section:not(.section--navy) .value__icon { border-color: var(--line); color: var(--gold-ink); background: var(--paper); }
.section:not(.section--navy) .value p { color: var(--muted); }
.section:not(.section--navy) .value h3 { color: var(--navy); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: clamp(1.25rem, 3vw, 2rem); list-style: none; padding: 0; margin: 0; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font: 500 2.6rem/1 var(--font-display); color: var(--gold-ink); }
.steps li::after { content: ""; position: absolute; top: 1.3rem; left: 4.2rem; right: 0; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); opacity: .6; }
.steps h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.steps p { color: var(--muted); margin: 0; }

/* Area chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.chips li { padding: .55rem 1rem; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; font-weight: 500; font-size: .95rem; display: inline-flex; align-items: center; gap: .45rem; }
.chips li svg { width: 16px; height: 16px; color: var(--gold-ink); }
.chips--primary li { border-color: #D8C7A3; background: #FBF4E4; color: var(--navy); }

/* Area cards */
.area { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.area h3 { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .35rem; }
.area h3 small { font: 500 .72rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.area p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Airport panel */
.airport-panel { background: var(--navy); color: #D9DEE8; border-radius: 22px; padding: clamp(1.75rem, 4vw, 3rem); display: grid; gap: 2rem; }
@media (min-width: 860px) { .airport-panel { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.airport-panel h2, .airport-panel h3 { color: #fff; }
.airport-codes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.airport-code { border: 1px solid rgba(231, 201, 126, .35); border-radius: 14px; padding: 1.1rem .75rem; text-align: center; }
.airport-code b { display: block; font: 500 2rem/1 var(--font-caps); letter-spacing: .08em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.airport-code span { display: block; font-size: .78rem; color: #B9C2D3; margin-top: .45rem; line-height: 1.3; }
.status-pill { display: inline-flex; align-items: center; gap: .45rem; font: 600 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: .45rem .75rem; border-radius: 999px; background: rgba(231, 201, 126, .14); color: var(--gold-light); }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Service detail blocks */
.service-block { display: grid; gap: 1.5rem; padding-block: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line); }
.service-block:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 860px) { .service-block { grid-template-columns: 80px 1fr 1fr; gap: 2rem; } }
.service-block__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: grid; place-items: center; }
.service-block__icon svg { width: 28px; height: 28px; }
.service-block h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: .4rem; }
.service-block p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: .25em; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5813' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ticks__label { font: 600 .74rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .9rem; }

/* Vehicle spec list */
.spec-list { display: grid; gap: 0; margin: 1.5rem 0 0; }
.spec-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.section--navy .spec-list div { border-color: rgba(255, 255, 255, .12); }
.section--navy .spec-list dt { color: #B9C2D3; }
.section--navy .spec-list dd { color: #fff; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font: 600 1.3rem/1.3 var(--font-display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 12px; height: 12px; border-right: 1.6px solid var(--gold-ink); border-bottom: 1.6px solid var(--gold-ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-right: 2rem; margin-bottom: 1.4rem; }

/* CTA band */
.cta-band { background: var(--navy); color: #D9DEE8; border-radius: 26px; padding: clamp(2.25rem, 6vw, 4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 50%; bottom: -1px; width: min(560px, 90%); height: 120px; transform: translateX(-50%); background: url("../img/oryncrest-crest.webp") center bottom / contain no-repeat; opacity: .12; pointer-events: none; }
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 40rem; margin-inline: auto; color: #B9C2D3; }
.cta-band .btn-row { justify-content: center; margin-top: 1.75rem; position: relative; }

/* Notes & callouts */
.callout { border-left: 3px solid var(--gold); background: #FBF4E4; padding: 1.1rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-size: .96rem; }
.callout strong { color: var(--navy); }
.callout--draft { border-left-color: var(--error); background: #FBEDEB; }

/* Contact methods */
.contact-methods { display: grid; gap: 1rem; }
.contact-method { display: flex; gap: 1rem; align-items: center; padding: 1.25rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.contact-method:hover { border-color: #D8C7A3; box-shadow: var(--shadow); color: inherit; }
.contact-method__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: grid; place-items: center; flex-shrink: 0; }
.contact-method__icon svg { width: 22px; height: 22px; }
.contact-method small { display: block; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.contact-method strong { font-size: 1.12rem; color: var(--navy); word-break: break-word; }

/* Prose (legal pages) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.8rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6rem; }
.prose li { margin-bottom: .4rem; }
.placeholder { background: #FFF3C9; padding: 0 .25em; border-radius: 3px; }

/* 8. Forms ---------------------------------------------------------------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 4vw, 2.75rem); box-shadow: var(--shadow); }
.form-section { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.form-section legend { font: 600 1.45rem/1.2 var(--font-display); color: var(--navy); padding: 0; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .7rem; width: 100%; }
.form-section legend .num { font: 500 .72rem/1 var(--font-caps); color: var(--gold-ink); border: 1px solid #D8C7A3; border-radius: 50%; width: 30px; height: 30px; display: inline-grid; place-items: center; letter-spacing: 0; }
.form-grid { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label, .field .label { font-weight: 500; font-size: .95rem; color: var(--navy); }
.req { color: var(--error); margin-left: .15em; }
.opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
.hint { font-size: .84rem; color: var(--muted); margin: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; border: 1px solid #CFC3AE; border-radius: 10px;
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--font-body); transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1B2D' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.6rem; }
.textarea { min-height: 120px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: #B5A27F; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(184, 134, 43, .28); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(163, 38, 28, .12); }
.field-error { color: var(--error); font-size: .86rem; font-weight: 500; margin: 0; display: flex; gap: .35rem; align-items: flex-start; }
.field-error:empty { display: none; }
.field-error::before { content: "!"; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--error); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; margin-top: .15em; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .7rem 1rem; border: 1px solid #CFC3AE; border-radius: 10px; background: #fff; font-weight: 500; color: var(--navy); transition: all .15s; }
.segmented input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--navy); flex-shrink: 0; }

.error-summary { border: 1px solid var(--error); border-left-width: 4px; background: #FBEDEB; border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1.75rem; }
.error-summary h2 { font: 600 1.05rem/1.3 var(--font-body); color: var(--error); margin: 0 0 .5rem; }
.error-summary ul { margin: 0; padding-left: 1.1rem; }
.error-summary a { color: var(--error); font-weight: 500; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding-top: .5rem; }
.form-actions .hint { flex: 1 1 260px; }
@media (max-width: 560px) { .form-actions .btn { width: 100%; } }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-result { scroll-margin-top: calc(var(--header-h) + 1rem); border-radius: 16px; padding: clamp(1.4rem, 4vw, 2rem); margin-bottom: 1.5rem; }
.form-result--demo { background: #FFF6DE; border: 1px solid #E6CF92; }
.form-result--error { background: #FBEDEB; border: 1px solid #E3B2AC; }
.form-result h2 { font-size: 1.6rem; margin-bottom: .4rem; }
.form-result pre { white-space: pre-wrap; font: 400 .88rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; background: rgba(255,255,255,.7); padding: 1rem; border-radius: 10px; max-height: 280px; overflow: auto; }

.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

.aside-card { background: var(--navy); color: #D9DEE8; border-radius: 22px; padding: clamp(1.4rem, 3.5vw, 2.2rem); }
.aside-card h2, .aside-card h3 { color: #fff; }
.aside-card a { color: var(--gold-light); }
.aside-card .ticks li::before { filter: brightness(2.1) saturate(.8); }
.quote-layout { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
@media (min-width: 1020px) { .quote-layout { grid-template-columns: 1fr 340px; } .quote-layout aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* Date & time pickers ------------------------------------------------------ */
.picker { position: relative; }
.picker__input { padding-right: 3.2rem; }
.picker__btn { position: absolute; top: 4px; right: 4px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--gold-ink); cursor: pointer; }
.picker__btn:hover { background: #F6EBD0; }
.picker__btn:disabled { opacity: .4; cursor: default; }
.picker__pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; background: var(--paper); border: 1px solid #D8C7A3; border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(15, 27, 45, .35); }
.picker__pop--date { width: min(320px, calc(100vw - 2 * var(--gutter) - 8px)); padding: .85rem; }
.picker__pop--time { width: 100%; min-width: 160px; max-height: 264px; overflow-y: auto; list-style: none; margin: 0; padding: .35rem; overscroll-behavior: contain; }
.picker__pop--time li { padding: .6rem .85rem; border-radius: 8px; cursor: pointer; font-size: .97rem; }
.picker__pop--time li:hover, .picker__pop--time li.is-active { background: #F6EBD0; }
.picker__pop--time li[aria-selected="true"] { background: var(--navy); color: #fff; font-weight: 600; }
.picker__pop--time li:focus { outline: 2px solid var(--gold); outline-offset: -2px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; }
.cal__title { font: 600 1.15rem/1 var(--font-display); color: var(--navy); }
.cal__nav { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.cal__nav:hover:not(:disabled) { border-color: var(--gold); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__dow { text-align: center; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: .35rem 0; }
.cal__day { width: 100%; aspect-ratio: 1; min-height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: 500 .95rem/1 var(--font-body); cursor: pointer; }
.cal__day:hover:not(:disabled) { background: #F6EBD0; }
.cal__day.is-out { color: #646C7C; }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--gold); }
.cal__day.is-selected { background: var(--navy); color: #fff; }
.cal__day:disabled { color: #CBC7BF; cursor: default; text-decoration: line-through; text-decoration-color: #DDD8CE; }
.cal__day:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.cal__foot { display: flex; gap: .4rem; justify-content: space-between; border-top: 1px solid var(--line); margin-top: .6rem; padding-top: .6rem; }
.cal__link { border: 0; background: transparent; color: var(--navy); font: 600 .88rem/1 var(--font-body); padding: .5rem .6rem; border-radius: 8px; cursor: pointer; }
.cal__link:hover:not(:disabled) { background: #F6EBD0; }
.cal__link:disabled { opacity: .4; }
[data-picker-echo].is-confirmed { color: var(--success); font-weight: 500; }

/* Preview-only notice for phone/email links (never shown on the live site) */
.preview-note { position: fixed; z-index: 90; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(380px, calc(100vw - 2rem)); background: var(--navy); color: #D9DEE8; border: 1px solid rgba(231, 201, 126, .45); border-radius: 16px; padding: 1.1rem 1.25rem; box-shadow: 0 24px 50px -20px rgba(15, 27, 45, .7); }
@media (min-width: 921px) { .preview-note { bottom: 2rem; } }
.preview-note__label { font: 500 .72rem/1 var(--font-caps); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 .5rem; }
.preview-note__value { font: 600 1.5rem/1.2 var(--font-display); color: #fff; margin: 0 0 .5rem; user-select: all; word-break: break-word; }
.preview-note__hint { font-size: .85rem; color: #B9C2D3; margin: 0 0 .9rem; }
.preview-note__actions { display: flex; gap: .6rem; }
.preview-note__actions .btn { flex: 1; min-height: 44px; padding: .6rem 1rem; }
.preview-note .btn--outline { color: #fff; border-color: rgba(255,255,255,.5); --btn-fg: #fff; }

/* 9. Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #B9C2D3; padding-top: clamp(3rem, 7vw, 4.5rem); font-size: .95rem; }
.site-footer a { color: #E4E8F0; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 820px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer__logo { width: 230px; margin-bottom: 1.1rem; }
.site-footer__tag { max-width: 22rem; }
.site-footer__heading { font: 500 .78rem/1 var(--font-caps); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.1rem; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.6rem calc(1.6rem + env(safe-area-inset-bottom)); font-size: .85rem; }
.site-footer__disclaimer { max-width: 60rem; color: #9AA4B8; }
.site-footer__meta { margin: 0; }
.footer__tcp { color: #E4E8F0; font-weight: 500; }

/* Persistent mobile CTA */
.mobile-cta { display: none; }
@media (max-width: 920px) {
  .mobile-cta { display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(250, 246, 238, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(15, 27, 45, .45); }
  .mobile-cta__call { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 50px; padding: 0 1.2rem; border: 1px solid var(--navy); border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--navy); }
  .mobile-cta__quote { flex: 1; min-height: 50px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.page-quote .mobile-cta__quote { display: none; }
  body.page-quote .mobile-cta__call { flex: 1; }
  body.nav-open .mobile-cta { display: none; }
}

/* 10. Utilities */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

@media print {
  .site-header, .mobile-cta, .notice-bar, .site-footer, .nav-toggle { display: none !important; }
  body { background: #fff; padding: 0; }
}
