/*
Theme Name: MYUNV Malaysia
Theme URI: https://myunv.com
Author: MYUNV
Author URI: https://myunv.com
Description: Premium multilingual Malaysian university admissions theme for MYUNV.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: myunv
*/

:root {
  --navy-950: #06142e;
  --navy-900: #0a2148;
  --navy-800: #123668;
  --gold-600: #b98b2f;
  --gold-500: #d2a744;
  --gold-300: #ead089;
  --ivory: #fbf8f1;
  --sand: #f3ecde;
  --white: #ffffff;
  --ink: #172033;
  --muted: #667085;
  --line: rgba(10, 33, 72, .12);
  --success: #147d64;
  --shadow-sm: 0 12px 34px rgba(6, 20, 46, .08);
  --shadow-lg: 0 30px 80px rgba(6, 20, 46, .16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
html[dir="rtl"] body {
  font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; inset-inline-start: -9999px; top: 10px; z-index: 9999; }
.skip-link:focus { inset-inline-start: 10px; padding: 10px 16px; background: var(--white); }

/* Geometric brand texture */
.patterned {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.patterned::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .14;
  background-image:
    linear-gradient(30deg, transparent 12%, var(--gold-500) 12%, var(--gold-500) 14%, transparent 14%, transparent 86%, var(--gold-500) 86%, var(--gold-500) 88%, transparent 88%),
    linear-gradient(150deg, transparent 12%, var(--gold-500) 12%, var(--gold-500) 14%, transparent 14%, transparent 86%, var(--gold-500) 86%, var(--gold-500) 88%, transparent 88%);
  background-size: 72px 42px;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.93); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.admin-bar .site-header { top: 32px; }
.topbar { background: var(--navy-950); color: rgba(255,255,255,.84); font-size: 12px; }
.topbar-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-list, .lang-list { display: flex; align-items: center; gap: 18px; }
.topbar a:hover { color: var(--gold-300); }
.lang-link { border: 0; background: transparent; color: inherit; padding: 2px; }
.lang-link.active { color: var(--gold-300); font-weight: 800; }
.header-inner { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 176px; }
.brand-mark { width: 56px; height: 42px; object-fit: contain; object-position: center; }
.brand-copy { line-height: 1; }
.brand-name { display: block; color: var(--navy-900); font-family: Georgia, serif; font-weight: 800; font-size: 25px; letter-spacing: -.7px; }
.brand-tag { display: block; margin-top: 5px; color: var(--gold-600); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; }
.primary-nav { justify-self: center; }
.primary-nav ul { display: flex; align-items: center; gap: 27px; list-style: none; padding: 0; margin: 0; }
.primary-nav a { color: var(--navy-900); font-size: 14px; font-weight: 700; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--gold-600); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy-900); }

/* Buttons */
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: var(--navy-950); background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); box-shadow: 0 12px 28px rgba(185,139,47,.24); }
.btn-navy { color: var(--white); background: var(--navy-900); box-shadow: 0 12px 28px rgba(10,33,72,.22); }
.btn-outline { color: var(--navy-900); border-color: rgba(10,33,72,.22); background: rgba(255,255,255,.65); }
.btn-white { color: var(--navy-900); background: var(--white); }
.text-link { color: var(--gold-600); font-weight: 800; }

