/* Quick Physio Prenatal — teal #00AE97 + navy #1B2E3E */
:root {
  --teal: #00ae97;
  --teal-deep: #008f7c;
  --teal-soft: #e6f7f4;
  --teal-mid: #b3e8df;
  --navy: #1b2e3e;
  --navy-soft: #2a4256;
  --ink: #1b2e3e;
  --muted: #5a6d7c;
  --line: rgba(27, 46, 62, 0.12);
  --white: #ffffff;
  --bg: #f7fbfa;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(27, 46, 62, 0.14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", system-ui, sans-serif;
  --max: 1040px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: var(--teal-deep);
}

button {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2.25rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 251, 249, 0.82);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.site-header.is-scrolled {
  background: rgba(247, 251, 250, 0.94);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 0.92rem;
}

.brand-text strong span {
  color: var(--teal);
}

.brand-text small {
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: none;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.nav-book {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.15rem;
  border: none;
  background: transparent;
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(0, 174, 151, 0.45);
}

.nav-book:hover {
  color: var(--navy);
  text-decoration-color: var(--teal);
}

@media (min-width: 800px) {
  .nav-links {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s;
}

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

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 174, 151, 0.28);
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: #fff;
}

.btn-quiet {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(27, 46, 62, 0.18);
}

.btn-quiet:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.btn-block {
  width: 100%;
}

/* Hero — full-bleed prenatal image, brand in nav only */
.hero {
  position: relative;
  min-height: min(88svh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #1b2e3e;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(27, 46, 62, 0.82) 0%, rgba(27, 46, 62, 0.55) 42%, rgba(27, 46, 62, 0.25) 100%),
    linear-gradient(180deg, rgba(27, 46, 62, 0.2) 0%, rgba(27, 46, 62, 0.75) 100%);
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 0 3.5rem;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-mid);
  animation: rise 0.85s var(--ease) both;
}

.hero h1 {
  margin: 0 0 0.85rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 550;
  font-size: clamp(2.25rem, 5.8vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  animation: rise 0.85s var(--ease) 0.1s both;
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.12rem);
  animation: rise 0.85s var(--ease) 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  animation: rise 0.85s var(--ease) 0.3s both;
}

.hero .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
section {
  padding: 4.25rem 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 550;
  font-size: clamp(1.7rem, 3.8vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
  max-width: 16ch;
}

.section-title.light {
  color: #fff;
}

.section-lead {
  margin: 0;
  max-width: 46ch;
  color: var(--muted);
}

.section-lead.light {
  color: rgba(255, 255, 255, 0.72);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Why */
.why {
  position: relative;
  background: #f7fbfa;
  padding-top: 3.5rem;
}

.triad-row {
  display: grid;
  gap: 1.35rem;
  margin-top: 2.25rem;
}

.triad-row.short {
  margin-top: 2rem;
}

@media (min-width: 760px) {
  .triad-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.triad-item {
  padding: 1.15rem 0 0;
  border-top: 2px solid var(--teal);
}

.triad-item:nth-child(2) {
  border-top-color: var(--navy);
}

.triad-item:nth-child(3) {
  border-top-color: var(--teal-deep);
}

.triad-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}

.triad-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— 12-week scroll journey ——— */
.journey {
  position: relative;
  padding: 0;
  background: #0f2430;
  color: #fff;
  scroll-margin-top: 0;
}

.journey-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: grid;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(0, 174, 151, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(0, 174, 151, 0.12), transparent 50%),
    linear-gradient(165deg, #122a38 0%, #1b2e3e 45%, #0c1f2a 100%);
}

.journey-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  will-change: transform;
}

.journey-orb-a {
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  top: -8%;
  right: -6%;
  background: radial-gradient(circle, rgba(0, 174, 151, 0.45), transparent 68%);
  opacity: 0.7;
}

.journey-orb-b {
  width: min(36vw, 260px);
  height: min(36vw, 260px);
  bottom: 8%;
  left: -4%;
  background: radial-gradient(circle, rgba(179, 232, 223, 0.22), transparent 70%);
  opacity: 0.55;
}

.journey-layout {
  position: relative;
  z-index: 1;
  padding: 5rem 0 2.5rem;
  width: min(100% - 2.25rem, 920px);
}

.journey .section-label {
  color: var(--teal-mid);
}

.journey .section-title {
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

.journey-progress {
  margin: 0 0 1.5rem;
}

.journey-progress-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.journey-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), #5ee0cc);
  box-shadow: 0 0 18px rgba(0, 174, 151, 0.55);
  transition: width 0.08s linear;
}

