/* ==========================================================================
   Brightside Dental — fictional portfolio demo
   Friendly, rounded, sky-blue + mint identity. No external images.
   ========================================================================== */

:root {
  --white: #ffffff;
  --paper: #f7fbfe;
  --sky-050: #eaf6fe;
  --sky-100: #d9effc;
  --sky-300: #6bc6f0;
  --sky-600: #1273b5;      /* 4.9:1 on white — safe for text & buttons */
  --sky-700: #0e5d93;
  --mint-100: #d9f6ec;
  --mint-300: #37c99e;
  --mint-700: #1b8a6b;     /* 4.6:1 on white */
  --sun-300: #ffc65c;
  --ink: #123347;          /* deep blue-slate, 12.6:1 on white */
  --ink-soft: #3d5b6e;     /* 7:1 on white */
  --radius-lg: 24px;
  --radius-md: 20px;
  --shadow-soft: 0 10px 30px rgba(18, 51, 71, 0.08);
  --shadow-card: 0 6px 20px rgba(18, 51, 71, 0.07);
  --font: "Nunito", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset-ish ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--sky-600);
}

html {
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(72rem, 100% - 2.5rem);
  margin-inline: auto;
}

.section-lead {
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
}

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

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.5rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--sky-600);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  }

  .btn:hover {
    transform: translateY(-2px);
  }
}

.btn-primary {
  background: var(--sky-600);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(18, 115, 181, 0.32);
}

.btn-primary:hover {
  background: var(--sky-700);
}

.btn-ghost {
  border-color: var(--sky-600);
  color: var(--sky-600);
  background: var(--white);
}

.btn-ghost:hover {
  background: var(--sky-050);
}

.btn-ghost-light {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-lg {
  padding: 1rem 2.4rem;
  font-size: 1.0625rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sky-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  flex-wrap: wrap;
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.brand-accent {
  color: var(--sky-600);
}

.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.primary-nav a {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.primary-nav a:hover {
  background: var(--sky-050);
  color: var(--sky-700);
}

.primary-nav .nav-cta {
  background: var(--mint-300);
  color: #093328; /* 7.7:1 on mint */
  margin-left: 0.35rem;
}

.primary-nav .nav-cta:hover {
  background: #2db890;
  color: #093328;
}

[hidden] {
  display: none !important;
}

/* Nav toggle: never rendered at desktop widths (unconditional display:none
   below). On small screens it appears only once JS has booted (html.js);
   no-JS visitors keep the full inline nav and never see the button. */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border: 2px solid var(--sky-600);
  border-radius: 999px;
  background: var(--white);
  color: var(--sky-600);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nav-toggle-bar {
  position: relative;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle-bar::before {
  top: -5px;
}

.nav-toggle-bar::after {
  top: 5px;
}

/* Burger morphs into a ✕ while the sheet is open */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-5px) rotate(-45deg);
}

@media (prefers-reduced-motion: no-preference) {
  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    transition: transform 200ms ease, background-color 200ms ease;
  }
}

/* Body scroll lock while the bottom sheet is open */
html.nav-locked {
  overflow: hidden;
}

@media (max-width: 47.99em) {
  /* The header's backdrop-filter would otherwise become the containing
     block for the fixed-position sheet and backdrop, pinning them to the
     header instead of the viewport. The header bg is 94% opaque white,
     so dropping the blur on small screens is imperceptible. */
  .js .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  /* Lift the header above the backdrop while the sheet is open so the
     morphing ✕ toggle stays visible and tappable. */
  html.nav-locked .site-header {
    z-index: 61;
  }

  /* Dimmed backdrop behind the sheet (inserted by script.js) */
  .js .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 58;
    background: rgba(18, 51, 71, 0.45);
    opacity: 0;
    visibility: hidden;
  }

  .js .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* The nav becomes a friendly bottom sheet sliding up from the edge */
  .js .primary-nav {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 60;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -14px 44px rgba(18, 51, 71, 0.22);
    padding: 1.1rem 1.25rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    visibility: hidden;
  }

  .js .primary-nav::before {
    content: "";
    display: block;
    width: 2.75rem;
    height: 0.3rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: var(--sky-100);
  }

  .js .primary-nav.is-open {
    transform: none;
    visibility: visible;
  }

  .js .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  /* Big rounded pill links */
  .js .primary-nav a {
    display: block;
    text-align: center;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: var(--sky-050);
    font-size: 1.05rem;
  }

  .js .primary-nav a:hover {
    background: var(--sky-100);
  }

  .js .primary-nav .nav-cta {
    margin-left: 0;
    background: var(--mint-300);
    color: #093328;
  }

  .js .primary-nav .nav-cta:hover {
    background: #2db890;
  }
}

