/* ==========================================================================
   ZENTRIX — Hoja de estilos compartida
   Tokens: ver bloque :root. Tipografías: Fredoka (display) + Nunito (cuerpo).
   ========================================================================== */

:root {
  /* Color */
  --ink: #1e1b4b;
  --ink-muted: #6b7280;
  --canvas: #f9f8ff;
  --surface: #ffffff;
  --border: rgba(108, 99, 255, 0.14);

  --brand: #6c63ff;
  --brand-dark: #4b44cc;
  --brand-light: #eef0ff;
  --teal: #0bb8a0;
  --teal-dark: #09907e;
  --teal-light: #e0f7f4;

  /* Paleta de cursos (una por curso, para escaneo rápido del catálogo) */
  --c-ia: #6c63ff;   /* IA101 */
  --c-pc: #4f46e5;   /* PC101 */
  --c-fp: #22c55e;   /* FP101 */
  --c-cc: #ec4899;   /* CC101 */
  --c-co: #f26a5e;   /* CO101 */
  --c-em: #f59e0b;   /* EM101 */
  --c-cd: #0bb8a0;   /* CD101 */
  --c-po: #3b82f6;   /* PO101 */
  --c-ie: #8b5cf6;   /* IE101 */
  --c-dt: #f97316;   /* DT101 */

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 27, 75, 0.10);
  --shadow-lift: 0 14px 30px rgba(108, 99, 255, 0.18);

  --maxw: 1180px;
}

/* ── Reset ── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

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

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

.section {
  padding: 88px 0;
}
.section--tight { padding: 56px 0; }
.section--muted { background: var(--surface); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-light);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.section-head p { color: var(--ink-muted); font-size: 1.05rem; }

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 0 var(--brand-dark);
}
.btn--primary:hover { box-shadow: 0 8px 0 var(--brand-dark); }
.btn--primary:active { box-shadow: 0 3px 0 var(--brand-dark); transform: translateY(3px); }

.btn--teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 0 var(--teal-dark);
}
.btn--teal:hover { box-shadow: 0 8px 0 var(--teal-dark); }
.btn--teal:active { box-shadow: 0 3px 0 var(--teal-dark); transform: translateY(3px); }

.btn--ghost {
  background: transparent;
  color: var(--brand-dark);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--brand-light); }

.btn--sm { padding: 10px 18px; font-size: 0.88rem; }
.btn--block { width: 100%; justify-content: center; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 248, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
}
.brand-badge {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.brand-logo-h {
  height: 32px;
  width: auto;
  display: block;
}
.footer-logo-wrap {
  display: inline-block;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.brand-logo-v {
  height: 84px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-muted);
  padding: 10px 14px;
  border-radius: 30px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--brand-light); color: var(--brand-dark); }
.main-nav a.is-active { color: var(--brand-dark); background: var(--brand-light); }

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: var(--brand-light); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { text-align: center; }
  .nav-cta { margin: 8px 4px 4px; }
}

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  margin-bottom: 18px;
}
.hero p.lead {
  font-size: 1.12rem;
  color: var(--ink-muted);
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin: 0 auto;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed var(--border);
  border-radius: 50%;
}
.orbit-ring--inner { inset: 14%; border-color: rgba(108,99,255,0.22); }
.orbit-badge {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  font-size: 1.7rem;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
.orbit-badge--1 { top: 0; left: 50%; transform: translateX(-50%); background: var(--brand); }
.orbit-badge--2 { top: 32%; right: -4%; animation-delay: 0.6s; }
.orbit-badge--3 { bottom: 6%; left: -2%; animation-delay: 1.2s; }
.orbit-badge--4 { bottom: 18%; right: 18%; animation-delay: 1.8s; }
.orbit-center {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #9c3fe4 50%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  text-align: center;
  font-size: 0.95rem;
  padding: 10px;
  box-shadow: var(--shadow-lift);
}

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

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-orbit { max-width: 300px; margin-top: 16px; }
}

/* ==========================================================================
   RUTA DE 5 AÑOS (elemento firma)
   ========================================================================== */
