/* ============================================================
   PayPerClose — one-pager styles · LIGHT theme
   White + deep navy + cyan. Curved section shapes, wipe reveals,
   count-up stats, marquee ribbon, spotlight cards.
   ============================================================ */

:root {
  --bg:         #ffffff;
  --bg-tint:    #eef6fb;      /* pale cyan-tinted section */
  --panel:      #ffffff;
  --navy:       #14243a;      /* deep navy — headings/text */
  --navy-hero:  #35516f;      /* slate navy — hero shape */
  --navy-hero2: #1d3350;
  --line:       rgba(20, 36, 58, 0.1);
  --text:       #22344c;
  --muted:      #5b6b80;
  --cyan:       #14b8e6;
  --cyan-deep:  #0895bf;
  --cyan-soft:  #7fdcf5;
  --radius:     22px;
  --shadow:     0 14px 40px rgba(20, 36, 58, 0.1);
  --shadow-lg:  0 26px 64px rgba(20, 36, 58, 0.16);
  --font-display: "Sora", -apple-system, Segoe UI, sans-serif;
  --font-body:    "Inter", -apple-system, Segoe UI, sans-serif;
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop:  cubic-bezier(0.2, 1.4, 0.4, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* clip, not hidden: pre-reveal transforms must never create a
     horizontal scrollbar on mobile */
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Scroll progress bar */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft));
  box-shadow: 0 0 12px rgba(20, 184, 230, 0.55);
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.5em; font-weight: 600; }

/* Cyan bar that slides in when the heading reveals */
h2.reveal { position: relative; padding-bottom: 18px; }
h2.reveal::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 5px; width: 56px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft));
  transform: translateX(-24px) scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out) 0.3s;
}
h2.reveal.in::after { transform: none; }

.lead  { font-size: 1.07rem; color: var(--muted); }
.lead + .lead { margin-top: 1em; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(20, 184, 230, 0.18);
}

/* ------------------------------------------------------------ nav */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 48px);
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(20, 36, 58, 0.07);
}