/* Spring-ish slide; visibility waits for the slide so the hide can animate.
   Under reduced motion none of this applies — show/hide is instant and
   the sheet never overshoots. */
@media (max-width: 47.99em) and (prefers-reduced-motion: no-preference) {
  .js .nav-backdrop {
    transition: opacity 240ms ease, visibility 0s linear 240ms;
  }

  .js .nav-backdrop.is-open {
    transition: opacity 240ms ease, visibility 0s;
  }

  .js .primary-nav {
    transition: transform 360ms cubic-bezier(0.3, 1.25, 0.4, 1), visibility 0s linear 360ms;
  }

  .js .primary-nav.is-open {
    transition: transform 360ms cubic-bezier(0.3, 1.25, 0.4, 1), visibility 0s;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50rem 30rem at 110% -10%, var(--sky-050) 0%, transparent 60%),
    radial-gradient(36rem 24rem at -15% 25%, var(--mint-100) 0%, transparent 55%),
    var(--white);
  padding: 4.5rem 0 7rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 56em) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.eyebrow {
  display: inline-block;
  background: var(--mint-100);
  color: var(--mint-700);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0;
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--ink);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-points svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  color: var(--sun-300);
}

/* Hero artwork */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 18rem;
}

.hero-tooth {
  position: relative;
  z-index: 2;
  width: min(20rem, 80%);
  filter: drop-shadow(0 18px 30px rgba(18, 51, 71, 0.14));
}

.blob {
  position: absolute;
  border-radius: 58% 42% 55% 45% / 50% 58% 42% 50%;
}

.blob-1 {
  width: 22rem;
  height: 22rem;
  background: linear-gradient(140deg, var(--sky-100), var(--sky-050));
  top: -5%;
  right: -8%;
}

.blob-2 {
  width: 13rem;
  height: 13rem;
  background: linear-gradient(140deg, var(--mint-100), #effbf6);
  bottom: -8%;
  left: 2%;
  border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
}

@media (prefers-reduced-motion: no-preference) {
  .blob-1 {
    animation: blob-drift 9s ease-in-out infinite alternate;
  }

  .blob-2 {
    animation: blob-drift 11s ease-in-out infinite alternate-reverse;
  }

  @keyframes blob-drift {
    from {
      transform: translate(0, 0) rotate(0deg);
    }

    to {
      transform: translate(0.6rem, -0.8rem) rotate(4deg);
    }
  }
}

.wave {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  line-height: 0;
}

.wave svg {
  width: 100%;
  height: 4.5rem;
}

/* ---------- Sections ---------- */
section {
  padding: 4.5rem 0;
}

section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.015em;
}

/* ---------- Services ---------- */
.services {
  background: var(--sky-050);
  padding-top: 3.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.9rem;
}

.card-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  margin-bottom: 1.4rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-top: 1rem;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  padding: 0.65rem;
  box-sizing: content-box;
  background: var(--sky-050);
  border-radius: 18px;
}

.price {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--mint-700);
  margin-bottom: 0.4rem;
}

.service-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.insurance-card {
  display: grid;
  gap: 1.75rem;
  background: linear-gradient(120deg, var(--white) 0%, var(--mint-100) 100%);
}