.journey {
  position: relative;
  padding: 24px 0 12px;
}
.journey-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
}
.journey-track::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 40px;
  right: 40px;
  height: 4px;
  background: repeating-linear-gradient(
    90deg, var(--border) 0 10px, transparent 10px 18px
  );
  z-index: 0;
}
.journey-line-fill {
  position: absolute;
  top: 34px;
  left: 40px;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  border-radius: 4px;
  z-index: 1;
  transition: width 1.2s ease;
}
.journey.is-visible .journey-line-fill { width: calc(20% - 32px); }

.journey-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.journey.is-visible .journey-node {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.journey.is-visible .journey-node:nth-child(1) { transition-delay: 0.05s; }
.journey.is-visible .journey-node:nth-child(2) { transition-delay: 0.2s; }
.journey.is-visible .journey-node:nth-child(3) { transition-delay: 0.35s; }
.journey.is-visible .journey-node:nth-child(4) { transition-delay: 0.5s; }
.journey.is-visible .journey-node:nth-child(5) { transition-delay: 0.65s; }

.journey-dot {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-sm);
}
.journey-node--unlocked .journey-dot {
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-light), var(--shadow-lift);
}
.journey-node--locked .journey-dot {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink-muted);
}
.journey-year {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
}
.journey-label {
  font-size: 0.82rem;
  color: var(--ink-muted);
  max-width: 12ch;
}
.journey-pill {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 30px;
}
.journey-node--unlocked .journey-pill { background: var(--brand-light); color: var(--brand-dark); }
.journey-node--locked .journey-pill { background: rgba(107,114,128,0.1); color: var(--ink-muted); }

.journey-note {
  text-align: center;
  color: var(--ink-muted);
  margin-top: 34px;
  font-size: 0.98rem;
}

@media (max-width: 760px) {
  .journey-track { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .journey-track::before, .journey-line-fill { left: 20px; right: 20px; top: 26px; }
  .journey-dot { width: 48px; height: 48px; font-size: 1.15rem; }
  .journey-label { display: none; }
}

/* ==========================================================================
   TARJETAS: features, audiencia, confianza
   ========================================================================== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

@media (max-width: 940px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--brand-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { color: var(--ink-muted); font-size: 0.95rem; }

.audience-card {
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.audience-card--colegios { background: linear-gradient(135deg, var(--brand) 0%, #4b44cc 100%); }
.audience-card--familias { background: linear-gradient(135deg, var(--teal) 0%, #09907e 100%); }
.audience-card .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  padding: 5px 12px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.audience-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.audience-card p { color: rgba(255,255,255,0.92); margin-bottom: 22px; max-width: 42ch; }
.audience-card .btn--ghost { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.4); }
.audience-card .btn--ghost:hover { background: rgba(255,255,255,0.24); }

.trust-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 30px; }
@media (max-width: 700px) { .trust-list { grid-template-columns: 1fr; } }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ico {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
}
.trust-item h4 { font-size: 1rem; margin-bottom: 3px; }
.trust-item p { color: var(--ink-muted); font-size: 0.92rem; }

/* ==========================================================================
   CATÁLOGO DE CURSOS
   ========================================================================== */
.filter-bar {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--ink-muted);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 30px;
  transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand-dark); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 780px) { .course-grid { grid-template-columns: 1fr; } }

.course-card {
  --cc: var(--brand);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--cc);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.course-card[data-status="proximamente"] { opacity: 0.92; }

