/* ============================================================
   LINGUA ACADEMY — LANGUAGE SCHOOL STYLESHEET
   ============================================================ */

:root {
  --primary:      #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light:#f0f9ff;
  --accent:       #f59e0b;
  --accent-light: #fef9ee;
  --bg:           #ffffff;
  --bg-soft:      #f8fafc;
  --bg-dark:      #0f172a;
  --text:         #0f172a;
  --muted:        #64748b;
  --border:       #e2e8f0;
  --success:      #10b981;
  --radius:       12px;
  --radius-lg:    20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section-pad { padding: 96px 0; }
img { max-width: 100%; display: block; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); transition: box-shadow .3s; }
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; height: 68px; gap: 40px; }
.nav-logo { text-decoration: none; display: flex; align-items: baseline; gap: 2px; }
.logo-main { font-family: 'Nunito', sans-serif; font-size: 1.2rem; font-weight: 900; color: var(--primary); }
.logo-sub { font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
.nav-links { display: flex; list-style: none; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .85rem; font-weight: 500; padding: 6px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-cta { background: var(--primary); color: #fff; text-decoration: none; padding: 8px 20px; border-radius: 8px; font-size: .84rem; font-weight: 700; white-space: nowrap; transition: background .2s; }
.nav-cta:hover { background: var(--primary-dark); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* HERO */
.hero { padding: 120px 28px 60px; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-light); border: 1px solid rgba(14,165,233,.2); color: var(--primary-dark); padding: 7px 16px; border-radius: 100px; font-size: .78rem; font-weight: 700; margin-bottom: 24px; }
.hero h1 { font-family: 'Nunito', sans-serif; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 900; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 18px; }
.hero p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 28px; max-width: 480px; }
.hero-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hero-lang-chip { background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); padding: 5px 14px; border-radius: 100px; font-size: .8rem; font-weight: 600; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; height: 440px; }
.hero-stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.hero-stat { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; text-align: center; }
.hs-val { font-family: 'Nunito', sans-serif; font-size: 1.5rem; font-weight: 900; color: var(--primary); }
.hs-lbl { font-size: .75rem; color: var(--muted); margin-top: 2px; }

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 56px; }
.section-badge { display: inline-block; background: var(--primary-light); border: 1px solid rgba(14,165,233,.2); color: var(--primary-dark); padding: 5px 16px; border-radius: 100px; font-size: .73rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.section-header h2 { font-family: 'Nunito', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; letter-spacing: -.5px; line-height: 1.2; margin-bottom: 14px; }
.section-header p { color: var(--muted); font-size: 1rem; max-width: 540px; margin: 0 auto; line-height: 1.75; }

/* LANGUAGES */
.languages { background: var(--bg); }
.lang-filter { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; }
.lf-btn { background: var(--bg-soft); border: 1px solid var(--border); color: var(--muted); padding: 8px 20px; border-radius: 100px; font-family: inherit; font-size: .83rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.lf-btn.active, .lf-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.lang-card.hidden { display: none; }
.lang-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.lang-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.1); border-color: rgba(14,165,233,.3); }
.lang-img { height: 180px; position: relative; overflow: hidden; }
.lang-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lang-card:hover .lang-img img { transform: scale(1.06); }
.lang-badge-popular { position: absolute; top: 12px; right: 12px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 800; padding: 4px 12px; border-radius: 100px; }
.lang-code { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); color: #fff; font-size: .72rem; font-weight: 800; padding: 4px 12px; border-radius: 8px; letter-spacing: 1px; }
.lang-body { padding: 24px; }
.lang-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.lang-body h3 { font-family: 'Nunito', sans-serif; font-size: 1.1rem; font-weight: 800; }
.lang-native { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.lang-students { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.lang-levels { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.level-chip { background: var(--primary-light); color: var(--primary-dark); padding: 3px 10px; border-radius: 100px; font-size: .68rem; font-weight: 700; }
.lang-focus { font-size: .82rem; margin-bottom: 16px; color: var(--muted); }
.lang-focus strong { color: var(--text); margin-right: 6px; }
.focus-chip { background: var(--bg-soft); border: 1px solid var(--border); padding: 2px 8px; border-radius: 6px; font-size: .7rem; display: inline-block; margin: 2px 2px 0 0; }
.lang-cta { color: var(--primary); font-size: .85rem; font-weight: 700; text-decoration: none; transition: gap .2s; display: inline-flex; align-items: center; gap: 4px; }
.lang-cta:hover { gap: 8px; }

/* HOW IT WORKS */
.how { background: var(--bg-soft); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.how-card { text-align: center; padding: 12px; }
.how-num { font-family: 'Nunito', sans-serif; font-size: 3rem; font-weight: 900; color: var(--primary); opacity: .2; line-height: 1; margin-bottom: 12px; }
.how-card h3 { font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 800; margin-bottom: 10px; }
.how-card p { color: var(--muted); font-size: .87rem; line-height: 1.7; }

/* METHODS */
.methods { background: var(--bg-dark); }
.methods .section-badge { background: rgba(14,165,233,.15); border-color: rgba(14,165,233,.3); color: #7dd3fc; }
.methods .section-header h2 { color: #fff; }
.methods .section-header p { color: #94a3b8; }
.methods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.method-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); padding: 32px 28px; transition: border-color .3s, background .3s; }
.method-card:hover { border-color: rgba(14,165,233,.3); background: rgba(14,165,233,.05); }
.method-icon { width: 52px; height: 52px; background: rgba(14,165,233,.12); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); margin-bottom: 14px; }
.method-tag { display: inline-block; background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3); color: #fcd34d; padding: 3px 10px; border-radius: 100px; font-size: .68rem; font-weight: 700; margin-bottom: 12px; letter-spacing: .5px; }
.method-card h3 { font-family: 'Nunito', sans-serif; font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.method-card p { color: #94a3b8; font-size: .87rem; line-height: 1.7; }

/* TEACHERS */
.teachers { background: var(--bg-soft); }
.teachers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.teacher-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.teacher-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.teacher-img { height: 220px; overflow: hidden; }
.teacher-photo { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.teacher-card:hover .teacher-photo { transform: scale(1.05); }
.teacher-body { padding: 22px; }
.teacher-body h3 { font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.teacher-lang { font-size: .82rem; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.teacher-meta { display: flex; gap: 14px; font-size: .78rem; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap; }
.teacher-cert { display: inline-block; background: var(--accent-light); border: 1px solid rgba(245,158,11,.2); color: #92400e; padding: 3px 10px; border-radius: 6px; font-size: .7rem; font-weight: 700; margin-bottom: 12px; }
.teacher-quote { font-style: italic; font-size: .84rem; color: var(--muted); line-height: 1.6; border-left: 3px solid var(--primary); padding-left: 12px; }

/* PRICING */
.pricing { background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.plan-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; position: relative; }
.plan-card.plan-popular { background: var(--primary); border-color: var(--primary); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; padding: 4px 16px; border-radius: 100px; white-space: nowrap; }
.plan-name { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }
.plan-card.plan-popular .plan-name { color: rgba(255,255,255,.7); }
.plan-price { font-family: 'Nunito', sans-serif; font-size: 2.2rem; font-weight: 900; color: var(--text); margin-bottom: 2px; }
.plan-card.plan-popular .plan-price { color: #fff; }
.plan-price span { font-size: .82rem; font-weight: 400; color: var(--muted); }
.plan-card.plan-popular .plan-price span { color: rgba(255,255,255,.7); }
.plan-sub { font-size: .82rem; color: var(--muted); margin-bottom: 24px; }
.plan-card.plan-popular .plan-sub { color: rgba(255,255,255,.8); }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; color: var(--text); }
.plan-card.plan-popular .plan-features li { color: #fff; }
.plan-features li svg { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.plan-card.plan-popular .plan-features li svg { color: rgba(255,255,255,.8); }
.pricing-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 28px; }

/* EXAM PARTNERS */
.exams-section { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 0; }
.exams-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.exams-label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.exams-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.exam-chip { background: var(--bg); border: 1px solid var(--border); color: var(--text); padding: 7px 18px; border-radius: 100px; font-size: .83rem; font-weight: 700; transition: border-color .2s, color .2s; }
.exam-chip:hover { border-color: var(--primary); color: var(--primary); }

/* TESTIMONIALS */
.testimonials { background: var(--bg); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.testi-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: transform .3s; }
.testi-card:hover { transform: translateY(-4px); }
.testi-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testi-card blockquote { font-size: .9rem; color: var(--text); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-author strong { display: block; font-size: .9rem; }
.testi-author span { font-size: .78rem; color: var(--muted); }

/* FAQ */
.faq { background: var(--bg-soft); }
.faq-container { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: none; color: var(--text); font-family: inherit; font-size: .95rem; font-weight: 600; padding: 20px 0; cursor: pointer; text-align: left; }
.faq-q:hover { color: var(--primary); }
.faq-arrow { flex-shrink: 0; transition: transform .3s; color: var(--muted); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }
.faq-a p { color: var(--muted); font-size: .9rem; line-height: 1.8; }

/* ENROL */
.enrol { background: var(--bg); }
.enrol-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: flex-start; }
.enrol-info h2 { font-family: 'Nunito', sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: -.5px; margin: 16px 0 16px; }
.enrol-info p { color: var(--muted); font-size: .95rem; line-height: 1.75; margin-bottom: 28px; }
.enrol-contacts { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.ec-item { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); }
.ec-item svg { color: var(--primary); flex-shrink: 0; }
.enrol-promise { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; color: var(--success); margin-bottom: 10px; }
.enrol-form-wrap { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.enrol-form-wrap h3 { font-family: 'Nunito', sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: inherit; font-size: .88rem; padding: 10px 14px; transition: border-color .2s; resize: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-note { text-align: center; color: var(--muted); font-size: .78rem; margin-top: 12px; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: #fff; text-decoration: none; border: none; padding: 12px 28px; border-radius: 10px; font-family: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-full { width: 100%; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); text-decoration: none; padding: 12px 28px; border-radius: 10px; font-size: .9rem; font-weight: 600; transition: border-color .2s; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--border); color: var(--text); text-decoration: none; padding: 12px 28px; border-radius: 10px; font-family: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: border-color .2s; width: 100%; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* FOOTER */
.footer { background: var(--bg-dark); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: baseline; gap: 2px; margin-bottom: 12px; }
.footer-logo .logo-main { color: var(--primary); }
.footer-logo .logo-sub { color: #94a3b8; }
.footer-brand p { color: #94a3b8; font-size: .85rem; line-height: 1.7; }
.footer-col h4 { font-size: .78rem; font-weight: 700; color: #e2e8f0; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #94a3b8; text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: #94a3b8; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: #94a3b8; text-decoration: none; }
.footer-legal a:hover { color: #fff; }

/* BACK TO TOP */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 42px; height: 42px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--muted); text-decoration: none; opacity: 0; pointer-events: none; transition: all .3s; z-index: 900; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

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

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .enrol-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; }
  .how-grid { grid-template-columns: 1fr; }
  .lang-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
