/* ═══════════════════════════════════════════════════════════
   SHALOM 2027 — Wellness Program for Catholic Sisters
   St. Dymphna National Institute of Wellness
   Light theme · Lavender / Purple / Gold · Fully responsive
   ═══════════════════════════════════════════════════════════ */

:root {
  --primary: #6b5b95;
  --primary-soft: #8b7ba8;
  --primary-dark: #4a3f73;
  --primary-deep: #312a4c;
  --lavender: #b8a9c9;
  --lavender-soft: #ede7f4;
  --bg-soft: #faf8fd;
  --gold: #c9a227;
  --gold-dark: #a8861b;
  --gold-soft: #f7eed3;
  --teal: #2a9d8f;
  --teal-soft: #e6f4f1;
  --coral: #e76f51;
  --wa: #22c15e;
  --wa-dark: #1a9a48;
  --ink: #2b2733;
  --muted: #6e6880;
  --line: #e9e2f2;
  --white: #ffffff;
  --shadow-sm: 0 4px 14px rgba(74, 63, 115, 0.08);
  --shadow-md: 0 10px 30px rgba(74, 63, 115, 0.12);
  --shadow-lg: 0 24px 60px rgba(74, 63, 115, 0.18);
  --radius: 22px;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
}

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--lavender-soft); color: var(--primary-dark); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--lavender); border-radius: 8px; border: 3px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-soft); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 3000;
  background: var(--primary); color: #fff; padding: 10px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ── Layout helpers ───────────────────────────────────────── */
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: 100px 0; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }

.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: "·"; margin: 0 10px; color: var(--lavender); font-size: 16px;
}

.section-title {
  font-family: var(--font-serif); font-weight: 700; line-height: 1.2;
  font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--ink);
}
.accent-script {
  font-family: var(--font-script); font-weight: 400; color: var(--primary);
  font-size: 1.25em; line-height: 1.25; padding-right: 0.12em;
}
.section-sub { color: var(--muted); font-size: 16px; margin-top: 16px; font-weight: 300; }

.ico { width: 20px; height: 20px; flex-shrink: 0; }
.ico-fill { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  line-height: 1.2; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease,
              background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-soft), var(--primary-dark));
  color: #fff; box-shadow: 0 10px 24px rgba(107, 91, 149, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px); box-shadow: 0 16px 34px rgba(107, 91, 149, 0.45);
  background: linear-gradient(135deg, #7b6ba8, var(--primary));
}

.btn-gold {
  background: linear-gradient(135deg, #eed678, #d3a92e);
  color: #4a3a08; box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover {
  transform: translateY(-3px); box-shadow: 0 14px 30px rgba(201, 162, 39, 0.45);
}

.btn-outline {
  background: var(--white); color: var(--primary-dark);
  border-color: var(--lavender); box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--primary); color: var(--primary);
  transform: translateY(-3px); box-shadow: var(--shadow-md);
}

