/* ==========================================================================
   Glacier Point Chiropractic Clinic — shared stylesheet
   ========================================================================== */

:root {
  /* Palette (sampled from Figma homepage) */
  --navy: #0e2433;
  --navy-2: #163447;
  --charcoal: #1f2123;
  --orange: #f2a93b;
  --orange-hover: #e59a26;
  --teal: #146b62;
  --teal-soft: #dcefed;
  --mist: #e3eef1;
  --frost: #f4f8f9;
  --cream: #fff6e7;
  --white: #ffffff;
  --ink: #0e2433;
  --text: #4a5a66;
  --text-light: #c9d5dd;
  --line: #dbe5ea;

  /* Type */
  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14, 36, 51, .06), 0 8px 24px rgba(14, 36, 51, .06);
  --section-y: clamp(64px, 8vw, 104px);
  --header-h: 80px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--orange); color: var(--navy); padding: 10px 16px;
  border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--white { background: var(--white); }
.section--mist { background: var(--mist); }
.section--frost { background: var(--frost); }
.section--navy { background: var(--navy); color: var(--text-light); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section--navy .eyebrow, .cta-band .eyebrow { color: var(--text-light); }

.lead { max-width: 560px; }
.split h2 { max-width: 11.5em; }

.split {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--top { align-items: start; }
}

.media {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
}
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-head); font-size: .875rem; font-weight: 600; line-height: 1.2;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: var(--orange-hover); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--charcoal);
  color: var(--white);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); flex: none; }
.brand img { width: 56px; height: 56px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: Georgia, "Times New Roman", serif; }
.brand__name { font-size: 1.0625rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brand__sub { font-size: .75rem; letter-spacing: .06em; margin-top: 5px; color: #d7dde2; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 28px; list-style: none; }
.nav__list a {
  font-size: .875rem; text-decoration: none; color: var(--white);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { border-bottom-color: var(--orange); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; border: 0; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08); color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.header-cta { flex: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--charcoal);
    padding: 8px var(--gutter) 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .3);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .nav-open .nav { display: flex; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav__list a:hover, .nav__list a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, .08); color: var(--orange); }
  .header-cta { display: none; }
  .nav .btn { margin-top: 20px; }
}
@media (min-width: 1081px) {
  .nav .nav__cta { display: none; }
}
@media (max-width: 480px) {
  :root { --header-h: 72px; }
  .brand img { width: 46px; height: 46px; }
  .brand__name { font-size: .9375rem; }
  .brand__sub { font-size: .6875rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--white);
  min-height: 600px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 36, 51, .94) 0%, rgba(14, 36, 51, .82) 35%, rgba(14, 36, 51, .25) 62%, rgba(14, 36, 51, 0) 75%);
}
.hero__inner { padding-top: 72px; padding-bottom: 36px; }
.hero__content { max-width: 560px; }
.hero .eyebrow { color: #d8e2e8; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero__text { color: #dfe6eb; max-width: 440px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 14px 32px;
  list-style: none;
  margin-top: 56px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  max-width: 740px;
  font-size: .8125rem; color: #dfe6eb;
}
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--orange); flex: none; }

@media (max-width: 899px) {
  .hero { min-height: 0; display: block; }
  .hero::before { display: none; }
  .hero__bg { position: relative; z-index: 0; aspect-ratio: 16 / 10; }
  .hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14, 36, 51, 0) 55%, var(--navy) 100%);
  }
  .hero__bg img { object-position: 75% 30%; }
  .hero__inner { padding-top: 12px; padding-bottom: 40px; }
}
@media (max-width: 480px) {
  .hero__bg { aspect-ratio: 4 / 3; }
  .btn-row .btn { flex: 1 1 100%; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; }
}

/* ---------- Cards / steps ---------- */
.section-head { max-width: 620px; margin-bottom: 40px; }
.card-grid { display: grid; gap: 20px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 2px rgba(14, 36, 51, .03);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .9375rem; }
.card__icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 24px;
}
.card__icon svg { width: 22px; height: 22px; }
.card__step {
  display: block; font-family: var(--font-head); font-size: .6875rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px;
}
.card__num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .9375rem;
  margin-bottom: 20px;
}

