/* =========================================================
   TrueAir Climate Co. — demo subsite styles
   Mobile-first, no framework
   ========================================================= */
:root {
  --blue: #0c4a8e;
  --blue-dark: #073566;
  --blue-soft: #e8f0fb;
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --accent-soft: #ffedd5;
  --plum: #0f1729;
  --plum-soft: #475569;
  --cream: #f8fafc;
  --warm: #ffffff;
  --line: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow: 0 10px 30px rgba(12,74,142,.10);
  --shadow-lg: 0 24px 60px rgba(15,23,42,.15);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-full: 999px;
  --container: 1180px;
  --header-h: 80px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --t: 200ms ease;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--plum);
  background: var(--warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--blue-dark); }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; color: var(--plum); margin: 0 0 .4em; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--plum-soft); }
em { font-style: italic; color: var(--accent); font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-soft { background: var(--cream); }
@media (min-width: 768px) { .section { padding: 96px 0; } }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .pill { display: inline-block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 6px 14px; border-radius: var(--r-full); margin-bottom: 14px; }
.section-head .pill.light { background: rgba(255,255,255,.2); color: #fff; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--r-full); font-weight: 700; font-size: .98rem; border: 2px solid transparent; transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t); white-space: nowrap; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
/* Header CTA stays ghost until scrolled past hero */
body:not(.scrolled-past-hero) .nav-cta .btn-primary {
  background: transparent; color: var(--accent-dark); border-color: var(--accent);
  box-shadow: none;
}
body:not(.scrolled-past-hero) .nav-cta .btn-primary:hover {
  background: var(--accent); color: #fff;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand img { height: 50px; width: auto; }
@media (max-width: 480px) { .brand img { height: 38px; } }
.nav-links { display: none; gap: 28px; }
.nav-links a { color: var(--plum); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: none; align-items: center; gap: 14px; }
.link-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--plum); font-weight: 700; font-size: .92rem; }
.link-phone:hover { color: var(--accent); }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--plum); border-radius: 2px; }
@media (min-width: 880px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}
.menu-open .nav-links { display: flex; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; padding: 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.menu-open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-open .nav-links a:last-child { border-bottom: 0; }

/* ---------- Emergency banner ---------- */
.emergency-banner { background: var(--accent); color: #fff; padding: 10px 0; }
.emergency-inner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: .92rem; font-weight: 600; }
.emergency-inner strong { font-weight: 800; }
.emergency-call { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.emergency-call:hover { color: #fff; opacity: .9; }
.ping {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
  animation: ping 1.4s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70%  { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--blue-soft) 0%, var(--warm) 100%); padding: 28px 0 0; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; align-items: start; }
.hero-copy .kicker { display: inline-block; background: #fff; border: 1px solid var(--line); padding: 6px 14px; border-radius: var(--r-full); font-size: .85rem; font-weight: 700; color: var(--blue); margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.hero-copy h1 { margin-bottom: 18px; }
.lede { font-size: 1.15rem; color: var(--plum-soft); margin-bottom: 28px; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 540px; }
.hero-trust li { display: flex; flex-direction: column; gap: 2px; }
.hero-trust strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--blue); font-weight: 800; }
.hero-trust span { font-size: .82rem; color: var(--plum-soft); line-height: 1.3; }
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-art img { width: 100%; max-width: 540px; margin: 0 auto; border-radius: var(--r-lg); object-fit: cover; aspect-ratio: 4/5; box-shadow: 0 30px 60px rgba(12,74,142,.22), 0 0 0 1px rgba(12,74,142,.08); }
.hero-badge { max-width: 380px; background: #fff; padding: 12px 18px; border-radius: var(--r); box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); }
.hero-badge strong { color: var(--accent); font-size: .92rem; font-weight: 800; letter-spacing: 1px; flex-shrink: 0; background: var(--accent-soft); padding: 4px 10px; border-radius: var(--r-sm); }
.hero-badge span { color: var(--plum-soft); font-size: .82rem; font-style: italic; line-height: 1.3; }
@media (min-width: 900px) {
  .hero { padding: 24px 0 32px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 60px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--plum); color: #fff; padding: 14px 0; overflow: hidden; border-block: 1px solid var(--plum); }
.marquee-track { display: flex; gap: 32px; white-space: nowrap; animation: marquee 40s linear infinite; font-weight: 600; font-size: .92rem; letter-spacing: .04em; opacity: .92; }
.marquee-track span { flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px 24px; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t); display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow); }
.service-flag { position: absolute; top: -10px; right: 18px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; padding: 4px 12px; border-radius: var(--r-full); letter-spacing: .06em; text-transform: uppercase; }
.service-icon { font-size: 2rem; margin-bottom: 8px; }
.service-card h3 { margin-bottom: 6px; }
.service-card p { font-size: .95rem; margin-bottom: 18px; }
.service-meta { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0; border-top: 1px dashed var(--line); margin-bottom: 14px; }
.service-meta .price { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--blue); }
.service-meta .dur { font-size: .82rem; color: var(--plum-soft); font-weight: 600; }
.service-card .btn { margin-top: auto; align-self: flex-start; }
.services-note { text-align: center; margin-top: 28px; font-size: .9rem; color: var(--plum-soft); max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card { background: #fff; border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; }
.why-num { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .85rem; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 8px; background: var(--accent-soft); padding: 4px 10px; border-radius: var(--r-sm); }
.why-card h3 { margin-bottom: 6px; }
.why-card p { font-size: .95rem; margin: 0; }

/* ---------- Service areas ---------- */
.area-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }
.area-grid li { background: var(--blue-soft); color: var(--blue-dark); padding: 12px 14px; border-radius: var(--r); font-weight: 600; font-size: .95rem; text-align: center; }
.area-note { text-align: center; margin-top: 26px; color: var(--plum-soft); }

/* ---------- Plans ---------- */
.plans-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan-card.featured { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card h3 { margin-bottom: 4px; }
.plan-price { font-family: var(--font-display); margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.plan-price strong { font-size: 2.8rem; font-weight: 800; color: var(--blue); }
.plan-price small { color: var(--plum-soft); font-weight: 600; font-size: 1rem; margin-left: 4px; }
.plan-card ul { display: grid; gap: 10px; margin-bottom: 26px; }
.plan-card li { padding-left: 26px; position: relative; color: var(--plum); font-size: .95rem; }
.plan-card li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.plan-card .btn { margin-top: auto; align-self: stretch; justify-content: center; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
.review { margin: 0; background: #fff; border-radius: var(--r-lg); padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.review .stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.5; color: var(--plum); font-weight: 600; }
.review footer { font-size: .9rem; color: var(--plum-soft); }
.review footer strong { color: var(--plum); }

/* ---------- Booking ---------- */
.book-section { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); color: #fff; }
.book-section .section-head h2, .book-section .section-head p { color: #fff; }
.book-section .section-head p { opacity: .92; }
.emergency-inline { color: var(--accent-soft); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.book-card { background: #fff; color: var(--plum); border-radius: var(--r-lg); padding: 32px 24px; max-width: 920px; margin: 0 auto; box-shadow: var(--shadow-lg); }
@media (min-width: 720px) { .book-card { padding: 44px 40px; } }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; height: 0; width: 0; }
.book-step { border: 0; padding: 0; margin: 0 0 28px; }
.book-step legend { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--plum); margin-bottom: 14px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-sans); font-size: .9rem; font-weight: 700; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: var(--r-full); border: 2px solid var(--line); background: #fff; font-weight: 600; font-size: .92rem; color: var(--plum); transition: all var(--t); }
.chip span .meta { font-style: normal; color: var(--plum-soft); font-weight: 500; margin-left: 6px; font-size: .85rem; }
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:checked + span .meta { color: #fff; opacity: 0.9; }
.chip input:focus-visible + span { outline: 3px solid var(--blue-soft); outline-offset: 2px; }

@keyframes chipFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234,88,12,0); }
  30%      { box-shadow: 0 0 0 8px rgba(234,88,12,0.35); }
  60%      { box-shadow: 0 0 0 14px rgba(234,88,12,0); }
}
.chip.chip-flash span,
.stylist-pick.chip-flash span { animation: chipFlash 1.1s ease-out; }

.stylist-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.stylist-pick { cursor: pointer; }
.stylist-pick input { position: absolute; opacity: 0; pointer-events: none; }
.stylist-pick span { display: flex; flex-direction: column; padding: 14px 12px; border-radius: var(--r); border: 2px solid var(--line); background: #fff; text-align: center; transition: all var(--t); height: 100%; }
.stylist-pick span strong { font-weight: 700; color: var(--plum); }
.stylist-pick span .meta { font-style: normal; font-size: .76rem; color: var(--plum-soft); margin-left: 0; display: block; }
.stylist-pick:hover span { border-color: var(--blue); }
.stylist-pick input:checked + span {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
}
.stylist-pick input:checked + span strong {
  color: #fff !important;
}
.stylist-pick input:checked + span .meta {
  color: #ffffff !important;
  opacity: 1 !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  padding: 0 !important;
  font-size: .8rem !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
}

.dt-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .dt-grid { grid-template-columns: 200px 1fr; align-items: start; } }
.dt-col label, .dt-col .dt-label { display: block; font-weight: 700; font-size: .9rem; color: var(--plum); margin-bottom: 8px; }
.dt-col input[type="date"] { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r); font-size: 1rem; font-family: inherit; color: var(--plum); background: #fff; }
.dt-col input[type="date"]:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.hint { font-size: .8rem; color: var(--plum-soft); margin-top: 8px; margin-bottom: 0; }

.slots { display: flex; flex-direction: column; gap: 14px; min-height: 80px; }
.slots-empty { color: var(--plum-soft); font-style: italic; font-size: .92rem; margin: 0; padding: 8px 0; }
.slot-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); padding-bottom: 6px; flex-wrap: wrap; }
.slot-tab { background: transparent; border: 0; padding: 8px 14px; font-weight: 700; font-size: .9rem; color: var(--plum-soft); border-radius: var(--r-full); cursor: pointer; transition: background var(--t), color var(--t); }
.slot-tab small { font-weight: 500; font-size: .78rem; opacity: .8; }
.slot-tab:hover:not(:disabled) { color: var(--blue); }
.slot-tab.is-active { background: var(--blue); color: #fff; }
.slot-tab.is-active small { color: rgba(255,255,255,.85); }
.slot-tab:disabled { opacity: .35; cursor: not-allowed; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.slot-btn { padding: 12px 8px; background: #fff; border: 2px solid var(--line); border-radius: var(--r); font-weight: 700; font-size: .92rem; color: var(--plum); transition: all var(--t); }
.slot-btn:hover { border-color: var(--blue); color: var(--blue); }
.slot-btn.is-selected { background: var(--blue); border-color: var(--blue); color: #fff; }
.slot-btn:disabled { color: var(--plum-soft); cursor: not-allowed; background: transparent; border-color: var(--line); border-style: dashed; opacity: .7; }
.slot-btn.is-taken { text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field span { font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--plum); }
.field span .meta { font-style: normal; color: var(--plum-soft); font-weight: 500; margin-left: 4px; }
.field input, .field textarea { padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--r); font-size: 1rem; font-family: inherit; color: var(--plum); background: #fff; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.field input.is-error, .field textarea.is-error { border-color: var(--accent); background: #fff7ed; }

.book-summary { margin: 20px 0; padding: 18px 22px; background: var(--cream); border-radius: var(--r); border: 1px solid var(--line); }
.book-summary h4 { margin-bottom: 10px; font-size: 1rem; }
.book-summary ul { display: grid; gap: 6px; }
.book-summary li { display: flex; justify-content: space-between; gap: 14px; font-size: .95rem; }
.book-summary li span { color: var(--plum-soft); }
.book-summary li strong { color: var(--plum); text-align: right; }

.book-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 8px; }
@media (min-width: 600px) { .book-actions { align-items: flex-start; flex-direction: row; gap: 18px; } }
.book-actions .btn { width: 100%; }
@media (min-width: 600px) { .book-actions .btn { width: auto; } }
.micro { font-size: .78rem; color: var(--plum-soft); margin: 0; }

.book-result { margin-top: 20px; padding: 18px 22px; border-radius: var(--r); font-weight: 500; }
.book-result.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.book-result.ok strong { display: block; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 6px; }
.book-result.err { background: #fff7ed; color: var(--accent-dark); border: 1px solid var(--accent); }

/* ---------- Visit ---------- */
.two-col { display: grid; gap: 32px; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 56px; } }
.visit-info { font-style: normal; font-size: 1.02rem; line-height: 1.8; color: var(--plum-soft); }
.visit-info strong { color: var(--plum); font-family: var(--font-display); font-size: 1.15rem; }
.visit-info .hours { margin-top: 14px; }
.map-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-card svg { width: 100%; height: 280px; display: block; }
.map-btn { display: flex; justify-content: center; margin: 14px 18px 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: #fff; padding: 56px 0 0; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer p, .site-footer li, .site-footer a { color: rgba(255,255,255,.78); }
.site-footer .muted { font-size: .92rem; margin-top: 12px; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-list { display: grid; gap: 8px; font-size: .94rem; }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 20px 28px; }
.footer-bar small { font-size: .82rem; color: rgba(255,255,255,.6); }
.built-by a { color: var(--accent-soft); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 12px; right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom, 12px));
  z-index: 60;
  display: none; gap: 8px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  padding: 8px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(15,23,42,.18), 0 2px 6px rgba(15,23,42,.08);
  transition: transform 220ms ease, opacity 220ms ease;
  visibility: visible;
}
.sticky-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 18px; border-radius: var(--r-full); font-weight: 800; font-size: 0.95rem; text-decoration: none; transition: transform 150ms ease, background 150ms ease; }
.sticky-cta a:active { transform: scale(0.97); }
.sticky-cta-call { flex: 0 0 auto; color: var(--plum); background: transparent; border: 2px solid var(--line); }
.sticky-cta-call:hover { background: var(--cream); color: var(--blue); border-color: var(--blue); }
.sticky-cta-book { flex: 1 1 auto; color: #fff; background: var(--accent); }
.sticky-cta-book:hover { background: var(--accent-dark); color: #fff; }
.sticky-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; visibility: hidden; }
@media (max-width: 879px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 88px; padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Utility ---------- */
.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;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .marquee-track, .ping { animation: none !important; }
}
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