.btn-wa {
  background: linear-gradient(135deg, #2fce6d, var(--wa-dark));
  color: #fff; box-shadow: 0 10px 26px rgba(34, 193, 94, 0.35);
}
.btn-wa:hover {
  transform: translateY(-3px); box-shadow: 0 16px 36px rgba(34, 193, 94, 0.45);
}

.btn-light-outline {
  background: rgba(255, 255, 255, 0.08); color: #fff;
  border-color: rgba(255, 255, 255, 0.55); backdrop-filter: blur(6px);
}
.btn-light-outline:hover {
  background: #fff; color: var(--primary-dark); border-color: #fff;
  transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ═══════════ HEADER ═══════════ */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: 0 8px 30px rgba(74, 63, 115, 0.12); }

.navbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-badge {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-soft), var(--primary-dark));
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(107, 91, 149, 0.35);
}
.brand-badge svg { width: 24px; height: 24px; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.brand-text small { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: block; padding: 9px 15px; border-radius: 10px;
  font-size: 0.93rem; font-weight: 500; color: #5a536e;
  transition: color 0.25s, background 0.25s; position: relative;
}
.nav-link:hover { color: var(--primary); background: var(--lavender-soft); }
.nav-link.active { color: var(--primary-dark); font-weight: 600; }
.nav-link.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.nav-cta { padding: 11px 22px; font-size: 0.88rem; }
.nav-cta-mobile { display: none; padding: 12px 6px 6px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 12px; background: var(--lavender-soft);
  padding: 10px;
}
.nav-toggle span {
  display: block; height: 2.5px; width: 100%; border-radius: 2px;
  background: var(--primary-dark); transition: transform 0.35s ease, opacity 0.25s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; overflow: hidden;
  padding: 78px 0 170px;
  background:
    radial-gradient(ellipse 900px 520px at 85% -10%, rgba(184, 169, 201, 0.28), transparent 60%),
    radial-gradient(ellipse 700px 480px at -10% 40%, rgba(233, 214, 160, 0.20), transparent 60%),
    linear-gradient(180deg, #fdfcfe 0%, var(--bg-soft) 100%);
}

.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55;
  animation: blobFloat 14s ease-in-out infinite alternate; pointer-events: none;
}
.hero-blob-1 { width: 420px; height: 420px; top: -120px; right: -100px; background: #e3d9f1; }
.hero-blob-2 { width: 340px; height: 340px; bottom: -60px; left: -120px; background: #f4ead2; animation-delay: -7s; }

.hero-rings { position: absolute; top: -140px; right: -140px; width: 560px; height: 560px; pointer-events: none; opacity: 0.5; }
.hero-rings::before, .hero-rings::after {
  content: ""; position: absolute; border-radius: 50%; border: 1.5px dashed var(--lavender);
}
.hero-rings::before { inset: 0; animation: slowSpin 70s linear infinite; }
.hero-rings::after { inset: 90px; border-style: solid; opacity: 0.5; animation: slowSpin 50s linear infinite reverse; }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 46px; align-items: center;
  text-align: center;
}

.hero-eyebrow {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  margin-bottom: 14px; text-align: center;
}
.eyebrow-row { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.eyebrow-rule {
  display: inline-block; width: 44px; height: 2px; border-radius: 2px; flex-shrink: 0;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow-rule-r { background: linear-gradient(90deg, var(--gold), transparent); }
.hero-eyebrow span { font-size: 13.5px; font-weight: 600; color: var(--primary-dark); letter-spacing: 0.04em; }
.hero-eyebrow em { font-style: normal; font-size: 12.5px; font-weight: 400; color: var(--muted); }

.hero-title { margin-bottom: 2px; }
.script-word {
  display: block;
  font-family: var(--font-serif); font-weight: 900;               /* Playfair Display Black — standard, bold, no clipping */
  font-size: clamp(4.2rem, 21vw, 8rem);                            /* fills ~90% of phone width, breathing room on desktop */
  line-height: 1.12; letter-spacing: -0.015em;
  color: var(--primary-dark);                                      /* solid fallback (gradient is painted per-letter by JS) */
}
/* Wrapper: receives transforms — NEVER background-clip (prevents mobile ghost-text bug) */
.shalom-letter { display: inline-block; }
/* Inner: carries the gradient slice — NEVER transformed */
.shalom-letter-in {
  background: linear-gradient(115deg, var(--primary-dark) 0%, var(--primary-soft) 45%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-subtitle {
  display: block; font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.4rem, 4.5vw, 2.2rem); color: var(--ink); margin-top: 6px; line-height: 1.25;
}
.hero-audience {
  display: block; font-family: var(--font-serif); font-style: italic; font-weight: 700;
  font-size: clamp(1.7rem, 5.2vw, 2.8rem); color: var(--primary); line-height: 1.22; margin-top: 2px;
}

.hero-lead { color: var(--muted); max-width: 620px; margin: 18px auto 0; font-weight: 300; font-size: 16.5px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; justify-content: center; }
.meta-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-size: 14px; font-weight: 500; color: #4a4460;
  box-shadow: var(--shadow-sm);
}
.meta-pill .ico { width: 17px; height: 17px; color: var(--primary); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; justify-content: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-size: 13.5px; font-weight: 600; color: var(--primary-dark);
}
.pulse-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--teal); opacity: 0.7;
  animation: pulseRing 1.8s ease-out infinite;
}

/* Hero visual */
.hero-visual { position: relative; max-width: 760px; margin: 0 auto; width: 100%; }
.hero-frame {
  border-radius: 30px; overflow: hidden; border: 8px solid #fff; outline: 1px solid var(--line);
  box-shadow: var(--shadow-lg); animation: floatY 6s ease-in-out infinite;
}
.hero-frame img { width: 100%; aspect-ratio: 7 / 4; object-fit: cover; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 11px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.float-chip .ico { width: 22px; height: 22px; }
.float-chip strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.3; }
.float-chip small { font-size: 11.5px; color: var(--muted); font-weight: 400; }
.float-chip-1 { top: -20px; right: -6px; animation: floatY 5s ease-in-out infinite 0.6s; }
.float-chip-1 .ico { color: var(--gold-dark); }
.float-chip-2 { bottom: 40px; left: -18px; animation: floatY 5.6s ease-in-out infinite 1.2s; }
.float-chip-2 .ico { color: var(--teal); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
  animation: bounceY 2.2s ease-in-out infinite; z-index: 3;
}
.hero-scroll .ico { width: 18px; height: 18px; }

/* ═══════════ SHALOM TITLE — RANDOM ANIMATION LOOP ═══════════ */
/* A different effect plays on the title every ~5 seconds (driven by JS).
   Only the letter WRAPPER is transformed — the gradient inner span is never
   touched, which keeps mobile browsers from painting ghost copies. */

/* Whole-word effects */
.script-word.anim-pop   { animation: shalomPop 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.script-word.anim-glow  { animation: shalomGlow 2.4s ease-in-out both; }

/* Letter effects — gentle, sequential, always returning cleanly to baseline */
.script-word.anim-wave    .shalom-letter { animation: shalomWave 0.85s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; animation-delay: var(--d, 0s); }
.script-word.anim-jump    .shalom-letter { animation: shalomJump 0.75s cubic-bezier(0.28, 0.84, 0.42, 1) both; animation-delay: var(--d, 0s); }
.script-word.anim-shimmer .shalom-letter { animation: shalomShimmer 1.6s ease-in-out both; animation-delay: var(--d, 0s); }

@keyframes shalomPop {
  0%, 100% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.06) rotate(-1.5deg); }
  55% { transform: scale(0.97) rotate(1deg); }
  78% { transform: scale(1.025) rotate(-0.5deg); }
}
@keyframes shalomGlow {
  0%, 100% { filter: drop-shadow(0 4px 14px rgba(107, 91, 149, 0)); }
  40% { filter: drop-shadow(0 10px 34px rgba(122, 95, 180, 0.55)); }
  60% { filter: drop-shadow(0 10px 34px rgba(200, 170, 90, 0.5)); }
}
@keyframes shalomWave {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-0.075em); }
  70% { transform: translateY(0.02em); }
}
@keyframes shalomJump {
  0%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-0.11em) scale(1.03); }
  70% { transform: translateY(0.015em) scale(1); }
}
@keyframes shalomShimmer {
  0%, 100% { filter: brightness(1); }
  45% { filter: brightness(1.4) drop-shadow(0 4px 14px rgba(233, 214, 160, 0.65)); }
}