.journey-weeks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.journey-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  text-align: left;
  transition: background 0.3s var(--ease), border-color 0.3s, color 0.3s, transform 0.3s;
}

.journey-step:hover {
  border-color: rgba(0, 174, 151, 0.35);
  color: #fff;
}

.journey-step.is-active {
  background: rgba(0, 174, 151, 0.16);
  border-color: rgba(0, 174, 151, 0.55);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.step-index {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--teal-mid);
  line-height: 1;
}

.step-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.journey-stage {
  position: relative;
  min-height: 300px;
  perspective: 900px;
}

.journey-card {
  position: absolute;
  inset: 0;
  padding: 1.5rem 1.4rem 1.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translate3d(36px, 12px, 0) scale(0.96);
  filter: blur(5px);
  pointer-events: none;
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease),
    filter 0.6s var(--ease);
  overflow: hidden;
}

.journey-card.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: none;
  pointer-events: auto;
  z-index: 2;
}

.journey-card.is-done {
  opacity: 0;
  transform: translate3d(-36px, -8px, 0) scale(0.96);
  filter: blur(5px);
  z-index: 1;
}

.card-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(0, 174, 151, 0.28), transparent 70%);
  pointer-events: none;
}

.card-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-mid);
}

.journey-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 550;
  letter-spacing: -0.02em;
}

.journey-card > p {
  margin: 0 0 1rem;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.journey-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.journey-card li {
  position: relative;
  padding: 0.55rem 0.75rem 0.55rem 1.35rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

.journey-card li::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(0, 174, 151, 0.7);
}

.journey-note {
  margin: 1.15rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
}

.journey-spacer {
  height: 260vh;
}

@media (max-width: 560px) {
  .journey-pin {
    min-height: 0;
    align-items: start;
  }

  .journey-layout {
    padding-top: 4.5rem;
    padding-bottom: 5.5rem;
  }

  .journey .section-title {
    font-size: 1.65rem;
    margin-bottom: 0.9rem;
  }

  .journey-progress {
    margin-bottom: 1rem;
  }

  .journey-rail {
    margin-bottom: 1rem;
  }

  .journey-step {
    padding: 0.55rem 0.6rem;
  }

  .step-label {
    font-size: 0.68rem;
  }

  .journey-stage {
    min-height: 290px;
  }

  .journey-card {
    padding: 1.15rem 1.05rem 1.05rem;
  }

  .journey-card h3 {
    font-size: 1.35rem;
  }

  .journey-card > p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .journey-card li {
    font-size: 0.84rem;
    padding: 0.45rem 0.6rem 0.45rem 1.2rem;
  }

  .journey-spacer {
    height: 240vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-pin {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 3.5rem 0;
  }

  .journey-spacer {
    display: none;
  }

  .journey-stage {
    min-height: 0;
    display: grid;
    gap: 1rem;
  }

  .journey-card {
    position: relative;
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
  }

  .journey-orb {
    display: none;
  }
}

/* Benefits */
.pain-benefits {
  background: var(--white);
}

.benefits.compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.benefits.compact li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--navy-soft);
  font-size: 0.95rem;
}

.benefits.compact li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

