/* =========================================================
   Al Furqan Quran Academy — styles
   Palette matched to logo: emerald green, white, gold
   ========================================================= */
:root {
  --emerald-950: #031f15;
  --emerald-900: #06321f;
  --emerald-800: #0b4d33;
  --emerald-700: #0f6342;
  --emerald-600: #14784f;
  --emerald-100: #e3f1ea;
  --gold-600: #b8862b;
  --gold-500: #d4a73c;
  --gold-400: #e6c068;
  --gold-200: #f5e4b5;
  --cream: #fbf8f1;
  --white: #ffffff;
  --ink: #142a20;
  --muted: #56685f;
  --line: #e6e0cf;
  --wa: #25d366;
  --wa-dark: #128c4a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(6, 50, 31, .06);
  --shadow: 0 14px 40px -12px rgba(6, 50, 31, .22);
  --shadow-gold: 0 12px 30px -10px rgba(184, 134, 43, .55);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Amiri", "Times New Roman", serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald-700); text-decoration: none; }
a:hover { color: var(--gold-600); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -.25em; }
.ic .fill, symbol .fill { fill: currentColor; stroke: none; }
#i-whatsapp, #i-facebook, #i-crescent { stroke: none; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--gold-500); color: var(--emerald-950); padding: .6rem 1rem; border-radius: 8px; z-index: 1000; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .01em; border: 2px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .86rem; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--emerald-950); box-shadow: var(--shadow-gold); }
.btn-gold:hover { color: var(--emerald-950); box-shadow: 0 16px 34px -10px rgba(184, 134, 43, .75); }
.btn-emerald { background: linear-gradient(135deg, var(--emerald-700), var(--emerald-900)); color: var(--white); box-shadow: 0 10px 24px -12px rgba(6, 50, 31, .7); }
.btn-emerald:hover { color: var(--gold-200); }
.btn-outline { border-color: var(--emerald-700); color: var(--emerald-700); background: transparent; }
.btn-outline:hover { background: var(--emerald-700); color: var(--white); }
.btn-outline-light { border-color: rgba(245, 228, 181, .7); color: var(--white); background: rgba(255, 255, 255, .04); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: var(--white); color: var(--emerald-900); border-color: var(--white); }
.btn-whatsapp { background: var(--wa); color: #05301a; }
.btn-whatsapp:hover { background: #2fe072; color: #05301a; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .7); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; }
.topbar { background: var(--emerald-950); color: var(--gold-200); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; }
.topbar-note { margin: 0; display: flex; align-items: center; gap: .45rem; }
.topbar-note .ic { color: var(--gold-500); }
.topbar-links { display: flex; gap: 1.4rem; }
.topbar-links a { color: var(--gold-200); display: inline-flex; align-items: center; gap: .4rem; }
.topbar-links a:hover { color: var(--white); }
.navbar { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(212, 167, 60, .25); transition: box-shadow .3s ease; }
.site-header.scrolled .navbar { box-shadow: 0 8px 30px -12px rgba(6, 50, 31, .25); }
.site-header.scrolled .topbar { display: none; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--emerald-900); }
.brand-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold-500), 0 6px 16px -6px rgba(6, 50, 31, .6); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--emerald-800); }
.brand-sub { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; margin-top: .25rem; }
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; gap: .25rem; }
.nav-links a { display: block; padding: .5rem .75rem; color: var(--ink); font-weight: 600; font-size: .92rem; border-radius: 8px; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px; background: var(--gold-500); transform: scaleX(0); transition: transform .25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--emerald-700); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; color: var(--emerald-800); padding: .5rem; }
.nav-toggle .ic { width: 28px; height: 28px; }
.nav-toggle .ic-close { display: none; }

