/* ============================================================
   RIGHT CHOICE ACADEMY — Premium 2026 Redesign
   ============================================================ */

:root{
  --primary:#1E3A8A;
  --primary-light:#274bb0;
  --secondary:#3B82F6;
  --accent:#F59E0B;
  --accent-light:#fbbf50;
  --success:#22C55E;
  --bg:#F8FAFC;
  --dark:#0F172A;
  --ink:#1E293B;
  --muted:#64748B;
  --line:#E2E8F0;
  --white:#ffffff;

  --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --grad-accent: linear-gradient(135deg, var(--accent) 0%, #fb923c 100%);
  --grad-soft: linear-gradient(135deg, rgba(30,58,138,0.06), rgba(245,158,11,0.06));

  --shadow-sm: 0 2px 10px rgba(15,23,42,0.06);
  --shadow-md: 0 12px 30px rgba(15,23,42,0.08);
  --shadow-lg: 0 24px 60px rgba(15,23,42,0.14);
  --shadow-glow: 0 20px 50px rgba(59,130,246,0.25);

  --radius: 24px;
  --radius-sm: 14px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-btn: 'Manrope', sans-serif;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
button{ font-family: inherit; cursor:pointer; border:none; background:none; }

::selection{ background: var(--accent); color: var(--dark); }

/* Scrollbar */
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background: var(--bg); }
::-webkit-scrollbar-thumb{ background: var(--secondary); border-radius:10px; }

/* ---------- Preloader ---------- */
.preloader{
  position:fixed; inset:0; z-index:9999;
  background: var(--dark);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader-mark{
  font-family: var(--font-head); font-weight:800; font-size: 2.2rem;
  color:#fff; letter-spacing: 4px;
  background: var(--grad-accent);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation: pulse-mark 1.1s ease-in-out infinite;
}
@keyframes pulse-mark{ 0%,100%{ transform:scale(1); opacity:1;} 50%{ transform:scale(1.12); opacity:.7;} }
body.loaded .preloader{ opacity:0; visibility:hidden; }

/* ---------- Ambient background ---------- */
.ambient{ position:fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.blob{ position:absolute; border-radius:50%; filter: blur(80px); opacity:.35; animation: float-blob 18s ease-in-out infinite; }
.blob-a{ width:520px; height:520px; background: var(--secondary); top:-160px; left:-140px; }
.blob-b{ width:460px; height:460px; background: var(--accent); top:40%; right:-180px; animation-delay: -6s; }
.blob-c{ width:420px; height:420px; background: var(--primary); bottom:-160px; left:30%; animation-delay: -12s; }
@keyframes float-blob{
  0%,100%{ transform: translate(0,0) scale(1); }
  33%{ transform: translate(40px,-30px) scale(1.08); }
  66%{ transform: translate(-30px,25px) scale(0.95); }
}
.grain{ position:absolute; inset:0; opacity:.025; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Buttons ---------- */
.btn{
  font-family: var(--font-btn);
  font-weight:700;
  font-size:.95rem;
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding: .85rem 1.7rem;
  border-radius: 100px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, background .3s ease, color .3s ease;
  white-space:nowrap;
  position:relative;
  isolation:isolate;
}
.btn svg{ width:18px; height:18px; transition: transform .3s ease; }
.btn:hover svg{ transform: translateX(3px); }
.btn-primary{
  background: var(--grad-primary);
  color:#fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 26px 55px rgba(59,130,246,.38); }
.btn-outline{
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--line);
}
.btn-outline:hover{ border-color: var(--secondary); color: var(--secondary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-ghost{
  background: rgba(255,255,255,.6);
  color: var(--primary);
  border: 1px solid var(--line);
}
.btn-lg{ padding: 1.1rem 2.2rem; font-size:1rem; }
.btn-sm{ padding:.6rem 1.3rem; font-size:.85rem; }

/* ---------- Layout helpers ---------- */
.section-inner{ max-width:1240px; margin:0 auto; padding: 6rem 2rem; }
.eyebrow{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family: var(--font-btn); font-weight:700; font-size:.8rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1.2rem;
}
.eyebrow-center{ justify-content:center; }
.eyebrow-dot{ width:8px; height:8px; border-radius:50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(245,158,11,.2); }
.section-title{
  font-family: var(--font-head);
  font-weight:800;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height:1.15;
  color: var(--dark);
  margin-bottom: 1.2rem;
}
.section-text{ color: var(--muted); font-size:1.05rem; max-width:560px; }
.section-text.center{ margin:0 auto; text-align:center; }
.section-header{ text-align:center; max-width:680px; margin:0 auto 3.5rem; }
.section-header .section-text{ max-width:none; }
.text-gradient{
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip:text; color: transparent;
}

/* Reveal-on-scroll */
[data-reveal]{ opacity:0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in-view{ opacity:1; transform: translateY(0); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav{
  position: fixed; top:0; left:0; right:0; z-index:1000;
  padding: 1.1rem 0;
  transition: all .35s ease;
}
.nav-inner{
  max-width:1320px; margin:0 auto; padding: 0 2rem;
  display:flex; align-items:center; justify-content:space-between;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 100px;
  padding-top:.55rem; padding-bottom:.55rem;
  box-shadow: 0 8px 30px rgba(15,23,42,.06);
  transition: all .35s ease;
}
.nav.scrolled .nav-inner{
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow-md);
}
.brand-logo{ height:40px; width:auto; }
.nav-links{ display:flex; align-items:center; gap: 2rem; }
.nav-link{
  font-family: var(--font-btn); font-weight:600; font-size:.92rem; color: var(--ink);
  position:relative; padding: .3rem 0;
}
.nav-link::after{
  content:''; position:absolute; left:0; bottom:-4px; height:2px; width:0;
  background: var(--grad-primary); transition: width .3s ease; border-radius:2px;
}
.nav-link:hover, .nav-link.active{ color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after{ width:100%; }
.nav-actions{ display:flex; align-items:center; gap:.8rem; }
.nav-call span{ display:none; }
.nav-call{ padding:.7rem; border-radius:50%; }
.nav-call svg{ width:18px; height:18px; }
.menu-toggle{
  display:none; width:42px; height:42px; border-radius:50%;
  background:#fff; border:1px solid var(--line);
  flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.menu-toggle span{ width:18px; height:2px; background: var(--primary); border-radius:2px; transition: all .3s ease; }
.menu-toggle.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2){ opacity:0; }
.menu-toggle.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer{
  position:fixed; top:0; right:-100%; width:min(84vw,340px); height:100vh; z-index:1100;
  background: #fff; box-shadow: -20px 0 50px rgba(15,23,42,.15);
  padding: 6.5rem 2rem 2rem; display:flex; flex-direction:column; gap:1.4rem;
  transition: right .45s cubic-bezier(.2,.8,.2,1);
}
.drawer.open{ right:0; }
.drawer-link{ font-family: var(--font-head); font-weight:600; font-size:1.15rem; color: var(--ink); }
.drawer-btn{ margin-top:1rem; width:100%; }
.drawer-overlay{
  position:fixed; inset:0; background: rgba(15,23,42,.4); backdrop-filter: blur(2px);
  z-index:1050; opacity:0; visibility:hidden; transition: opacity .35s ease, visibility .35s ease;
}
.drawer-overlay.open{ opacity:1; visibility:visible; }

/* ============================================================
   HERO
   ============================================================ */
.hero{ position:relative; padding: 10.5rem 2rem 5rem; overflow:hidden; }
.hero-inner{
  max-width:1240px; margin:0 auto;
  display:grid; grid-template-columns: 1.05fr .95fr; gap:3rem; align-items:center;
}
.hero-title{
  font-family: var(--font-head); font-weight:800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height:1.12; color: var(--dark); margin-bottom:1.4rem;
}
.hero-sub{ color: var(--muted); font-size:1.12rem; max-width:520px; margin-bottom:2rem; }
.hero-cta{ display:flex; flex-wrap:wrap; gap:1rem; margin-bottom:2.6rem; }
.hero-trust{ display:flex; align-items:center; gap:1.4rem; flex-wrap:wrap; }
.trust-item{ display:flex; flex-direction:column; }
.trust-item strong{ font-family: var(--font-head); font-size:1.3rem; color: var(--primary); }
.trust-item span{ font-size:.82rem; color: var(--muted); }
.trust-divider{ width:1px; height:34px; background: var(--line); }

.hero-visual{ position:relative; }
.hero-frame{
  position:relative; border-radius: 32px; overflow:hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}
.hero-img{ width:100%; height:460px; object-fit:cover; transition: transform .6s ease; }
.hero-frame:hover .hero-img{ transform: scale(1.05); }
.hero-glow{
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 55%, rgba(30,58,138,.35));
}
.float-card{
  position:absolute; background:#fff; border-radius: 18px; padding: 1rem 1.2rem;
  box-shadow: var(--shadow-md); display:flex; align-items:center; gap:.8rem;
  max-width:230px; animation: float-card 5s ease-in-out infinite;
}
.float-card h4{ font-family: var(--font-head); font-size:.9rem; color: var(--dark); margin-bottom:.15rem; }
.float-card p{ font-size:.78rem; color: var(--muted); }
.float-icon{ font-size:1.5rem; }
.float-card-1{ top:8%; left:-8%; animation-delay:0s; }
.float-card-2{ bottom:6%; right:-8%; animation-delay:-2.5s; }
@keyframes float-card{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
.shape-ring{
  position:absolute; width:120px; height:120px; border:3px solid var(--accent);
  border-radius:50%; top:-30px; right:20%; opacity:.5; animation: spin-slow 14s linear infinite;
}
.shape-dot{
  position:absolute; width:16px; height:16px; border-radius:50%;
  background: var(--grad-accent); bottom:-10px; left:15%;
  animation: float-card 4s ease-in-out infinite;
}
@keyframes spin-slow{ to{ transform: rotate(360deg); } }

.hero-wave{ position:absolute; left:0; right:0; bottom:-2px; width:100%; height:60px; fill: var(--bg); }

/* ============================================================
   STATS
   ============================================================ */
.stats{ background: var(--grad-primary); position:relative; overflow:hidden; }
.stats::before{
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.12), transparent 45%),
              radial-gradient(circle at 80% 70%, rgba(245,158,11,.18), transparent 45%);
}
.stats-inner{
  position:relative; max-width:1100px; margin:0 auto; padding: 3.6rem 2rem;
  display:grid; grid-template-columns: repeat(4,1fr); gap:2rem; text-align:center;
}
.stat-num{
  font-family: var(--font-head); font-weight:800; font-size: clamp(2rem,4vw,2.8rem);
  color:#fff; margin-bottom:.4rem;
}
.stat-label{ color: rgba(255,255,255,.85); font-size:.92rem; font-weight:500; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-inner{ display:grid; grid-template-columns: .9fr 1.1fr; gap:4rem; align-items:center; }
.about-visual{ position:relative; }
.about-frame{ border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-lg); }
.about-frame img{ width:100%; height:420px; object-fit:cover; transition: transform .6s ease; }
.about-frame:hover img{ transform: scale(1.06); }
.about-badge{
  position:absolute; bottom:-1.6rem; left:-1.6rem; background:#fff; border-radius:20px;
  padding: 1.1rem 1.5rem; box-shadow: var(--shadow-md); display:flex; flex-direction:column;
  border-left: 4px solid var(--accent);
}
.about-badge-num{ font-family: var(--font-head); font-weight:800; font-size:1.5rem; color: var(--primary); }
.about-badge-text{ font-size:.8rem; color: var(--muted); font-weight:600; }
.about-points{ display:flex; flex-direction:column; gap:1.3rem; margin: 1.8rem 0 2rem; }
.about-point{ display:flex; gap:1rem; align-items:flex-start; }
.point-icon{
  flex:none; width:48px; height:48px; border-radius:14px; background: var(--grad-soft);
  display:flex; align-items:center; justify-content:center; font-size:1.3rem;
}
.about-point h4{ font-family: var(--font-head); font-size:1.02rem; color: var(--dark); margin-bottom:.2rem; }
.about-point p{ color: var(--muted); font-size:.92rem; }

/* ============================================================
   SERVICES
   ============================================================ */
.services{ background: #fff; }
.services-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:2rem; }
.service-card{
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 2rem; position:relative; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.service-card:hover{ transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card-featured{ background: var(--grad-primary); border-color: transparent; color:#fff; }
.service-card-featured .service-icon{ background: rgba(255,255,255,.18); }
.service-card-featured h3, .service-card-featured p, .service-card-featured li{ color:#fff; }
.service-card-featured .service-index{ color: rgba(255,255,255,.5); }
.service-card-featured .card-link{ color:#fff; }
.service-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:1.4rem; }
.service-icon{
  width:60px; height:60px; border-radius:18px; background: var(--accent-light);
  display:flex; align-items:center; justify-content:center; font-size:1.7rem;
}
.service-index{ font-family: var(--font-head); font-weight:800; font-size:1.4rem; color: var(--line); }
.service-card h3{ font-family: var(--font-head); font-weight:700; font-size:1.35rem; margin-bottom:.7rem; color: var(--dark); }
.service-card > p{ color: var(--); font-size:.94rem; margin-bottom:1.2rem; }
.service-list{ display:flex; flex-direction:column; gap:.55rem; margin-bottom:1.6rem; }
.service-list li{ font-size:.88rem; color: var(--ink); padding-left:1.4rem; position:relative; }
.service-card-featured .service-list li{ color: rgba(255,255,255,.92); }
.service-list li::before{
  content:'✓'; position:absolute; left:0; top:0; color: var(--success); font-weight:800;
}
.service-card-featured .service-list li::before{ color: var(--accent-light); }
.card-link{
  font-family: var(--font-btn); font-weight:700; font-size:.9rem; color: var(--accent-light);
  display:inline-flex; align-items:center; gap:.4rem;
}
.card-link svg{ width:16px; height:16px; transition: transform .3s ease; }
.card-link:hover svg{ transform: translateX(4px); }

/* ============================================================
   BRANCHES
   ============================================================ */
.branches{ background: var(--bg); }
.branches-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:2rem; }
.branch-card{
  background:#fff; border-radius: var(--radius); overflow:hidden;
  box-shadow: var(--shadow-sm); transition: transform .4s ease, box-shadow .4s ease;
}
.branch-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.branch-media{ position:relative; height:190px; overflow:hidden; }
.branch-media img{ width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.branch-card:hover .branch-media img{ transform: scale(1.08); }
.branch-tag{
  position:absolute; top:1rem; left:1rem; background: var(--grad-accent); color:#fff;
  font-family: var(--font-btn); font-weight:700; font-size:.72rem; padding:.4rem .9rem; border-radius:100px;
}
.branch-tag-alt{ background: var(--grad-primary); }
.branch-body{ padding: 1.6rem 1.6rem 1.8rem; }
.branch-body h3{ font-family: var(--font-head); font-weight:700; font-size:1.25rem; margin-bottom:.3rem; }
.branch-type{ color: var(--secondary); font-size:.82rem; font-weight:600; margin-bottom:.7rem; }
.branch-address{ color: var(--muted); font-size:.88rem; margin-bottom:1.3rem; min-height:2.6em; }
.branch-actions{ display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.branch-map-link{ font-size:.82rem; font-weight:700; color: var(--primary); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery{ background:#fff; }
.gallery-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap:1.1rem;
}
.gallery-item{ position:relative; border-radius:18px; overflow:hidden; cursor:pointer; }
.gallery-item:nth-child(1){ grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6){ grid-column: span 2; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.gallery-item:hover img{ transform: scale(1.12); }
.gallery-overlay{
  position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(15,23,42,.65));
  display:flex; align-items:flex-end; justify-content:flex-end; padding:1rem;
  font-size:1.3rem; opacity:0; transition: opacity .35s ease;
}
.gallery-item:hover .gallery-overlay{ opacity:1; }

.lightbox{
  position:fixed; inset:0; background: rgba(15,23,42,.94); z-index:2000;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transition: opacity .35s ease, visibility .35s ease;
}
.lightbox.open{ opacity:1; visibility:visible; }
.lightbox img{ max-width:82vw; max-height:82vh; border-radius:14px; box-shadow: var(--shadow-lg); }
.lightbox-close{ position:absolute; top:2rem; right:2rem; color:#fff; font-size:1.6rem; width:48px; height:48px; border-radius:50%; background: rgba(255,255,255,.1); }
.lightbox-close:hover{ background: rgba(255,255,255,.2); }
.lightbox-nav{ position:absolute; top:50%; transform:translateY(-50%); color:#fff; font-size:2.4rem; width:56px; height:56px; border-radius:50%; background: rgba(255,255,255,.1); }
.lightbox-nav:hover{ background: rgba(255,255,255,.2); }
.lightbox-prev{ left:2rem; }
.lightbox-next{ right:2rem; }

/* ============================================================
   CHAIRMAN
   ============================================================ */
.chairman{ background: var(--dark); position:relative; overflow:hidden; }
.chairman::before{
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle at 15% 20%, rgba(59,130,246,.25), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(245,158,11,.18), transparent 45%);
}
.chairman-inner{ position:relative; display:grid; grid-template-columns: .55fr 1.1fr; gap:4rem; align-items:center; }
.chairman-frame{
  border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,.08);
}
.chairman-frame img{ width:100%; height:440px; object-fit:cover; }
.chairman-copy .section-title, .chairman-copy .eyebrow{ color:#fff; }
.chairman-copy .section-text{ color: rgba(255,255,255,.72); max-width:600px; margin-bottom:1.1rem; }
.chairman-quote{
  margin-top:1.4rem; padding: 1.4rem 1.6rem; border-left: 3px solid var(--accent);
  background: rgba(255,255,255,.06); border-radius: 0 16px 16px 0;
  color: rgba(255,255,255,.85); font-style:italic; font-size:.98rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq{ background: var(--bg); }
.faq-inner{ max-width:840px; }
.faq-list{ display:flex; flex-direction:column; gap:1rem; }
.faq-item{ background:#fff; border-radius: 18px; box-shadow: var(--shadow-sm); overflow:hidden; }
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between;
  padding: 1.3rem 1.6rem; font-family: var(--font-head); font-weight:600; font-size:1rem; color: var(--dark);
  text-align:left;
}
.faq-icon{
  flex:none; width:30px; height:30px; border-radius:50%; background: var(--grad-soft);
  color: var(--primary); display:flex; align-items:center; justify-content:center; font-size:1.1rem;
  transition: transform .35s ease, background .35s ease, color .35s ease;
}
.faq-item.open .faq-icon{ transform: rotate(45deg); background: var(--grad-primary); color:#fff; }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .4s ease; }
.faq-item.open .faq-a{ max-height:220px; }
.faq-a p{ padding: 0 1.6rem 1.4rem; color: var(--muted); font-size:.93rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact{ background:#fff; }
.contact-inner{ display:grid; grid-template-columns: .85fr 1.15fr; gap:4rem; align-items:start; }
.contact-item{ display:flex; gap:1rem; align-items:flex-start; margin-bottom:1.6rem; }
.contact-icon{
  flex:none; width:48px; height:48px; border-radius:14px; background: var(--grad-soft);
  display:flex; align-items:center; justify-content:center; font-size:1.25rem;
}
.contact-item h4{ font-family: var(--font-head); font-size:1rem; margin-bottom:.2rem; }
.contact-item p{ color: var(--muted); font-size:.92rem; }
.contact-item a:hover{ color: var(--secondary); }

.contact-form-wrap{
  background: var(--bg); border-radius: var(--radius); padding: 2.4rem;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.form-title{ font-family: var(--font-head); font-weight:700; font-size:1.5rem; margin-bottom:1.6rem; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
.form-group{ margin-bottom:1.2rem; }
.form-group label{ display:block; font-size:.84rem; font-weight:600; color: var(--ink); margin-bottom:.4rem; }
.form-group input, .form-group textarea, .form-group select{
  width:100%; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size:.94rem; background:#fff; transition: border-color .3s ease, box-shadow .3s ease;
  resize:vertical;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus{
  outline:none; border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(59,130,246,.14);
}
.form-submit{ width:100%; position:relative; }
.btn-loader{
  display:none; width:18px; height:18px; border-radius:50%;
  border: 2.5px solid rgba(255,255,255,.4); border-top-color:#fff; animation: spin .7s linear infinite;
}
.form-submit.loading .btn-text{ opacity:0; }
.form-submit.loading .btn-loader{ display:inline-block; position:absolute; }
@keyframes spin{ to{ transform: rotate(360deg); } }
.form-status{ margin-top:1rem; font-size:.88rem; font-weight:600; min-height:1.2em; }
.form-status.success{ color: var(--success); }
.form-status.error{ color:#dc2626; }

/* ============================================================
   MAP
   ============================================================ */
.map-section{ background: var(--bg); padding-bottom: 0; }
.map-header{ text-align:center; padding: 5rem 2rem 2.5rem; max-width:680px; margin:0 auto; }
.map-tabs{ display:flex; justify-content:center; gap:12px; padding: 0 2rem 2rem; flex-wrap:wrap; }
.map-tab{
  padding:10px 24px; border:2px solid var(--line); background:#fff; border-radius:100px;
  font-size:14px; font-weight:700; font-family: var(--font-btn); color: var(--muted); transition: all .25s ease;
}
.map-tab:hover{ border-color: var(--secondary); color: var(--secondary); }
.map-tab.active{ background: var(--grad-primary); border-color:transparent; color:#fff; box-shadow: var(--shadow-glow); }
.map-frames{ max-width:1240px; margin:0 auto; border-radius: 24px 24px 0 0; overflow:hidden; }
.map-frame{ display:none; }
.map-frame.active{ display:block; }
.map-frame iframe{ display:block; width:100%; height:450px; border:0; }
.map-address-bar{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  background: var(--dark); color:#fff; padding:1rem 2rem; font-size:14px; flex-wrap:wrap;
}
.map-address-bar strong{ color: var(--accent-light); }
.map-directions-btn{
  background: var(--grad-accent); color:#fff; padding:8px 20px; border-radius:100px;
  font-weight:700; font-size:13px; white-space:nowrap; transition: transform .2s ease, box-shadow .2s ease;
}
.map-directions-btn:hover{ transform: translateY(-2px); box-shadow: 0 6px 15px rgba(245,158,11,.4); }

/* ============================================================
   FOOTER
   ============================================================ */
footer{ background: var(--dark); color: rgba(255,255,255,.7); padding-top: 4.5rem; }
.footer-inner{ max-width:1240px; margin:0 auto; padding: 0 2rem; }
.footer-grid{ display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap:2.5rem; padding-bottom:3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo{ height:52px; margin-bottom:1.2rem; filter: brightness(1.15); }
.footer-about p{ font-size:.9rem; line-height:1.7; margin-bottom:1.4rem; }
.social-icons{ display:flex; gap:12px; }
.social-icon{ width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; transition: transform .25s ease, box-shadow .25s ease; }
.social-icon svg{ width:20px; height:20px; color:#fff; }
.social-icon:hover{ transform: translateY(-4px) scale(1.08); }
.social-insta{ background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); box-shadow: 0 4px 15px rgba(220,39,67,.4); }
.social-fb{ background:#1877F2; box-shadow: 0 4px 15px rgba(24,119,242,.4); }
.social-wa{ background:#25D366; box-shadow: 0 4px 15px rgba(37,211,102,.4); }
.footer-col h4{ font-family: var(--font-head); color:#fff; font-size:1rem; margin-bottom:1.2rem; }
.footer-col ul{ display:flex; flex-direction:column; gap:.7rem; }
.footer-col a{ font-size:.9rem; transition: color .25s ease, padding-left .25s ease; }
.footer-col a:hover{ color: var(--accent-light); padding-left:4px; }
.footer-bottom{ padding: 1.6rem 0; text-align:center; font-size:.84rem; }

/* ============================================================
   WHATSAPP FLOAT + BACK TO TOP
   ============================================================ */
.whatsapp-float{
  position:fixed; bottom:30px; right:30px; width:60px; height:60px; background:#25D366; border-radius:50%;
  display:flex; align-items:center; justify-content:center; box-shadow: 0 6px 20px rgba(37,211,102,.5);
  z-index:900; animation: wa-pulse 2.5s ease-in-out infinite; transition: transform .3s ease, box-shadow .3s ease;
}
.whatsapp-float:hover{ transform: scale(1.12); box-shadow: 0 10px 30px rgba(37,211,102,.7); animation:none; }
.whatsapp-icon{ width:32px; height:32px; }
.whatsapp-tooltip{
  position:absolute; right:70px; background:#1a1a1a; color:#fff; font-size:13px; font-weight:600;
  padding:6px 14px; border-radius:20px; white-space:nowrap; opacity:0; pointer-events:none;
  transform: translateX(8px); transition: opacity .25s ease, transform .25s ease;
}
.whatsapp-float:hover .whatsapp-tooltip{ opacity:1; transform: translateX(0); }
@keyframes wa-pulse{ 0%,100%{ box-shadow:0 6px 20px rgba(37,211,102,.5);} 50%{ box-shadow:0 6px 30px rgba(37,211,102,.85), 0 0 0 10px rgba(37,211,102,.12);} }

.to-top{
  position:fixed; bottom:30px; left:30px; width:50px; height:50px; border-radius:50%;
  background: var(--grad-primary); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-md); z-index:900; opacity:0; visibility:hidden; transform: translateY(10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}
.to-top.show{ opacity:1; visibility:visible; transform: translateY(0); }
.to-top svg{ width:20px; height:20px; }
.to-top:hover{ transform: translateY(-4px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:520px; margin:0 auto; }
  .about-inner, .chairman-inner{ grid-template-columns:1fr; }
  .chairman-frame img{ height:340px; }
  .services-grid, .branches-grid{ grid-template-columns: repeat(2,1fr); }
  .contact-inner{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px){
  .nav-links{ display:none; }
  .nav-call span{ display:none; }
  .menu-toggle{ display:flex; }
  .stats-inner{ grid-template-columns: repeat(2,1fr); }
  .gallery-grid{ grid-template-columns: repeat(2,1fr); grid-auto-rows:150px; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(6){ grid-column: span 2; }
}

@media (max-width: 640px){
  .section-inner{ padding: 4rem 1.2rem; }
  .hero{ padding: 8.5rem 1.2rem 4rem; }
  .hero-cta{ flex-direction:column; align-items:stretch; }
  .hero-trust{ gap:1rem; }
  .services-grid, .branches-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .nav-admission{ display:none; }
  .float-card{ max-width:170px; padding:.7rem .9rem; }
  .float-card-1{ left:-4%; top:4%; }
  .float-card-2{ right:-4%; }
  .chairman-inner, .about-inner{ gap:2.5rem; }
  .about-badge{ left:1rem; bottom:-1.2rem; padding:.8rem 1.1rem; }
  .map-address-bar{ flex-direction:column; align-items:flex-start; }
  .map-frame iframe{ height:300px; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