@media (min-width: 700px) {
  .benefits.compact {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Book CTA */
.book {
  background: linear-gradient(160deg, var(--navy) 0%, #143042 100%);
  color: #fff;
  text-align: center;
  padding: 4.5rem 0 5rem;
}

.book-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.book .section-title {
  max-width: 18ch;
  text-align: center;
}

.book .section-lead {
  text-align: center;
  margin-bottom: 0.5rem;
}

.offer-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
  margin: 0.35rem 0 0.25rem;
}

.offer-price .was {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
}

.offer-price .now {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 550;
  color: var(--teal-mid);
  letter-spacing: -0.03em;
}

.offer-badge {
  align-self: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 174, 151, 0.25);
  color: var(--teal-mid);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-note {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.price-note a {
  color: var(--teal-mid);
}

/* Footer */
.site-footer {
  background: #122533;
  color: rgba(255, 255, 255, 0.55);
  padding: 1.75rem 0;
  font-size: 0.85rem;
}

.site-footer.compact .footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-brand strong {
  color: #fff;
}

.footer-brand strong span {
  color: var(--teal);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--teal-mid);
}

.site-footer p {
  margin: 0;
}

/* ——— Sticky offer CTA ——— */
body.has-sticky-offer {
  padding-bottom: calc(5.75rem + env(safe-area-inset-bottom));
}

.sticky-offer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(18, 37, 51, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(0, 174, 151, 0.35);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.28);
  color: #fff;
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}

body.modal-open .sticky-offer,
body.modal-open .sticky-offer.is-visible {
  transform: translateY(110%);
}

.sticky-offer.is-visible {
  transform: none;
}

.sticky-offer.is-expired .sticky-cta {
  opacity: 0.7;
  pointer-events: none;
}

.sticky-offer-inner {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.sticky-offer-copy {
  min-width: 0;
  flex: 1;
}

.sticky-offer-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-mid);
}

.sticky-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b6b;
  box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.55);
  animation: pulseDot 1.4s ease-out infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 107, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

.sticky-clock {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.sticky-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.35rem;
  padding: 0.2rem 0.35rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.sticky-unit span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 550;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.sticky-unit small {
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.sticky-sep {
  font-weight: 700;
  color: var(--teal-mid);
  margin-bottom: 0.7rem;
}

.sticky-slots {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

.sticky-slots strong {
  color: #ffb4a8;
  font-weight: 700;
}

.sticky-offer-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.sticky-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.82rem;
}

.sticky-price s {
  color: rgba(255, 255, 255, 0.4);
}

.sticky-price strong {
  color: var(--teal-mid);
  font-size: 1.05rem;
}

.sticky-cta {
  padding: 0.7rem 1.15rem;
  font-size: 0.88rem;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 174, 151, 0.4);
}

@media (max-width: 560px) {
  body.has-sticky-offer {
    padding-bottom: calc(7.25rem + env(safe-area-inset-bottom));
  }

  .sticky-offer-inner {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .sticky-offer-action {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .sticky-cta {
    flex: 1;
    max-width: 11rem;
  }

  .sticky-unit {
    min-width: 2.1rem;
  }

  .sticky-unit span {
    font-size: 1.05rem;
  }
}

/* ——— Confetti overlay ——— */
.confetti-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  display: grid;
  place-items: center;
  background: transparent;
}

.confetti-layer[hidden] {
  display: none !important;
}

.confetti-layer.is-playing {
  display: grid;
}

.confetti-player {
  width: min(100vw, 900px);
  height: min(100vh, 700px);
  max-width: 100%;
  max-height: 100%;
}

/* ——— Modal popup ——— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 37, 51, 0.62);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.25s ease;
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: min(92svh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  animation: popIn 0.35s var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  z-index: 2;
}

.modal-close:hover {
  color: var(--navy);
}

.booking-form {
  padding: 1.6rem 1.4rem 1.4rem;
}

.booking-form h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
  padding-right: 2rem;
}

.modal-offer {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.modal-offer strong {
  color: var(--teal-deep);
}

.modal-offer s {
  color: #9aabb8;
  margin-left: 0.25rem;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

@media (min-width: 480px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--bg);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 174, 151, 0.16);
  background: #fff;
}

textarea {
  min-height: 72px;
  resize: vertical;
}

.form-error {
  display: none;
  margin: 0 0 0.65rem;
  color: #c0392b;
  font-size: 0.86rem;
}

.form-error.is-visible {
  display: block;
}

.form-success {
  display: none;
  margin-top: 0.85rem;
  padding: 0.85rem;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 0.9rem;
}

.form-success.is-visible {
  display: block;
}

.pay-note {
  margin: 0.7rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}