/* Hero */
.hero { min-height: 700px; display: flex; align-items: center; color: var(--white); background: radial-gradient(circle at 80% 30%, rgba(210,167,68,.22), transparent 32%), linear-gradient(125deg, var(--navy-950), var(--navy-800)); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; padding-block: 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-600); font-size: 12px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; }
.hero .eyebrow { color: var(--gold-300); }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hero h1 { max-width: 750px; margin: 20px 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 6.2vw, 82px); line-height: 1.02; letter-spacing: -3.4px; }
html[dir="rtl"] .hero h1 { font-family: "Noto Kufi Arabic", Tahoma, sans-serif; font-size: clamp(40px, 5.3vw, 70px); letter-spacing: -1px; line-height: 1.35; }
.hero h1 em { color: var(--gold-300); font-style: normal; }
.hero-lead { max-width: 650px; color: rgba(255,255,255,.78); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 27px; margin-top: 42px; color: rgba(255,255,255,.72); font-size: 13px; }
.proof-item { display: flex; align-items: center; gap: 9px; }
.proof-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 5px rgba(210,167,68,.14); }
.hero-card-wrap { position: relative; min-height: 500px; }
.hero-card { position: absolute; inset: 30px 0 0 40px; padding: 34px; color: var(--navy-950); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
html[dir="rtl"] .hero-card { inset: 30px 40px 0 0; }
.hero-mark { display: block; width: 260px; height: 150px; object-fit: contain; margin: 0 auto 8px; }
.mini-label { color: var(--gold-600); font-size: 11px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.hero-card h2 { margin: 8px 0 20px; font-family: Georgia, serif; font-size: 29px; line-height: 1.18; }
.consult-list { display: grid; gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.consult-list li { display: flex; gap: 11px; color: #43506a; font-size: 14px; }
.consult-list li::before { content: "✓"; flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; color: var(--navy-900); background: var(--sand); border-radius: 50%; font-weight: 900; }
.float-card { position: absolute; z-index: 2; max-width: 210px; padding: 15px 18px; color: var(--navy-900); background: var(--white); border: 1px solid rgba(210,167,68,.35); border-radius: 18px; box-shadow: var(--shadow-sm); font-size: 12px; font-weight: 800; }
.float-card.one { top: 0; inset-inline-end: -20px; }
.float-card.two { bottom: 8px; inset-inline-start: 0; }

/* Sections */
.section { padding-block: 100px; }
.section-sm { padding-block: 70px; }
.section-ivory { background: var(--ivory); }
.section-navy { color: var(--white); background: var(--navy-950); }
.section-head { max-width: 690px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2, .page-hero h1 { margin: 14px 0 15px; color: var(--navy-900); font-family: Georgia, serif; font-size: clamp(36px, 4.5vw, 58px); line-height: 1.08; letter-spacing: -1.7px; }
html[dir="rtl"] .section-head h2, html[dir="rtl"] .page-hero h1 { font-family: "Noto Kufi Arabic", Tahoma, sans-serif; line-height: 1.35; letter-spacing: 0; }
.section-navy .section-head h2 { color: var(--white); }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }
.section-navy .section-head p { color: rgba(255,255,255,.7); }

.trust-strip { position: relative; z-index: 3; margin-top: -34px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.trust-item { padding: 26px 24px; text-align: center; border-inline-end: 1px solid var(--line); }
.trust-item:last-child { border-inline-end: 0; }
.trust-item strong { display: block; color: var(--navy-900); font-family: Georgia, serif; font-size: 28px; }
.trust-item span { color: var(--muted); font-size: 12px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(6,20,46,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(185,139,47,.4); box-shadow: var(--shadow-sm); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 20px; color: var(--gold-600); background: var(--ivory); border: 1px solid rgba(185,139,47,.2); border-radius: 16px; font-size: 22px; }
.card h3 { margin: 0 0 9px; color: var(--navy-900); font-size: 20px; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card .text-link { display: inline-flex; margin-top: 18px; font-size: 13px; }

.level-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.level-card { padding: 24px 18px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.level-number { display: block; margin-bottom: 14px; color: var(--gold-500); font-family: Georgia, serif; font-size: 12px; font-weight: 800; }
.level-card h3 { margin: 0; color: var(--navy-900); font-size: 16px; }
.level-card p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }

.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: journey; }
.journey-step { position: relative; padding: 0 27px; border-inline-start: 1px solid rgba(255,255,255,.16); counter-increment: journey; }
.journey-step:first-child { border-inline-start: 0; padding-inline-start: 0; }
.journey-step::before { content: "0" counter(journey); display: block; margin-bottom: 24px; color: var(--gold-300); font-family: Georgia, serif; font-size: 38px; }
.journey-step h3 { margin: 0 0 10px; font-size: 18px; }
.journey-step p { margin: 0; color: rgba(255,255,255,.67); font-size: 13px; }

.university-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.university-card { min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; padding: 23px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.uni-type { color: var(--gold-600); font-size: 10px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.university-card h3 { margin: 18px 0 3px; color: var(--navy-900); font-size: 17px; }
.university-card p { margin: 0; color: var(--muted); font-size: 12px; }

.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.feature-panel { padding: 42px; background: var(--navy-900); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.feature-panel .brand-art { width: 100%; padding: 26px; background: var(--white); border-radius: 22px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0; margin: 30px 0; list-style: none; }
.check-grid li { position: relative; padding-inline-start: 27px; color: #43506a; font-size: 14px; }
.check-grid li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--gold-600); font-weight: 900; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card { padding: 30px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; }
.quote-mark { color: var(--gold-300); font-family: Georgia, serif; font-size: 48px; line-height: 1; }
.quote-card p { color: rgba(255,255,255,.76); font-size: 14px; }
.quote-card small { color: var(--gold-300); }

.cta-band { padding-block: 74px; color: var(--white); background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-grid h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: clamp(33px, 4vw, 50px); line-height: 1.1; }
.cta-grid p { margin: 0; color: rgba(255,255,255,.72); }

/* Inner pages */
.page-hero { padding-block: 100px 86px; background: var(--ivory); }
.page-hero-inner { max-width: 820px; }
.page-hero p { max-width: 690px; color: var(--muted); font-size: 18px; }
.breadcrumb { margin-bottom: 18px; color: var(--gold-600); font-size: 12px; font-weight: 800; }
.content-wrap { width: min(880px, calc(100% - 40px)); margin-inline: auto; padding-block: 80px; }
.content-wrap h2 { color: var(--navy-900); font-family: Georgia, serif; font-size: 34px; }
.content-wrap a { color: var(--gold-600); text-decoration: underline; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.info-panel { padding: 30px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-md); }
.info-panel h3 { margin-top: 0; color: var(--navy-900); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-button { padding: 9px 16px; color: var(--navy-900); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 800; }
.filter-button.active { color: var(--white); background: var(--navy-900); }

/* Forms */
.form-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: start; }
.contact-panel { padding: 36px; color: var(--white); background: var(--navy-900); border-radius: var(--radius-md); }
.contact-panel h2 { margin-top: 0; font-family: Georgia, serif; font-size: 32px; }
.contact-list { display: grid; gap: 18px; padding: 0; margin: 28px 0 0; list-style: none; }
.contact-list small { display: block; color: var(--gold-300); }
.lead-form { padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; color: var(--navy-900); font-size: 12px; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; color: var(--ink); background: var(--white); border: 1px solid rgba(10,33,72,.18); border-radius: 11px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(210,167,68,.12); }
.field textarea { min-height: 125px; resize: vertical; }
.honeypot { position: absolute !important; inset-inline-start: -9999px !important; }
.notice { margin-bottom: 22px; padding: 14px 18px; border-radius: 12px; font-size: 13px; font-weight: 700; }
.notice-success { color: #0b604d; background: #e9f7f2; }
.notice-error { color: #8b2635; background: #fff0f2; }

/* Footer & floating WhatsApp */
.site-footer { color: rgba(255,255,255,.7); background: var(--navy-950); }
.footer-main { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: 45px; padding-block: 72px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { max-width: 310px; font-size: 13px; }
.footer-col h3 { margin: 0 0 20px; color: var(--white); font-size: 14px; }
.footer-links { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; font-size: 13px; }
.footer-links a:hover { color: var(--gold-300); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.whatsapp-float { position: fixed; z-index: 900; inset-inline-end: 22px; bottom: 22px; display: flex; align-items: center; gap: 9px; padding: 13px 18px; color: var(--white); background: #168c69; border-radius: 999px; box-shadow: 0 14px 34px rgba(10,33,72,.24); font-size: 13px; font-weight: 800; }

/* Animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .primary-nav { position: fixed; top: 112px; inset-inline: 20px; display: none; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); }
  .primary-nav.open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 13px; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card-wrap { min-height: 440px; max-width: 620px; width: 100%; margin-inline: auto; }
  .card-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .university-grid { grid-template-columns: repeat(3, 1fr); }
  .level-grid { grid-template-columns: repeat(3, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); gap: 42px 0; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .topbar-list { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 46px; height: 36px; }
  .brand-tag { display: none; }
  .primary-nav { top: 102px; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 65px 85px; gap: 34px; }
  .hero h1 { letter-spacing: -2px; }
  .hero-card-wrap { min-height: 450px; }
  .hero-card { inset: 20px 0 0; }
  html[dir="rtl"] .hero-card { inset: 20px 0 0; }
  .float-card { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-inline-end: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding-block: 74px; }
  .card-grid, .testimonial-grid, .feature-split, .form-shell { grid-template-columns: 1fr; }
  .university-grid { grid-template-columns: repeat(2, 1fr); }
  .level-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: 1fr; }
  .journey-step { padding: 0 0 28px; border-inline-start: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .cta-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand-name { font-size: 22px; }
  .hero h1 { font-size: 43px; }
  html[dir="rtl"] .hero h1 { font-size: 36px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-card { padding: 25px; }
  .hero-card-wrap { min-height: 480px; }
  .trust-grid, .card-grid, .university-grid, .level-grid, .info-grid { grid-template-columns: 1fr; }
  .trust-item { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .check-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand, .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { width: 52px; height: 52px; justify-content: center; padding: 0; }
}

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

/* Version 2 premium motion and conversion layer */
.scroll-progress { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg,var(--gold-300),var(--gold-600)); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .scroll-progress { transform-origin: right; }
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 14px 40px rgba(6,20,46,.08); }
.btn { position: relative; overflow: hidden; }
.btn::after { content:""; position:absolute; top:-70%; left:-45%; width:30%; height:240%; background:rgba(255,255,255,.36); transform:rotate(24deg) translateX(-220%); transition:transform .7s ease; }
.btn:hover::after { transform:rotate(24deg) translateX(650%); }
.hero { position: relative; overflow: hidden; }
.hero::after { content:""; position:absolute; width:520px; height:520px; inset-inline-start:-250px; bottom:-290px; border:1px solid rgba(234,208,137,.22); border-radius:50%; box-shadow:0 0 0 55px rgba(234,208,137,.035),0 0 0 110px rgba(234,208,137,.025); animation:heroBreath 8s ease-in-out infinite; }
.hero-copy { position:relative; z-index:2; }
.hero-copy::after { content:"✦"; position:absolute; inset-inline-end:8%; top:-45px; color:var(--gold-300); opacity:.5; animation:sparkle 3.4s ease-in-out infinite; }
.hero-card { transform-style:preserve-3d; transition:transform .22s ease,box-shadow .3s ease; will-change:transform; }
.hero-card>* { transform:translateZ(18px); }
.hero-mark { animation:markFloat 5s ease-in-out infinite; filter:drop-shadow(0 18px 20px rgba(10,33,72,.14)); }
.hero-orbit { position:absolute; z-index:0; border:1px solid rgba(234,208,137,.28); border-radius:50%; pointer-events:none; }
.orbit-one { width:430px; height:430px; top:30px; inset-inline-end:-80px; animation:orbitSpin 22s linear infinite; }
.orbit-one::before { content:""; position:absolute; width:10px;height:10px;top:52px;left:57px;background:var(--gold-300);border-radius:50%;box-shadow:0 0 24px var(--gold-300); }
.orbit-two { width:320px; height:320px; bottom:-30px; inset-inline-start:10px; border-style:dashed; animation:orbitSpin 28s linear reverse infinite; }
.hero-spark { position:absolute; z-index:3; color:var(--gold-300); }
.spark-one { top:16%; inset-inline-start:2%; animation:sparkle 2.8s ease-in-out infinite; }
.spark-two { bottom:8%; inset-inline-end:2%; font-size:22px; animation:sparkle 3.5s .8s ease-in-out infinite; }
.card { position:relative; overflow:hidden; }
.card::after { content:""; position:absolute; width:100px;height:100px; inset-inline-end:-60px; top:-60px; border:1px solid rgba(210,167,68,.18); border-radius:50%; transition:transform .4s ease; }
.card:hover::after { transform:scale(1.8); }
.card-icon { transition:transform .3s ease,background .3s ease; }
.card:hover .card-icon { transform:translateY(-4px) rotate(-3deg); background:var(--gold-300); color:var(--navy-950); }
.program-marquee { overflow:hidden; padding-block:18px; color:var(--white); background:var(--navy-900); border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); }
.marquee-track { width:max-content; display:flex; align-items:center; animation:marquee 38s linear infinite; }
html[dir="rtl"] .marquee-track { animation-direction:reverse; }
.marquee-track span { display:flex; align-items:center; gap:14px; padding-inline:27px; color:rgba(255,255,255,.82); font-size:13px; font-weight:700; white-space:nowrap; }
.marquee-track i { color:var(--gold-300); font-style:normal; }
.faq-section { background:linear-gradient(180deg,#fff,var(--ivory)); }
.faq-list { display:grid; gap:12px; }
.faq-item { overflow:hidden; background:var(--white); border:1px solid var(--line); border-radius:16px; transition:border-color .25s ease,box-shadow .25s ease; }
.faq-item.open { border-color:rgba(185,139,47,.45); box-shadow:var(--shadow-sm); }
.faq-question { width:100%; display:flex; justify-content:space-between; gap:20px; align-items:center; padding:20px 22px; color:var(--navy-900); background:transparent; border:0; text-align:start; font-weight:800; }
.faq-question b { width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;color:var(--gold-600);background:var(--ivory);border-radius:50%;font-size:20px;transition:transform .25s ease; }
.faq-item.open .faq-question b { transform:rotate(45deg); }
.faq-answer { display:grid; grid-template-rows:0fr; padding-inline:22px; color:var(--muted); font-size:14px; transition:grid-template-rows .35s ease,padding .35s ease; }
.faq-answer>* { overflow:hidden; margin:0; }
.faq-item.open .faq-answer { grid-template-rows:1fr; padding-bottom:20px; }
.chat-widget { position:fixed; z-index:1200; inset-inline-end:22px; bottom:22px; }
.chat-launch { position:relative; min-height:54px; display:flex; align-items:center; gap:10px; padding:12px 20px; color:#fff; background:linear-gradient(135deg,#159a72,#087a59); border:0; border-radius:999px; box-shadow:0 18px 42px rgba(6,20,46,.28); font-weight:800; }
.chat-launch b { font-size:19px; }
.chat-pulse { position:absolute; inset-inline-start:-2px; top:-2px; width:14px;height:14px;background:#42d6a5;border:3px solid #fff;border-radius:50%; }
.chat-pulse::after { content:""; position:absolute; inset:-7px; border:1px solid #42d6a5; border-radius:50%; animation:chatPulse 2s infinite; }
.chat-panel { position:absolute; inset-inline-end:0; bottom:70px; width:min(360px,calc(100vw - 28px)); overflow:hidden; visibility:hidden; opacity:0; transform:translateY(18px) scale(.97); background:#fff; border:1px solid rgba(10,33,72,.12); border-radius:24px; box-shadow:0 28px 80px rgba(6,20,46,.26); transform-origin:bottom right; transition:opacity .25s ease,transform .25s ease,visibility .25s; }
html[dir="rtl"] .chat-panel { transform-origin:bottom left; }
.chat-widget.open .chat-panel { visibility:visible; opacity:1; transform:none; }
.chat-head { display:flex; align-items:center; gap:12px; padding:19px 20px; color:#fff; background:linear-gradient(120deg,var(--navy-950),var(--navy-800)); }
.chat-head img { width:54px;height:42px;object-fit:contain;filter:drop-shadow(0 7px 9px rgba(0,0,0,.18)); }
.chat-head strong { display:block; font-size:16px; }
.chat-head span { display:flex;align-items:center;gap:6px;color:rgba(255,255,255,.7);font-size:10px; }
.chat-head span i { width:7px;height:7px;background:#42d6a5;border-radius:50%; }
.chat-head button { margin-inline-start:auto;color:#fff;background:transparent;border:0;font-size:25px; }
.chat-body { padding:23px;background:linear-gradient(180deg,#fbf8f1,#fff); }
.chat-message { position:relative;padding:15px 16px;color:#30405c;background:#fff;border:1px solid var(--line);border-radius:4px 16px 16px;box-shadow:0 8px 20px rgba(6,20,46,.06);font-size:13px; }
html[dir="rtl"] .chat-message { border-radius:16px 4px 16px 16px; }
.chat-body small { display:block;margin:12px 0 18px;color:var(--muted); }
.btn-whatsapp { width:100%;color:#fff;background:#168c69; }
.chat-form-link { display:block;margin-top:13px;color:var(--navy-900);text-align:center;font-size:12px;font-weight:800; }
@keyframes heroBreath { 0%,100%{transform:scale(.92);opacity:.55}50%{transform:scale(1.06);opacity:1} }
@keyframes markFloat { 0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)} }
@keyframes orbitSpin { to{transform:rotate(360deg)} }
@keyframes sparkle { 0%,100%{opacity:.25;transform:scale(.65) rotate(0)}50%{opacity:1;transform:scale(1.25) rotate(90deg)} }
@keyframes marquee { to{transform:translateX(-50%)} }
@keyframes chatPulse { 0%{transform:scale(.6);opacity:1}100%{transform:scale(1.7);opacity:0} }
@media(max-width:520px){.chat-launch{width:54px;padding:0;justify-content:center}.chat-launch>span:last-child{display:none}.chat-panel{inset-inline-end:-8px}.hero-orbit{opacity:.55}}