/* ═══════════ COUNTDOWN ═══════════ */
.countdown { position: relative; z-index: 5; margin-top: -86px; padding-bottom: 100px; }
.countdown-card {
  background: linear-gradient(135deg, #ffffff 0%, #faf7fd 100%);
  border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg);
  padding: 38px 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 36px;
  position: relative; overflow: hidden;
}
.countdown-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(184, 169, 201, 0.22), transparent 70%);
}
.countdown-head .section-eyebrow { margin-bottom: 8px; }
.countdown-title {
  font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--ink);
}
.countdown-title sup { font-size: 0.55em; color: var(--primary); }

.countdown-grid { display: flex; align-items: center; gap: 10px; position: relative; }
.count-unit { text-align: center; }
.count-num {
  display: flex; align-items: center; justify-content: center;
  min-width: 86px; padding: 14px 10px; border-radius: 18px;
  background: var(--lavender-soft); border: 1px solid #e5dcef;
  font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--primary-dark);
  font-variant-numeric: tabular-nums; line-height: 1.15;
  transition: transform 0.2s ease;
}
.count-unit small {
  display: block; margin-top: 8px; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.count-sep {
  font-size: 1.8rem; font-weight: 700; color: var(--lavender); padding-bottom: 26px;
}
.countdown-note { display: none; }
.countdown-note.visible { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); font-style: italic; }