/* ---------- Eyebrows & headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--gold-400); }
.eyebrow-light::before { display: none; }
.eyebrow-light .ic { width: 1em; height: 1em; fill: currentColor; }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3rem); color: var(--emerald-900); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.mini-title { font-family: var(--font-display); font-size: 1.45rem; color: var(--emerald-800); margin-top: 1.5rem; }

.pattern-bg { background-color: var(--cream); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d4a73c' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3C/g%3E%3C/svg%3E"); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(1000px 600px at 78% 40%, rgba(212, 167, 60, .25), transparent 60%), radial-gradient(800px 500px at 10% 0%, rgba(20, 120, 79, .55), transparent 60%), linear-gradient(160deg, var(--emerald-900) 0%, var(--emerald-950) 70%); padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(7rem, 11vw, 9rem); }
.hero-pattern { position: absolute; inset: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23e6c068' stroke-opacity='.14' stroke-width='1'%3E%3Cpath d='M60 6l15 39 39 15-39 15-15 39-15-39L6 60l39-15z'/%3E%3Crect x='33' y='33' width='54' height='54' transform='rotate(45 60 60)'/%3E%3Crect x='33' y='33' width='54' height='54'/%3E%3Ccircle cx='60' cy='60' r='12'/%3E%3C/g%3E%3C/svg%3E"); mask-image: linear-gradient(180deg, #000 0%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 95%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.bismillah { font-family: var(--font-ar); font-size: 1.6rem; color: var(--gold-400); margin-bottom: .8rem; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 1.2rem; }
.hero h1 em { font-style: italic; background: linear-gradient(90deg, var(--gold-400), var(--gold-200), var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, .84); max-width: 600px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: rgba(255, 255, 255, .85); font-size: .92rem; font-weight: 600; }
.hero-trust li { display: flex; align-items: center; gap: .4rem; }
.hero-trust .ic { color: var(--gold-400); }
.hero-visual { position: relative; }
.emblem-frame { position: relative; border-radius: 50% 50% 28px 28px / 34% 34% 28px 28px; padding: 10px; background: linear-gradient(160deg, var(--gold-400), var(--gold-600) 50%, var(--gold-400)); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6), 0 0 80px rgba(212, 167, 60, .25); }
.emblem-frame img { border-radius: 50% 50% 20px 20px / 33% 33% 20px 20px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: #000; }
.float-card { position: absolute; display: flex; align-items: center; gap: .7rem; background: rgba(255, 255, 255, .96); color: var(--ink); padding: .75rem 1rem; border-radius: 14px; box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; }
.float-card .ic { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--emerald-100); color: var(--emerald-700); }
.float-card strong { display: block; font-size: .92rem; color: var(--emerald-900); }
.float-card span { font-size: .78rem; color: var(--muted); }
.fc-1 { left: -1.5rem; bottom: 18%; }
.fc-2 { right: -1rem; top: 12%; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.lanterns { position: absolute; inset: 0 0 auto 0; height: 0; pointer-events: none; }
.lantern { position: absolute; top: 0; width: 26px; height: 120px; transform-origin: top center; animation: sway 7s ease-in-out infinite; }
.lantern::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 70px; background: linear-gradient(var(--gold-400), var(--gold-600)); }
.lantern::after { content: ""; position: absolute; left: 0; top: 70px; width: 26px; height: 40px; border-radius: 50% 50% 8px 8px / 60% 60% 8px 8px; background: radial-gradient(circle at 50% 60%, #fff3c4 0%, var(--gold-400) 35%, var(--gold-600) 75%); box-shadow: 0 0 30px 8px rgba(230, 192, 104, .45); }
.l1 { left: 6%; }
.l2 { left: 44%; height: 90px; animation-delay: -2s; }
.l2::before { height: 45px; } .l2::after { top: 45px; }
.l3 { right: 4%; animation-delay: -4s; }
@keyframes sway { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(-3deg); } }
.skyline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(70px, 10vw, 140px); fill: var(--white); }

/* ---------- Stats ---------- */
.stats { margin-top: -3.5rem; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(212, 167, 60, .3); overflow: hidden; }
.stat { text-align: center; padding: 1.6rem 1rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--emerald-800); line-height: 1; }
.stat strong::after { content: "+"; color: var(--gold-500); }
.stat span { color: var(--muted); font-size: .88rem; font-weight: 600; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: start; }
.about-copy > p { color: var(--muted); font-size: 1.04rem; }
.check-list { display: grid; gap: .65rem; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; }
.check-list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.check-list .ic { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--emerald-100); color: var(--emerald-700); stroke-width: 2.6; }
.arch-card { position: relative; text-align: center; padding: 3.2rem 2rem 2.2rem; color: var(--white); background: linear-gradient(170deg, var(--emerald-700), var(--emerald-950)); border-radius: 50% 50% var(--radius) var(--radius) / 22% 22% var(--radius) var(--radius); box-shadow: var(--shadow), inset 0 0 0 2px rgba(230, 192, 104, .55), inset 0 0 0 10px var(--emerald-800), inset 0 0 0 11px rgba(230, 192, 104, .35); overflow: hidden; }
.arch-card::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 3l7.5 19.5L57 30l-19.5 7.5L30 57l-7.5-19.5L3 30l19.5-7.5z' fill='none' stroke='%23e6c068' stroke-opacity='.3'/%3E%3C/svg%3E"); }
.arch-card > * { position: relative; }
.arch-quote { font-family: var(--font-ar); font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--gold-400); line-height: 1.8; margin-bottom: .5rem; }
.arch-trans { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; }
.arch-src { color: var(--gold-200); font-size: .88rem; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips li { padding: .5rem 1rem; border-radius: 999px; background: var(--cream); border: 1px solid rgba(212, 167, 60, .45); color: var(--emerald-800); font-weight: 700; font-size: .9rem; }

/* ---------- Courses ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.course-card { position: relative; background: var(--white); padding: 2rem 1.75rem; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden; display: flex; flex-direction: column; }
.course-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--emerald-700), var(--gold-500)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(212, 167, 60, .5); }
.course-card:hover::after { transform: scaleX(1); }
.course-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 1.2rem; color: var(--gold-400); background: linear-gradient(145deg, var(--emerald-700), var(--emerald-900)); clip-path: polygon(50% 0, 64% 14%, 85% 15%, 86% 36%, 100% 50%, 86% 64%, 85% 85%, 64% 86%, 50% 100%, 36% 86%, 15% 85%, 14% 64%, 0 50%, 14% 36%, 15% 15%, 36% 14%); }
.course-icon .ic { width: 28px; height: 28px; }
.course-card h3 { font-family: var(--font-display); font-size: 1.55rem; color: var(--emerald-900); }
.course-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.course-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; color: var(--emerald-700); }
.course-link .ic { transition: transform .25s ease; }
.course-link:hover .ic { transform: translateX(4px); }

/* ---------- Fees ---------- */
.plan-toggle { display: flex; justify-content: center; gap: .3rem; width: max-content; max-width: 100%; margin: 0 auto 2.5rem; padding: .35rem; background: var(--cream); border: 1px solid rgba(212, 167, 60, .4); border-radius: 999px; }
.toggle-btn { border: 0; background: transparent; padding: .75rem 1.5rem; border-radius: 999px; font-weight: 700; color: var(--emerald-800); transition: background .25s ease, color .25s ease; }
.toggle-btn.is-active { background: linear-gradient(135deg, var(--emerald-700), var(--emerald-900)); color: var(--white); box-shadow: 0 8px 18px -10px rgba(6, 50, 31, .8); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; align-items: stretch; }
.plans[hidden] { display: none; }
.plan-card { position: relative; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.5rem 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan-card.featured { background: linear-gradient(170deg, var(--emerald-800), var(--emerald-950)); color: var(--white); border-color: var(--gold-500); box-shadow: var(--shadow), 0 0 0 1px var(--gold-500); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--emerald-950); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 999px; white-space: nowrap; }
.plan-days { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--emerald-900); margin: 0; }
.plan-sub { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; }
.plan-price { font-family: var(--font-display); font-size: 3.6rem; font-weight: 700; line-height: 1; color: var(--emerald-800); margin-bottom: 1.4rem; }
.plan-price sup { font-size: 1.6rem; vertical-align: top; position: relative; top: .5rem; margin-right: 2px; color: var(--gold-600); }
.plan-price span { display: block; font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--muted); margin-top: .4rem; }
.plan-card ul { text-align: left; display: grid; gap: .6rem; margin-bottom: 1.6rem; flex: 1; padding-top: 1.2rem; border-top: 1px dashed var(--line); }
.plan-card li { display: flex; gap: .5rem; align-items: center; font-size: .92rem; }
.plan-card li .ic { color: var(--emerald-600); stroke-width: 2.6; width: 1.1em; height: 1.1em; }
.plan-card.featured .plan-days, .plan-card.featured .plan-price { color: var(--white); }
.plan-card.featured .plan-sub, .plan-card.featured .plan-price span { color: rgba(255, 255, 255, .7); }
.plan-card.featured .plan-price sup, .plan-card.featured li .ic { color: var(--gold-400); }
.plan-card.featured ul { border-color: rgba(255, 255, 255, .2); }
.fees-note { text-align: center; margin-top: 2rem; color: var(--muted); display: flex; justify-content: center; align-items: center; gap: .5rem; }
.fees-note .ic { color: var(--gold-600); }
.fees-note a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 3.5rem 0; color: var(--white); background: linear-gradient(120deg, var(--emerald-800), var(--emerald-950)); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z' fill='none' stroke='%23e6c068' stroke-opacity='.2'/%3E%3C/svg%3E"); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--gold-200); }
.cta-band p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.why-card { padding: 1.7rem 1.4rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease, background .3s ease; }
.why-card .ic { width: 50px; height: 50px; padding: 12px; border-radius: 14px; color: var(--emerald-700); background: linear-gradient(145deg, var(--emerald-100), #fff); border: 1px solid rgba(20, 120, 79, .15); margin-bottom: 1rem; transition: color .3s ease, background .3s ease; }
.why-card h3 { font-size: 1.04rem; color: var(--emerald-900); margin-bottom: .35rem; }
.why-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-card:hover .ic { color: var(--gold-400); background: linear-gradient(145deg, var(--emerald-700), var(--emerald-900)); }

/* ---------- Payments ---------- */
.payments-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.payments-copy p { color: var(--muted); }
.secure-line { display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--emerald-700) !important; }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pay-card { text-align: center; padding: 1.8rem 1rem; background: var(--white); border-radius: var(--radius); border: 1px solid rgba(212, 167, 60, .4); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.pay-card .ic { width: 58px; height: 58px; padding: 14px; border-radius: 50%; color: var(--emerald-950); background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); margin-bottom: .5rem; }
.pay-card strong { color: var(--emerald-900); line-height: 1.3; }
.pay-card span { font-size: .8rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.slider { max-width: 1000px; margin: 0 auto; }
.slider-viewport { overflow: hidden; }
.slider-track { display: flex; transition: transform .6s cubic-bezier(.22, .8, .3, 1); }
.testimonial { flex: 0 0 50%; padding: 0 .75rem; margin: 0; display: flex; }
.t-card { position: relative; flex: 1; display: flex; flex-direction: column; gap: 1rem; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.t-card::after { content: "\201D"; position: absolute; right: 1.5rem; top: -.4rem; font-family: var(--font-display); font-size: 7rem; line-height: 1; color: rgba(212, 167, 60, .25); pointer-events: none; }
.testimonial blockquote { flex: 1; margin: 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.5; color: var(--ink); }
.stars { display: flex; gap: .2rem; color: var(--gold-500); }
.stars .ic { fill: currentColor; stroke: none; width: 1.1rem; height: 1.1rem; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--gold-400); background: linear-gradient(145deg, var(--emerald-700), var(--emerald-900)); }
.testimonial strong { display: block; color: var(--emerald-900); }
.testimonial small { color: var(--muted); }
.slider-controls { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; }
.slider-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(212, 167, 60, .6); background: var(--white); color: var(--emerald-800); transition: background .25s ease, color .25s ease; }
.slider-btn:hover { background: var(--emerald-800); color: var(--white); }
.slider-dots { display: flex; gap: .45rem; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: var(--line); transition: width .3s ease, background .3s ease; }
.slider-dots button[aria-current="true"] { width: 28px; background: var(--gold-500); }

/* ---------- Forms ---------- */
.reg-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }
.reg-side { position: sticky; top: calc(var(--header-h) + 2rem); }
.reg-side > p { color: var(--muted); }
.steps { display: grid; gap: 1.1rem; margin: 2rem 0; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.steps li > span { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--emerald-950); background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); }
.steps strong { display: block; color: var(--emerald-900); }
.steps small { color: var(--muted); font-size: .9rem; }
.form-card { background: var(--white); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); border: 1px solid rgba(212, 167, 60, .35); border-top: 5px solid var(--gold-500); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.request-type { border: 0; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.request-type legend { width: 100%; font-weight: 700; margin-bottom: .6rem; color: var(--emerald-900); }
.radio-pill { position: relative; cursor: pointer; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span { display: inline-block; padding: .65rem 1.2rem; border-radius: 999px; border: 2px solid var(--line); font-weight: 700; font-size: .92rem; color: var(--emerald-800); transition: all .2s ease; }
.radio-pill input:checked + span { border-color: var(--emerald-700); background: var(--emerald-700); color: var(--white); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.1rem; margin-bottom: 1.2rem; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label, .label-like { font-weight: 700; font-size: .86rem; margin-bottom: .35rem; color: var(--emerald-900); }
.label-like { margin: 0 0 .35rem; }
.field label b { color: #b3261e; font-weight: 700; }
.field label small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .96rem; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fdfcf8; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b4d33' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald-600); background: var(--white); box-shadow: 0 0 0 4px rgba(20, 120, 79, .12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3261e; background: #fff8f7; }
.error { min-height: 1.2rem; margin: .25rem 0 0; font-size: .8rem; color: #b3261e; font-weight: 600; }
.fee-estimate { margin: 0; padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--emerald-100); color: var(--emerald-800); font-weight: 800; border: 1.5px dashed rgba(20, 120, 79, .3); }
.form-status { margin: 1rem 0 0; font-weight: 700; text-align: center; min-height: 1.4em; }
.form-status.ok { color: var(--emerald-700); }
.form-status.err { color: #b3261e; }
.form-privacy { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .5rem 0 0; font-size: .82rem; color: var(--muted); }
.form-card button[disabled] { opacity: .7; cursor: progress; }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 860px; }
.faq-list { display: grid; gap: .9rem; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .25s ease, border-color .25s ease; }
.faq-list details[open] { border-color: rgba(212, 167, 60, .6); box-shadow: var(--shadow-sm); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.2rem 3.5rem 1.2rem 1.4rem; font-weight: 700; font-size: 1.04rem; color: var(--emerald-900); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--emerald-100); color: var(--emerald-700); font-size: 1.3rem; font-weight: 600; transition: transform .25s ease, background .25s ease; }
.faq-list details[open] summary::after { content: "−"; background: var(--gold-500); color: var(--emerald-950); }
.faq-list details p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.4rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.contact-card > div:nth-child(2) { flex: 1; min-width: 0; }
.contact-card h3 { font-size: 1rem; color: var(--emerald-900); margin-bottom: .2rem; }
.contact-card a:not(.btn) { display: block; font-weight: 600; overflow-wrap: anywhere; }
.contact-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.cc-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--gold-400); background: linear-gradient(145deg, var(--emerald-700), var(--emerald-900)); }
.cc-icon.wa { background: var(--wa); color: var(--white); }
.cc-icon .ic { width: 26px; height: 26px; }
.cc-btns { display: flex; flex-direction: column; gap: .4rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; color: rgba(255, 255, 255, .78); background: linear-gradient(180deg, var(--emerald-900), var(--emerald-950)); padding-top: 4.5rem; overflow: hidden; border-top: 4px solid var(--gold-500); }
.footer-pattern { position: absolute; inset: 0; opacity: .35; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z' fill='none' stroke='%23e6c068' stroke-opacity='.15'/%3E%3C/svg%3E"); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold-500); margin-bottom: 1rem; }
.footer-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.footer-brand p { font-size: .92rem; }
.site-footer h3 { font-family: var(--font-display); color: var(--gold-400); font-size: 1.35rem; margin-bottom: 1rem; }
.site-footer h3.mt { margin-top: 1.6rem; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .8); font-size: .92rem; }
.site-footer a:hover { color: var(--gold-400); }
.footer-fees li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.footer-fees strong { color: var(--gold-200); }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; overflow-wrap: anywhere; }
.footer-contact .ic { color: var(--gold-500); }
.socials { display: flex !important; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(230, 192, 104, .45); color: var(--gold-400); transition: all .25s ease; }
.socials a:hover { background: var(--gold-500); color: var(--emerald-950); border-color: var(--gold-500); }
.footer-bottom { position: relative; border-top: 1px solid rgba(230, 192, 104, .2); padding: 1.3rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .88rem; }
.footer-demo { font-weight: 700; color: var(--gold-400) !important; }