/* Logo: cyan "P" bubble + stacked wordmark */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.logo-mark {
  color: var(--cyan);
  display: flex;
  filter: drop-shadow(0 4px 10px rgba(20, 184, 230, 0.35));
}
.logo-mark svg { display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.logo-word {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Hero sits on navy — nav starts transparent, logo/links must read on it */
.nav:not(.scrolled) .logo-name { color: #fff; }
.nav:not(.scrolled) .logo-word { color: rgba(255, 255, 255, 0.72); }
.nav:not(.scrolled) .logo-mark { color: #fff; }
.nav:not(.scrolled) .logo-mark svg path { fill: var(--navy-hero2); }
.nav:not(.scrolled) .nav-links a:not(.btn) { color: rgba(255, 255, 255, 0.82); }
.nav:not(.scrolled) .nav-links a:not(.btn):hover { color: #fff; }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.nav-links a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.25s;
}
.nav-links a:not(.btn):hover { color: var(--navy); }

/* burger — hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
}
.nav.scrolled .nav-burger { background: rgba(20, 36, 58, 0.04); border-color: var(--line); }
.nav-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease-out), opacity 0.2s, background 0.3s;
}
.nav.scrolled .nav-burger span { background: var(--navy); }
body.menu-open .nav-burger span { background: #fff; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(19, 34, 54, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu a:not(.btn) {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 12px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.mobile-menu .btn { margin-top: 18px; opacity: 0; transform: translateY(18px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
body.menu-open .mobile-menu a {
  opacity: 1;
  transform: none;
}
body.menu-open .mobile-menu a:nth-child(1) { transition-delay: 0.08s; }
body.menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.16s; }
body.menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.24s; }
body.menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.32s; }
body.menu-open { overflow: hidden; }

/* --------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-pop), box-shadow 0.25s ease, background 0.25s ease, color 0.25s;
}
.btn:active { transform: scale(0.96); }

.btn-cta {
  background: linear-gradient(135deg, var(--cyan) 20%, var(--cyan-deep));
  color: #fff;
  box-shadow: 0 8px 26px rgba(20, 184, 230, 0.4);
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(20, 184, 230, 0.55);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--navy);
  background: rgba(20, 36, 58, 0.03);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-deep); transform: translateY(-3px); }
/* ghost button inside the navy hero */
.hero .btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: rgba(255, 255, 255, 0.06); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }

.btn-small { padding: 10px 22px; font-size: 0.86rem; background: var(--cyan); color: #fff; box-shadow: 0 4px 16px rgba(20, 184, 230, 0.35); }
.btn-small:hover { background: var(--cyan-deep); transform: translateY(-2px); }

/* ------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding: 150px 24px 40px;
  text-align: center;
}

/* The big navy rounded shape behind the hero — the PayPerClose "blob" */
.hero-shape {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: max(130%, 1600px);
  height: calc(100% - 150px);
  min-height: 460px;
  border-radius: 0 0 50% 50% / 0 0 220px 220px;
  background:
    radial-gradient(900px 460px at 78% 6%, rgba(20, 184, 230, 0.24), transparent 60%),
    radial-gradient(700px 420px at 12% 80%, rgba(20, 184, 230, 0.14), transparent 65%),
    linear-gradient(160deg, var(--navy-hero) 0%, var(--navy-hero2) 100%);
  overflow: hidden;
  z-index: 0;
}

/* Floating circles inside the shape — echo of the round logo */
.bubble {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
}
.bubble-a { width: 190px; height: 190px; left: 7%;  top: 16%; animation: drift-a 13s ease-in-out infinite; }
.bubble-b { width: 90px;  height: 90px;  right: 12%; top: 12%; animation: drift-b 10s ease-in-out infinite; }
.bubble-c { width: 300px; height: 300px; right: -60px; bottom: -40px; animation: drift-a 16s ease-in-out infinite reverse; }
@keyframes drift-a {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(26px, -22px); }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-18px, 16px) scale(1.1); }
}

.hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--cyan-soft); }
.hero .eyebrow::before { background: var(--cyan-soft); box-shadow: 0 0 0 4px rgba(127, 220, 245, 0.16); }
.hero-sub {
  max-width: 620px;
  margin: 22px auto 0;
  color: rgba(236, 243, 250, 0.85);
  font-size: 1.1rem;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

/* Video card straddles the bottom curve of the shape */
.hero-video {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: clamp(40px, 6vw, 70px) auto 0;
}
.video-frame {
  border-radius: var(--radius);
  padding: 8px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(20, 36, 58, 0.3);
}
.video-aspect {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  background: #0a1420;
}
.video-aspect video,
.video-aspect iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #8fa3ba;
  background:
    radial-gradient(420px 260px at 50% 40%, rgba(20, 184, 230, 0.12), transparent 70%),
    #0c1826;
}
.video-placeholder p { font-size: 0.95rem; line-height: 1.5; text-align: center; }
.video-placeholder p span { font-size: 0.82rem; opacity: 0.6; }
.vp-ring {
  width: 92px; height: 92px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  border: 1.5px solid rgba(20, 184, 230, 0.5);
  animation: pulse 2.6s ease-in-out infinite;
}
.vp-ring svg { margin-left: 5px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20, 184, 230, 0.3); }
  50%      { box-shadow: 0 0 0 18px rgba(20, 184, 230, 0); }
}

/* Hero entrance — plays on load (not scroll-linked) */
.hero-in {
  opacity: 0;
  transform: translateY(30px);
  animation: hero-rise 0.9s var(--ease-out) forwards;
}
.hero-in.i1 { animation-delay: 0.12s; }
.hero-in.i2 { animation-delay: 0.24s; }
.hero-in.i3 { animation-delay: 0.36s; }
.hero-in.i4 { animation-delay: 0.5s; }
@keyframes hero-rise { to { opacity: 1; transform: none; } }

