/* ==========================================================================
   VidyaTech — main stylesheet (mobile-first)
   Colours are taken from the VidyaTech logo: royal blue, navy and orange.
   Larger-screen layouts live in responsive.css
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand */
  --navy: #0a2350;
  --navy-800: #0f2d63;
  --primary: #1546b0;
  --primary-700: #103a94;
  --primary-50: #eef3fd;
  --primary-100: #dce6fb;
  --accent: #c2410c;          /* orange — buttons (AA contrast with white) */
  --accent-700: #9a3412;
  --accent-bright: #f97316;   /* decorative orange */
  --accent-50: #fff4ec;
  --sun: #ffc233;             /* flyer yellow, used on dark backgrounds */
  --wa: #128c4a;              /* WhatsApp button (AA contrast) */
  --wa-700: #0d6e3a;

  /* Neutrals */
  --text: #14213d;
  --muted: #4f5b73;
  --background: #ffffff;
  --surface: #f5f7fb;
  --surface-2: #eef2f8;
  --border: #e1e6ef;
  --white: #ffffff;

  /* Type */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
  --fs-2xl: clamp(1.75rem, 1.35rem + 1.8vw, 2.625rem);
  --fs-3xl: clamp(2rem, 1.45rem + 2.6vw, 3.375rem);

  /* Spacing (4px scale) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.5rem;
  --sp-8: 3rem;
  --sp-9: 4rem;
  --section: clamp(3.5rem, 2.5rem + 4vw, 6rem);

  /* Shape & depth */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(10, 35, 80, 0.06), 0 1px 3px rgba(10, 35, 80, 0.06);
  --shadow: 0 4px 10px rgba(10, 35, 80, 0.06), 0 12px 28px rgba(10, 35, 80, 0.08);
  --shadow-lg: 0 18px 50px rgba(10, 35, 80, 0.16);

  --container: 1240px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

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

img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: var(--fs-md); font-weight: 700; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-700); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }

strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}

.section { padding-block: var(--section); }
.section--surface { background: var(--surface); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.section--navy { background: var(--navy); color: #d7e0f2; }
.section--navy h2,
.section--navy h3 { color: var(--white); }

.section-head { max-width: 760px; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: var(--fs-md); }
.section--navy .section-head p { color: #c3cfe6; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  border-radius: 2px;
  background: var(--accent-bright);
}
.section--navy .eyebrow { color: var(--sun); }
.section--navy .eyebrow::before { background: var(--sun); }

.grid { display: grid; gap: var(--sp-5); }
.split { display: grid; gap: var(--sp-7); align-items: center; }

.stack > * + * { margin-top: var(--sp-4); }

.lead { font-size: var(--fs-md); color: var(--muted); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.2em; height: 1.2em; }

.btn--primary { background: var(--accent); color: var(--white); box-shadow: 0 6px 16px rgba(194, 65, 12, 0.25); }
.btn--primary:hover { background: var(--accent-700); color: var(--white); }

.btn--blue { background: var(--primary); color: var(--white); }
.btn--blue:hover { background: var(--primary-700); color: var(--white); }

.btn--outline { background: var(--white); color: var(--primary); border-color: var(--primary-100); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary-700); }

.btn--wa { background: var(--wa); color: var(--white); }
.btn--wa:hover { background: var(--wa-700); color: var(--white); }

.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--primary-50); color: var(--navy); }

.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn--sm { min-height: 40px; padding: 8px 16px; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
}
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- 5. Top bar & header ---------- */
.topbar {
  display: none;
  background: var(--navy);
  color: #c9d5ec;
  font-size: var(--fs-xs);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-height: 40px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--sun); }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__group { display: flex; align-items: center; gap: var(--sp-5); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 45px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; color: var(--primary); }
.brand__name span { color: var(--accent); }
.brand__sub { font-size: 0.6875rem; font-weight: 600; color: var(--muted); letter-spacing: 0.01em; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
}
.nav__link:hover { color: var(--primary); background: var(--primary-50); }
.nav__link[aria-current="page"] { color: var(--primary); }
.nav__link[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 2px;
  border-radius: 2px;
  background: var(--accent-bright);
}