.course-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.course-emoji {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: color-mix(in srgb, var(--cc) 14%, white);
}
.course-code {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cc);
  text-transform: uppercase;
}
.course-card h3 { font-size: 1.15rem; margin: 2px 0 0; }
.course-sub { color: var(--ink-muted); font-size: 0.9rem; margin-top: 2px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.status-pill--live { background: var(--teal-light); color: var(--teal-dark); }
.status-pill--soon { background: rgba(107,114,128,0.1); color: var(--ink-muted); }

.course-card details { margin-top: 10px; }
.course-card summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--cc);
  list-style: none;
  display: flex; align-items: center; gap: 6px;
}
.course-card summary::-webkit-details-marker { display: none; }
.course-card summary::after { content: '▾'; transition: transform 0.2s ease; }
.course-card details[open] summary::after { transform: rotate(180deg); }
.course-card .details-body { padding-top: 12px; font-size: 0.92rem; color: var(--ink-muted); }
.course-card .details-body ul { margin: 10px 0; }
.course-card .details-body li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.course-card .details-body li::before {
  content: '✓'; position: absolute; left: 0; color: var(--cc); font-weight: 800;
}
.course-card .details-cta { margin-top: 14px; }

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.testimonial-quote { font-size: 1.7rem; color: var(--brand); line-height: 1; margin-bottom: 6px; font-family: 'Fredoka', sans-serif; }
.testimonial-card p.body { font-size: 0.98rem; margin-bottom: 18px; }
.testimonial-who { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--brand-dark);
}
.testimonial-name { font-weight: 800; font-size: 0.92rem; }
.testimonial-role { font-size: 0.82rem; color: var(--ink-muted); }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #6c63ff 0%, #9c3fe4 55%, #0bb8a0 100%);
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 50ch; margin: 0 auto 26px; }
.cta-banner .hero-actions { justify-content: center; }
.cta-banner .btn--primary { background: #fff; color: var(--brand-dark); box-shadow: 0 6px 0 rgba(0,0,0,0.15); }
.cta-banner .btn--ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-banner .btn--ghost:hover { background: rgba(255,255,255,0.15); }

/* ==========================================================================
   PÁGINAS INTERNAS (hero pequeño)
   ========================================================================== */
.page-hero {
  padding: 56px 0 40px;
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.page-hero p { color: var(--ink-muted); max-width: 56ch; margin: 0 auto; font-size: 1.05rem; }

/* ==========================================================================
   ACERCA DE
   ========================================================================== */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.mv-card .ico { font-size: 1.8rem; margin-bottom: 12px; }
.mv-card h3 { margin-bottom: 10px; }
.mv-card p { color: var(--ink-muted); }

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}
@media (max-width: 860px) { .timeline-steps { grid-template-columns: repeat(2, 1fr); } }
.timeline-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.timeline-step .num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka', sans-serif; font-weight: 600;
  margin: 0 auto 12px;
}
.timeline-step h4 { font-size: 0.98rem; margin-bottom: 6px; }
.timeline-step p { font-size: 0.86rem; color: var(--ink-muted); }

.privacy-box {
  background: var(--brand-light);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.privacy-box .ico { font-size: 2rem; }
.privacy-box h3 { margin-bottom: 8px; }
.privacy-box p { color: var(--ink); opacity: 0.85; }

/* ==========================================================================
   FORMULARIO DE CONTACTO
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.audience-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 28px;
}
.audience-toggle button {
  border: none;
  background: transparent;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--ink-muted);
  transition: all 0.15s ease;
}
.audience-toggle button.is-active { background: var(--brand); color: #fff; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.field .hint { font-weight: 500; color: var(--ink-muted); font-size: 0.8rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--canvas);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.field textarea { resize: vertical; min-height: 110px; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
}
@media (max-width: 480px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--canvas);
}
.checkbox-item input { width: auto; }

.field-group[hidden] { display: none; }

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--teal-light); color: var(--teal-dark); }
.form-status--err { background: #fef2f2; color: #991b1b; }
.form-status--sending { background: var(--brand-light); color: var(--brand-dark); }

.contact-info-card {
  background: linear-gradient(150deg, #1e1b4b 0%, #322d7a 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.contact-info-card h3 { color: #fff; margin-bottom: 18px; }
.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.contact-info-row .ico {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-row a, .contact-info-row span { color: rgba(255,255,255,0.92); font-size: 0.94rem; }
.contact-info-row strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.6); margin-bottom: 2px; }
.contact-note { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.86rem; color: rgba(255,255,255,0.75); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 26px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 0.92rem; margin-bottom: 10px; color: rgba(255,255,255,0.75); transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.footer-social a:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
