/* ============================================================
   ResortStrata — Demo marketing concept
   Brand colors preserved; aesthetic modernized.
   ============================================================ */

:root {
  /* Brand palette (unchanged) */
  --ink:          #2a6fbe;            /* ocean */
  --ink-deep:     #2058a0;
  --ink-soft:     #e8f0fc;
  --coral:        #ff8a5c;            /* sun */
  --coral-deep:   #e97247;
  --paper:        #f8fafb;
  --paper-2:      #f0f4f8;
  --text:         #1e2d2f;
  --muted:        #5a6d80;
  --danger:       #c94a3d;

  /* Extended modern tokens derived from brand */
  --navy:         #0e1f33;            /* dark deepened from ink */
  --navy-2:       #14283f;
  --cream:        #fbf7f2;            /* warm paper */
  --cream-2:      #f5ece0;
  --line:         rgba(14,31,51,0.10);
  --line-soft:    rgba(14,31,51,0.06);
  --tide:         #9cc4eb;

  --font-display: "Instrument Serif", "DM Serif Display", Georgia, serif;
  --font-body:    "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --radius:       18px;
  --radius-lg:    28px;
  --shadow-card:  0 1px 0 rgba(14,31,51,0.04), 0 16px 40px -20px rgba(14,31,51,0.18);
  --shadow-lift:  0 1px 0 rgba(14,31,51,0.04), 0 34px 60px -28px rgba(14,31,51,0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--coral); color: #fff; }

/* ---------- Atmosphere: subtle hero-scoped gradient wash ---------- */
.atmosphere {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 110vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.atmosphere::before,
.atmosphere::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.atmosphere::before {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(255,138,92,0.28) 0%, transparent 65%);
  top: -18vw; right: -12vw;
}
.atmosphere::after {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(42,111,190,0.20) 0%, transparent 65%);
  top: 20vh; left: -20vw;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1;
}
.display .it { font-style: italic; font-weight: 400; }

/* ---------- Container ---------- */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(248, 250, 251, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(248, 250, 251, 0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  line-height: 1;
}
.brand img { width: 46px; height: 46px; display: block; flex-shrink: 0; }
.brand .brand-wm {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--navy);
  padding-right: 0.22em;
  line-height: 1;
}
.brand .brand-wm .strata { color: var(--coral-deep); }
footer .brand img { width: 40px; height: 40px; }
footer .brand .brand-wm { font-size: 15px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--navy-2);
}
.nav-links a:not(.btn) {
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a.btn {
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .25s ease;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .25s ease;
  line-height: 1;
}
.btn--ink {
  background: var(--navy);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 10px 24px -14px rgba(14,31,51,0.5);
}
.btn--ink:hover { background: var(--ink); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--navy); }
.btn--coral {
  background: var(--coral);
  color: #2a1309;
  box-shadow: 0 10px 24px -14px rgba(255,138,92,0.7);
}
.btn--coral:hover { background: var(--coral-deep); color: #fff; transform: translateY(-1px); }
.btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 120px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: start;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 14px 8px 10px;
  background: rgba(42, 111, 190, 0.08);
  border: 1px solid rgba(42, 111, 190, 0.14);
  border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255,138,92,0.6);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,138,92,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(255,138,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,138,92,0); }
}

