/* =========================================================
   EdVixa Learning Solutions — global stylesheet
   Design cloned from EduPro (RoxThemes) layout system
   Fonts: Montserrat — Bold/SemiBold headings, Medium sub-heads, Regular body
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  /* Brand palette — Navy & Gold */
  --navy: #10253F;          /* primary navy */
  --navy-dark: #07172B;     /* dark navy / shadow */
  --gold: #B48739;          /* gold */
  --gold-light: #D6AE55;    /* light gold */
  --gold-dark: #9A7131;     /* dark gold */

  --accent: #B48739;                 /* gold — links, eyebrows, icon accents, highlights */
  --accent-dark: #9A7131;            /* gold hover */
  --accent-grad: linear-gradient(90deg, #10253F 0%, #07172B 100%);  /* navy bands */
  --lav: #f5f1e9;           /* warm ivory — alternating section bg */
  --lav-2: #ece2ce;         /* deeper ivory — sliders / tints */
  --ink: #10253F;           /* headings = navy */
  --body: #3e4a58;          /* body text */
  --muted: #6c7684;         /* muted text */
  --white: #ffffff;
  --line: #e8e2d5;          /* warm hairline border */
  --footer-bg: #07172B;
  --radius: 8px;
  --radius-lg: 22px;
  --shadow-card: 0 24px 60px -30px rgba(7, 23, 43, .32);
  --shadow-soft: 0 12px 40px -18px rgba(7, 23, 43, .20);
  --container: 1200px;
  --header-h: 92px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(1.95rem, 6vw, 3.75rem); }
h2 { font-size: clamp(1.55rem, 5vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.5rem); }

p { margin: 0 0 1rem; }

a { color: inherit; text-decoration: none; }

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--lav { background: var(--lav); }
.section--tight { padding: 64px 0; }

/* ---------- Section heading block ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--center::after {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

.sec-head { max-width: 640px; margin-bottom: 54px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head p { color: var(--muted); margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: .98rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn--primary {
  background: var(--accent);
  color: var(--navy-dark);
  font-weight: 600;
  box-shadow: 0 16px 30px -16px rgba(180, 135, 57, .55);
}
.btn--primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: #dcd5c4;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--white {
  background: #fff;
  color: var(--navy);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--light-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn--light-ghost:hover { background: rgba(255,255,255,.12); }
.btn--sm { padding: 10px 20px; font-size: .88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img { height: 52px; width: auto; display: block; }
.footer-logo { height: 66px; width: auto; display: block; margin-bottom: 16px; }

.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-weight: 500;
  font-size: .98rem;
  color: var(--body);
  padding: 6px 0;
  position: relative;
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--accent); }
.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--lav);
  background-image: radial-gradient(120% 120% at 85% 0%, #efe6d2 0%, #f6f1e7 55%, #fbf8f2 100%);
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 span { color: var(--accent); }
.hero p { max-width: 30rem; color: #4a5563; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin: 30px 0 34px; }
.hero-rating {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-rating .avatars { display: flex; }
.hero-rating .avatars img {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  margin-left: -14px;
}
.hero-rating .avatars img:first-child { margin-left: 0; }
.hero-rating b { color: var(--ink); font-family: 'Montserrat', sans-serif; }
.hero-rating small { display: block; color: var(--muted); }

.hero-visual { position: relative; }
.hero-visual .blob {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 46% 54% 58% 42% / 48% 44% 56% 52%;
}
.hero-badge {
  position: absolute;
  top: 18px; right: -6px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 22px;
  box-shadow: var(--shadow-card);
}
.hero-badge b {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.7rem;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.hero-badge span { font-size: .85rem; color: var(--muted); }
.hero-watch {
  position: absolute;
  left: -8px; bottom: 26px;
  width: 108px; height: 108px;
  display: grid;
  place-items: center;
}
.hero-watch .ring {
  position: absolute;
  inset: 0;
  animation: spin 14s linear infinite;
}
.hero-watch .ring text { font-size: 8.4px; letter-spacing: 2px; fill: var(--ink); font-family: 'Montserrat', sans-serif; font-weight: 600; }
.hero-watch .play {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
}
.hero-watch .play::before {
  content: "";
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Gradient stat band ---------- */
.stat-band {
  background: var(--accent-grad);
  color: #fff;
  padding: 42px 0;
}
.stat-band .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 60px;
  align-items: center;
  justify-content: center;
}
.stat-band .unit { display: flex; align-items: baseline; gap: 12px; }
.stat-band .num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
}
.stat-band .lbl { font-size: 1.05rem; opacity: .92; }

