/* Interior pages: page heroes, prose, FAQ, cards, forms and the booking flow. */

/* ---------- Page hero (short, navy, optional photo) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); padding: 176px 0 var(--s-9); }
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media .photo, .page-hero-media img { width: 100%; height: 100%; }
.page-hero-media img { object-fit: cover; object-position: 50% 45%; }
.page-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 0, 52, 0.92) 0%, rgba(2, 0, 52, 0.78) 45%, rgba(2, 0, 52, 0.3) 100%), linear-gradient(0deg, rgba(2, 0, 52, 0.5), rgba(2, 0, 52, 0) 50%); }
.page-hero-inner { display: grid; gap: var(--s-4); max-width: 44rem; }
.page-hero .display { color: var(--ivory-100); font-size: clamp(36px, 4.2vw, 58px); }
.page-hero .lead { color: var(--mist-300); }
.page-hero .hero-actions { margin-top: var(--s-4); }
.page-hero-tall { padding-top: 200px; min-height: 62svh; display: grid; align-content: end; }
@media (max-width: 860px) {
  .page-hero { padding: 132px 0 var(--s-8); }
  .page-hero-tall { min-height: auto; padding-top: 150px; }
  .page-hero-scrim { background: linear-gradient(0deg, rgba(2, 0, 52, 0.95) 0%, rgba(2, 0, 52, 0.75) 60%, rgba(2, 0, 52, 0.45) 100%); }
}

/* ---------- Prose ---------- */
.prose { max-width: 42rem; display: grid; gap: var(--s-4); }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--s-5); }
.prose h3 { font-size: 22px; margin-top: var(--s-3); }
.prose p, .prose li { color: var(--ink-700); }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: var(--s-2); }
.prose a { color: var(--navy-900); }
.prose .lead { color: var(--ink-600); }
.prose-meta { font-size: var(--fs-small); color: var(--ink-500); display: flex; gap: var(--s-3); flex-wrap: wrap; }
.prose-wide { max-width: 52rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: start; }
.two-col-narrow { grid-template-columns: 1.3fr 0.7fr; }
@media (max-width: 860px) { .two-col, .two-col-narrow { grid-template-columns: 1fr; gap: var(--s-7); } }

/* ---------- Side card (sticky summary) ---------- */
.side-card { position: sticky; top: 112px; display: grid; gap: var(--s-4); padding: var(--s-6); border-radius: var(--r-card); background: var(--navy-900); color: var(--ivory-100); }
.side-card h2 { font-size: 24px; }
.side-card p { color: var(--mist-300); font-size: var(--fs-small); }
.side-card .btn { width: 100%; }
.side-card .fine { color: var(--mist-400); }
@media (max-width: 860px) { .side-card { position: static; } }

/* ---------- Feature rows (icon-less, hairline) ---------- */
.feature-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--s-7); border-top: 1px solid var(--stone-200); }
.feature-list li { padding: var(--s-6) 0; border-bottom: 1px solid var(--stone-200); display: grid; gap: var(--s-2); align-content: start; }
.feature-list p { color: var(--ink-600); }
.feature-list-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .feature-list, .feature-list-2 { grid-template-columns: 1fr; } }

/* ---------- Numbered list of steps (vertical, long form) ---------- */
.steps-long { list-style: none; display: grid; border-top: 1px solid var(--stone-200); counter-reset: step; }
.steps-long li { display: grid; grid-template-columns: 88px 1fr; gap: var(--s-5); padding: var(--s-7) 0; border-bottom: 1px solid var(--stone-200); }
.steps-long .step-num { font-size: 56px; line-height: 1; }
.steps-long li > div { display: grid; gap: var(--s-3); max-width: 52ch; }
.steps-long p { color: var(--ink-600); }
@media (max-width: 600px) { .steps-long li { grid-template-columns: 56px 1fr; gap: var(--s-4); } .steps-long .step-num { font-size: 40px; } }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; border-top: 1px solid var(--stone-200); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--stone-200); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-5);
  padding: var(--s-5) 0; font-family: var(--font-display); font-size: 22px; line-height: 1.3; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--stone-500);
  background: linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 12px no-repeat;
  transition: transform 300ms var(--ease), background-color 200ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { background-color: var(--ivory-50); }