.hero h1.display {
  font-size: clamp(42px, 5.6vw, 76px);
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.02;
}
.hero h1 .underline-coral {
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline-coral::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.06em;
  height: 0.12em;
  background: var(--coral);
  opacity: 0.55;
  border-radius: 999px;
  transform-origin: left;
  animation: stroke 1.2s cubic-bezier(.2,.8,.2,1) .6s both;
}
@keyframes stroke { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero p.lede {
  max-width: 540px;
  font-size: 18.5px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13.5px;
  color: var(--muted);
  align-items: center;
}
.hero-trust .check {
  color: var(--ink);
  margin-right: 6px;
  font-weight: 700;
}

/* ---------- Hero live card (reservation preview) ---------- */
.device {
  position: relative;
  perspective: 1600px;
  --tilt: -6deg;
  margin-top: 8px;
}
.device-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 22px;
  transform: rotateY(var(--tilt)) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.device-card:hover { transform: rotateY(-2deg) rotateX(1deg) translateY(-4px); }
.device-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,138,92,0.4), rgba(42,111,190,0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.device-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.device-head-l {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #ddd; }
.dot.r { background: #ff6b5b; } .dot.y { background: #ffbc50; } .dot.g { background: #5bc48f; }
.device-head-r {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.widget-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}
.widget {
  background: var(--cream-2);
  border-radius: 14px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.widget-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.widget-value {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1;
}
.widget-value .cur { font-size: 18px; vertical-align: super; color: var(--muted); }
.widget-delta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #157a4f;
  background: rgba(21,122,79,0.09);
  border-radius: 999px;
  padding: 3px 9px;
}
.widget--coral {
  background: linear-gradient(135deg, #ffd6c1, #ffe6d7);
}
.widget--coral .widget-label { color: #9a3a1b; }
.widget--coral .widget-value { color: #5c1e0c; }

.spark {
  position: absolute;
  right: -6px; bottom: -6px;
  width: 130px; height: 60px;
  opacity: 0.75;
}

.panel {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px 16px;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.panel-title .more {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13px;
}
.row:last-child { border-bottom: 0; }
.avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700;
  margin-right: 10px;
}
.row .who { display: flex; align-items: center; color: var(--navy); font-weight: 500; }
.unit {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  padding: 3px 7px;
  background: var(--paper-2);
  border-radius: 6px;
}
.pill {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pill.paid { background: rgba(21,122,79,0.1); color: #157a4f; }
.pill.due  { background: rgba(255,138,92,0.14); color: #9a3a1b; }
.pill.hold { background: var(--ink-soft); color: var(--ink); }

.floating-chip {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  animation: floaty 6s ease-in-out infinite;
}
.floating-chip small {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  display: block;
  letter-spacing: 0.02em;
}
.floating-chip .icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--ink-soft);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.floating-chip.top-right {
  top: -24px;
  right: -20px;
  animation-delay: .5s;
}
.floating-chip.bot-left {
  bottom: -22px;
  left: -28px;
  animation-delay: 1.2s;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ---------- Marquee / audience strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.5);
  padding: 28px 0;
  margin-top: -20px;
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.strip-label {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: slide 38s linear infinite;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track .sep {
  width: 6px; height: 6px;
  background: var(--coral);
  border-radius: 50%;
  display: inline-block;
}
@keyframes slide {
  to { transform: translateX(-50%); }
}

/* ---------- Section base ---------- */
.section {
  padding: 120px 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 72px;
  align-items: end;
}
.section-kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral-deep);
  font-weight: 600;
  margin-bottom: 18px;
}
.section-head h2.display {
  font-size: clamp(40px, 5.2vw, 68px);
  color: var(--navy);
  line-height: 1.02;
  max-width: 14ch;
}
.section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 48ch;
}

/* ---------- Module grid (uniform) ---------- */
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--line);
}
.tile .tile-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ink-soft);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.tile h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.tile p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Product showcase ---------- */
.showcase {
  background: var(--navy);
  color: #fff;
  border-radius: 36px;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  margin: 0 0 120px;
}
.showcase::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(ellipse 60% 50% at 10% 0%, rgba(255,138,92,0.28), transparent 60%),
              radial-gradient(ellipse 50% 40% at 90% 100%, rgba(42,111,190,0.35), transparent 60%);
  pointer-events: none;
}
.showcase > * { position: relative; z-index: 1; }

.showcase-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
  align-items: end;
}
.showcase .section-kicker { color: var(--coral); }
.showcase h2.display { color: #fff; max-width: 16ch; font-size: clamp(40px, 5vw, 64px); }
.showcase-head p { color: rgba(255,255,255,0.7); max-width: 46ch; }

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.tab {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
}
.tab:hover { color: #fff; background: rgba(255,255,255,0.1); }
.tab.is-active {
  background: var(--coral);
  color: #2a1309;
  border-color: transparent;
}

.tab-body {
  display: none;
}
.tab-body.is-active {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
  animation: fadeUp .45s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.tab-copy h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 18px;
}
.tab-copy p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 26px;
}
.tab-copy ul {
  list-style: none;
  padding: 0; margin: 0 0 28px;
  display: grid;
  gap: 12px;
}
.tab-copy li {
  padding-left: 26px;
  position: relative;
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
}
.tab-copy li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--coral) 35%, transparent 36%);
  border: 1px solid rgba(255,138,92,0.5);
}

.tab-visual {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
}

