/* Parwarish Masterclass — standalone HTML/CSS/JS/PHP build.
   Faithful port of the Astro/Tailwind LP: leaf-green primary (#12824e), warm sand
   neutrals, deep-indigo ink (#1b1740), marigold secondary for bonuses/urgency.
   Headings = Plus Jakarta Sans; body = Inter. Mobile-first; breakpoints 640/1024px. */

:root {
  --paper: #fcfbf7;
  --ink: #1b1740;

  --sand-50: #faf8f3;
  --sand-100: #f5f1e8;
  --sand-200: #ece5d6;
  --sand-300: #ddd3bd;
  --sand-400: #c4b79a;
  --sand-500: #a89877;
  --sand-600: #877a5f;
  --sand-700: #675d49;
  --sand-800: #4a4335;

  --leaf-50: #eefbf2;
  --leaf-100: #d5f4de;
  --leaf-200: #ace8c1;
  --leaf-300: #78d69c;
  --leaf-400: #45bd77;
  --leaf-500: #1f9d57;
  --leaf-600: #12824e;
  --leaf-700: #0d6640;

  --marigold-100: #fff3d6;
  --marigold-500: #f5a623;
  --marigold-600: #d9861a;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--leaf-200);
  color: var(--ink);
}

.hidden { display: none !important; }

/* ── Layout containers ─────────────────────────────────────────────────── */
.container { max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }
.container-md { max-width: 64rem; margin-inline: auto; padding-inline: 1rem; }
.container-sm { max-width: 48rem; margin-inline: auto; padding-inline: 1rem; }

.section { padding-block: 4rem; }
@media (min-width: 640px) { .section { padding-block: 5rem; } }

.section-head { max-width: 42rem; margin-inline: auto; text-align: center; }
.section-head h2, .discover-grid h2, .mentor-copy h2 {
  margin-top: 0.5rem;
  font-size: 28px;
  line-height: 1.15;
  color: var(--ink);
}
@media (min-width: 640px) {
  .section-head h2, .discover-grid h2, .mentor-copy h2 { font-size: 36px; }
}
.section-sub { margin-top: 0.75rem; color: var(--sand-700); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--leaf-600);
}
.eyebrow-light { color: var(--leaf-300); }

.section-cta { margin-top: 2rem; text-align: center; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-image: linear-gradient(180deg, #1f9d57, #12824e 60%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px -8px rgba(18, 130, 78, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-primary:hover {
  filter: brightness(1.04);
  box-shadow: 0 14px 30px -8px rgba(18, 130, 78, 0.6);
}
.btn-primary:active { transform: translateY(1px); }

.btn-pill { border-radius: 9999px; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 14px; }
.btn-md { padding: 0.875rem 1.75rem; font-size: 16px; }
.btn-lg { padding: 1rem 2.25rem; font-size: 18px; }

.btn-white {
  display: inline-flex;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.15s ease;
}
.btn-white:hover { transform: translateY(-2px); }
.final-cta .btn-white { color: var(--leaf-700); }

.btn-block {
  width: 100%;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 16px;
}

.btn-ghost {
  flex-shrink: 0;
  border-radius: 0.75rem;
  border: 1px solid var(--sand-300);
  padding: 1rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--sand-700);
  transition: background-color 0.15s ease;
}
.btn-ghost:hover { background: var(--sand-50); }

/* ── Header ────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(27, 23, 64, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.625rem;
}
.topbar-brand img { height: 2rem; width: auto; }
@media (min-width: 640px) { .topbar-brand img { height: 2.25rem; } }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 9999px;
}
.hero-glow-1 {
  top: -6rem;
  left: 50%;
  transform: translateX(-50%);
  height: 420px;
  width: 720px;
  background: rgba(172, 232, 193, 0.45);
  filter: blur(130px);
}
.hero-glow-2 {
  right: -10%;
  top: 10rem;
  height: 300px;
  width: 300px;
  background: rgba(255, 227, 163, 0.4);
  filter: blur(120px);
}
.hero-grid {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 640px) { .hero-grid { padding-top: 3rem; } }
@media (min-width: 1024px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    padding-bottom: 5rem;
  }
}

.hero-copy { text-align: center; }
@media (min-width: 1024px) {
  .hero-copy { text-align: left; padding-top: 3.5rem; }
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: var(--leaf-100);
  padding: 0.375rem 0.875rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--leaf-700);
}
@media (min-width: 640px) { .live-badge { font-size: 12px; } }

.ping { position: relative; display: flex; height: 0.5rem; width: 0.5rem; }
.ping-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--leaf-400);
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.ping-dot {
  position: relative;
  display: inline-flex;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background: var(--leaf-500);
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.hero-copy h1 {
  max-width: 32rem;
  margin: 1.25rem auto 0;
  font-size: 34px;
  line-height: 1.04;
  color: var(--ink);
}
@media (min-width: 640px) { .hero-copy h1 { font-size: 46px; } }
@media (min-width: 1024px) { .hero-copy h1 { margin-inline: 0; font-size: 54px; } }

/* Highlight bar behind key words in headings */
.swipe { position: relative; display: inline-block; white-space: nowrap; }
.swipe > span { position: relative; z-index: 10; }
.swipe::after {
  content: "";
  position: absolute;
  inset-inline: -0.05em;
  bottom: 0.08em;
  height: 0.42em;
  z-index: 0;
  border-radius: 2px;
  background: var(--leaf-200);
}