.faq summary:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 4px; border-radius: 4px; }
.faq .faq-body { padding: 0 var(--s-8) var(--s-6) 0; color: var(--ink-700); display: grid; gap: var(--s-3); max-width: 60ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] .faq-body { animation: faq-in 320ms var(--ease); }
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Cards ---------- */
.card-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.card-grid-2 { grid-template-columns: 1fr 1fr; }
.card { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6); border-radius: var(--r-card); border: 1px solid var(--stone-200); background: var(--ivory-100); }
.card p { color: var(--ink-600); }
.card-dark { background: var(--navy-900); color: var(--ivory-100); border-color: var(--navy-700); }
.card-dark p { color: var(--mist-300); }
.card-dark .h3 { color: var(--ivory-100); }
a.card { text-decoration: none; transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
a.card:hover { border-color: var(--gold-500); transform: translateY(-2px); }
@media (max-width: 860px) { .card-grid, .card-grid-2 { grid-template-columns: 1fr; } }

/* ---------- Offices ---------- */
.office { display: grid; gap: var(--s-2); }
.office address { font-style: normal; color: var(--ink-700); }
.office a { color: var(--navy-900); }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field label, .field legend { font-size: var(--fs-small); font-weight: 600; color: var(--navy-900); }
.field .hint { font-size: var(--fs-small); color: var(--ink-500); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0 var(--s-4); border-radius: var(--r-input); border: 1px solid var(--stone-500);
  background: var(--ivory-100); font: 500 var(--fs-body)/1.4 var(--font-text); color: var(--navy-900);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field textarea { min-height: 140px; padding: var(--s-3) var(--s-4); resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'><path d='M5 8l5 5 5-5' stroke='%23020034' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right var(--s-4) center; background-size: 18px; padding-right: var(--s-8); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(2, 0, 52, 0.12); }
.field [aria-invalid="true"] { border-color: #a1322d; }
.field-error { font-size: var(--fs-small); color: #a1322d; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); align-items: start; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4);
  border-radius: var(--r-pill); border: 1px solid var(--stone-500); background: var(--ivory-100);
  font-size: var(--fs-small); font-weight: 500; color: var(--navy-900);
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.choice input:hover + span { border-color: var(--navy-900); }
.choice input:checked + span { background: var(--navy-900); color: var(--ivory-100); border-color: var(--navy-900); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.check { display: flex; gap: var(--s-3); align-items: start; font-size: var(--fs-small); color: var(--ink-700); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy-900); flex-shrink: 0; }

/* ---------- Booking flow ---------- */
form.booking { max-width: 40rem; }
.booking-progress { height: 3px; background: var(--stone-200); border-radius: 2px; overflow: hidden; margin-bottom: var(--s-6); }
.booking-progress > span { display: block; height: 100%; width: 0; background: var(--gold-500); transition: width 400ms var(--ease); }
.booking-step { display: grid; gap: var(--s-5); }
.booking-step h2 { font-size: var(--fs-h3); }
.booking-step .step-count { font-size: var(--fs-caption); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-700); }
.booking-step > p { color: var(--ink-600); }
.booking-nav { display: flex; gap: var(--s-4); align-items: center; justify-content: space-between; margin-top: var(--s-3); }
.booking-nav .btn-secondary { background: transparent; }
.amount-block { display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-card); background: var(--ivory-50); border: 1px solid var(--stone-200); }
.slot-list { list-style: none; display: grid; gap: var(--s-4); }
.slot-day { font-family: var(--font-text); font-size: var(--fs-small); font-weight: 600; color: var(--ink-700); margin-bottom: var(--s-2); }
.slot-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot span { display: inline-flex; align-items: center; justify-content: center; min-width: 84px; min-height: 44px; padding: 0 var(--s-3); border-radius: var(--r-input); border: 1px solid var(--stone-500); background: var(--ivory-100); font-weight: 600; font-size: var(--fs-small); font-variant-numeric: tabular-nums; transition: all 160ms var(--ease); }
.slot input:hover + span { border-color: var(--navy-900); }
.slot input:checked + span { background: var(--navy-900); color: var(--ivory-100); border-color: var(--navy-900); }
.slot input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 3px; }
.booking-done { display: grid; gap: var(--s-4); padding: var(--s-7); border-radius: var(--r-card); background: var(--navy-900); color: var(--ivory-100); }
.booking-done p { color: var(--mist-300); }
.booking-done strong { color: var(--ivory-100); }
.booking-aside { display: grid; gap: var(--s-5); }
.booking-aside .photo { border-radius: var(--r-glass); overflow: hidden; aspect-ratio: 4 / 5; }
.booking-aside img { width: 100%; height: 100%; object-fit: cover; }
.assure { list-style: none; display: grid; gap: var(--s-3); }
.assure li { display: flex; gap: var(--s-3); align-items: start; font-size: var(--fs-small); color: var(--ink-700); }
.assure svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold-500); margin-top: 2px; }