/* Reservations calendar */
.cal {
  display: grid;
  grid-template-columns: 120px repeat(14, 1fr);
  gap: 3px;
  font-size: 11px;
}
.cal-h {
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
  font-size: 10px;
  text-align: center;
  padding: 4px 0;
}
.cal-unit {
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 4px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.cal-unit small {
  display: block;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  font-weight: 400;
  margin-top: 2px;
}
.cal-cell {
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  height: 34px;
  position: relative;
}
.cal-bar {
  position: absolute;
  top: 4px; bottom: 4px;
  border-radius: 4px;
  background: var(--coral);
  color: #2a1309;
  font-size: 10.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0 8px;
  box-shadow: 0 6px 14px -8px rgba(255,138,92,0.7);
}
.cal-bar.b { background: var(--ink); color: #fff; box-shadow: 0 6px 14px -8px rgba(42,111,190,0.8); }
.cal-bar.g { background: rgba(255,255,255,0.12); color: #fff; }

/* Billing receipts */
.receipt {
  background: var(--cream);
  color: var(--navy);
  border-radius: 14px;
  padding: 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.4);
}
.receipt-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(14,31,51,0.2);
  margin-bottom: 14px;
}
.receipt-head h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
}
.receipt-line {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.receipt-total {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 2px solid var(--navy);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}
.receipt-total span:last-child { color: var(--coral-deep); }
.receipt-stamp {
  display: inline-block;
  transform: rotate(-6deg);
  border: 2px solid var(--ink);
  color: var(--ink);
  padding: 4px 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-top: 16px;
  border-radius: 4px;
}

/* Owner portal mock */
.owner-portal {
  background: #fff;
  color: var(--navy);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.4);
}
.owner-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 16px;
}
.owner-head .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--coral-deep));
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.owner-head strong { font-family: var(--font-display); font-weight: 400; font-size: 20px; display: block; }
.owner-head small { color: var(--muted); font-size: 12px; }
.owner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.owner-card {
  background: var(--cream);
  padding: 14px;
  border-radius: 10px;
  font-size: 12.5px;
}
.owner-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 2px;
}
.owner-card span { color: var(--muted); }

/* ---------- Metrics / numbers ---------- */
.numbers {
  padding: 40px 0 120px;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.num {
  padding: 44px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.num:last-child { border-right: 0; }
.num .n {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 86px);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.num .n .unit { font-size: 22px; color: var(--coral); font-style: italic; }
.num .lbl {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  max-width: 28ch;
}

/* ---------- Quote / testimonial ---------- */
.quote-wrap {
  position: relative;
  padding: 0 0 120px;
}
.quote-card {
  position: relative;
  background: var(--ink-soft);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 52px;
  align-items: center;
  overflow: hidden;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -70px;
  left: 40px;
  font-family: var(--font-display);
  font-size: 340px;
  color: rgba(255,138,92,0.2);
  line-height: 1;
}
.quote-headshot {
  width: 160px; height: 200px;
  border-radius: 80px;
  background: linear-gradient(180deg, var(--tide), var(--ink));
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.quote-headshot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, rgba(255,220,200,0.9) 0%, rgba(255,220,200,0) 28%),
              radial-gradient(circle at 50% 74%, rgba(30,45,47,0.5) 0%, transparent 40%);
}
.quote-text .display {
  font-size: clamp(26px, 2.6vw, 38px);
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 32px;
}
.quote-text .display em { color: var(--coral-deep); font-style: italic; }
.attrib {
  font-size: 13.5px;
  color: var(--muted);
}
.attrib strong { color: var(--navy); font-weight: 600; display: block; font-size: 15px; margin-bottom: 2px; }

/* ---------- Pricing ---------- */
.pricing {
  padding: 0 0 120px;
}
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}
.price-main {
  background: linear-gradient(180deg, #fff 0%, var(--ink-soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
}
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 20px 0 8px;
}
.price-tag .big {
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.03em;
}
.price-tag .cur { font-family: var(--font-display); font-size: 36px; color: var(--coral); }
.price-tag .per { color: var(--muted); font-size: 14px; }
.price-main p.sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 38ch;
  margin-bottom: 28px;
}
.price-features {
  list-style: none;
  padding: 0; margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  font-size: 14px;
}
.price-features li {
  padding-left: 22px;
  position: relative;
  color: var(--navy);
}
.price-features li::before {
  content: "→";
  position: absolute;
  left: 0; top: 0;
  color: var(--coral);
  font-weight: 700;
}
.price-aside {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.price-aside::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,138,92,0.4), transparent 60%);
}
.price-aside h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  margin-bottom: 16px;
}
.price-aside p { color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 28px; }
.price-aside ul { list-style: none; padding: 0; margin: 0 0 32px; font-size: 14px; }
.price-aside ul li {
  padding: 10px 0;
  border-top: 1px dashed rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  display: flex; justify-content: space-between;
}
.price-aside ul li:first-child { border-top: 0; }
.price-aside ul li span:last-child { color: var(--coral); font-family: var(--font-mono); font-size: 12px; }