.hero-sub {
  max-width: 28rem;
  margin: 1rem auto 0;
  font-size: 17px;
  line-height: 1.625;
  color: var(--sand-800);
}
@media (min-width: 640px) { .hero-sub { font-size: 18px; } }
@media (min-width: 1024px) { .hero-sub { margin-inline: 0; } }

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1024px) { .hero-actions { align-items: flex-start; } }
.hero-actions .btn-lg { width: 100%; max-width: 24rem; }
@media (min-width: 1024px) { .hero-actions .btn-lg { width: auto; } }

.hero-meta {
  font-size: 13px;
  line-height: 1.625;
  color: var(--sand-600);
}
.hero-meta strong { font-weight: 600; color: var(--sand-700); }

.hero-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.25rem;
  font-size: 14px;
  color: var(--sand-700);
}
.stars { display: flex; color: var(--marigold-500); letter-spacing: 0.05em; }
.hero-rating strong { color: var(--ink); }

.hero-portrait { margin-top: 2.5rem; }
@media (min-width: 1024px) { .hero-portrait { margin-top: 0; } }
.hero-portrait-inner {
  position: relative;
  max-width: 24rem;
  margin-inline: auto;
}
@media (min-width: 1024px) { .hero-portrait-inner { max-width: none; } }
.hero-portrait-frame {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--sand-200);
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(27, 23, 64, 0.4);
}
.hero-portrait-frame img { height: 100%; width: 100%; object-fit: cover; }
.hero-portrait-caption {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  width: 88%;
  transform: translateX(-50%);
  border-radius: 1rem;
  border: 1px solid var(--sand-200);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.75rem 1rem;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
}
.hero-portrait-caption .name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.hero-portrait-caption .role { font-size: 12px; color: var(--sand-700); }

/* ── Press strip ───────────────────────────────────────────────────────── */
.press {
  border-block: 1px solid var(--sand-200);
  background: var(--sand-50);
  padding-block: 1.75rem;
}
.press-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sand-600);
}
.press-logos {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
}
@media (min-width: 640px) { .press-logos { column-gap: 3rem; } }
.press-logos img {
  height: 1.5rem;
  width: auto;
  opacity: 0.6;
  filter: grayscale(1);
}
@media (min-width: 640px) { .press-logos img { height: 1.75rem; } }
.tedx {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--sand-500);
}
.tedx span { color: rgba(239, 68, 68, 0.7); }

/* ── Promises ──────────────────────────────────────────────────────────── */
.promise-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .promise-grid { grid-template-columns: repeat(3, 1fr); } }
.promise-card {
  border-radius: 1rem;
  border: 1px solid var(--sand-200);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.promise-icon {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--leaf-50);
  font-size: 24px;
}
.promise-card h3 {
  margin-top: 1rem;
  font-size: 20px;
  color: var(--ink);
}
.promise-card p {
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 1.625;
  color: var(--sand-700);
}

/* ── Testimonials carousel ─────────────────────────────────────────────── */
.testimonials {
  overflow: hidden;
  background: var(--sand-50);
  padding-block: 4rem;
}
@media (min-width: 640px) { .testimonials { padding-block: 5rem; } }
.testimonials-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.testimonials-head h2 {
  margin-top: 0.5rem;
  font-size: 28px;
  line-height: 1.15;
  color: var(--ink);
}
@media (min-width: 640px) { .testimonials-head h2 { font-size: 36px; } }
.carousel-arrows { display: none; flex-shrink: 0; gap: 0.5rem; }
@media (min-width: 640px) { .carousel-arrows { display: flex; } }
.carousel-arrows button {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--sand-300);
  background: #fff;
  color: var(--ink);
  transition: background-color 0.15s ease;
}
.carousel-arrows button:hover { background: var(--sand-100); }