@media (min-width: 48em) {
  .insurance-card {
    grid-template-columns: 1fr 1fr;
    padding: 2.4rem;
  }
}

.insurance-col h3 {
  font-size: 1.2rem;
}

.insurance-col p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.insurance-col strong {
  color: var(--ink);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  gap: 1.6rem;
}

@media (min-width: 48em) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.team-card {
  padding: 2.2rem;
}

.avatar {
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.team-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.15rem;
}

.team-role {
  color: var(--sky-600);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.team-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq {
  background:
    radial-gradient(34rem 22rem at 100% 0%, var(--mint-100) 0%, transparent 55%),
    var(--sky-050);
}

.faq-container {
  max-width: 50rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  font-size: 1.06rem;
  margin: 0;
  font-weight: 800;
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 3px solid var(--sky-600);
  border-bottom: 3px solid var(--sky-600);
  border-radius: 1px;
  transform: rotate(45deg);
  margin-right: 0.2rem;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-item summary::after {
    transition: transform 180ms ease;
  }
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item summary:hover {
  background: var(--sky-050);
}

.faq-item > p {
  padding: 0 1.5rem 1.3rem;
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Visit ---------- */
.visit-grid {
  display: grid;
  gap: 1.6rem;
  margin-top: 2rem;
}

@media (min-width: 48em) {
  .visit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.visit-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.inline-icon {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--sky-600);
  flex: none;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.6rem 0 1rem;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--sky-100);
}

.hours-table th {
  font-weight: 800;
}

.hours-table td {
  color: var(--ink-soft);
}

.visit-note {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.address {
  font-size: 1.05rem;
  line-height: 1.6;
}

.visit-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.visit-card .address {
  color: var(--ink);
}

/* ---------- Booking (client-side demo flow) ---------- */
.book {
  background: var(--white);
}

.book .demo-note {
  display: inline-block;
  background: #fff7e4;
  border: 1px dashed var(--sun-300);
  border-radius: var(--radius-md);
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.booking-fallback,
.booking-app {
  max-width: 46rem;
}

.booking-fallback p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* Stepper / progress pills */
.booking-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
}

.booking-steps li {
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: var(--sky-050);
  color: var(--ink-soft);
  font-weight: 800;
  font-size: 0.92rem;
}

.booking-steps li[aria-current="step"] {
  background: var(--sky-600);
  color: var(--white);
}

.booking-steps li.is-done {
  background: var(--mint-100);
  color: var(--mint-700);
}

.booking-step {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.step-heading {
  display: block;
  width: 100%;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 0;
  margin: 0 0 1.25rem;
}

.step-heading:focus {
  outline: none; /* focused programmatically; :focus-visible still applies */
}

/* Step 1: visit-type cards */
.visit-options {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 36em) {
  .visit-options {
    grid-template-columns: 1fr 1fr;
  }
}

.visit-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.visit-option input,
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.visit-option-body {
  display: block;
  border: 2px solid var(--sky-100);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  background: var(--white);
}

.visit-option input:checked + .visit-option-body {
  border-color: var(--sky-600);
  background: var(--sky-050);
}

.visit-option input:focus-visible + .visit-option-body {
  outline: 3px solid var(--sky-600);
  outline-offset: 3px;
}

.visit-option-name {
  display: block;
  font-weight: 800;
}

.visit-option-price {
  display: inline-block;
  font-weight: 900;
  color: var(--mint-700);
  margin-right: 0.6rem;
}

.visit-option-time {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 700;
}

/* Step 2: day & time chips */
.chip-group {
  border: 0;
  padding: 0;
  margin: 0 0 1.4rem;
  min-width: 0;
}

.chip-label {
  display: block;
  font-weight: 800;
  padding: 0;
  margin: 0 0 0.6rem;
}

.chip-label-note {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.chip span {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 2px solid var(--sky-100);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}

.chip input:checked + span {
  background: var(--sky-600);
  border-color: var(--sky-600);
  color: var(--white);
}

.chip input:focus-visible + span {
  outline: 3px solid var(--sky-600);
  outline-offset: 3px;
}

.chip input:disabled + span {
  background: var(--paper);
  border-style: dashed;
  color: #62798a;
  text-decoration: line-through;
}

.chip-hint {
  color: var(--ink-soft);
  margin: 0;
}

/* Step 3: contact fields */
.bfield {
  margin-bottom: 1.2rem;
}

.bfield label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.bfield input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--sky-100);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
}

.bfield input:focus-visible {
  outline: 3px solid var(--sky-600);
  outline-offset: 2px;
}

.bfield input[aria-invalid="true"] {
  border-color: #b3261e;
}

.field-error {
  color: #b3261e; /* 6.9:1 on white */
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0.5rem 0 0;
}

.booking-alert {
  background: #fdeceb;
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  margin: 0 0 1.4rem;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.booking-actions button.btn {
  font-family: inherit;
  cursor: pointer;
}

/* Confirmation card */
.confirm-card {
  background: linear-gradient(120deg, var(--sky-050) 0%, var(--mint-100) 100%);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.6rem 1.2rem;
}

.confirm-ref {
  font-size: 1.05rem;
}

.confirm-ref strong {
  display: block;
  font-size: 1.4rem;
  color: var(--sky-700);
  letter-spacing: 0.04em;
}

.confirm-details {
  margin: 0 0 1.2rem;
  display: grid;
  gap: 0.5rem;
}

.confirm-details div {
  display: flex;
  gap: 0.8rem;
  border-bottom: 1px dashed rgba(18, 51, 71, 0.18);
  padding-bottom: 0.5rem;
}

.confirm-details dt {
  font-weight: 800;
  min-width: 4.5rem;
}

.confirm-details dd {
  margin: 0;
  color: var(--ink-soft);
}

.confirm-demo-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(135deg, var(--sky-600) 0%, var(--sky-700) 70%);
  color: var(--white);
  text-align: center;
}

.contact-inner {
  max-width: 44rem;
}

.contact-spark {
  width: 2.6rem;
  margin: 0 auto 1rem;
}

.contact h2 {
  color: var(--white);
}

.contact-lead {
  font-size: 1.15rem;
  color: #dceffb; /* 9.7:1 on sky-700 */
}

.contact-actions {
  justify-content: center;
  margin: 2rem 0 1rem;
}

.contact .btn-primary {
  background: var(--white);
  color: var(--sky-700);
  box-shadow: 0 6px 18px rgba(7, 38, 58, 0.35);
}

.contact .btn-primary:hover {
  background: var(--sky-050);
}

.contact-fineprint {
  font-size: 0.92rem;
  color: #c4e4f7;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cfe2ee; /* 9:1 on ink */
  padding: 3.5rem 0 1.5rem;
}

.site-footer a {
  color: #9fd4f3; /* 7.6:1 on ink */
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 48em) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.footer-heading {
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #9db4c2; /* 5.9:1 on ink */
}

.footer-bottom p {
  margin: 0;
}

/* Social links (fictional .example profiles) */
.social-links { display: flex; gap: 1.2rem; list-style: none; justify-content: center; padding: 0 1.5rem; margin: 1.5rem auto 0; }
.social-links a { display: inline-flex; color: inherit; opacity: 0.85; }
.social-links a:hover, .social-links a:focus-visible { opacity: 1; }
.social-links svg { width: 1.3rem; height: 1.3rem; }


/* Anchor targets clear the sticky header instead of sliding under it */
[id] {
  scroll-margin-top: 136px;
}

/* Floating booking pill */
.fab-pill {
  position: fixed;
  right: 1rem;
  bottom: 1.1rem;
  z-index: 65;
  display: none;
  background: #2aa7a0;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(31, 68, 90, 0.28);
}

@media (max-width: 720px) {
  .fab-pill { display: inline-block; }
}