/* ---------- Lists, callouts, chips ---------- */
.check-list { list-style: none; display: grid; gap: 12px; margin: 24px 0 28px; color: var(--ink); }
.check-list li { position: relative; padding-left: 22px; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; background: var(--teal); transform: rotate(45deg);
}
.callout {
  background: var(--cream);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: .9375rem;
}
.stack { display: grid; gap: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 24px 0 20px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink); font-size: .8125rem;
}
.chips svg { width: 14px; height: 14px; color: var(--text); }
.fine-print { font-size: .8125rem; color: #5b6a75; }

.rule { width: 48px; height: 2px; background: var(--teal); border: 0; margin: 28px 0 18px; }
.tagline { color: var(--white); font-weight: 500; }

/* ---------- Media aspect helpers ---------- */
.media--landscape { aspect-ratio: 4 / 3; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 4 / 3; }
.media--focus-right img { object-position: 68% center; }
.media--focus-left img { object-position: 32% center; }
@media (min-width: 900px) {
  .media--tall { aspect-ratio: 33 / 32; }
  .media--landscape { aspect-ratio: 6 / 5; }
  .media--portrait { aspect-ratio: 9 / 11; max-width: 486px; width: 100%; justify-self: start; }
  .media--portrait-full { aspect-ratio: 7 / 9; max-width: none; }
  .split > .media--portrait:last-child { justify-self: end; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--text-light);
  padding: clamp(56px, 7vw, 80px) 0 clamp(40px, 5vw, 56px);
}
.cta-band__lines { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: rgba(255, 255, 255, .05); }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band__copy { max-width: 560px; }
.cta-band__details {
  display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, max-content)); column-gap: 64px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .8125rem;
}
.cta-band__details strong { display: block; color: var(--white); font-weight: 600; margin-bottom: 4px; }
.cta-band__details a { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #c3c9ce; font-size: .875rem; padding: 40px 0 28px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer-logo img { width: 156px; height: auto; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; }
.footer-nav a { color: var(--white); text-decoration: none; font-size: .8125rem; }
.footer-nav a:hover { color: var(--orange); }
.footer-contact { margin-top: 16px; text-align: right; }
.footer-contact a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .75rem; color: #a7b0b7;
}
@media (max-width: 720px) {
  .footer-top { flex-direction: column; }
  .footer-contact { text-align: left; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- Services dropdown ---------- */
.has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
@media (min-width: 1081px) {
  .nav__list { align-items: center; }
  .nav__list > li > a { display: inline-block; line-height: 1.4; }
}
.subnav-toggle {
  display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0;
  border: 0; background: none; color: var(--white); cursor: pointer; border-radius: 4px;
}
.subnav-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.subnav {
  position: absolute; top: 100%; left: -16px; z-index: 10;
  min-width: 270px; padding: 14px 8px 8px; list-style: none;
  background: var(--charcoal); border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .3);
  display: none;
}
.nav__list .subnav a { display: block; padding: 10px 12px; border-bottom: 0; border-radius: 6px; }
.nav__list .subnav a:hover, .nav__list .subnav a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: var(--orange); }
@media (min-width: 1081px) {
  .has-sub:hover .subnav, .has-sub.sub-open .subnav { display: block; }
  .has-sub.sub-open .subnav-toggle svg { transform: rotate(180deg); }
}
@media (max-width: 1080px) {
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .subnav-toggle { display: none; }
  .subnav { position: static; display: block; width: 100%; min-width: 0; padding: 0 0 0 16px; box-shadow: none; background: none; }
  .nav__list .subnav a { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; font-size: .9375rem; }
}

/* ---------- Page hero (inner pages) ---------- */
.hero--page { min-height: 520px; justify-content: center; }
.hero--page .hero__inner { padding-top: 64px; padding-bottom: 64px; }
.hero--page .hero__text { max-width: 470px; }
.hero--flip .hero__bg img { transform: scaleX(-1); }
@media (max-width: 899px) {
  .hero--page { min-height: 0; }
  .hero--page .hero__inner { padding-top: 12px; padding-bottom: 44px; }
}

