/* =====================================================================
   LINGUA — Premium Multi-Page Language School Template
   Plain HTML5 + CSS3. No frameworks. Offline-ready (no external images).
   ---------------------------------------------------------------------
   REBRAND TIP: Change the whole look by editing the CSS variables in
   :root below. Swap --accent for your primary color, adjust the
   supporting accents, and update --font-head / --font-body plus the
   Google Fonts <link> in each HTML file. Everything else cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:       #ffffff;   /* page background                         */
  --ink:      #1f2540;   /* near-navy ink (headings / body)         */
  --accent:   #ef5da8;   /* friendly pink (primary)                 */
  --accent-d: #d63f8c;   /* darker pink for hovers                  */
  --accent2:  #ffb020;   /* warm yellow                             */
  --accent3:  #3aa0ff;   /* sky blue                                */
  --muted:    #6b7280;   /* muted text                              */
  --surface:  #f6f7fb;   /* soft alt background                     */
  --line:     #e7e9f1;   /* borders / dividers                      */
  --white:    #ffffff;

  /* --- Fonts --- */
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow:    0 10px 30px rgba(31, 37, 64, .08);
  --shadow-lg: 0 24px 60px rgba(31, 37, 64, .14);
  --ease:      .32s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1180px;
  --gutter: 24px;
  --header-h: 74px;
}