.carousel {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 1rem 0.5rem;
}
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

.testi-card {
  height: 440px;
  width: 80vw;
  max-width: 320px;
  flex-shrink: 0;
  scroll-snap-align: center;
  border-radius: 1.5rem;
  border: 1px solid var(--sand-200);
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
@media (min-width: 640px) { .testi-card { width: 340px; } }

.testi-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}
.testi-quote blockquote {
  margin-top: 0.75rem;
  font-size: 15px;
  line-height: 1.625;
  color: var(--ink);
}
.testi-quote figcaption {
  margin-top: 1rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--sand-700);
}

.video-facade {
  position: relative;
  background: var(--ink);
  padding: 0;
}
.video-facade > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}
.video-facade:hover > img { opacity: 1; }
.video-facade iframe { height: 100%; width: 100%; border: 0; }
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn {
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease;
}
.video-facade:hover .play-btn { transform: scale(1.1); }
.play-btn svg { margin-left: 2px; height: 1.5rem; width: 1.5rem; color: var(--leaf-600); }
.watch-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.25rem 0.625rem;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.testi-shot img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

/* ── For whom (dark) ───────────────────────────────────────────────────── */
.forwhom {
  background: var(--ink);
  color: #fff;
  padding-block: 4rem;
}
@media (min-width: 640px) { .forwhom { padding-block: 5rem; } }
.forwhom h2 { color: #fff; }
.forwhom-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) { .forwhom-grid { grid-template-columns: 1fr 1fr; } }
.forwhom-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.forwhom-item p {
  font-size: 14px;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.85);
}
.forwhom-note {
  max-width: 36rem;
  margin: 2rem auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}
.forwhom .section-cta { margin-top: 1.5rem; }

.check-badge {
  margin-top: 2px;
  display: flex;
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--leaf-100);
  color: var(--leaf-700);
}
.check-badge svg { height: 0.875rem; width: 0.875rem; }
.check-badge-dark {
  background: rgba(31, 157, 87, 0.2);
  color: var(--leaf-300);
}

/* ── Discover ──────────────────────────────────────────────────────────── */
.discover-grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .discover-grid { grid-template-columns: 1fr 1fr; } }
.discover-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  list-style: none;
}
.discover-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.discover-list li > span:last-child {
  font-size: 15px;
  line-height: 1.625;
  color: var(--ink);
}
.discover-img {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--sand-200);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.discover-img img { height: 100%; width: 100%; object-fit: cover; }

/* ── Bonuses ───────────────────────────────────────────────────────────── */
.bonuses { background: var(--sand-50); }
.tag {
  display: inline-flex;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tag-marigold { background: var(--marigold-100); color: var(--marigold-600); }
.tag-sm { border-radius: 0.375rem; padding: 0.25rem 0.625rem; font-size: 11px; }
.section-head .tag { margin-bottom: 0.25rem; }
.bonus-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .bonus-grid { grid-template-columns: repeat(3, 1fr); } }
.bonus-card {
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--sand-200);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.bonus-card h3 {
  margin-top: 0.75rem;
  font-size: 18px;
  color: var(--ink);
}
.bonus-card p {
  margin-top: 0.5rem;
  font-size: 14px;
  line-height: 1.625;
  color: var(--sand-700);
}

/* ── Mentor ────────────────────────────────────────────────────────────── */
.mentor-grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .mentor-grid { grid-template-columns: 0.9fr 1.1fr; } }
.mentor-img {
  order: 2;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--sand-200);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
@media (min-width: 1024px) { .mentor-img { order: 1; } }
.mentor-img img { height: 100%; width: 100%; object-fit: cover; }
.mentor-copy { order: 1; }
@media (min-width: 1024px) { .mentor-copy { order: 2; } }
.mentor-copy > p {
  margin-top: 0.75rem;
  line-height: 1.625;
  color: var(--sand-800);
}
.mentor-copy .mentor-quote { color: var(--sand-700); }
.stat-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  border-radius: 1rem;
  border: 1px solid var(--sand-200);
  background: #fff;
  padding: 1rem;
  text-align: center;
}
.stat-n {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--leaf-600);
}
.stat-l {
  margin-top: 0.25rem;
  font-size: 11px;
  line-height: 1.25;
  color: var(--sand-700);
}