/* ---------- Section heading variants ---------- */
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center h2 { margin-left: auto; margin-right: auto; }
.section-note { margin-top: 28px; max-width: 760px; font-size: .9375rem; }

/* ---------- Condition cards ---------- */
.condition-grid { display: grid; gap: 24px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .condition-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .condition-grid { grid-template-columns: repeat(3, 1fr); } }
.condition-card {
  display: flex; flex-direction: column;
  background: var(--frost); border: 1px solid var(--orange); border-radius: var(--radius);
  overflow: hidden; text-align: center;
}
.condition-card__img { aspect-ratio: 36 / 23; background: var(--navy); }
.condition-card__img img { width: 100%; height: 100%; object-fit: cover; }
.condition-card h3 {
  position: relative; margin: -30px 0 0; padding: 16px 12px;
  background: var(--white); border-radius: var(--radius) var(--radius) 0 0;
  font-size: 1.375rem; font-weight: 600;
}
.condition-card__body { padding: 12px 22px 24px; display: flex; flex-direction: column; flex: 1; font-size: .9375rem; }
.condition-card__body .btn { margin-top: auto; align-self: center; min-height: 40px; padding: 8px 20px; }
.condition-card__body p:last-of-type { margin-bottom: 22px; }

/* ---------- Icon feature cards ---------- */
.icon-grid { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 560px) { .icon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .icon-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .icon-grid--5 { grid-template-columns: repeat(5, 1fr); } }
.icon-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; font-size: .9375rem; color: var(--text); }
.icon-card .card__icon { margin-bottom: 20px; }

/* ---------- Bulleted lists ---------- */
.dot-list { list-style: none; display: grid; gap: 10px; margin: 18px 0 22px; }
.dot-list li { position: relative; padding-left: 20px; }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.section--navy .dot-list li { color: var(--text-light); }

/* ---------- Feature (orange) card ---------- */
.feature-card {
  margin: 0 auto; text-align: center;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 5vw, 72px);
  border-radius: 20px; color: #4a3210;
  background: linear-gradient(120deg, #f7b85a 0%, #f2a93b 45%, #f4b968 70%, #f2a93b 100%);
  box-shadow: var(--shadow);
}
.feature-card h2 { margin: 0 auto 18px; }
.feature-card p { max-width: 780px; margin-left: auto; margin-right: auto; color: var(--white); font-weight: 500; text-shadow: 0 1px 2px rgba(120, 70, 0, .35); }