/* ---------------------------------------------------------------------
   RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: #3b4159;
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent-d); }

img, svg { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 92px 0; }
.section--soft { background: var(--surface); }
.section--tight { padding: 64px 0; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(239, 93, 168, .1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.lead { font-size: 1.12rem; color: #3b4159; }
.muted { color: var(--muted); }

.grad-text {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(239, 93, 168, .32);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 32px rgba(239, 93, 168, .42); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-light {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-light:hover { background: #fff; color: var(--accent); }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: grid; place-items: center;
  font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(239, 93, 168, .35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  color: #3b4159;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: var(--surface); color: var(--accent); }
.nav-links a.active { color: var(--accent); }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--surface);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(820px 520px at 88% -8%, rgba(58,160,255,.16), transparent 60%),
    radial-gradient(680px 500px at 2% 108%, rgba(255,176,32,.18), transparent 56%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
  padding: 90px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta div span { font-size: .9rem; color: var(--muted); }

/* Hero visual — pure CSS global/language card mock */
.hero-visual {
  position: relative;
  min-height: 400px;
}
.hv-globe {
  position: relative;
  background: linear-gradient(160deg, #2b3158, var(--ink));
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  overflow: hidden;
}
.hv-globe::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(360px 280px at 80% 0%, rgba(239,93,168,.4), transparent 60%);
}
.hv-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; position: relative; z-index: 1; }
.hv-row .hv-dot { display: flex; gap: 6px; }
.hv-row .hv-dot i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.35); }
.hv-tag { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.hv-greet {
  position: relative; z-index: 1;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 6px;
}
.hv-greet small { display: block; font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.7); margin-top: 4px; }
.hv-flags {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.hv-flags span {
  aspect-ratio: 1;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
}

/* Floating chips on hero visual */
.hv-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  z-index: 3;
}
.hv-chip .chip-emoji { font-size: 1.5rem; }
.hv-chip strong { display: block; font-family: var(--font-head); font-size: .92rem; }
.hv-chip small { color: var(--muted); font-size: .76rem; }
.hv-chip-1 { top: 14px; left: -14px; animation: floaty 4s ease-in-out infinite; }
.hv-chip-2 { bottom: 18px; right: -14px; animation: floaty 4s ease-in-out infinite 1.5s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------------------------------------------------------------------
   STATS (inline band)
   --------------------------------------------------------------------- */
.stats-band {
  background: linear-gradient(135deg, var(--ink), #2b3158);
  color: #fff;
}
.stats-band .section-head h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  display: block;
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(120deg, #fff, var(--accent2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { color: rgba(255,255,255,.82); font-size: .95rem; }

/* ---------------------------------------------------------------------
   CARDS / GRIDS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(239,93,168,.25); }

.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--surface);
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: #3b4159; margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
}
.card-link span { transition: transform var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   LANGUAGE TILES (home)
   --------------------------------------------------------------------- */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.lang-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  text-align: left;
  display: block;
}
.lang-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.lang-flag {
  width: 60px; height: 44px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 16px rgba(31,37,64,.16);
  background: var(--flag, linear-gradient(135deg, var(--accent), var(--accent2)));
}
.lang-tile h3 { font-size: 1.15rem; margin-bottom: 4px; color: var(--ink); }
.lang-tile p { margin: 0; font-size: .88rem; color: var(--muted); }
/* flag-like color blocks (no image files) */
.flag-es { --flag: linear-gradient(180deg, #c60b1e 33%, #ffc400 33% 66%, #c60b1e 66%); }
.flag-fr { --flag: linear-gradient(90deg, #0055a4 33%, #fff 33% 66%, #ef4135 66%); }
.flag-de { --flag: linear-gradient(180deg, #000 33%, #dd0000 33% 66%, #ffce00 66%); }
.flag-jp { --flag: radial-gradient(circle at 50% 50%, #bc002d 0 26%, #fff 26%); }
.flag-cn { --flag: linear-gradient(135deg, #de2910, #b71c0c); }
.flag-it { --flag: linear-gradient(90deg, #009246 33%, #fff 33% 66%, #ce2b37 66%); }
.flag-ar { --flag: linear-gradient(180deg, #007a3d 33%, #fff 33% 66%, #000 66%); }
.flag-en { --flag: linear-gradient(135deg, #012169, #c8102e); }

/* ---------------------------------------------------------------------
   HOW IT WORKS / STEPS
   --------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.step .num {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.step .step-emoji { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { margin-bottom: 0; font-size: .96rem; }

/* ---------------------------------------------------------------------
   SPLIT (why-us / story)
   --------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: 22px;
  min-height: 380px;
  background: linear-gradient(150deg, var(--accent3), var(--accent));
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 32px;
}
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px 300px at 80% 20%, rgba(255,176,32,.4), transparent 60%);
}

.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .tick {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(239,93,168,.3);
}
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { margin-bottom: 0; font-size: .98rem; }

/* ---------------------------------------------------------------------
   TEACHER TEASER / TEAM
   --------------------------------------------------------------------- */
.team-card { text-align: center; }
.team-card .team-photo {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: var(--shadow);
}
.team-card .team-photo.g2 { background: linear-gradient(135deg, var(--accent3), #6f7bff); }
.team-card .team-photo.g3 { background: linear-gradient(135deg, var(--accent2), #ff7a59); }
.team-card .team-photo.g4 { background: linear-gradient(135deg, #34c98b, var(--accent3)); }
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-card .role { color: var(--accent); font-family: var(--font-head); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.team-card .role .flag-emoji { margin-right: 4px; }
.team-card p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }

/* ---------------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}
.quote-card .stars { color: var(--accent2); margin-bottom: 14px; letter-spacing: 2px; }
.quote-card blockquote {
  margin: 0 0 22px;
  font-size: 1.1rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.5;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.avatar.g2 { background: linear-gradient(135deg, var(--accent3), #6f7bff); }
.avatar.g3 { background: linear-gradient(135deg, #34c98b, var(--accent3)); }
.quote-author b { display: block; font-family: var(--font-head); color: var(--ink); }
.quote-author span { font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(255,176,32,.32), transparent 60%),
    linear-gradient(135deg, var(--accent), var(--accent3));
  color: #fff;
  border-radius: 28px;
  padding: 60px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 85% -20%, rgba(58,160,255,.16), transparent 60%),
    radial-gradient(500px 360px at 0% 120%, rgba(255,176,32,.16), transparent 60%),
    linear-gradient(180deg, var(--surface), #fff);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin-bottom: 10px; }
.page-banner p { max-width: 620px; color: #3b4159; margin-bottom: 0; }
.breadcrumb {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* ---------------------------------------------------------------------
   COURSES PAGE — filter bar + course cards
   --------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: #3b4159;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  cursor: pointer;
  transition: all var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(239,93,168,.3);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.course-thumb {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  color: #fff;
  position: relative;
}
.course-thumb .level-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .04em;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.course-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.course-tags span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .76rem;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: #3b4159;
}
.course-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .86rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.course-meta span { display: inline-flex; align-items: center; gap: 5px; }
.no-results {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------------
   PRICING PAGE
   --------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--accent), var(--accent2)) border-box;
  position: relative;
}
.price-card .badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 18px rgba(239,93,168,.34);
}
.price-card .plan-emoji { font-size: 2rem; margin-bottom: 10px; }
.price-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.price-card .plan-sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.price-amount {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount .cur { font-size: 1.3rem; vertical-align: top; }
.price-amount .num { font-size: 3rem; }
.price-amount .per { font-size: .95rem; font-weight: 500; color: var(--muted); }
.price-note { font-size: .86rem; color: var(--muted); margin-bottom: 24px; }
.price-feats { display: grid; gap: 12px; margin-bottom: 28px; }
.price-feats li { display: flex; gap: 10px; font-size: .94rem; color: #3b4159; }
.price-feats li .pc { color: var(--accent); font-weight: 800; flex: 0 0 auto; }
.price-feats li.off { color: #9aa0b0; }
.price-feats li.off .pc { color: #c9cdd8; }
.price-card .btn { width: 100%; margin-top: auto; }

/* Comparison table */
.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
}
.compare-table tbody th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 500;
  color: #3b4159;
}
.compare-table .yes { color: #16a34a; font-weight: 700; }
.compare-table .no { color: #c9cdd8; }
.compare-table tr:last-child td, .compare-table tr:last-child th { border-bottom: none; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q .faq-ico {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface);
  display: grid; place-items: center;
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform var(--ease), background var(--ease), color var(--ease);
}
.faq-item.open .faq-ico { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { margin: 0; padding: 0 24px 22px; color: #3b4159; font-size: .96rem; }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(239,93,168,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #dc2626; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #047857;
  font-weight: 500;
}
.form-status.show { display: block; }

.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 12px; background: #fff;
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: var(--shadow);
}
.info-row b { font-family: var(--font-head); color: var(--ink); display: block; }
.info-row span { font-size: .94rem; color: #3b4159; }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius);
  min-height: 240px;
  background:
    linear-gradient(rgba(58,160,255,.06), rgba(239,93,168,.06)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 42px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.footer-about p { font-size: .95rem; color: rgba(255,255,255,.72); max-width: 320px; }
.footer-col h4 {
  color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a { display: block; color: rgba(255,255,255,.74); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  font-size: 1rem;
  transition: background var(--ease), transform var(--ease);
}
.social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: rgba(255,255,255,.62);
}
.footer-bottom a { color: rgba(255,255,255,.78); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-io .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hv-chip-1, .hv-chip-2 { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .lang-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 440px; margin-inline: auto; width: 100%; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps, .course-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-media { order: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px 26px; }
  .hero-visual { max-width: 380px; }
}

@media (max-width: 480px) {
  .lang-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hv-chip-1 { left: 0; }
  .hv-chip-2 { right: 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 360px) {
  .lang-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
}
