/* UWUPI — /book landing page (Meta ads). Static replica of the uwupi.com/book layout.
 * Mobile (<1024px): dark full-screen hero with the demo video; form appears after "Book my free demo".
 * Desktop (>=1024px): wave hero + copy, features, steps + form, plans, FAQ, dark CTA, footer. */
:root {
  --ink-950: #080a1a; --ink-900: #0f1229; --ink-800: #1a1f3a; --ink-600: #3d4566; --ink-500: #555f82;
  --ink-400: #7a84a6; --ink-300: #aeb5cd; --ink-200: #d5d9e8; --ink-100: #eceef6; --ink-50: #f6f7fb;
  --brand-50: #f5f3ff; --brand-100: #ede9fe; --brand-300: #c4b5fd; --brand-500: #8b5cf6; --brand-600: #7c3aed; --brand-700: #6d28d9; --brand-800: #5b21b6;
  --green: #25d366;
  --grad: linear-gradient(90deg, #1fa2ff, #7c3aed, #e83fd1);
  --grad-text: linear-gradient(90deg, #2563eb, #7c3aed, #ec4899);
  --shadow-brand: 0 10px 30px -10px rgba(124, 58, 237, .55);
  --shadow-card: 0 1px 2px rgba(15, 18, 41, .04), 0 8px 24px -8px rgba(15, 18, 41, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink-900); background: #fff; line-height: 1.5; }
[hidden] { display: none !important; }
img, video { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.wa { stroke: none; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; left: -9999px; opacity: 0; }
:focus-visible { outline: 3px solid rgba(124, 58, 237, .45); outline-offset: 2px; }

.container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 800px; }
.center { text-align: center; }
.sm-inline { display: none; }

/* Type helpers */
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad--fuchsia { background-image: linear-gradient(90deg, #2563eb, #7c3aed, #d946ef); }
.grad--warm { background-image: linear-gradient(90deg, #38bdf8, #e879f9, #fdba74); }
.eyebrow { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--brand-600); }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--brand-50); padding: 4px 12px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--brand-700); box-shadow: inset 0 0 0 1px var(--brand-100); }
.h2 { margin-top: 12px; font-size: 1.9rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--ink-900); }
.h2--left { text-align: left; }
.section-lead { margin-top: 12px; font-size: 1rem; line-height: 1.6; color: var(--ink-500); max-width: 42rem; margin-left: auto; margin-right: auto; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.pill--green { background: rgba(255, 255, 255, .9); border: 1px solid #a7f3d0; color: #047857; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.pill--green svg { width: 16px; height: 16px; }
.pill--call { min-height: 40px; padding: 8px 14px; background: var(--ink-900); color: #fff; font-size: 14px; white-space: nowrap; box-shadow: 0 8px 20px -10px rgba(11, 26, 51, .6); }
.pill--call svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.pill--call:hover { background: var(--ink-800); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 700; white-space: nowrap; transition: filter .15s, transform .1s, background .15s, border-color .15s; }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; }
.btn--grad { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(124, 58, 237, .7); }
.btn--grad:hover { filter: brightness(1.1); }
.btn--xl { height: 58px; font-size: 18px; width: 100%; }
.btn--white { background: #fff; border: 1px solid var(--ink-200); color: var(--ink-800); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.btn--white:hover { border-color: var(--ink-300); }
.btn--glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); color: #fff; }
.btn--glass:hover { background: rgba(255, 255, 255, .15); }
.btn--wa { background: var(--green); color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 211, 102, .9); }
.btn--wa:hover { filter: brightness(1.05); }
.btn--block { width: 100%; }
.btn--outline { height: 48px; border: 1px solid var(--ink-200); color: var(--ink-900); font-size: 15px; }
.btn--outline:hover { border-color: var(--ink-300); background: var(--ink-50); }
.btn--dark { height: 48px; background: var(--ink-900); color: #fff; font-size: 15px; }
.btn--dark:hover { background: var(--ink-800); }
.wa { width: 24px; height: 24px; }
.wa--green { color: var(--green); }

/* ================= HERO ================= */
.hero { position: relative; overflow: hidden; overflow: clip; background: linear-gradient(180deg, #fff, #f4f6ff, #f5f0ff); }
.hero__blobs { display: none; }
.hero__wave { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; stroke: none; }
.hero__wave path { stroke: none; }
.hero__inner { position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 0; padding: 24px 4px 48px; } /* minmax(0,1fr): the column never grows past a 320px screen */
/* Mobile: same light hero as desktop, stacked in this order:
   badge → headline → video → lead → buttons → checks */
.hero__copy { display: contents; color: var(--ink-900); }
.hero__copy .eyebrow-pill { order: 1; }
.hero__copy h1 { order: 2; margin-top: 12px; font-size: 2.3rem; font-weight: 800; line-height: 1.04; letter-spacing: -.02em; text-align: center; color: var(--ink-900); }
.video { order: 3; margin: 24px 0 4px; }
.hero__copy .hero__lead { order: 4; margin-top: 16px; text-align: center; }
.hero__actions { order: 5; width: 100%; }
.hero__copy .checks { order: 6; justify-content: center; }

/* Booking form sits directly under the video. On phones the media wrapper
   dissolves so the form joins the hero order right after the video; the lead
   and the scroll-to-form buttons are dropped because the form is right there. */
.hero__media { display: contents; }
.hero__media #book-form { order: 4; width: min(100%, 420px); margin-top: 32px; }
.hero__copy .hero__lead, .hero__copy .hero__actions { display: none; }
.hero__copy .checks { order: 5; margin-top: 20px; }

/* Video card */
.video { position: relative; width: min(100%, 360px); animation: pop .5s cubic-bezier(.2, .8, .2, 1) both; }
.video__glow { position: absolute; inset: -16px; border-radius: 2.6rem; background: linear-gradient(135deg, rgba(14, 165, 233, .6), rgba(139, 92, 246, .5), rgba(236, 72, 153, .6)); filter: blur(40px); opacity: .8; transition: opacity .7s; animation: glow 4s ease-in-out infinite; }
.video[data-state="playing"] .video__glow { opacity: .4; animation: none; }
.video__frame { position: relative; aspect-ratio: 909 / 1502; overflow: hidden; border-radius: 1.75rem; background: var(--ink-950); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .15); }
.video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink-950); }
.video__thumb { position: absolute; inset: 0; display: block; width: 100%; height: 100%; transition: transform .2s; }
.video__thumb:active { transform: scale(.985); }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.video__thumb:hover img { transform: scale(1.02); }
.video__sheen { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.video__sheen i { position: absolute; top: -40px; bottom: -40px; left: -50%; width: 33%; transform: rotate(12deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); animation: sheen 6s ease-in-out infinite; }
.video__spinner { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; background: rgba(0, 0, 0, .3); backdrop-filter: blur(2px); }
.video__spinner i { width: 56px; height: 56px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin 1s linear infinite; }
.video[data-state="loading"] .video__spinner { display: flex; }
.video[data-state="playing"] .video__thumb, .video[data-state="ended"] .video__thumb { display: none; }
.video__unmute { display: none; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(8, 10, 26, .72); color: #fff; font-size: 14px; font-weight: 700; backdrop-filter: blur(8px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .18); animation: pop .4s ease both; }
.video__unmute svg { width: 18px; height: 18px; }
.video[data-state="playing"][data-muted="true"] .video__unmute { display: inline-flex; }
.video__ended { display: none; position: absolute; inset: 0; flex-direction: column; align-items: center; justify-content: center; padding: 0 24px; text-align: center; color: #fff; background: linear-gradient(180deg, rgba(8, 10, 26, .7), rgba(8, 10, 26, .85), rgba(8, 10, 26, .95)); backdrop-filter: blur(12px); animation: fade .4s ease both; }
.video[data-state="ended"] .video__ended { display: flex; }
.video__ended-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #0ea5e9, #7c3aed, #ec4899); box-shadow: 0 12px 30px -8px rgba(124, 58, 237, .8); }
.video__ended-icon svg { width: 28px; height: 28px; }
.video__ended-title { margin-top: 20px; font-size: 1.6rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.video__ended-text { margin-top: 8px; font-size: 15px; color: var(--ink-300); }
.video__ended-actions { display: grid; gap: 12px; width: 100%; max-width: 17rem; margin-top: 24px; }
.video__ended-actions .btn { height: 52px; padding: 0 16px; }
.video__again { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--ink-300); }
.video__again:hover { color: #fff; }
.video__again svg { width: 16px; height: 16px; }

.hero__lead { margin-top: 12px; max-width: 36rem; font-size: 1.05rem; line-height: 1.6; color: var(--ink-500); }
.hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 20px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--ink-600); }
.checks li { display: inline-flex; align-items: center; gap: 6px; }
.checks svg { width: 16px; height: 16px; color: #10b981; }

/* ================= FEATURES ================= */
.solves { border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); background: #fff; padding: 48px 0; }
.solves .h2 { margin-top: 16px; }
.features { display: grid; gap: 12px; max-width: 1024px; margin: 32px auto 0; }
.feature { display: flex; align-items: flex-start; gap: 16px; border-radius: 24px; border: 1px solid var(--ink-100); background: rgba(246, 247, 251, .5); padding: 16px; }
.feature strong { display: block; font-size: 17px; font-weight: 700; color: var(--ink-900); }
.feature > span:last-child > span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--ink-500); }
.feature__icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 16px; color: #fff; }
.feature__icon svg { width: 24px; height: 24px; }
.feature__icon--blue { background: linear-gradient(135deg, #0ea5e9, #2563eb); box-shadow: 0 10px 15px -3px rgba(59, 130, 246, .3); }
.feature__icon--rose { background: linear-gradient(135deg, #f43f5e, #db2777); box-shadow: 0 10px 15px -3px rgba(244, 63, 94, .3); }
.feature__icon--violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 10px 15px -3px rgba(139, 92, 246, .3); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ================= BOOK ================= */
.book { position: relative; background: #fff; padding: 40px 0; }
.book__grid { display: grid; gap: 32px; align-items: start; }
.book__intro .h2 { font-size: 2rem; line-height: 1.15; }
.steps { display: grid; gap: 20px; margin-top: 32px; }
.steps li { display: flex; gap: 16px; }
.steps__n { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #3b82f6, #7c3aed, #ec4899); color: #fff; font-size: 16px; font-weight: 800; box-shadow: var(--shadow-brand); }
.steps strong { display: block; font-size: 17px; font-weight: 700; color: var(--ink-900); }
.steps li > span:last-child > span { display: block; margin-top: 2px; font-size: 15px; line-height: 1.6; color: var(--ink-500); }
#book-form { scroll-margin-top: 16px; }

.card { border-radius: 2rem; border: 1px solid var(--ink-100); background: #fff; padding: 20px; box-shadow: 0 30px 70px -25px rgba(76, 29, 149, .35); }
.card__title { text-align: center; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink-900); }
.card__sub { max-width: 24rem; margin: 6px auto 24px; text-align: center; font-size: 15px; color: var(--ink-500); }

form { display: grid; gap: 14px; }
.field { min-width: 0; }
.input { position: relative; }
.input > svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-400); pointer-events: none; }
.input input { display: block; width: 100%; height: 56px; padding: 0 16px 0 48px; border-radius: 999px; border: 1px solid rgba(213, 217, 232, .8); background: rgba(255, 255, 255, .9); font-size: 16px; color: var(--ink-900); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.input input::placeholder { color: var(--ink-400); }
.input input:hover { border-color: var(--ink-300); }
.input input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(139, 92, 246, .15); }
input[aria-invalid="true"] { border-color: #f43f5e !important; }
input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(244, 63, 94, .12) !important; }
.error { display: none; margin: 6px 0 0 16px; font-size: 13px; font-weight: 600; color: #e11d48; }
.error.show { display: block; }

.captcha { padding-top: 4px; }
.captcha__label { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink-800); }
.captcha__label svg { width: 16px; height: 16px; color: #059669; }
.req { color: #f43f5e; margin-left: 2px; }
.captcha__row { display: flex; align-items: center; gap: 8px; }
.captcha__q { display: inline-flex; align-items: center; flex-shrink: 0; height: 48px; padding: 0 16px; border-radius: 12px; background: var(--brand-50); color: var(--brand-800); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; font-weight: 700; letter-spacing: .05em; box-shadow: inset 0 0 0 1px var(--brand-100); }
.captcha__row input { height: 48px; width: 96px; min-width: 0; padding: 0 16px; border-radius: 12px; border: 1px solid var(--ink-200); background: #fff; text-align: center; font-size: 16px; font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); -webkit-appearance: none; appearance: none; }
.captcha__row input::placeholder { color: var(--ink-400); }
.captcha__row input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(139, 92, 246, .15); }
.captcha__new { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; color: var(--ink-400); transition: background .15s, color .15s; }
.captcha__new:hover { background: var(--ink-100); color: var(--ink-600); }
.captcha__new svg { width: 18px; height: 18px; }

.btn--submit { width: 100%; height: 60px; margin-top: 6px; font-size: 18px; }
.btn--submit svg { width: 16px; height: 16px; }
.btn--submit[disabled] { opacity: .6; pointer-events: none; }
.alt-actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.alt-actions .btn { height: 54px; padding: 0 8px; font-size: 15px; min-width: 0; }
.alt-actions .btn--wa .wa { width: 22px; height: 22px; }
.btn--call { border: 1px solid #bfdbfe; background: #fff; color: #2563eb; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.btn--call:hover { border-color: #93c5fd; background: #eff6ff; }
.btn--call[disabled] { opacity: .6; }
.show-xs { display: none; }
.fineprint { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 4px; text-align: center; font-size: 13px; color: var(--ink-400); }
.fineprint svg { width: 16px; height: 16px; color: #10b981; }

/* Success */
.done { padding: 16px 0; text-align: center; animation: pop .5s cubic-bezier(.2, .8, .2, 1) both; }
.done:focus { outline: none; }
.done__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #3b82f6, #7c3aed, #ec4899); color: #fff; box-shadow: var(--shadow-brand); }
.done__icon svg { width: 28px; height: 28px; }
.done h2 { margin-top: 20px; font-size: 1.5rem; font-weight: 800; color: var(--ink-900); }
.done > p { max-width: 24rem; margin: 8px auto 0; font-size: 15px; line-height: 1.6; color: var(--ink-500); }
.done > p strong { white-space: nowrap; color: var(--ink-800); }
.done .btn--wa { max-width: 24rem; margin: 24px auto 0; }
.done__hint { font-size: 13px !important; color: var(--ink-400) !important; }
.link { margin-top: 20px; font-size: 14px; font-weight: 600; color: var(--brand-700); }
.link:hover { text-decoration: underline; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--ink-100); }
.stats li { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: left; line-height: 1.2; }
.stats svg { width: 20px; height: 20px; }
.stats strong { display: block; font-size: 15px; font-weight: 800; color: var(--ink-900); }
.stats li > span > span { font-size: 12px; color: var(--ink-500); }
.c-brand { color: var(--brand-600); } .c-pink { color: #ec4899; } .c-blue { color: #2563eb; }

/* ================= PLANS ================= */
.plans { background: #fff; padding: 56px 0; }
.plans__grid { display: grid; gap: 16px; margin-top: 40px; }
.plan { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; border: 1px solid var(--ink-100); background: #fff; box-shadow: var(--shadow-card); }
.plan--popular { border-color: var(--brand-300); box-shadow: var(--shadow-card), 0 0 0 2px rgba(139, 92, 246, .3); }
.plan__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; color: #fff; }
.plan__head p { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; }
.plan__head--sky { background: linear-gradient(90deg, #0ea5e9, #2563eb); }
.plan__head--brand { background: linear-gradient(90deg, #7c3aed, #d946ef); }
.plan__head--orange { background: linear-gradient(90deg, #f97316, #ec4899); }
.plan__badge { border-radius: 999px; background: #fff; padding: 4px 12px; font-size: 12px; font-weight: 700; color: var(--brand-700); }
.plan__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.plan__min { font-size: 2.25rem; font-weight: 800; color: var(--ink-900); }
.plan__min span { font-size: 16px; font-weight: 600; color: var(--ink-500); }
.plan__team { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--ink-600); }
.plan__team svg { width: 16px; height: 16px; color: var(--brand-600); }
.plan__body .btn { margin-top: 24px; width: 100%; }

/* ================= FAQ ================= */
.faq { background: rgba(246, 247, 251, .7); padding: 56px 0; }
.accordion { margin-top: 32px; border-radius: 24px; border: 1px solid var(--ink-100); background: #fff; }
.accordion__item + .accordion__item { border-top: 1px solid var(--ink-100); }
.accordion h3 { margin: 0; }
.accordion__item button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; text-align: left; font-size: 16px; font-weight: 600; color: var(--ink-900); }
.accordion__item button:hover { color: var(--brand-700); }
.accordion__item button svg { width: 20px; height: 20px; color: var(--ink-400); transition: transform .2s; }
.accordion__item.is-open button svg { transform: rotate(180deg); color: var(--brand-600); }
.accordion__body { padding: 0 24px 24px; font-size: 15px; line-height: 1.6; color: var(--ink-500); }

/* ================= DARK CTA ================= */
.cta { position: relative; overflow: hidden; background: #000; color: #fff; padding: 56px 0; }
.cta__blob { position: absolute; border-radius: 50%; filter: blur(64px); }
.cta__blob--1 { left: -80px; top: 40px; width: 288px; height: 288px; background: rgba(37, 99, 235, .25); }
.cta__blob--2 { right: -80px; bottom: 0; width: 320px; height: 320px; background: rgba(192, 38, 211, .25); }
.cta__inner { position: relative; }
.cta__avatar { position: relative; width: 168px; height: 168px; margin: 0 auto; padding: 5px; border-radius: 50%; background: linear-gradient(135deg, #1fa2ff, #7c3aed, #e83fd1); box-shadow: 0 24px 60px -18px rgba(124, 58, 237, .85); }
.cta__avatar::before { content: ""; position: absolute; inset: -28px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .5), transparent 70%); filter: blur(12px); z-index: 0; }
.cta__avatar img { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 15%; border: 4px solid #0b0d1f; }
.cta__eyebrow { margin-top: 20px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; color: #34d399; }
.cta__title { margin-top: 12px; font-size: 2rem; font-weight: 800; text-transform: uppercase; line-height: 1.05; letter-spacing: -.02em; }
.cta__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
.cta__actions .btn { width: 100%; }

.foot { background: #fff; border-top: 1px solid var(--ink-100); color: var(--ink-500); text-align: center; padding: 36px 16px calc(32px + env(safe-area-inset-bottom)); }
.foot__inner { display: grid; gap: 10px; justify-items: center; }
.foot__brand { display: inline-block; line-height: 0; }
.foot__brand img { height: 64px; width: auto; }
.foot__tag { font-size: 14px; color: var(--ink-500); max-width: 28rem; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-top: 2px; }
.foot__links a, .foot__links button { font-size: 14px; font-weight: 700; color: var(--ink-800); min-height: 44px; display: inline-flex; align-items: center; }
.foot__links a:hover, .foot__links button:hover { color: var(--brand-700); text-decoration: underline; }
.foot__copy { font-size: 12px; color: var(--ink-400); margin-top: 2px; }

/* ================= Animations ================= */
@keyframes pop { 0% { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes glow { 0%, to { opacity: .65; transform: scale(1); } 50% { opacity: .95; transform: scale(1.03); } }
@keyframes sheen { 0% { transform: translate(0) rotate(12deg); } 45%, to { transform: translate(520%) rotate(12deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ================= Breakpoints ================= */
@media (max-width: 379px) {
  .hide-xs { display: none; } .show-xs { display: inline; }
  .stats { gap: 4px; }
  .stats li { gap: 4px; }
  .stats svg { width: 18px; height: 18px; }
  .stats strong { font-size: 14px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats li > span > span { font-size: 12px; white-space: normal; line-height: 1.2; } /* wraps inside the card instead of poking past its edge */
}

@media (min-width: 640px) {
  .sm-inline { display: inline; }
  .h2 { font-size: 2.5rem; }
  .section-lead { font-size: 1.125rem; }
  .card { padding: 32px; }
  .stats svg { width: 24px; height: 24px; }
  .stats li > span > span { font-size: 13px; }
  .solves { padding: 64px 0; }
  .feature { padding: 20px; }
  .plans, .faq, .cta { padding: 80px 0; }
  .cta__title { font-size: 3rem; }
  .cta__avatar { width: 200px; height: 200px; }
  .cta__actions { flex-direction: row; justify-content: center; }
  .cta__actions .btn { width: auto; }
  .hero__actions { flex-direction: row; justify-content: center; }
  .btn--xl { width: auto; padding: 0 36px; }
}

@media (min-width: 768px) {
  .features { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
  .feature { flex-direction: column; gap: 12px; padding: 24px; }
  .plans__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }

  .hero__grid { grid-template-columns: minmax(0, 1fr) 430px; justify-items: stretch; align-items: start; gap: 64px; padding: 32px 0 80px; }
  .video { width: 100%; order: 2; margin: 0; }
  .hero__copy { display: block; text-align: left; position: sticky; top: 32px; align-self: start; padding-top: 40px; }
  .hero__copy .hero__lead { display: block; }
  .hero__copy .hero__actions { display: flex; }
  .hero__media { display: flex; flex-direction: column; gap: 32px; order: 2; }
  .hero__media #book-form { width: 100%; margin-top: 0; }
  .hero__copy h1 { max-width: 11ch; font-size: 3.75rem; letter-spacing: -.025em; text-align: left; }
  .hero__copy .hero__lead { font-size: 1.25rem; margin-top: 12px; margin-left: 0; text-align: left; }
  .hero__actions { width: auto; justify-content: flex-start; flex-wrap: wrap; } /* 1024–1279px: second button wraps instead of running under the form */
  .hero__copy .checks { justify-content: flex-start; }

  .book { padding: 80px 0; }
  .book__grid { grid-template-columns: 1fr 480px; gap: 64px; }
  .book__intro { padding-top: 24px; }
  .book__intro .h2 { font-size: 2.6rem; }
}

/* ================= SITE HEADER ================= */
.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  border-radius: 9999px;
  background: var(--ink-900);
  color: #fff;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(234, 238, 246, 0.95);
  transition: all 0.2s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  height: 72px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .site-header__inner { padding: 0 24px; }
}
@media (min-width: 1024px) {
  .site-header__inner { padding: 0 32px; }
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}
.site-header__logo {
  display: block;
  height: 36px;
  width: auto;
  user-select: none;
}
@media (min-width: 640px) {
  .site-header__logo { height: 40px; }
}

/* Desktop Nav */
.site-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
/* Full desktop nav from 1280px; 1024–1279px uses the menu button (nav + actions did not fit at 1024px). */
@media (min-width: 1280px) {
  .site-nav { display: flex; }
}

.site-nav__item {
  position: relative;
}

.site-nav__link,
.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  color: #283652;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  font-family: inherit;
}
.site-nav__link:hover,
.site-nav__trigger:hover,
.site-nav__item:hover .site-nav__trigger,
.site-nav__item.is-open .site-nav__trigger {
  color: #302dd3;
  background: #eef2ff;
}
.site-nav__chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.site-nav__item:hover .site-nav__chevron,
.site-nav__item.is-open .site-nav__chevron {
  transform: rotate(180deg);
}

/* Mega Menus */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 10px;
  z-index: 100;
}
/* The wide menus (Product, Industries) are centred on the header bar, not on
   their button, so they never run off the left edge of the screen. Their top
   starts at the button's bottom edge, and the padding bridges the gap down to
   the panel, so hovering from the button into the menu doesn't close it. */
.site-header__inner { position: relative; }
.site-nav__item:has(.mega-menu--wide),
.site-nav__item:has(.mega-menu--cols2) { position: static; }
.mega-menu--wide,
.mega-menu--cols2 {
  top: calc(50% + 20px);
  padding-top: 22px;
}
.site-nav__item:hover .mega-menu,
.site-nav__item.is-open .mega-menu {
  display: block;
}

.mega-menu__grid,
.mega-menu__items {
  background: #ffffff;
  border: 1px solid #eaeef6;
  border-radius: 24px;
  box-shadow: 0 20px 45px -12px rgba(11, 26, 51, 0.14), 0 0 0 1px rgba(11, 26, 51, 0.04);
  overflow: hidden;
  animation: navFadeUp 0.18s ease-out;
}
.mega-menu--wide .mega-menu__grid {
  width: min(920px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 12px;
  padding: 12px;
  border-radius: 24px 24px 0 0;
  border-bottom: 0;
}
.mega-menu--wide .mega-menu__footer {
  border-radius: 0 0 24px 24px;
  border: 1px solid #eaeef6;
  border-top: 1px solid #eaeef6;
  box-shadow: 0 20px 45px -12px rgba(11, 26, 51, 0.14);
}
.mega-menu--cols2 .mega-menu__grid {
  width: 640px;
  display: block;
  padding: 12px;
  border-radius: 24px 24px 0 0;
  border-bottom: 0;
}
.mega-menu--cols2 .mega-menu__footer {
  border-radius: 0 0 24px 24px;
  border: 1px solid #eaeef6;
  border-top: 1px solid #eaeef6;
  box-shadow: 0 20px 45px -12px rgba(11, 26, 51, 0.14);
}
.mega-menu--single {
  width: 340px;
}
.mega-menu--single .mega-menu__items {
  padding: 12px;
}

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

.mega-menu__heading {
  padding: 8px 12px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7684a3;
}

.mega-menu__items {
  display: grid;
  gap: 4px;
}
.mega-menu__items--2col {
  grid-template-columns: repeat(2, 1fr);
  box-shadow: none;
  border: none;
  border-radius: 0;
}

.mega-menu__card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.mega-menu__card:hover {
  background: #f5f7fb;
}

.mega-menu__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #eef2ff;
  color: #302dd3;
  transition: background 0.15s ease, color 0.15s ease;
}
.mega-menu__card:hover .mega-menu__icon {
  background: #3b3cef;
  color: #ffffff;
}
.mega-menu__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mega-menu__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mega-menu__title {
  font-size: 14px;
  font-weight: 600;
  color: #0b1a33;
}
.mega-menu__sub {
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.35;
  color: #546281;
}

/* Featured card in Product mega menu */
.mega-menu__featured {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #061023;
  padding: 20px;
  color: #d3dae8;
}
.mega-menu__featured::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 60, 239, 0.45) 0%, transparent 70%);
  pointer-events: none;
}
.mega-menu__feat-eyebrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a3b4fd;
}
.badge-new {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #1f4ef5 0%, #5a3df5 50%, #a646f4 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.mega-menu__feat-title {
  position: relative;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}
.feat-icon {
  width: 20px;
  height: 20px;
  color: #a3b4fd;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.mega-menu__feat-desc {
  position: relative;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: #a8b3cb;
}
.mega-menu__feat-list {
  position: relative;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  list-style: none;
}
.mega-menu__feat-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #d3dae8;
}
.chk-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #34d399;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.mega-menu__feat-actions {
  position: relative;
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.btn-feat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}
.btn-feat--primary {
  background: linear-gradient(90deg, #1f4ef5 0%, #5a3df5 50%, #a646f4 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px -10px rgba(59, 60, 239, 0.55);
}
.btn-feat--primary:hover {
  filter: brightness(1.1);
}
.btn-feat--secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.btn-feat--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mega menu footer */
.mega-menu__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  background: #f5f7fb;
  border-top: 1px solid #eaeef6;
}
.mega-menu__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #283652;
  text-decoration: none;
  transition: color 0.15s;
}
.mega-menu__footer-link:hover {
  color: #302dd3;
}
.mega-menu__footer-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Right Header Actions */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Language switch: /book/ <-> /es/book/ */
.site-header__lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid #d3dae8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #0b1a33;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.site-header__lang:hover { background: #eaeef6; border-color: #a8b3cb; }

.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 10px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  color: #0b1a33;
  text-decoration: none;
  transition: background 0.15s;
}
.site-header__phone:hover {
  background: #eaeef6;
}
.site-header__phone-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: #eef2ff;
  color: #3b3cef;
  flex-shrink: 0;
}
.site-header__phone-badge svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.site-header__phone-label {
  display: none;
  white-space: nowrap;
}
@media (min-width: 1280px) {
  .site-header__phone-label { display: inline; }
  .site-header__phone { padding: 0 12px 0 6px; }
}

/* Header Action Buttons */
.site-header__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
}
.site-header__btn--secondary {
  display: none;
  background: #ffffff;
  color: #0b1a33;
  border: 1px solid #d3dae8;
}
@media (min-width: 768px) {
  .site-header__btn--secondary { display: inline-flex; }
}
.site-header__btn--secondary:hover {
  background: #f5f7fb;
  border-color: #a8b3cb;
}

.site-header__btn--primary {
  display: none;
  background: linear-gradient(90deg, #1f4ef5 0%, #5a3df5 50%, #a646f4 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px -10px rgba(59, 60, 239, 0.55);
}
@media (min-width: 640px) {
  .site-header__btn--primary { display: inline-flex; }
}
.site-header__btn--primary:hover {
  filter: brightness(1.1);
}
.site-header__btn--primary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.15s ease;
}
.site-header__btn--primary:hover svg {
  transform: translateX(2px);
}

/* Mobile burger button */
.site-header__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #0b1a33;
  transition: background 0.15s;
}
.site-header__burger:hover {
  background: #eaeef6;
}
.site-header__burger svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
@media (min-width: 1280px) {
  .site-header__burger { display: none; }
}

/* Mobile Drawer */
/* The drawer sits inside the header, whose backdrop-filter makes the header (not
   the screen) its containing block. So "bottom: 0" would end at the header's
   bottom; an explicit screen-height keeps it full height. */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  height: calc(100vh - 72px);
  height: calc(100dvh - 72px);
  overscroll-behavior: contain;
  z-index: 999;
  background: #ffffff;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 12px 16px 32px;
  animation: navFadeIn 0.2s ease-out;
}
@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav__links {
  flex: 1;
}
.mobile-nav__row {
  display: block;
  padding: 16px 4px;
  border-bottom: 1px solid #eaeef6;
  font-size: 18px;
  font-weight: 600;
  color: #0b1a33;
  text-decoration: none;
}
.mobile-nav__acc {
  border-bottom: 1px solid #eaeef6;
}
.mobile-nav__acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 4px;
  font-size: 18px;
  font-weight: 600;
  color: #0b1a33;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.mobile-nav__acc-btn svg {
  width: 20px;
  height: 20px;
  color: #7684a3;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.2s ease;
}
.mobile-nav__acc.is-open .mobile-nav__acc-btn svg {
  transform: rotate(180deg);
}
.mobile-nav__acc-body {
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav__acc-body[hidden] {
  display: none !important;
}

.mobile-nav__feat-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #061023;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 10px;
}
.mobile-nav__feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(90deg, #1f4ef5 0%, #5a3df5 50%, #a646f4 100%);
  color: #ffffff;
}
.mobile-nav__feat-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.feat-badge {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a3b4fd;
}
.feat-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.mobile-nav__group-label {
  padding: 6px 8px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7684a3;
}
.mobile-nav__sublink {
  display: block;
  padding: 8px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #283652;
  text-decoration: none;
}
.mobile-nav__sublink:hover {
  background: #f5f7fb;
  color: #302dd3;
}
.mobile-nav__sublink--bold {
  font-weight: 700;
  color: #302dd3;
  margin-top: 4px;
}

.mobile-nav__footer {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 700;
  color: #0b1a33;
  text-decoration: none;
}
.mobile-nav__call:hover {
  background: #f5f7fb;
}
.mobile-nav__call svg {
  width: 20px;
  height: 20px;
  color: #3b3cef;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Lead submission error (direct submit to /api/lead.php) */
.send-error { margin: 10px 0 0; text-align: center; }