.header__actions { display: flex; align-items: center; gap: var(--sp-2); }
.header__call { display: none; }
.header__cta { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile navigation drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-5) 16px calc(var(--sp-8) + env(safe-area-inset-bottom));
  background: var(--white);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.mobile-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-nav__list { margin: 0; padding: 0; list-style: none; }
.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
  font-size: var(--fs-md);
  font-weight: 700;
  text-decoration: none;
}
.mobile-nav__list a[aria-current="page"] { color: var(--accent); }
.mobile-nav__actions { display: grid; gap: var(--sp-3); }
.mobile-nav__address { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- 6. Hero (home) ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.25rem, 1.5rem + 3vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  background:
    radial-gradient(1000px 500px at 100% 0%, rgba(21, 70, 176, 0.09), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(249, 115, 22, 0.07), transparent 60%),
    var(--white);
  overflow: hidden;
}
.hero__grid { display: grid; gap: var(--sp-7); align-items: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--navy);
  font-size: var(--fs-xs);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.pill__dot {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-50);
  color: var(--accent);
}
.pill__dot .icon { width: 14px; height: 14px; }

.hero h1 { margin-top: var(--sp-4); font-size: clamp(2rem, 1.35rem + 2.3vw, 3.1rem); }
.hero h1 .hl { color: var(--primary); position: relative; z-index: 0; white-space: nowrap; }
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.02em;
  height: 0.16em;
  border-radius: 4px;
  background: var(--accent-bright);
  opacity: 0.85;
  z-index: -1;
}
.hero__lead { max-width: 680px; font-size: var(--fs-md); color: var(--muted); }
.hero .btn-row { margin-top: var(--sp-5); }
.hero .check-list { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--border); }
.check-list--grid { gap: 12px 24px; }
.hero__offer { position: relative; z-index: 1; margin: -36px 16px 0; }
.hero__offer .offer { max-width: none; margin-top: 0; background: linear-gradient(100deg, #fffaf0 0%, #fff4ea 100%); box-shadow: var(--shadow-lg); }

.check-list { display: grid; gap: 10px; margin: var(--sp-5) 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: var(--fs-sm); }
.check-list .icon {
  width: 22px; height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  stroke-width: 3;
}

.hero__media { position: relative; }
.hero__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Hero background animation (decorative, transform-only, off for reduced motion) */
.hero__grid { position: relative; z-index: 1; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
}
.hero__blob--1 { width: 480px; height: 480px; top: -160px; right: 4%; background: rgba(21, 70, 176, 0.28); animation: hero-drift-1 18s ease-in-out infinite alternate; }
.hero__blob--2 { width: 380px; height: 380px; bottom: -140px; left: -80px; background: rgba(249, 115, 22, 0.24); animation: hero-drift-2 22s ease-in-out infinite alternate; }
.hero__blob--3 { width: 300px; height: 300px; top: 30%; left: 38%; background: rgba(255, 194, 51, 0.22); animation: hero-drift-3 26s ease-in-out infinite alternate; }
.hero__dots {
  position: absolute;
  inset: -40px;
  background-image: radial-gradient(rgba(21, 70, 176, 0.16) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  animation: hero-dots 40s linear infinite;
}
.hero__float {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(21, 70, 176, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  opacity: 0.75;
  animation: hero-float 9s ease-in-out infinite;
}
.hero__float .icon { width: 24px; height: 24px; }
.hero__float--1 { top: 7%; left: 53%; animation-delay: 0s; }
.hero__float--2 { top: 8%; right: 3%; color: var(--accent); animation-delay: -3s; }
.hero__float--3 { bottom: 10%; left: 1%; color: var(--accent); animation-delay: -5s; }
.hero__float--4 { bottom: 16%; right: 2%; animation-delay: -7s; }

@keyframes hero-drift-1 { from { transform: translate(0, 0) scale(1); } to { transform: translate(-90px, 70px) scale(1.12); } }
@keyframes hero-drift-2 { from { transform: translate(0, 0) scale(1); } to { transform: translate(110px, -60px) scale(1.08); } }
@keyframes hero-drift-3 { from { transform: translate(0, 0) scale(0.9); } to { transform: translate(-70px, -50px) scale(1.15); } }
@keyframes hero-dots { from { transform: translate(0, 0); } to { transform: translate(26px, 26px); } }
@keyframes hero-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

@media (prefers-reduced-motion: reduce) {
  .hero__blob, .hero__dots, .hero__float { animation: none !important; }
}

/* ---------- 6b. Launch offer banner ---------- */
.offer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 600px;
  margin-top: var(--sp-5);
  padding: 12px 14px 12px 12px;
  border: 1.5px dashed #f2a541;
  border-radius: var(--radius);
  background: linear-gradient(100deg, #fff8e6 0%, #fff1e6 100%);
  box-shadow: 0 6px 18px rgba(194, 65, 12, 0.10);
  overflow: hidden;
}
.offer::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -40%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: skewX(-20deg);
  animation: offer-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes offer-shine { 0%, 60% { left: -40%; } 100% { left: 130%; } }
.offer__icon {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sun), var(--accent-bright));
  color: var(--navy);
}
.offer__icon .icon { width: 24px; height: 24px; }
.offer__text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; line-height: 1.3; }
.offer__tag {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.offer__text strong { color: var(--navy); font-size: var(--fs-base); font-weight: 800; }
.offer__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.offer__cta:hover { background: var(--primary); color: var(--white); }
.offer__cta .icon { width: 14px; height: 14px; }

/* ---------- 6c. Hero image slider ---------- */
.slider { position: relative; overflow: hidden; background: var(--surface-2); }
.slider__track { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1); will-change: transform; }
.slider__slide { position: relative; flex: 0 0 100%; height: 100%; }
.slider__slide picture,
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__caption {
  position: absolute;
  left: 14px; bottom: 56px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(10, 35, 80, 0.78);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}
.slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.slider__arrow .icon { width: 22px; height: 22px; stroke-width: 2.5; }
.slider__arrow--prev { left: 12px; }
.slider__arrow--next { right: 12px; }
.slider:hover .slider__arrow,
.slider:focus-within .slider__arrow { opacity: 1; }
.slider__arrow:hover { transform: scale(1.06); }
.slider__controls {
  position: absolute;
  right: 14px; top: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(10, 35, 80, 0.7);
}
.slider__pause {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  cursor: pointer;
}
.slider__pause .icon { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.slider__icon-play { display: none; }
.slider.is-paused .slider__icon-pause { display: none; }
.slider.is-paused .slider__icon-play { display: block; }

@media (hover: none) { .slider__arrow { opacity: 1; width: 38px; height: 38px; margin-top: -19px; } }
@media (prefers-reduced-motion: reduce) { .slider__track { transition: none; } }

/* ---------- 7. Highlights strip ---------- */
.highlights {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(1.5rem, 1rem + 2vw, 2.5rem));
}
.highlights__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.highlight {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--sp-5) var(--sp-4);
  background: var(--white);
}
.highlight__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary);
}
.highlight__title { margin: 0; font-size: var(--fs-sm); font-weight: 800; color: var(--navy); line-height: 1.3; }
.highlight__text { margin: 0; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }

/* ---------- 8. Cards ---------- */
.card {
  position: relative;
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.card--hover { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-100); }

.icon-tile {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  margin-bottom: var(--sp-4);
  border-radius: 14px;
  background: var(--primary-50);
  color: var(--primary);
}
.icon-tile .icon { width: 26px; height: 26px; }
.icon-tile--accent { background: var(--accent-50); color: var(--accent); }

.feature-card h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.feature-card p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- 9. Course cards & filter ---------- */
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: var(--sp-6);
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.filter-btn {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter-btn .count { margin-left: 6px; opacity: 0.7; font-weight: 600; }

.course-grid { display: grid; gap: var(--sp-5); margin: 0; padding: 0; list-style: none; }

.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary-100); }
.course-card[hidden] { display: none; }

.course-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-5) 0;
}
.course-code {
  display: inline-grid;
  place-items: center;
  min-width: 56px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary);
  font-weight: 800;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
}
.course-card[data-category="diploma"] .course-code { background: var(--accent-50); color: var(--accent); }
.course-card[data-category="job"] .course-code { background: var(--navy); color: var(--white); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.tag--sun { background: #fff3cd; color: #7a4b00; }

.course-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.course-card__title { margin-bottom: var(--sp-2); font-size: 1.1875rem; }
.course-card__title a { color: inherit; text-decoration: none; }
.course-card__title a::after { content: ""; position: absolute; inset: 0; }
.course-card { position: relative; }
.course-card__summary { color: var(--muted); font-size: var(--fs-sm); }

.meta-list { display: grid; gap: 8px; margin: var(--sp-4) 0; padding: var(--sp-4) 0; border-block: 1px dashed var(--border); list-style: none; }
.meta-list li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); }
.meta-list .icon { margin-top: 3px; width: 16px; height: 16px; color: var(--primary); }
.meta-list .label { color: var(--muted); }
.meta-list strong { color: var(--navy); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--sp-5); padding: 0; list-style: none; }
.chips li {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
}