/* ---------- Accreditation logo strip ---------- */
.logo-strip { background: var(--lav); padding: 40px 0; }
.logo-strip ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.logo-strip li {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #8f8873;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-strip img { height: 42px; width: auto; opacity: .85; }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.cat-card .ico {
  width: 66px; height: 66px;
  border-radius: 18px;
  background: var(--lav);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.cat-card .ico svg { width: 32px; height: 32px; }
.cat-card h3 { margin-bottom: 8px; }
.cat-card p { color: var(--muted); margin-bottom: 16px; font-size: .95rem; }
.cat-card .more {
  font-weight: 600;
  color: var(--accent);
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Course catalogue (courses page) ---------- */
.track {
  margin-bottom: 64px;
}
.track:last-child { margin-bottom: 0; }
.track > .eyebrow { margin-bottom: 8px; }
.track h2 { margin-bottom: 12px; }
.track-intro {
  max-width: 62ch;
  color: var(--muted);
  margin-bottom: 34px;
}
.cat-list { display: grid; gap: 20px; }
.cat-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: box-shadow .2s ease;
}
.cat-block:hover { box-shadow: var(--shadow-soft); }
.cat-block__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.cat-block__ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--lav);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cat-block__ico svg { width: 23px; height: 23px; }
.cat-block h3 { margin: 0; }
.cat-block__count { font-size: .8rem; color: var(--muted); font-weight: 500; }
.cat-block .btn { margin-left: auto; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--lav);
  color: var(--ink);
  font-size: .87rem;
  font-weight: 500;
  border: 1px solid var(--line);
}
.chip--note {
  background: transparent;
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
}
.cat-sub { font-weight: 600; color: var(--ink); font-size: .9rem; margin: 16px 0 8px; }
.cat-sub:first-of-type { margin-top: 0; }

/* ---------- 4-up stat row ---------- */
.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.mini-stats .cell {
  background: var(--accent-grad);
  border-radius: 18px;
  color: #fff;
  padding: 28px 24px;
  text-align: center;
}
.mini-stats .num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  display: block;
  line-height: 1.1;
}
.mini-stats .lbl { font-size: .92rem; opacity: .9; }