/* --------------------------------------------------------- marquee */

.marquee {
  overflow: hidden;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  white-space: nowrap;
}
.marquee-track em { font-style: normal; font-size: 0.55rem; color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------------- sections */

.section { padding: clamp(84px, 11vw, 140px) 0; position: relative; }

/* Curved SVG transitions in/out of tinted sections */
.curve {
  position: absolute;
  left: 0; right: 0;
  height: clamp(36px, 6vw, 84px);
  pointer-events: none;
}
.curve svg { display: block; width: 100%; height: 100%; }
.curve-top    { bottom: calc(100% - 1px); }
.curve-bottom { top: calc(100% - 1px); }

/* Services: navy band with white cards. Flat base colour so the SVG
   curves blend seamlessly; the glows stay away from the edges. */
.section-alt {
  background:
    radial-gradient(760px 420px at 85% 30%, rgba(20, 184, 230, 0.14), transparent 65%),
    radial-gradient(600px 380px at 8% 75%, rgba(20, 184, 230, 0.1), transparent 65%),
    var(--navy-hero2);
  margin: clamp(36px, 6vw, 84px) 0;
}
.section-alt .curve path { fill: var(--navy-hero2); }
.section-alt h2 { color: #fff; }
.section-alt .eyebrow { color: var(--cyan-soft); }
.section-alt .eyebrow::before { background: var(--cyan-soft); box-shadow: 0 0 0 4px rgba(127, 220, 245, 0.16); }

/* Booking: pale tinted band */
.section-book { background: var(--bg-tint); margin-top: clamp(36px, 6vw, 84px); }
.section-book .curve path { fill: var(--bg-tint); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.stats {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 20px;
  margin-top: clamp(48px, 8vw, 90px);
}
.stat {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s var(--ease-pop), box-shadow 0.3s;
}
.stat::after {
  content: "";
  position: absolute;
  left: 28px; bottom: 0;
  width: 44px; height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--cyan);
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
}
.stat-num b { color: var(--cyan-deep); font-weight: 800; }
.stat-label { margin-top: 8px; color: var(--muted); font-size: 0.92rem; font-weight: 500; }

/* ----------------------------------------------------------- cards */

.cards {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 22px;
  margin-top: clamp(36px, 5vw, 56px);
}
.card {
  position: relative;
  border-radius: var(--radius);
  background: var(--panel);
  padding: 38px 30px 34px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(9, 18, 30, 0.35);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}
/* cursor spotlight — JS feeds --mx/--my */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
              rgba(20, 184, 230, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(9, 18, 30, 0.45); }
.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px; height: 44px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  box-shadow: 0 8px 20px rgba(20, 184, 230, 0.4);
  margin-bottom: 22px;
}
.card h3 { color: var(--navy); }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ----------------------------------------------------------- steps */

.steps {
  display: grid;
  grid-template-columns: repeat(var(--cols2, 2), 1fr);
  gap: 22px;
  margin-top: clamp(36px, 5vw, 56px);
  counter-reset: step;
}
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 30px;
  transition: border-color 0.3s, transform 0.3s var(--ease-pop), box-shadow 0.3s;
}
.step:hover {
  border-color: rgba(20, 184, 230, 0.45);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.step-num {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan-deep);
  border: 2px solid rgba(20, 184, 230, 0.55);
  background: rgba(20, 184, 230, 0.08);
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p  { color: var(--muted); font-size: 0.95rem; }

/* --------------------------------------------------------- booking */

.booking-head { text-align: center; max-width: 660px; }
.booking-head h2.reveal { padding-bottom: 18px; }
.booking-head h2.reveal::after { left: 50%; margin-left: -28px; transform-origin: center; }
.booking-head .lead { margin-top: 4px; }

.booking {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  position: relative;
}

.bk-panel {
  border: 1px solid rgba(20, 36, 58, 0.07);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 28px;
}

/* calendar */
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cal-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.cal-nav {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
  font-size: 1.3rem;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s var(--ease-pop);
}
.cal-nav:hover:not(:disabled) { border-color: var(--cyan); background: rgba(20, 184, 230, 0.08); transform: scale(1.08); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-dow {
  margin-bottom: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
  cursor: default;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-pop);
}
.cal-day.open {
  color: var(--navy);
  background: rgba(20, 184, 230, 0.09);
  border-color: rgba(20, 184, 230, 0.3);
  cursor: pointer;
  font-weight: 700;
}
.cal-day.open:hover { background: rgba(20, 184, 230, 0.2); transform: scale(1.08); }
.cal-day.selected {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(20, 184, 230, 0.45);
}
.cal-day.today:not(.selected) { border-color: rgba(20, 36, 58, 0.3); }
.cal-note { margin-top: 18px; font-size: 0.82rem; color: var(--muted); }

/* slots */
.slot-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  margin-top: 16px;
  max-height: 330px;
  overflow-y: auto;
  padding-right: 4px;
}
.slot-list p { grid-column: 1 / -1; font-size: 0.92rem; }
.slot {
  padding: 13px 6px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(20, 36, 58, 0.02);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s var(--ease-pop);
}
.slot:hover { border-color: var(--cyan); background: rgba(20, 184, 230, 0.12); color: var(--cyan-deep); transform: translateY(-3px); }