/* ---------- Contact ---------- */
.contact-wrap {
  padding: 0 0 120px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-grid h2.display {
  font-size: clamp(38px, 4.6vw, 60px);
  color: var(--navy);
}
.contact-grid .section-kicker { color: var(--coral-deep); }
.contact-intro {
  margin-top: 20px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 38ch;
}
.contact-reassure {
  margin-top: 32px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 14px;
  background: #fff;
}
.contact-reassure div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--navy);
  line-height: 1.5;
}
.contact-reassure .ico {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--ink-soft);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-reassure strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 2px; }
.contact-reassure small { color: var(--muted); font-size: 13px; font-weight: 400; }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.contact-card form { display: grid; gap: 18px; }
.field {
  display: grid;
  gap: 6px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.field label .req { color: var(--coral-deep); font-weight: 700; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14.5px;
  color: var(--navy);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--ink-soft);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235a6d80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1 6 7 11 1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.contact-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.contact-submit small {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 34ch;
}
.contact-submit small a { color: var(--ink); border-bottom: 1px solid var(--coral); }
.contact-submit .btn { padding: 13px 22px; }
.contact-status {
  display: none;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 4px;
  gap: 10px;
  align-items: flex-start;
}
.contact-status.is-success {
  display: flex;
  background: rgba(21,122,79,0.08);
  color: #0f5a3a;
  border: 1px solid rgba(21,122,79,0.2);
}
.contact-status.is-error {
  display: flex;
  background: #fdeee9;
  color: var(--danger);
  border: 1px solid rgba(201,74,61,0.25);
}
.contact-status strong { display: block; }

/* ---------- FAQ ---------- */
.faq-wrap { padding: 0 0 120px; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-grid h2.display {
  font-size: clamp(38px, 4.6vw, 60px);
  color: var(--navy);
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: var(--coral);
  transition: transform .3s ease;
  font-family: var(--font-body);
  font-weight: 300;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] summary { color: var(--ink); }
.faq-body {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 64ch;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(160deg, var(--navy) 0%, #0a1524 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(circle, rgba(255,138,92,0.28) 0%, transparent 55%);
  animation: drift 22s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-40px, 20px); }
}
.final-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.final-cta h2.display {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: #fff;
  margin-bottom: 20px;
}
.final-cta p {
  color: rgba(255,255,255,0.75);
  max-width: 44ch;
  margin-bottom: 32px;
  font-size: 17px;
}
.final-cta .cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.wave-svg {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
}

/* ---------- Footer ---------- */
footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
}
.foot-grid h4 {
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 12px;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid ul a:hover { color: var(--ink); }
.foot-grid p { max-width: 30ch; }
.foot-legal {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-legal a { margin-right: 14px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .06s; }
.reveal[data-delay="2"] { transition-delay: .12s; }
.reveal[data-delay="3"] { transition-delay: .18s; }
.reveal[data-delay="4"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .showcase-head { grid-template-columns: 1fr; gap: 24px; }
  .tab-body.is-active { grid-template-columns: 1fr; gap: 32px; }
  .price-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-card { padding: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .final-cta-inner { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .num { border-bottom: 1px solid var(--line); }
  .num:nth-child(2) { border-right: 0; }
  .num:nth-last-child(-n+2) { border-bottom: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .showcase, .final-cta { padding: 56px 32px; border-radius: 24px; }
  .quote-card { padding: 56px 32px; grid-template-columns: 1fr; gap: 32px; }
  .quote-card::before { font-size: 220px; top: -40px; left: 20px; }
  .price-main, .price-aside { padding: 32px; }
  .price-features { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-links .btn--ghost { display: none; }
  .hero { padding: 48px 0 80px; }
  .section { padding: 80px 0; }
  .strip-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .floating-chip.top-right { right: 6px; top: -18px; }
  .floating-chip.bot-left { left: 0; bottom: -16px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .num { border-right: 0; border-bottom: 1px solid var(--line); }
  .num:last-child { border-bottom: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .cal { grid-template-columns: 90px repeat(14, 1fr); font-size: 10px; }
  .modules { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