.course-card__actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: var(--sp-2);
  margin-top: auto;
}
.course-card__actions .btn { flex: 1; }
.btn-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-icon:hover { background: var(--wa-700); color: var(--white); transform: translateY(-1px); }
.btn-icon .icon { width: 22px; height: 22px; }

/* ---------- 10. Spotlight ---------- */
.spotlight {
  position: relative;
  display: grid;
  gap: var(--sp-6);
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(255, 194, 51, 0.12), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-800) 60%, #13408f 100%);
  color: #d7e0f2;
  overflow: hidden;
}
.spotlight h2, .spotlight h3 { color: var(--white); }
.spotlight .eyebrow { color: var(--sun); }
.spotlight .eyebrow::before { background: var(--sun); }
.spotlight__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); margin: var(--sp-5) 0; }
.fact {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}
.fact__label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #a9b8d6; font-weight: 700; }
.fact__value { display: block; margin-top: 2px; font-size: var(--fs-md); font-weight: 800; color: var(--white); }
.module-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.module-steps li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-weight: 600;
  font-size: var(--fs-sm);
}
.module-steps li::before {
  content: counter(step, decimal-leading-zero);
  flex-shrink: 0;
  font-weight: 800;
  color: var(--sun);
}
.module-steps small { display: block; margin-top: 2px; color: #b6c4de; font-weight: 500; }

/* ---------- 10b. Placement support band ---------- */
.placement {
  position: relative;
  padding-block: var(--section) clamp(2rem, 1.5rem + 2vw, 3rem);
  background:
    radial-gradient(700px 380px at 0% 0%, rgba(255, 194, 51, 0.16), transparent 60%),
    radial-gradient(600px 360px at 100% 100%, rgba(249, 115, 22, 0.22), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #11336f 55%, var(--primary-700) 100%);
  color: #d7e0f2;
  overflow: hidden;
}
.placement::before {
  content: "100%";
  position: absolute;
  right: -2%;
  top: -6%;
  font-size: clamp(9rem, 6rem + 14vw, 20rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.placement__grid { position: relative; display: grid; gap: var(--sp-7); align-items: center; }
.placement .eyebrow { color: var(--sun); }
.placement .eyebrow::before { background: var(--sun); }
.placement h2 { color: var(--white); font-size: var(--fs-2xl); }
.placement__big {
  display: block;
  font-size: clamp(3.5rem, 2.5rem + 5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--sun), var(--accent-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.placement__intro > p { font-size: var(--fs-md); max-width: 560px; }
.placement__courses { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--sp-5) 0 var(--sp-6); padding: 0; list-style: none; }
.placement__courses a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.placement__courses a:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--sun); }
.placement__steps { display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
.placement__step {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.placement__step:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 194, 51, 0.5); }
.placement__icon {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sun), var(--accent-bright));
  color: var(--navy);
}
.placement__icon .icon { width: 24px; height: 24px; }
.placement__step h3 { margin-bottom: 4px; font-size: var(--fs-md); color: var(--white); }
.placement__step p { margin: 0; font-size: var(--fs-sm); color: #c3cfe6; }
.placement__tagline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin: var(--sp-8) 0 0;
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a9b8d6;
}
.placement__tagline span + span::before { content: "•"; margin-right: 22px; color: var(--sun); }

/* ---------- 11. Photo blocks ---------- */
.photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.photo picture,
.hero__photo picture,
.gallery-item picture { width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--landscape { aspect-ratio: 4 / 3; }
.photo--portrait { aspect-ratio: 3 / 4; }
.photo__caption {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(10, 35, 80, 0.82);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}

.photo-collage { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--sp-3); }
.photo-collage .photo:first-child { grid-row: span 2; }
.photo-collage .photo { aspect-ratio: auto; min-height: 160px; }

/* ---------- 12. Steps / learning experience ---------- */
.steps { display: grid; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; counter-reset: lstep; }
.step {
  counter-increment: lstep;
  position: relative;
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.step::before {
  content: counter(lstep);
  display: grid; place-items: center;
  width: 36px; height: 36px;
  margin-bottom: var(--sp-3);
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: var(--fs-sm);
}
.step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.step p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- 13. Faculty ---------- */
.person-card { display: flex; flex-direction: column; gap: var(--sp-4); }
.avatar {
  display: grid; place-items: center;
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--navy));
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 800;
}
.person-card__role { margin: -6px 0 var(--sp-3); color: var(--accent); font-weight: 700; font-size: var(--fs-sm); }
.person-card p { color: var(--muted); font-size: var(--fs-sm); }
.person-card__certs-label { margin: var(--sp-4) 0 var(--sp-2); font-size: 0.75rem !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy) !important; }
.person-card__certs { margin-bottom: 0; }
.person-card__certs li { border-color: var(--primary-100); background: var(--primary-50); color: var(--primary-700); font-weight: 700; }