/* form + success overlay the grid */
.bk-form, .bk-success { grid-column: 1 / -1; }
.bk-chosen {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(20, 184, 230, 0.1);
  border: 1px solid rgba(20, 184, 230, 0.35);
  color: var(--cyan-deep);
  font-size: 0.92rem;
  font-weight: 700;
}
#booking-form { display: grid; grid-template-columns: repeat(var(--cols2, 2), 1fr); gap: 18px; }
#booking-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--muted);
}
#booking-form label:nth-child(4), .bk-actions { grid-column: 1 / -1; }
#booking-form input,
#booking-form textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fbfdfe;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
#booking-form input:focus,
#booking-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(20, 184, 230, 0.16);
}
.bk-actions { display: flex; gap: 14px; justify-content: flex-end; margin-top: 6px; }
.bk-error {
  grid-column: 1 / -1;
  color: #c0392b;
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(220, 60, 40, 0.07);
  border: 1px solid rgba(220, 60, 40, 0.25);
}
#bk-submit.loading { opacity: 0.6; pointer-events: none; }

.bk-success { text-align: center; padding: 56px 28px; }
.success-check {
  width: 74px; height: 74px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  box-shadow: 0 10px 40px rgba(20, 184, 230, 0.45);
  animation: pop 0.5s var(--ease-pop);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
#bk-success-when { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.bk-success .btn { margin-top: 22px; }

/* ---------------------------------------------------------- footer */

.footer {
  margin-top: clamp(20px, 4vw, 40px);
  padding: 64px 0 44px;
  background: linear-gradient(165deg, var(--navy-hero2), #0e1c30 130%);
  border-radius: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px) 0 0;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer .logo-name { color: #fff; }
.footer .logo-word { color: rgba(255, 255, 255, 0.6); }
.footer .logo-mark { color: var(--cyan); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(236, 243, 250, 0.78); text-decoration: none; font-size: 0.92rem; font-weight: 600; transition: color 0.25s; }
.footer-links a:hover { color: var(--cyan-soft); }
.footer-addr { font-size: 0.85rem; color: rgba(236, 243, 250, 0.55); }
.footer-note { font-size: 0.82rem; color: rgba(236, 243, 250, 0.45); }

/* ------------------------------------------------ reveal animations */

/* Wipe-up reveal: clip-path + lift (deliberately different motion
   language from the blur/scale style used elsewhere) */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  clip-path: inset(18% 4% 26% 4% round 14px);
  transition:
    opacity   0.8s var(--ease-out),
    transform 0.8s var(--ease-out),
    clip-path 0.9s var(--ease-out);
  will-change: opacity, transform, clip-path;
}
.reveal.in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.42s; }

/* Cards swing up with a slight rotation, alternating direction */
.card.reveal:nth-child(odd)  { transform: translateY(52px) rotate(-2deg); }
.card.reveal:nth-child(even) { transform: translateY(52px) rotate(2deg); }
.card.reveal.in { transform: none; }

/* Steps slide along the timeline */
.step.reveal { transform: translateX(-44px); clip-path: inset(0 30% 0 0 round 14px); }
.step.reveal:nth-child(even) { transform: translateX(44px); clip-path: inset(0 0 0 30% round 14px); }
.step.reveal.in { transform: none; clip-path: inset(0 0 0 0 round 0); }

.stat.reveal { transform: translateY(44px) scale(0.9); }
.stat.reveal.in { transform: none; transition-timing-function: var(--ease-pop); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .card.reveal, .step.reveal, .stat.reveal,
  .hero-in { opacity: 1; transform: none; clip-path: none; filter: none; transition: none; animation: none; }
  html { scroll-behavior: auto; }
  .vp-ring, .bubble, .marquee-track { animation: none; }
}

/* ------------------------------------------------------- responsive */

@media (max-width: 860px) {
  body { font-size: 15.5px; }

  .two-col, .booking, .steps, .cards { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: 112px 18px 30px; }
  .hero-shape { height: calc(100% - 120px); border-radius: 0 0 50% 50% / 0 0 90px 90px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .hero-sub { font-size: 1rem; margin-top: 16px; }
  .hero-cta { margin-top: 30px; }
  .hero-cta .btn { width: 100%; max-width: 340px; text-align: center; }
  .bubble-a { width: 110px; height: 110px; }
  .bubble-c { width: 180px; height: 180px; }

  .marquee { padding: 18px 0; }
  .marquee-track { gap: 22px; }
  .marquee-track span { font-size: 0.88rem; }

  .section { padding: 72px 0; }
  .wrap { padding: 0 18px; }

  /* stats: compact rows with a cyan accent bar */
  .stats { grid-template-columns: 1fr; gap: 12px; margin-top: 44px; }
  .stat {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 20px 22px;
    border-left: 4px solid var(--cyan);
  }
  .stat::after { display: none; }
  .stat-num { font-size: 1.9rem; }
  .stat-label { margin-top: 0; }

  .card { padding: 28px 22px; }
  .step { padding: 24px 20px; gap: 16px; }
  .step-num { width: 40px; height: 40px; font-size: 1rem; }

  .bk-panel { padding: 20px 16px; }
  .cal-grid { gap: 4px; }
  .cal-day { border-radius: 10px; font-size: 0.88rem; }
  .slot-list { grid-template-columns: repeat(var(--cols, 3), 1fr); max-height: 260px; }
  #booking-form { grid-template-columns: 1fr; }
  #booking-form label:nth-child(4) { grid-column: auto; }
  .bk-actions { flex-direction: column-reverse; }
  .bk-actions .btn { width: 100%; text-align: center; }

  .footer { padding: 48px 0 36px; }
}

/* Uploaded logo image (replaces the built-in mark) */
.logo-img { height: 40px; width: auto; max-width: 240px; display: block; object-fit: contain; }
@media (min-width: 861px) { .logo-img { height: 48px; max-width: 300px; } }
.nav-logo:has(.logo-img) { align-items: center; }
/* keep an uploaded (usually dark-on-light) logo readable on the navy hero */
.nav:not(.scrolled) .logo-img { filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }

/* Hero without a video: the shape wraps all content, curve sits below the CTA */
.hero.no-video { padding-bottom: clamp(120px, 14vw, 190px); }
.hero.no-video .hero-shape { height: 100%; }
@media (max-width: 860px) {
  .hero.no-video { padding-bottom: 110px; }
  .hero.no-video .hero-shape { height: 100%; }
}

/* Dual logo variants: the dark-bg version (white text) sits on the navy hero
   and footer; the light-bg version (dark text) takes over on the white
   scrolled navbar. Open mobile menu = dark overlay, so dark-bg version. */
.logo-on-light { display: none; }
.nav.scrolled .logo-on-dark  { display: none; }
.nav.scrolled .logo-on-light { display: block; }
body.menu-open .nav .logo-on-dark  { display: block; }
body.menu-open .nav .logo-on-light { display: none; }

/* ---------------------------------------------------- contact form */
.contact-box { max-width: 780px; margin: clamp(36px, 6vw, 60px) auto 0; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--muted);
}
.contact-form .cf-full, .cf-actions, .cf-status { grid-column: 1 / -1; }
.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fbfdfe;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(20, 184, 230, 0.16);
}
.cf-actions { display: flex; justify-content: flex-end; }
.cf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cf-status { font-size: 0.9rem; padding: 10px 14px; border-radius: 10px; }
.cf-status.ok  { color: #1b7a43; background: #e8f7ee; border: 1px solid #b5e3c8; }
.cf-status.err { color: #c0392b; background: rgba(220, 60, 40, 0.07); border: 1px solid rgba(220, 60, 40, 0.25); }
#cf-submit.loading { opacity: 0.6; pointer-events: none; }
@media (max-width: 860px) {
  .contact-form { grid-template-columns: 1fr; }
  .cf-actions .btn { width: 100%; text-align: center; }
}

/* ------------------------------------------------------- team bubbles */
.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(18px, 3.4vw, 38px);
  margin-top: clamp(40px, 6vw, 64px);
}
.team-member {
  width: clamp(122px, 15vw, 172px);
  margin: 0;
  text-align: center;
  animation: team-float 6.5s ease-in-out infinite;
  animation-delay: var(--td, 0s);
}
/* organic cluster: alternate sizes and vertical offsets */
.team-member:nth-child(3n)   { width: clamp(142px, 18vw, 204px); }
.team-member:nth-child(4n+2) { width: clamp(104px, 12vw, 148px); }
.team-member:nth-child(even) { margin-top: 30px; }
.team-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s, border-color 0.35s;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease-out);
}
.team-member:hover .team-photo { border-color: var(--cyan); box-shadow: 0 18px 44px rgba(20, 184, 230, 0.35); }
.team-member:hover .team-photo img { transform: scale(1.09); }
.team-member figcaption { margin-top: 12px; line-height: 1.35; }
.team-member figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
}
.team-member figcaption span { font-size: 0.83rem; color: var(--muted); }
@keyframes team-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) { .team-member { animation: none; } }
@media (max-width: 860px) {
  .team { gap: 16px 14px; margin-top: 38px; }
  .team-member,
  .team-member:nth-child(3n)   { width: 30vw; max-width: 140px; }
  .team-member:nth-child(4n+2) { width: 26vw; max-width: 120px; }
  .team-member:nth-child(even) { margin-top: 18px; }
}

/* ------------------------------------------ about: team photo card */
.about-photo-wrap { margin-top: clamp(44px, 6vw, 70px); }
.about-photo {
  position: relative;
  padding: 8px;
  background: #ffffff;
  border-radius: calc(var(--radius) + 6px);
}
/* soft blurred cyan halo around the frame (instead of a grey drop shadow) */
.about-photo::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  border-radius: calc(var(--radius) + 22px);
  background: linear-gradient(135deg,
    rgba(20, 184, 230, 0.35) 0%,
    rgba(20, 184, 230, 0.05) 38%,
    rgba(53, 81, 111, 0.18) 68%,
    rgba(20, 184, 230, 0.35) 100%);
  filter: blur(30px);
}
.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 2.15 / 1;
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: var(--radius);
}
@media (max-width: 860px) {
  .about-photo { padding: 6px; }
  .about-photo::before { inset: -10px; filter: blur(20px); }
  .about-photo img { aspect-ratio: 16 / 10; }
}

/* After the wipe reveal finishes, drop the clip so shadows/halos show fully */
.reveal.rv-done { clip-path: none; }