/* ---------- Region list (home + booking) ---------- */
.region-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.region-list a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  min-height: 60px; padding: 0 var(--s-5); border-radius: var(--r-input); border: 1px solid var(--stone-200); background: var(--ivory-100);
  text-decoration: none; font-weight: 500; color: var(--navy-900);
  transition: border-color 200ms var(--ease), background-color 200ms var(--ease), transform 200ms var(--ease);
}
.region-list svg { width: 20px; height: 20px; color: var(--gold-500); transition: transform 200ms var(--ease); }
.region-list a:hover { border-color: var(--navy-900); transform: translateY(-1px); }
.region-list a:hover svg { transform: translateX(3px); }
@media (max-width: 960px) { .region-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .region-list { grid-template-columns: 1fr 1fr; } .region-list a { min-height: 54px; padding: 0 var(--s-4); font-size: var(--fs-small); } }
@media (max-width: 400px) { .region-list { grid-template-columns: 1fr; } }

/* ---------- Insights ---------- */
.article { max-width: 42rem; }
.article-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); }
.article .prose { max-width: none; }
.callout { padding: var(--s-5) var(--s-6); border-left: 3px solid var(--gold-500); background: var(--ivory-50); color: var(--ink-700); border-radius: 0 var(--r-input) var(--r-input) 0; }
.insight-list-full { list-style: none; display: grid; gap: var(--s-5); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .insight-list-full { grid-template-columns: 1fr; } }

/* ---------- Closing CTA (short, navy, no photo) ---------- */
.cta-plain { background: var(--navy-900); padding: var(--s-9) 0; }
.cta-plain .wrap { display: grid; gap: var(--s-4); justify-items: start; }
.cta-plain .h2 { color: var(--ivory-100); max-width: 24ch; }
.cta-plain p { color: var(--mist-300); max-width: 40em; }

/* ---------- Office cards ---------- */
.office-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.office-card { display: grid; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--stone-200); background: var(--ivory-100); }
.office-photo { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.office-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.office-card:hover .office-photo img { transform: scale(1.04); }
.office-body { display: grid; gap: var(--s-2); padding: var(--s-5) var(--s-6) var(--s-6); }
.office-body address { font-style: normal; color: var(--ink-600); }
.office-body a { color: var(--navy-900); font-weight: 600; text-decoration: none; }
.office-body a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .office-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .office-card:hover .office-photo img { transform: none; } }
.office-photo { position: relative; }

/* ---- Forms: submission plumbing ---- */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: var(--s-3) var(--s-4); border-radius: var(--r-card); background: #fbeeed; color: #7a221e; border: 1px solid #efc7c4; font-size: var(--fs-small); line-height: 1.5; margin-bottom: var(--s-4); }
.form-alert a { color: inherit; font-weight: 600; }
.btn.is-busy { opacity: 0.7; pointer-events: none; }
.btn.is-busy::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; vertical-align: -1px; }
@keyframes spin { to { transform: rotate(360deg); } }
.slot-list:empty { display: none; }
.slot-empty { font-size: var(--fs-small); color: var(--ink-600); }