.notice {
  display: flex;
  gap: 12px;
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius);
  background: var(--primary-50);
  color: var(--navy);
  font-size: var(--fs-sm);
}
.notice .icon { margin-top: 2px; color: var(--primary); }

/* ---------- 14. Gallery & lightbox ---------- */
.gallery-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.gallery-item { margin: 0; }
.gallery-item[hidden] { display: none; }
.gallery-item button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow: hidden;
  font: inherit;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item button:hover img { transform: scale(1.05); }
.gallery-item button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 35, 80, 0.55));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.gallery-item button:hover::after,
.gallery-item button:focus-visible::after { opacity: 1; }
.gallery-item figcaption { margin-top: 8px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 12px;
  background: rgba(6, 18, 42, 0.94);
  color: var(--white);
}
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.lightbox__count { font-size: var(--fs-sm); font-weight: 700; color: #c3cfe6; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 12px 0; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__caption { margin: 0; padding: 8px 4px 4px; text-align: center; font-size: var(--fs-sm); color: #dbe4f5; }
.lightbox__btn {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 0; }
.lightbox__nav--next { right: 0; }

/* ---------- 15. Accordion (FAQ & syllabus) ---------- */
.accordion { display: grid; gap: var(--sp-3); }
.accordion__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.accordion__item.is-open { border-color: var(--primary-100); box-shadow: var(--shadow-sm); }
.accordion__heading { margin: 0; font-size: inherit; }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  min-height: 56px;
  padding: var(--sp-4) var(--sp-5);
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: var(--fs-base);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.accordion__trigger:hover { color: var(--primary); }
.accordion__icon {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.accordion__icon .icon { width: 16px; height: 16px; stroke-width: 2.5; }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.accordion__panel { padding: 0 var(--sp-5) var(--sp-5); color: var(--muted); }
.accordion__panel[hidden] { display: none; }
.accordion__panel ul { margin: 0; }
.accordion__panel li + li { margin-top: 4px; }

/* No-JS fallback: show panels */
.no-js .accordion__panel[hidden] { display: block; }

/* ---------- 16. Inner page hero & breadcrumbs ---------- */
.page-hero {
  padding-block: clamp(2rem, 1.5rem + 2.5vw, 3.75rem);
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(21, 70, 176, 0.10), transparent 60%),
    var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: var(--fs-2xl); max-width: 860px; }
.page-hero p { max-width: 720px; color: var(--muted); font-size: var(--fs-md); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--sp-4); padding: 0; list-style: none; font-size: var(--fs-xs); font-weight: 600; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; color: #9aa6bd; }
.breadcrumbs a { color: var(--primary); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Course detail hero */
.course-hero__grid { display: grid; gap: var(--sp-6); align-items: start; }
.course-hero .tag { margin-bottom: var(--sp-3); }
.course-hero__aside {
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.course-hero__aside h2 { font-size: var(--fs-md); margin-bottom: var(--sp-3); }
.course-hero__aside .btn { width: 100%; }
.course-hero__aside .btn + .btn { margin-top: var(--sp-2); }
.fee-list { display: grid; gap: 0; margin: 0 0 var(--sp-5); padding: 0; list-style: none; }
.fee-list li { display: flex; justify-content: space-between; gap: var(--sp-3); padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: var(--fs-sm); }
.fee-list li span:first-child { color: var(--muted); }
.fee-list li strong { color: var(--navy); text-align: right; }

/* Course detail body */
.course-layout { display: grid; gap: var(--sp-8); }
.course-section + .course-section { margin-top: var(--sp-8); }
.course-section h2 { font-size: var(--fs-xl); }

.toc {
  display: none;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.toc h2 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 6px 0; color: var(--text); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }
.toc a:hover { color: var(--primary); }

.skill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
.skill-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.skill-grid .icon { color: var(--accent); }

.module-num { color: var(--accent); font-weight: 800; margin-right: 10px; font-size: var(--fs-sm); }

.info-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.info-table th,
.info-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.info-table th { width: 38%; color: var(--muted); font-weight: 600; background: var(--surface); }
.info-table td { color: var(--navy); font-weight: 600; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.fees-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-sm); }
.fees-table caption { padding: 12px 14px; text-align: left; font-weight: 700; color: var(--navy); }
.fees-table th,
.fees-table td { padding: 12px 14px; border-top: 1px solid var(--border); text-align: left; }
.fees-table thead th { background: var(--navy); color: var(--white); font-weight: 700; border-top: 0; }
.fees-table tbody tr:nth-child(even) { background: var(--surface); }
.fees-table td a { font-weight: 700; text-decoration: none; }

.bullet-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bullet-list li { position: relative; padding-left: 28px; }
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.6em;
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--accent-bright);
  transform: rotate(45deg);
}