/* ═══════════ QUICK INFO ═══════════ */
.quick-info { padding: 0 0 100px; }
.qi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.qi-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.qi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--lavender); }
.qi-icon {
  width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--lavender-soft), #f8f5fc);
  color: var(--primary); display: inline-flex; align-items: center; justify-content: center;
}
.qi-icon .ico { width: 24px; height: 24px; }
.qi-card h3 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px;
}
.qi-card p { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.45; }

/* ═══════════ ABOUT ═══════════ */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }

.about-visual { position: relative; }
.about-img-wrap {
  position: relative; border-radius: 30px; overflow: hidden;
  border: 8px solid #fff; outline: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.about-img-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(49, 42, 76, 0.45));
}
.about-quote-card {
  position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 13px 18px; font-size: 14.5px; color: var(--ink);
  box-shadow: var(--shadow-md); line-height: 1.5;
}
.about-quote-card em {
  font-family: var(--font-script); font-style: normal; font-size: 1.7rem;
  color: var(--primary); margin-right: 6px; line-height: 1.25;
}

.about-content .section-title { margin-bottom: 20px; }
.about-content p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.about-content p strong { color: var(--ink); font-weight: 600; }

.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 26px 0 6px; }
.about-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; font-weight: 500; color: #4a4460; line-height: 1.5; }
.about-list .ico {
  width: 24px; height: 24px; padding: 4px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-soft); color: var(--teal); margin-top: 2px;
}

.about-stats {
  display: flex; flex-wrap: wrap; gap: 12px 34px;
  border-top: 1px dashed var(--lavender); margin-top: 26px; padding-top: 26px;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-weight: 800; font-size: 2rem; color: var(--primary); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat small { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; margin-top: 4px; }

/* ═══════════ COURSES ═══════════ */
.courses {
  background:
    radial-gradient(circle, rgba(184, 169, 201, 0.13) 1.2px, transparent 1.2px) 0 0 / 28px 28px,
    var(--bg-soft);
}
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }

.course-card {
  background: #fff; border: 1px solid transparent; border-radius: 20px;
  padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.course-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary-soft), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.course-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: var(--line); }
.course-card:hover::before { transform: scaleX(1); }

.course-icon {
  width: 56px; height: 56px; border-radius: 17px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--lavender-soft), #f8f4fc);
  color: var(--primary); display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.course-icon .ico { width: 26px; height: 26px; }
.course-card:hover .course-icon { transform: rotate(-8deg) scale(1.08); color: var(--gold-dark); }

.course-card h3 { font-size: 1.06rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; line-height: 1.4; }
.course-card p { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 300; }