/* ---------- Floating ---------- */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; display: flex; align-items: center; gap: .55rem; padding: .85rem 1.15rem .85rem .95rem; border-radius: 999px; background: var(--wa); color: var(--white); font-weight: 700; box-shadow: 0 12px 30px -8px rgba(18, 140, 74, .65); }
.wa-float:hover { color: var(--white); transform: translateY(-2px); }
.wa-float .ic { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.to-top { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 90; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--emerald-800); color: var(--gold-400); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s ease; }
.to-top .ic { transform: rotate(-90deg); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { color: var(--white); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Thank-you / 404 ---------- */
.simple-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--white); background: radial-gradient(800px 500px at 50% 30%, rgba(212, 167, 60, .25), transparent 60%), linear-gradient(160deg, var(--emerald-900), var(--emerald-950)); }
.simple-page img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.5rem; box-shadow: 0 0 0 4px var(--gold-500), 0 20px 50px -10px rgba(0, 0, 0, .6); }
.simple-page h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--gold-200); }
.simple-page p { max-width: 520px; margin: 0 auto 2rem; color: rgba(255, 255, 255, .82); }
.simple-page .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: .5rem .5rem; font-size: .88rem; }
  .nav-menu { gap: .8rem; }
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-toggle { display: block; }
  .brand-logo { width: 48px; height: 48px; }
  .nav-menu { position: fixed; inset: var(--menu-top, 104px) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.2rem 1.25rem 1.6rem; background: var(--white); border-bottom: 3px solid var(--gold-500); box-shadow: 0 20px 40px -10px rgba(6, 50, 31, .3); transform: translateY(-120%); visibility: hidden; transition: transform .35s ease, visibility .35s; max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav-open .nav-menu { transform: none; visibility: visible; }
  .nav-open .nav-toggle .ic-open { display: none; }
  .nav-open .nav-toggle .ic-close { display: block; }
  .nav-links { flex-direction: column; }
  .nav-links a { padding: .8rem .5rem; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a::after { display: none; }
  .nav-menu .btn { width: 100%; padding: .9rem; font-size: 1rem; }
  .hero-inner, .about-grid, .payments-inner, .reg-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { gap: 2.5rem; }
  .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .about-grid { gap: 2.5rem; }
  .reg-side { position: static; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-band p { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonial { flex-basis: 100%; }
}
@media (max-width: 640px) {
  .topbar-links a:last-child { display: none; }
  .brand-name { font-size: 1.35rem; }
  .brand-sub { font-size: .62rem; letter-spacing: .2em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .check-list.cols-2 { grid-template-columns: 1fr; }
  .course-grid, .why-grid, .plans, .pay-methods { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .why-card { padding: 1.2rem 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .toggle-btn { padding: .7rem 1rem; font-size: .88rem; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
  .contact-card { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: .9rem; }
  .testimonial blockquote { font-size: 1.2rem; }
}
@media (max-width: 380px) {
  .why-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