/* ── Register ──────────────────────────────────────────────────────────── */
.register {
  background: var(--ink);
  scroll-margin-top: 5rem;
}
.register-grid { padding-block: 4rem; }
@media (min-width: 640px) { .register-grid { padding-block: 5rem; } }
@media (min-width: 1024px) {
  .register-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 3rem;
  }
}
.register-copy { text-align: center; }
@media (min-width: 1024px) { .register-copy { text-align: left; padding-top: 1rem; } }

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.375rem 0.875rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--leaf-300);
}
.meta-badge .dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background: var(--leaf-400);
}
.register-copy h2 {
  max-width: 28rem;
  margin: 1rem auto 0;
  font-size: 30px;
  line-height: 1.15;
  color: #fff;
}
@media (min-width: 640px) { .register-copy h2 { font-size: 40px; } }
@media (min-width: 1024px) { .register-copy h2 { margin-inline: 0; } }
.register-copy > p {
  max-width: 28rem;
  margin: 0.75rem auto 0;
  color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 1024px) { .register-copy > p { margin-inline: 0; } }
.register-copy strong { color: #fff; }

.countdown {
  margin-top: 1.5rem;
  display: flex;
  max-width: 28rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-inline: auto;
}
@media (min-width: 1024px) { .countdown { margin-inline: 0; justify-content: flex-start; } }
.countdown-label {
  margin-right: 0.25rem;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}
.countdown .unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.2rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.375rem 0.75rem;
}
.countdown .unit strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.countdown .unit span {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}
.countdown-live { font-size: 14px; font-weight: 600; color: #fff; }

.register-list {
  display: none;
  max-width: 28rem;
  margin-top: 1.5rem;
  gap: 0.5rem;
  list-style: none;
  text-align: left;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 1024px) { .register-list { display: grid; } }
.register-list li { display: flex; align-items: flex-start; gap: 0.5rem; }
.register-list .tick { color: var(--leaf-400); }

.register-card { margin-top: 2rem; position: relative; }
@media (min-width: 1024px) { .register-card { margin-top: 0; } }

/* No-JS flash banner (redirect fallback from process.php) */
.flash {
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 14px;
  font-weight: 500;
}
.flash-success { background: var(--leaf-100); color: var(--leaf-700); }
.flash-error { background: #fee2e2; color: #dc2626; }

/* ── Form ──────────────────────────────────────────────────────────────── */
#register-form {
  border-radius: 1.5rem;
  border: 1px solid var(--sand-200);
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 24px 60px -24px rgba(27, 23, 64, 0.28);
}
@media (min-width: 640px) { #register-form { padding: 1.5rem; } }

.progress { margin-bottom: 1.25rem; }
.progress-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--sand-600);
}
.progress-labels [data-steptitle] { color: var(--leaf-600); }
.progress-track {
  margin-top: 0.5rem;
  height: 0.375rem;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--sand-200);
}
.progress-bar {
  height: 100%;
  border-radius: 9999px;
  background: var(--leaf-500);
  transition: width 0.3s ease;
}

.form-step { display: grid; gap: 0.875rem; }
.form-head { text-align: center; }
.form-head h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}
.form-head p {
  margin-top: 0.25rem;
  font-size: 14px;
  color: var(--sand-700);
}

.field { display: grid; gap: 0.375rem; border: 0; }
.field label, .field legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.field legend { margin-bottom: 0.5rem; }
.optional { font-weight: 400; color: var(--sand-500); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--sand-300);
  background: var(--sand-50);
  padding: 0.75rem 1rem;
  font: inherit;
  color: var(--ink);
}
.field input::placeholder { color: var(--sand-500); }
.field select { appearance: none; }
.field select:invalid { color: var(--sand-500); }
.field input:focus,
.field select:focus {
  border-color: var(--leaf-500);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 2px var(--leaf-200);
}
.hint { font-size: 12px; color: var(--sand-600); }

.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.resource-option {
  display: flex;
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--sand-200);
  background: var(--sand-50);
  padding: 0.625rem 0.75rem;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.resource-option:has(:checked) {
  border-color: var(--leaf-400);
  background: var(--leaf-50);
}
.resource-option input {
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
  accent-color: var(--leaf-600);
}

.form-row {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Honeypot: hidden from humans, catches bots that fill every field. */
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
  pointer-events: none;
}

.form-error {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #dc2626;
}
.privacy {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 12px;
  color: var(--sand-600);
}