/* ═══════════ JOURNEY ═══════════ */
.journey { background: #fff; }
.journey-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative;
  counter-reset: step;
}
.journey-track::before {
  content: ""; position: absolute; top: 26px; left: 11%; right: 11%;
  border-top: 2px dashed var(--lavender);
}
.journey-step { position: relative; text-align: left; padding: 0 4px; }
.step-num {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
  width: 55px; height: 55px; border-radius: 50%; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary-soft), var(--primary-dark));
  color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.03em;
  box-shadow: 0 0 0 7px #fff, 0 10px 22px rgba(107, 91, 149, 0.35);
}
.journey-step h3 { font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.journey-step p { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 300; }

/* ═══════════ WHY ═══════════ */
.why { background: linear-gradient(180deg, var(--bg-soft), #f6f2fa); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }

.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 54px; height: 54px; border-radius: 16px; margin-bottom: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.why-icon .ico { width: 25px; height: 25px; }
.why-card:nth-child(3n+1) .why-icon { background: var(--lavender-soft); color: var(--primary); }
.why-card:nth-child(3n+2) .why-icon { background: var(--gold-soft); color: var(--gold-dark); }
.why-card:nth-child(3n) .why-icon { background: var(--teal-soft); color: var(--teal); }
.why-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 300; }

/* ═══════════ VENUE ═══════════ */
.venue { background: #fff; }
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.venue-content .section-title { margin-bottom: 18px; }
.venue-content > p { color: var(--muted); font-size: 15.5px; }
.venue-content > p strong { color: var(--ink); font-weight: 600; }

.venue-details { margin: 26px 0 30px; display: grid; gap: 16px; }
.venue-details li { display: flex; align-items: flex-start; gap: 15px; }
.vd-icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; margin-top: 2px;
  background: var(--lavender-soft); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.venue-details strong { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.venue-details span { font-size: 15px; color: var(--muted); }
.venue-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.venue-visual .venue-img-wrap {
  border-radius: 26px; overflow: hidden; border: 7px solid #fff;
  outline: 1px solid var(--line); box-shadow: var(--shadow-lg); margin-bottom: 22px;
}
.venue-visual img { width: 100%; aspect-ratio: 7 / 4; object-fit: cover; }
.venue-map {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); line-height: 0;
}
.venue-map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ═══════════ TEAM ═══════════ */
.team { background: var(--bg-soft); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.person-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 36px 28px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.person-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.person-avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.45rem; letter-spacing: 0.02em;
  box-shadow: 0 0 0 7px var(--lavender-soft), 0 10px 22px rgba(74, 63, 115, 0.25);
}
.person-card:nth-child(1) .person-avatar { background: linear-gradient(135deg, #8b7ba8, var(--primary-dark)); }
.person-card:nth-child(2) .person-avatar { background: linear-gradient(135deg, #e6c65c, var(--gold-dark)); }
.person-card:nth-child(3) .person-avatar { background: linear-gradient(135deg, #4cc4b5, #1e8377); }
.person-card h3 { font-size: 1.02rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; line-height: 1.45; }
.person-role { font-size: 13px; font-weight: 500; color: var(--primary); letter-spacing: 0.05em; }

.community-strip {
  position: relative; margin-top: 60px; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); outline: 1px solid var(--line);
}
.community-strip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.community-caption {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 30px;
  background: linear-gradient(180deg, rgba(49, 42, 76, 0.18), rgba(49, 42, 76, 0.62));
}
.community-caption p {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem); color: #fff; max-width: 760px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.community-caption span {
  font-size: 12.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* ═══════════ CTA ═══════════ */
.cta {
  position: relative; overflow: hidden; padding: 104px 0;
  background: linear-gradient(130deg, var(--primary-deep) 0%, var(--primary-dark) 55%, #5d4f8c 100%);
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.cta::before {
  width: 480px; height: 480px; top: -220px; left: -160px;
  background: radial-gradient(circle, rgba(184, 169, 201, 0.25), transparent 70%);
}
.cta::after {
  width: 420px; height: 420px; bottom: -200px; right: -120px;
  background: radial-gradient(circle, rgba(233, 214, 160, 0.18), transparent 70%);
}

.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-eyebrow {
  display: inline-block; padding: 9px 22px; border-radius: 999px;
  background: rgba(233, 214, 160, 0.14); border: 1px solid rgba(233, 214, 160, 0.45);
  color: #ecd98c; font-size: 12px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  margin-bottom: 26px;
}
.cta-title {
  font-family: var(--font-serif); font-weight: 700; color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.25; max-width: 780px; margin: 0 auto;
}
.script-word-2 {
  font-family: var(--font-script); font-weight: 400; color: #ecd98c;
  font-size: 1.25em; padding-right: 0.1em; line-height: 1.25;
}
.cta-sub { color: rgba(255, 255, 255, 0.82); max-width: 620px; margin: 18px auto 0; font-weight: 300; font-size: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 38px; }

/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--primary-deep); color: rgba(255, 255, 255, 0.72); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 0.9fr 1.2fr 1.2fr; gap: 44px;
  padding-top: 72px; padding-bottom: 54px;
}

.brand-footer .brand-badge { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.brand-footer .brand-badge svg { color: #d9c8f0; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: rgba(255, 255, 255, 0.5); }
.footer-tagline { font-family: var(--font-serif); font-style: italic; color: #cbbce8; font-size: 15.5px; margin-top: 16px; }
.footer-note { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); margin-top: 12px; line-height: 1.65; }

.footer-col h4 {
  color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 4px; }
.footer-col a {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: rgba(255, 255, 255, 0.7); padding: 6px 0;
  transition: color 0.25s, transform 0.25s;
}
.footer-col a:hover { color: #ecd98c; transform: translateX(4px); }
.footer-col a .ico { width: 16px; height: 16px; color: #9d8ec4; }

.footer-facts li {
  display: flex; justify-content: space-between; gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 9px 0; font-size: 14px;
}
.footer-facts .fk { color: rgba(255, 255, 255, 0.5); flex-shrink: 0; }
.footer-facts span:last-child { text-align: right; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 22px 0; }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, 0.5);
}
.footer-love { letter-spacing: 0.12em; text-transform: uppercase; font-size: 11.5px; }

/* ═══════════ FLOATING ACTIONS ═══════════ */
.floating-actions {
  position: fixed; right: 22px; bottom: 22px; z-index: 1200;
  display: flex; flex-direction: column; gap: 12px;
}
.fab {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.fab:hover { transform: translateY(-4px) scale(1.06); }
.fab .ico, .fab .ico-fill { width: 26px; height: 26px; }
.fab-wa { background: linear-gradient(135deg, #2fce6d, var(--wa-dark)); color: #fff; position: relative; }
.fab-wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 193, 94, 0.55); animation: fabPulse 2.4s ease-out infinite;
}
.fab-call { background: linear-gradient(135deg, var(--primary-soft), var(--primary-dark)); color: #fff; }

/* ═══════════ REVEAL ANIMATIONS ═══════════ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

/* ═══════════ KEYFRAMES ═══════════ */
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes blobFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, -24px) scale(1.08); } }
@keyframes slowSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes bounceY { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes fabPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 193, 94, 0.5); }
  70% { box-shadow: 0 0 0 18px rgba(34, 193, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 193, 94, 0); }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
  .hero-grid { gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .venue-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 920px) {
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 18px 24px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(74, 63, 115, 0.14);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }
  .header.nav-open .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { padding: 12px 14px; border-radius: 12px; }
  .nav-cta-mobile { display: block; }

  .hero { padding: 56px 0 150px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .hero-scroll { display: none; }

  .countdown-card { flex-direction: column; text-align: center; gap: 26px; padding: 32px 24px; }
  .countdown-grid { flex-wrap: wrap; justify-content: center; }

  .journey-track { grid-template-columns: 1fr 1fr; gap: 34px 26px; }
  .journey-track::before { display: none; }

  .team-grid { grid-template-columns: 1fr; max-width: 430px; margin: 0 auto; gap: 20px; }
}

@media (max-width: 640px) {
  .container { width: min(1200px, 100% - 36px); }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }

  .hero { padding: 48px 0 130px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 8px; }
  .meta-pill { padding: 9px 14px; font-size: 13px; }

  .float-chip-2 { left: -6px; bottom: -18px; }
  .float-chip-1 { right: -4px; }

  .countdown { margin-top: -76px; }
  .count-num { min-width: 68px; font-size: 1.5rem; padding: 11px 8px; }
  .count-sep { display: none; }

  .quick-info { padding-bottom: 72px; }
  .qi-grid { grid-template-columns: 1fr; }

  .about-list { grid-template-columns: 1fr; }
  .about-stats { gap: 18px 26px; }
  .stat-num { font-size: 1.7rem; }

  .journey-track { grid-template-columns: 1fr; }
  .courses-grid, .why-grid { grid-template-columns: 1fr; }

  .community-strip img { aspect-ratio: 4 / 3; }
  .venue-map iframe { height: 260px; }

  .cta { padding: 80px 0; }
  .cta-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 56px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }

  .floating-actions { right: 16px; bottom: 16px; }
  .fab { width: 52px; height: 52px; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}