/* ---------- Course cards ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.course-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.course-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-card .tag {
  position: absolute;
  left: 14px; top: 14px;
  background: #fff;
  color: var(--accent);
  font-size: .74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 30px;
}
.course-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.course-card h3 { font-size: 1.18rem; margin-bottom: 14px; }
.course-card .meta {
  display: flex;
  gap: 18px;
  font-size: .84rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.course-card .meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-card .meta .mi { width: 15px; height: 15px; flex-shrink: 0; color: var(--accent); }
.course-card .foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.course-card .foot .btn { width: 100%; }
.course-card .price { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--ink); }
.stars { color: var(--gold); font-size: .9rem; letter-spacing: 1px; }

/* ---------- Solid accent CTA band ---------- */
.cta-solid {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}
.cta-solid h2 { color: #fff; }
.cta-solid p { max-width: 40rem; margin: 0 auto 26px; opacity: .9; }

/* ---------- About split ---------- */
.about-split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-split .media img { border-radius: var(--radius-lg); }
.feature-row { display: flex; gap: 18px; margin: 22px 0; }
.feature-row .fi {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--lav);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feature-row h3 { font-size: 1.15rem; margin-bottom: 4px; }
.feature-row p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.tst-wrap { position: relative; }
.tst-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.tst-track::-webkit-scrollbar { display: none; }
.tst-track--2 { overflow-x: visible; justify-content: center; flex-wrap: wrap; }
.tst-track--2 .tst-card { flex: 1 1 calc(50% - 14px); max-width: 520px; }
@media (max-width: 760px) {
  .tst-track--2 .tst-card { flex-basis: 100%; max-width: 100%; }
}
.tst-card {
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - 19px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.tst-card .stars { margin-bottom: 14px; font-size: 1rem; }
.tst-card p { color: #46505d; font-size: .96rem; }
.tst-card .who { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.tst-card .who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.tst-card .who b { font-family: 'Montserrat', sans-serif; color: var(--ink); }
.tst-card .who small { color: var(--muted); }
.tst-nav { display: flex; gap: 12px; justify-content: center; margin-top: 34px; }
.tst-nav button {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid #dcd5c4;
  background: #fff;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.1rem;
  transition: .18s;
}
.tst-nav button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Why choose (feature cards) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* 3-card variant — centred, not stretched across 4 columns */
.why-grid.is-center {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .why-grid.is-center { grid-template-columns: 1fr; max-width: 460px; }
}
.why-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: .2s;
}
.why-card:hover { background: var(--lav); border-color: transparent; transform: translateY(-4px); }
.why-card .ico {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: var(--accent-grad);
  color: #fff;
  display: grid;
  place-items: center;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.faq-aside .card {
  background: var(--accent-grad);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  margin-top: 24px;
}
.faq-aside .card b { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; display: block; margin: 6px 0 16px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .ans { padding: 0 24px 22px; color: var(--muted); font-size: .95rem; }

/* ---------- Image CTA ---------- */
.cta-image {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 110px 0;
  background-size: cover;
  background-position: center;
}
.cta-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,23,43,.92), rgba(16,37,63,.72));
}
.cta-image .container { position: relative; }
.cta-image h2 { color: #fff; }
.cta-image p { max-width: 42rem; margin: 0 auto 26px; opacity: .92; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: #aab4bf;
  padding: 76px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.site-footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; }
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: .92rem;
}
.footer-contact .ci {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold-light);
}
.footer-links li { margin-bottom: 10px; font-size: .92rem; }
.news-form {
  display: flex;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 6px;
  margin-top: 14px;
}
.news-form input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 10px 12px;
  outline: none;
  font-family: inherit;
}
.news-form input::placeholder { color: #8b95a0; }
.news-form button {
  border: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: grid;
  place-items: center;
}
.socials a:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 60px;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: .86rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom .fb-credit { color: #8b95a0; }
.footer-bottom .fb-credit a { color: var(--gold-light); }
.footer-bottom .fb-credit a:hover { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--lav);
  background-image: radial-gradient(120% 140% at 80% 0%, #efe6d2 0%, #f6f1e7 60%);
  padding: 64px 0 72px;
  text-align: center;
}
.page-hero .crumbs {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 10px;
}
.page-hero .crumbs a { color: var(--accent); }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
}
.contact-info .box {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .box:last-child { border-bottom: 0; }
.contact-info .fi {
  width: 50px; height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--lav);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.contact-info h4 { margin-bottom: 4px; color: var(--ink); font-family: 'Montserrat', sans-serif; }
.contact-info p { margin: 0; color: var(--muted); font-size: .95rem; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dcd5c4;
  border-radius: 10px;
  padding: 13px 14px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  background: #fff;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(180,135,57,.22);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.form-status { margin-top: 14px; font-size: .9rem; font-weight: 500; }
.form-status.ok { color: #16a34a; }

.map-embed {
  margin-top: 46px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 340px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Courses page filter ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}
.filter-bar button {
  border: 1px solid #dcd5c4;
  background: #fff;
  color: var(--body);
  padding: 9px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  font-size: .9rem;
  transition: .15s;
}
.filter-bar button.is-active,
.filter-bar button:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ---------- Course detail ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 44px;
  align-items: start;
}
.detail-main h2 { margin-top: 40px; }
.detail-main ul.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.detail-main ul.ticks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.curriculum .faq-item summary { font-size: .98rem; }
.detail-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.detail-aside .price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.detail-aside .spec {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.detail-aside .spec span:first-child { color: var(--muted); }
.detail-aside .btn { width: 100%; margin-top: 20px; }

/* ---------- utility ---------- */
.text-center { text-center: center; text-align: center; }
.mt-0 { margin-top: 0; }
.hidden { display: none !important; }

/* ---------- Scroll reveal — disabled: all content is visible from page load ---------- */
[data-reveal],
[data-reveal].in-view,
[data-reveal].left-up {
  opacity: 1;
  transform: none;
}

/* ---------- Footer social icons (line style, matches site) ---------- */
.socials a svg { width: 18px; height: 18px; }

/* ---------- Gallery (5 tiles: 2 wide on top, 3 on the bottom — gapless) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.gallery-grid a {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-grid a:nth-child(1),
.gallery-grid a:nth-child(2) { grid-column: span 3; aspect-ratio: 16 / 9; }
.gallery-grid a:nth-child(3),
.gallery-grid a:nth-child(4),
.gallery-grid a:nth-child(5) { grid-column: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid a::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(16, 37, 63, 0);
  transition: background .3s ease;
}
.gallery-grid a:hover::after { background: rgba(16, 37, 63, .20); }

/* ---------- Floating contact buttons (WhatsApp + Call) ---------- */
.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fab {
  display: flex;
  align-items: center;
  height: 56px;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(7, 23, 43, .5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(7, 23, 43, .6); }
.fab .fab-ico {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.fab .fab-ico svg { width: 26px; height: 26px; }
.fab .fab-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: .92rem;
  font-weight: 600;
  opacity: 0;
  transition: max-width .3s ease, opacity .25s ease, padding .3s ease;
}
.fab--wa { background: #25d366; }
.fab--call { background: var(--navy); }
@media (hover: hover) {
  .fab:hover .fab-label { max-width: 220px; opacity: 1; padding-right: 24px; }
}
.fab--wa .fab-ico { position: relative; }
.fab--wa .fab-ico::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: fabPulse 2s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fab--wa .fab-ico::before { animation: none; display: none; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(10, 10, 26, .92);
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; }
.lightbox .lb-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .16); color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.lightbox .lb-close:hover { background: rgba(255, 255, 255, .3); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav ul { gap: 22px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 84px; }
  .section { padding: 80px 0; }
  .site-header .container { gap: 20px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .hero p { max-width: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-stats { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .tst-card { flex-basis: calc(50% - 14px); }
  .about-split .container { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .section { padding: 60px 0; }
  .sec-head { margin-bottom: 40px; }
  .brand img { height: 38px; }
  .site-header .container { gap: 12px; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px;
    transform: translateY(-130%);
    transition: transform .25s ease;
    box-shadow: var(--shadow-soft);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a.is-active::after { display: none; }
  .nav-toggle { display: flex; }
  .header-right .btn { display: none; }
  .hero { padding: 44px 0 64px; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-badge { top: 10px; right: 0; padding: 12px 16px; }
  .hero-badge b { font-size: 1.35rem; }
  .hero-watch { width: 84px; height: 84px; left: 0; }
  .cat-grid,
  .course-grid,
  .mini-stats,
  .why-grid { grid-template-columns: 1fr; }
  .cat-card, .why-card { padding: 28px 22px; }
  .tst-card { flex-basis: 86%; padding: 26px; }
  .form-card { padding: 26px 20px; }
  .cat-block { padding: 24px 20px; }
  .cat-block__head { gap: 12px; }
  .cat-block .btn { margin-left: 0; width: 100%; margin-top: 4px; }
  .track { margin-bottom: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stat-band { padding: 34px 0; }
  .stat-band .container { justify-content: flex-start; gap: 20px 40px; }
  .cta-solid, .cta-image { padding: 64px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-grid a,
  .gallery-grid a:nth-child(1),
  .gallery-grid a:nth-child(2),
  .gallery-grid a:nth-child(3),
  .gallery-grid a:nth-child(4),
  .gallery-grid a:nth-child(5) { grid-column: auto; aspect-ratio: 4 / 3; }
  .gallery-grid a:nth-child(5) { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
  .page-hero { padding: 40px 0 48px; }
  .floating-actions { right: 14px; bottom: 14px; gap: 10px; }
  .fab { height: 52px; }
  .fab .fab-ico { width: 52px; height: 52px; }
  .fab .fab-ico svg { width: 24px; height: 24px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero-cta .btn { width: 100%; }
  .tst-card { flex-basis: 92%; }
}