/* ---------- Data table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }
.data-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0 10px; font-size: .9375rem; }
.data-table thead th {
  background: var(--orange); color: var(--navy); text-align: left;
  font-family: var(--font-head); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  padding: 12px 18px;
}
.data-table thead th:first-child { border-radius: 8px 0 0 8px; }
.data-table thead th:last-child { border-radius: 0 8px 8px 0; }
.data-table tbody th, .data-table tbody td { background: var(--frost); padding: 18px; vertical-align: top; text-align: left; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.data-table tbody th { font-family: var(--font-head); color: var(--ink); font-weight: 700; border-left: 1px solid var(--line); border-radius: 8px 0 0 8px; width: 22%; }
.data-table tbody td:last-child { border-right: 1px solid var(--line); border-radius: 0 8px 8px 0; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 18px; }
.faq-item { border: 1px solid #f3c98c; border-radius: var(--radius-sm); background: var(--white); box-shadow: 0 1px 2px rgba(14, 36, 51, .04); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: var(--white);
  font-size: 1rem; line-height: 1; font-weight: 700;
}
.faq-item[open] { background: var(--orange); border-color: var(--orange); }
.faq-item[open] summary { color: var(--navy); border-bottom: 1px solid rgba(14, 36, 51, .25); margin: 0 20px; padding: 18px 0; }
.faq-item[open] summary::after { content: "\2212"; background: var(--navy); color: var(--orange); }
.faq-item__answer { padding: 14px 20px 20px; color: var(--navy); font-size: .9375rem; }
.faq-item__answer p { margin-bottom: .75em; }
.faq-item__answer a { color: var(--navy); font-weight: 700; }

/* ---------- Blog ---------- */
.blog-tabs { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 40px; }
.blog-tab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px;
  border: 1px solid var(--orange); border-radius: 6px; background: var(--white); color: var(--ink);
  font: 500 .9375rem var(--font-body); cursor: pointer;
}
.blog-tab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.blog-tab[aria-pressed="true"] { background: var(--orange); color: var(--navy); }
.blog-tab[aria-pressed="true"]::before { background: var(--navy); }
.post-grid { display: grid; gap: 22px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
.post-card {
  position: relative;
  display: grid; grid-template-columns: 1fr 42%; gap: 16px; align-items: stretch;
  padding: 14px; border: 1px solid #8b8f94; border-radius: var(--radius); background: var(--white);
}
.post-card[hidden] { display: none; }
.post-card__body { display: flex; flex-direction: column; padding: 4px 0 4px 2px; }
.post-card .card__icon { width: 40px; height: 40px; border-radius: 8px; background: var(--orange); color: var(--navy); margin-bottom: 18px; }
.post-card .card__icon svg { width: 20px; height: 20px; }
.post-card__cat { font-family: var(--font-head); font-size: .625rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.post-card h3 { font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); line-height: 1.25; margin-bottom: 18px; }
.post-card h3 a { text-decoration: none; color: inherit; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card__more { margin-top: auto; font-size: .8125rem; font-weight: 600; color: #a5650a; display: inline-flex; align-items: center; gap: 6px; }
.post-card__soon { margin-top: auto; font-size: .8125rem; color: #5b6a75; }
.post-card__img { border: 1px solid var(--orange); border-radius: 10px; overflow: hidden; aspect-ratio: 2 / 3; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .blog-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .blog-tab { padding: 10px 12px; font-size: .8125rem; line-height: 1.25; text-align: left; }
}
@media (max-width: 480px) { .post-card { grid-template-columns: 1fr; } .post-card__img { aspect-ratio: 16 / 10; order: -1; } }

/* ---------- Article ---------- */
.breadcrumb { font-size: .8125rem; color: #dfe6eb; margin-bottom: 18px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: var(--white); }
.article-meta { font-size: .8125rem; color: #dfe6eb; margin-top: 14px; }
.prose { max-width: 720px; margin: 0 auto; font-size: 1.0625rem; color: #3d4c57; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem); margin: 1.8em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--teal); font-weight: 600; }
.prose .callout { margin: 1.6em 0; }

/* ---------- Contact / booking ---------- */
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 32px; } }
.contact-list { list-style: none; display: grid; gap: 18px; margin: 28px 0 36px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.125rem; color: var(--ink); }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--teal); }
.icon-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; flex: none; }
.icon-dot svg { width: 20px; height: 20px; }
.map-link { display: block; border: 1px solid var(--orange); border-radius: var(--radius); overflow: hidden; margin-top: 20px; }
.map-link img { width: 100%; }

.form-card { position: relative; border: 1px solid var(--orange); border-radius: 20px; padding: clamp(22px, 4vw, 36px); background: var(--white); }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label.field__label, .field legend { display: block; font-family: var(--font-head); font-size: .8125rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.field .req { color: #b42318; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  font: 400 .9375rem var(--font-body); color: var(--ink);
  border: 1px solid #c9d3da; border-radius: 8px; background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(242, 169, 59, .45); border-color: var(--orange); }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.choice-grid--1 { grid-template-columns: 1fr; }
.choice { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--text); cursor: pointer; min-height: 28px; }
.choice input { width: 18px; height: 18px; accent-color: var(--orange); flex: none; margin: 0; }
.field-error { display: none; color: #b42318; font-size: .8125rem; margin-top: 6px; }
.field.invalid input, .field.invalid textarea { border-color: #b42318; }
.field.invalid .field-error { display: block; }
.form-note { font-size: .8125rem; color: #5b6a75; margin: 12px 0; }
.form-card .btn--primary { width: 100%; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Simple centered pages (thank-you / 404) ---------- */
.center-page { text-align: center; padding: clamp(80px, 12vw, 140px) 0; }
.center-page h1 { margin-bottom: 18px; }
.center-page p { max-width: 560px; margin: 0 auto 1em; }
.center-page .btn-row { justify-content: center; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