/* ---------- 17. Certification ---------- */
.cert-card { display: flex; flex-direction: column; }
.cert-card h3 { font-size: var(--fs-md); }
.cert-card p { color: var(--muted); font-size: var(--fs-sm); }
.cert-card .chips { margin-top: auto; margin-bottom: 0; }

/* ---------- 18. Final CTA ---------- */
.cta-band {
  position: relative;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 260px at 0% 100%, rgba(249, 115, 22, 0.28), transparent 70%),
    linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
  color: #dbe4f5;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); }
.cta-band p { max-width: 620px; font-size: var(--fs-md); }
.cta-band .btn-row { margin-top: var(--sp-5); }
.cta-band .cta-band__address { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--sp-5); font-size: var(--fs-sm); color: #c3cfe6; }

/* ---------- 19. Contact & forms ---------- */
.contact-list { display: grid; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.contact-item[hidden] { display: none; }
.contact-item__icon {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-50);
  color: var(--primary);
}
.contact-item__label { display: block; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact-item__value { font-weight: 700; color: var(--navy); word-break: break-word; }
.contact-item__value a { color: inherit; text-decoration: none; }
.contact-item__value a:hover { color: var(--primary); text-decoration: underline; }

.form-card {
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.form-card h2 { font-size: var(--fs-xl); }
.form-grid { display: grid; gap: var(--sp-4); }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--navy); }
.field .req { color: var(--accent); }
.field .optional { color: var(--muted); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid #cfd7e6;
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(21, 70, 176, 0.15); }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #b91c1c; }
.field__error { min-height: 0; font-size: var(--fs-xs); font-weight: 600; color: #b91c1c; }
.field__error:empty { display: none; }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; margin-top: var(--sp-4); padding: var(--sp-4); border-radius: var(--radius); font-size: var(--fs-sm); font-weight: 600; }
.form-status.is-success { display: block; background: #e8f7ee; color: #0d5c31; border: 1px solid #b6e4c8; }
.form-status.is-error { display: block; background: #fdecec; color: #8a1414; border: 1px solid #f3c1c1; }
.form-note { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--muted); }

.map-frame {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 16 / 10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 20. Footer ---------- */
.site-footer { background: var(--navy); color: #c3cfe6; font-size: var(--fs-sm); }
.footer__main { display: grid; gap: var(--sp-7); padding-block: var(--sp-9) var(--sp-7); }
.footer__brand .brand { color: var(--white); }
.footer__brand .brand img { background: var(--white); border-radius: 12px; padding: 4px; width: 52px; height: 52px; }
.footer__brand .brand__name { color: var(--white); }
.footer__brand .brand__name span { color: var(--accent-bright); }
.footer__brand .brand__sub { color: #a9b8d6; }
.footer__brand p { margin-top: var(--sp-4); max-width: 360px; }
.site-footer h2 { margin-bottom: var(--sp-4); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); }
.footer__links { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.footer__links a { display: inline-block; padding: 4px 0; color: #c3cfe6; text-decoration: none; }
.footer__links a:hover { color: var(--white); text-decoration: underline; }
.footer__contact { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--sp-3); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact li[hidden] { display: none; }
.footer__contact .icon { margin-top: 3px; color: var(--sun); width: 18px; height: 18px; }
.footer__contact a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer__contact a:hover { text-decoration: underline; }
.footer__social { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); }
.footer__social[hidden] { display: none; }
.footer__social a {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.footer__social a[hidden] { display: none; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); padding-block: var(--sp-5); font-size: var(--fs-xs); }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; }
.footer__legal a { color: #c3cfe6; text-decoration: none; }
.footer__legal a:hover { color: var(--white); text-decoration: underline; }

/* ---------- 21. Floating WhatsApp & mobile CTA bar ---------- */
.float-wa {
  position: fixed;
  right: 16px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(18, 140, 74, 0.35);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.float-wa:hover { transform: scale(1.06); background: var(--wa-700); color: var(--white); }
.float-wa .icon { width: 30px; height: 30px; }

.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(10, 35, 80, 0.08);
}
.mobile-cta .btn { min-height: 48px; padding-inline: 12px; }
body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }

/* ---------- 22. Misc ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-5); }
.prose p,
.prose li { color: #2f3a52; }

.text-center { text-align: center; }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }

.error-page { padding-block: var(--sp-9); text-align: center; }
.error-page .code { font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 800; color: var(--primary-100); line-height: 1; }

/* ---------- 23. Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .card--hover:hover,
  .course-card:hover,
  .btn:hover { transform: none; }
}

@media print {
  .site-header, .topbar, .float-wa, .mobile-cta, .site-footer, .mobile-nav { display: none !important; }
  body { padding: 0; }
}