.spinner { height: 1.25rem; width: 1.25rem; animation: spin 1s linear infinite; }
.spinner .op25 { opacity: 0.25; }
.spinner .op90 { opacity: 0.9; }
@keyframes spin { to { transform: rotate(360deg); } }

button:disabled { opacity: 0.7; cursor: default; }

/* ── Success card ──────────────────────────────────────────────────────── */
.success-card {
  border-radius: 1.5rem;
  border: 1px solid var(--leaf-200);
  background: #fff;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 24px 60px -24px rgba(27, 23, 64, 0.28);
}
.success-icon {
  margin-inline: auto;
  display: flex;
  height: 4rem;
  width: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--leaf-100);
}
.success-icon svg { height: 2rem; width: 2rem; color: var(--leaf-600); }
.success-card h3 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
}
.success-sub {
  max-width: 24rem;
  margin: 0.5rem auto 0;
  color: var(--sand-700);
}
.btn-whatsapp {
  margin-top: 1.25rem;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: #25d366;
  padding: 1rem 1.5rem;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  transition: opacity 0.15s ease;
}
.btn-whatsapp:hover { opacity: 0.9; }
.btn-whatsapp svg { height: 1.25rem; width: 1.25rem; }
.btn-calendar {
  margin-top: 0.75rem;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--sand-300);
  padding: 0.875rem 1.5rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 0.15s ease;
}
.btn-calendar:hover { background: var(--sand-50); }
.btn-calendar svg { height: 1rem; width: 1rem; color: var(--sand-600); }
.success-meta {
  margin-top: 1.25rem;
  border-radius: 1rem;
  background: var(--sand-50);
  padding: 1rem;
  text-align: left;
  font-size: 14px;
  color: var(--sand-800);
}
.success-meta strong { color: var(--ink); }
.success-meta p + p { margin-top: 2px; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq {
  margin-top: 2rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--sand-200);
  background: #fff;
}
.faq details + details { border-top: 1px solid var(--sand-200); }
.faq summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 0.15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--sand-50); }
.faq summary svg {
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  color: var(--sand-500);
  transition: transform 0.15s ease;
}
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > p {
  padding: 0 1.25rem 1.25rem;
  font-size: 14px;
  line-height: 1.625;
  color: var(--sand-700);
}

/* ── Final CTA ─────────────────────────────────────────────────────────── */
.final-cta-wrap { padding-bottom: 5rem; }
.final-cta {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--leaf-600);
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: #fff;
}
@media (min-width: 640px) { .final-cta { padding-inline: 3rem; } }
.final-cta .blob {
  position: absolute;
  pointer-events: none;
  height: 14rem;
  width: 14rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
}
.blob-1 { right: -4rem; top: -4rem; }
.blob-2 { bottom: -5rem; left: -2.5rem; }
.final-cta h2 {
  position: relative;
  max-width: 42rem;
  margin-inline: auto;
  font-size: 28px;
  line-height: 1.15;
  color: #fff;
}
@media (min-width: 640px) { .final-cta h2 { font-size: 38px; } }
.final-cta p {
  position: relative;
  max-width: 36rem;
  margin: 0.75rem auto 0;
  color: rgba(255, 255, 255, 0.85);
}
.final-cta a {
  position: relative;
  margin-top: 1.75rem;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 3rem;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-brand img {
  height: 2.25rem;
  width: auto;
  margin-inline: auto;
}
@media (min-width: 640px) { .footer-brand img { margin-inline: 0; } }
.footer-brand p {
  margin-top: 0.5rem;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-social { display: flex; align-items: center; gap: 1rem; }
.footer-social a {
  display: flex;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.625rem;
  transition: background-color 0.15s ease;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.2); }
.footer-social svg { height: 1.25rem; width: 1.25rem; }
.footer-legal {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 12px;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Sticky bottom CTA (mobile) ────────────────────────────────────────── */
#sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.75rem;
  transform: translateY(130%);
  transition: transform 0.3s ease;
}
#sticky-cta.is-visible { transform: translateY(0); }
@media (min-width: 1024px) { #sticky-cta { display: none; } }
#sticky-cta > a {
  margin-inline: auto;
  display: flex;
  max-width: 28rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 1rem;
  background: var(--ink);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.sticky-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  color: #fff;
}
.sticky-label { font-size: 11px; color: rgba(255, 255, 255, 0.55); }
#countdown-mini {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sticky-btn {
  border-radius: 0.75rem;
  padding: 0.625rem 1.25rem;
  font-size: 14px;
}

/* ── Scroll reveal ─────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
