/* ============================================================
   ACADEMY PUBLIC v2 — alineado con el design system de los
   dashboards (Inter, indigo primario, sombras suaves).
   Las clases se mantienen idénticas para no romper shortcodes.
   ============================================================ */

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

.academy-public {
  --ap-bg:            #F3F4F7;
  --ap-surface:       #FFFFFF;
  --ap-ink:           #0F172A;
  --ap-ink-muted:     #64748B;
  --ap-ink-faint:     #94A3B8;
  --ap-border:        #E6E8EC;
  --ap-primary:       #6366F1;
  --ap-primary-hover: #4F46E5;
  --ap-primary-soft:  #EEF2FF;
  --ap-amber:         #F59E0B;
  --ap-amber-soft:    #FEF3C7;
  --ap-teal:          #10B981;
  --ap-teal-soft:     #D1FAE5;
  --ap-coral:         #EF4444;
  --ap-coral-soft:    #FEE2E2;
  --ap-shadow-sm:     0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --ap-shadow-md:     0 6px 16px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.05);
  --ap-shadow-lg:     0 16px 40px rgba(15,23,42,.10), 0 6px 12px rgba(15,23,42,.06);
  --ap-radius-md:     12px;
  --ap-radius-lg:     16px;
  --ap-radius-xl:     20px;

  background: var(--ap-bg);
  color: var(--ap-ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.academy-public *,
.academy-public *::before,
.academy-public *::after { box-sizing: border-box; }

/* ── Limpieza del theme wrapper para la página lets-meet ─ */
body.academy-lets-meet-page .entry-title,
body.academy-lets-meet-page .wp-block-post-title,
body.academy-lets-meet-page .post-title,
body.academy-lets-meet-page h1.wp-block-post-title { display: none !important; }

body.academy-lets-meet-page .entry-content,
body.academy-lets-meet-page .post-content,
body.academy-lets-meet-page .wp-block-post-content,
body.academy-lets-meet-page .wp-site-blocks main,
body.academy-lets-meet-page main.wp-block-group,
body.academy-lets-meet-page .is-layout-constrained,
body.academy-lets-meet-page .wp-block-group__inner-container { max-width: none !important; }

body.academy-lets-meet-page .entry-content > .academy-public,
body.academy-lets-meet-page .wp-block-post-content > .academy-public,
body.academy-lets-meet-page .post-content > .academy-public { width: 100%; }

/* ── Shell / layout ─────────────────────────────────────── */
.academy-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.academy-section {
  padding: 48px 0;
}

/* ── Typography ─────────────────────────────────────────── */
.academy-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ap-primary-hover);
  letter-spacing: 0;
  text-transform: none;
}

.academy-lead {
  font-size: 17px;
  line-height: 1.6;
  max-width: 680px;
  color: var(--ap-ink-muted);
}

.academy-hero h1,
.academy-section h2,
.academy-card h3,
.academy-cta h2,
.academy-slot-panel h3 {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ap-ink);
}

.academy-section h2       { font-size: clamp(26px, 4vw, 36px); margin: 0 0 14px; }
.academy-card h3          { font-size: 18px; margin: 0 0 8px; }
.academy-cta h2           { font-size: clamp(22px, 3vw, 30px); margin: 0; }
.academy-slot-panel h3    { font-size: 18px; margin: 0; }

/* ── Hero ───────────────────────────────────────────────── */
.academy-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  padding: 80px 0 48px;
  align-items: center;
}

.academy-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.academy-hero__copy { min-width: 0; }

.academy-hero__card {
  min-height: 360px;
  padding: 36px;
  border-radius: var(--ap-radius-xl);
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, var(--ap-primary) 0%, #8B5CF6 60%, #EC4899 100%);
  box-shadow: var(--ap-shadow-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.academy-hero__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.7;
  pointer-events: none;
}

.academy-note {
  position: relative;
  max-width: 320px;
  padding: 20px;
  background: rgba(255,255,255,.98);
  color: var(--ap-ink);
  border-radius: var(--ap-radius-lg);
  box-shadow: var(--ap-shadow-md);
  font-size: 14px;
  line-height: 1.55;
  z-index: 1;
}

.academy-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ── Buttons ────────────────────────────────────────────── */
.academy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.15s ease;
  cursor: pointer;
  font-family: inherit;
}

.academy-btn--primary {
  background: var(--ap-primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(99,102,241,.2);
}
.academy-btn--primary:hover:not(:disabled) {
  background: var(--ap-primary-hover);
  box-shadow: 0 6px 16px rgba(99,102,241,.3);
  transform: translateY(-1px);
}

.academy-btn--ghost {
  background: var(--ap-surface);
  color: var(--ap-ink);
  border-color: var(--ap-border);
  box-shadow: var(--ap-shadow-sm);
}
.academy-btn--ghost:hover:not(:disabled) {
  border-color: var(--ap-ink-faint);
  background: #F8FAFC;
}

.academy-btn--full { width: 100%; }

/* ── Grids ──────────────────────────────────────────────── */
.academy-grid {
  display: grid;
  gap: 20px;
}
.academy-grid--features,
.academy-grid--courses   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.academy-grid--reviews   { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── Cards ──────────────────────────────────────────────── */
.academy-card {
  padding: 26px;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  box-shadow: var(--ap-shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.academy-card:hover {
  box-shadow: var(--ap-shadow-md);
  transform: translateY(-1px);
}

.academy-card__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ap-primary-hover);
  letter-spacing: 0;
  text-transform: none;
}

.academy-card--quote p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ap-ink);
}

.academy-stars {
  color: var(--ap-amber);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  font-size: 16px;
}

/* ── Split section ──────────────────────────────────────── */
.academy-section--split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
}

/* ── CTA ────────────────────────────────────────────────── */
.academy-cta {
  margin: 48px auto;
  width: min(1120px, calc(100% - 32px));
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #fff;
  border-radius: var(--ap-radius-xl);
  box-shadow: var(--ap-shadow-lg);
  border: 1px solid rgba(255,255,255,0.08);
}
.academy-cta h2 { color: #fff; }
.academy-cta .academy-btn--primary {
  background: var(--ap-primary);
  border-color: transparent;
}

/* ── Badges / meta ──────────────────────────────────────── */
.academy-badge,
.academy-meta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.academy-badge {
  background: var(--ap-teal-soft);
  color: #047857;
  margin-bottom: 14px;
}
.academy-meta {
  margin-top: 16px;
  background: var(--ap-primary-soft);
  color: var(--ap-primary-hover);
}

/* ── Let's meet section ─────────────────────────────────── */
.academy-section--meet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 28px;
  align-items: start;
}

.academy-meet__intro {
  display: grid;
  gap: 16px;
  align-content: start;
}

.academy-meet__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.academy-meet__summary-card {
  padding: 18px;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-md);
  box-shadow: var(--ap-shadow-sm);
}
.academy-meet__summary-card--accent {
  background: var(--ap-primary-soft);
  border-color: transparent;
}
.academy-meet__summary-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--ap-ink);
}

.academy-meet__list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  line-height: 1.5;
  color: var(--ap-ink-muted);
}

/* ── Slot panel ─────────────────────────────────────────── */
.academy-slot-panel {
  margin-top: 4px;
  padding: 22px;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--ap-radius-lg);
  box-shadow: var(--ap-shadow-sm);
}
.academy-slot-panel--full { margin-top: 0; }

.academy-slot-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.academy-slot-panel__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ap-primary-soft);
  color: var(--ap-primary-hover);
  font-size: 11px;
  font-weight: 600;
}

.academy-slot-panel__lead {
  margin: 6px 0 14px;
  color: var(--ap-ink-muted);
  line-height: 1.5;
  font-size: 14px;
}

.academy-slot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.academy-slot {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  min-height: 78px;
  padding: 14px 16px;
  border: 1.5px solid var(--ap-border);
  border-radius: var(--ap-radius-md);
  background: var(--ap-surface);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--ap-ink);
  transition: all 0.15s ease;
}
.academy-slot:hover {
  border-color: var(--ap-primary);
  background: var(--ap-primary-soft);
  transform: translateY(-1px);
}
.academy-slot.is-active {
  background: var(--ap-primary);
  border-color: var(--ap-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99,102,241,.3);
}
.academy-slot.is-active .academy-slot__date {
  color: rgba(255,255,255,0.85);
}

.academy-slot__date {
  line-height: 1.35;
  color: var(--ap-ink-muted);
  font-size: 13px;
  font-weight: 500;
}
.academy-slot__time {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

/* ── Form ───────────────────────────────────────────────── */
.academy-card--form {
  background: var(--ap-surface);
  padding: 24px;
  position: sticky;
  top: max(16px, calc(50vh - 300px));
  max-width: 100%;
  border-radius: var(--ap-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ap-border);
  box-shadow: var(--ap-shadow-md);
}

.academy-form__intro { margin-bottom: 14px; }
.academy-form__intro h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.academy-form__intro p:last-child {
  margin: 0;
  color: var(--ap-ink-muted);
  line-height: 1.5;
  font-size: 13px;
}

.academy-form {
  display: grid;
  gap: 14px;
}

.academy-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.academy-form label {
  display: grid;
  gap: 6px;
  font-weight: 500;
  font-size: 13px;
  color: var(--ap-ink);
}

.academy-form input:not([type="hidden"]),
.academy-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--ap-border);
  border-radius: var(--ap-radius-md);
  background: var(--ap-surface);
  color: var(--ap-ink);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.academy-form input:focus,
.academy-form textarea:focus {
  outline: none;
  border-color: var(--ap-primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,.18);
}

.academy-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* ── Messages ───────────────────────────────────────────── */
.academy-message {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: none;
  border-radius: var(--ap-radius-md);
  font-weight: 500;
  font-size: 14px;
}
.academy-message--success {
  background: var(--ap-teal-soft);
  color: #047857;
}
.academy-message--error {
  background: var(--ap-coral-soft);
  color: #b91c1c;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1280px) {
  .academy-hero,
  .academy-section--split,
  .academy-grid--reviews   { grid-template-columns: 1fr; }
  .academy-grid--features,
  .academy-grid--courses   { grid-template-columns: 1fr; }
  .academy-cta             { flex-direction: column; align-items: flex-start; }
  .academy-meet__summary   { grid-template-columns: 1fr; }
  .academy-card--form      { position: static; }
  .academy-hero            { padding: 48px 0 32px; }
}

@media (max-width: 1024px) {
  .academy-shell           { width: min(1024px, calc(100% - 32px)); }
  .academy-section--meet   { grid-template-columns: 1fr; gap: 22px; }
  .academy-slot-list       { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .academy-section         { padding: 32px 0; }
  .academy-shell           { width: calc(100% - 20px); }
  .academy-section--meet   { grid-template-columns: 1fr; gap: 18px; }
  .academy-slot-panel,
  .academy-card--form,
  .academy-meet__summary-card { padding: 18px; }
  .academy-slot            { min-height: auto; padding: 12px 14px; }
  .academy-slot__time      { font-size: 16px; }
  .academy-form            { gap: 14px; }
  .academy-form__row       { grid-template-columns: 1fr; }
  .academy-hero h1         { font-size: 34px; }
  .academy-hero__card      { min-height: 220px; padding: 22px; }
  .academy-cta             { padding: 24px; }
}

/* =============================================================================
 * C3 Landing — estilos para el shortcode [academy_home].
 * Todo aquí está scoped bajo .c3-landing para que el theme activo no se cuele
 * y para no colisionar con los estilos antiguos .academy-* del shortcode previo.
 * ============================================================================= */

.c3-landing {
  --c3-ink:        #0F172A;
  --c3-ink-2:      #475569;
  --c3-ink-soft:   #94A3B8;
  --c3-bg:         #FAFAF7;
  --c3-surface:    #FFFFFF;
  --c3-border:     #E6E8EC;
  --c3-primary:    #6366F1;
  --c3-primary-2:  #4F46E5;
  --c3-accent:     #F59E0B;
  --c3-teal:       #10B981;
  --c3-violet:     #8B5CF6;
  --c3-coral:      #F97373;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--c3-ink);
  line-height: 1.55;
  background: var(--c3-bg);
}

.c3-landing,
.c3-landing * { box-sizing: border-box; }

/* Reset de anchors usando :where() para que la especificidad sea (0,0,1)
 * y NO pise reglas posteriores como `.c3-btn--primary { color:#fff }`. */
:where(.c3-landing) a { color: inherit; text-decoration: none; }
:where(.c3-landing) button { font: inherit; }

.c3-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------- Top nav ----------- */
.c3-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.c3-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.c3-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.c3-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c3-primary), var(--c3-violet));
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 14px;
}
.c3-logo--sm { width: 28px; height: 28px; font-size: 12px; border-radius: 8px; }
.c3-nav__brand-text { font-size: 15px; }
.c3-nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--c3-ink-2);
  font-weight: 500;
}
.c3-nav__links a:hover { color: var(--c3-ink); }
.c3-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.c3-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--c3-ink-2);
}
.c3-link:hover { color: var(--c3-ink); }

/* ----------- Buttons ----------- */
.c3-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms, background 120ms, border-color 120ms, color 120ms;
}
.c3-btn--lg { padding: 14px 22px; font-size: 15.5px; border-radius: 12px; }
.c3-btn--primary {
  background: var(--c3-ink);
  color: #fff;
}
.c3-btn--primary:hover { background: #1E293B; transform: translateY(-1px); }
.c3-btn--ghost {
  background: transparent;
  color: var(--c3-ink);
  border-color: var(--c3-border);
}
.c3-btn--ghost:hover { border-color: var(--c3-ink); }
.c3-btn--white {
  background: #fff;
  color: var(--c3-ink);
}
.c3-btn--white:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -10px rgba(0,0,0,0.4); }
.c3-btn__arrow { transition: transform 200ms; }
.c3-btn:hover .c3-btn__arrow { transform: translateX(3px); }

/* ----------- Eyebrows / tags ----------- */
.c3-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c3-primary);
  margin-bottom: 16px;
}
.c3-eyebrow--inverse { color: rgba(255,255,255,0.85); }
.c3-tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.c3-tag--indigo { background: #EEF2FF; color: var(--c3-primary-2); }
.c3-tag--teal   { background: #D1FAE5; color: #047857; }
.c3-accent {
  background: linear-gradient(135deg, var(--c3-primary), var(--c3-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----------- Hero ----------- */
.c3-hero {
  padding: 64px 0 96px;
  position: relative;
  overflow: hidden;
}
.c3-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.c3-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}
.c3-hero__lead {
  font-size: 18px;
  color: var(--c3-ink-2);
  margin: 0 0 32px;
  max-width: 540px;
}
.c3-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.c3-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  font-size: 14.5px;
  color: var(--c3-ink-2);
}
.c3-hero__bullets li { display: flex; align-items: center; gap: 10px; }
.c3-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ECFDF5;
  color: var(--c3-teal);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.c3-hero__art {
  position: relative;
  height: 480px;
}
.c3-hero__chip {
  position: absolute;
  background: var(--c3-surface);
  border: 1px solid var(--c3-border);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 30px -16px rgba(15, 23, 42, 0.18);
  width: 240px;
  z-index: 2;
}
.c3-hero__chip-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c3-primary);
  margin-bottom: 6px;
}
.c3-hero__chip p { margin: 0; font-size: 14px; color: var(--c3-ink); line-height: 1.4; }
.c3-hero__chip--1 { top: 20px;   right: 80px;  transform: rotate(-3deg); }
.c3-hero__chip--2 { top: 180px;  right: 8px;   transform: rotate(2deg);  }
.c3-hero__chip--3 { top: 320px;  right: 100px; transform: rotate(-2deg); }

.c3-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.6;
  z-index: 1;
}
.c3-hero__blob--a {
  width: 280px; height: 280px;
  top: -40px; right: 40px;
  background: rgba(99, 102, 241, 0.25);
}
.c3-hero__blob--b {
  width: 220px; height: 220px;
  bottom: -40px; right: 120px;
  background: rgba(245, 158, 11, 0.18);
}

/* ----------- Generic section ----------- */
.c3-section {
  padding: 88px 0;
}
.c3-section__head {
  max-width: 760px;
  margin-bottom: 56px;
}
.c3-section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.c3-section__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  font-weight: 800;
}
.c3-section__title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--c3-primary), var(--c3-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.c3-section__lead {
  font-size: 17.5px;
  color: var(--c3-ink-2);
  margin: 0;
}
.c3-section__lead strong { color: var(--c3-ink); }

/* ----------- Why C3: feature grid ----------- */
.c3-why { background: var(--c3-surface); border-block: 1px solid var(--c3-border); }
.c3-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.c3-feature {
  background: var(--c3-bg);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--c3-border);
}
.c3-feature__icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.c3-feature h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--c3-ink);
}
.c3-feature p { margin: 0; color: var(--c3-ink-2); font-size: 15px; }

/* ----------- First Consultation ----------- */
.c3-first__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.c3-first__copy { padding-top: 8px; }
.c3-first__copy p { font-size: 17.5px; color: var(--c3-ink-2); margin: 0 0 28px; }

.c3-first__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.c3-stepcard {
  background: var(--c3-surface);
  border: 1px solid var(--c3-border);
  border-radius: 16px;
  padding: 26px 22px;
  transition: transform 200ms, box-shadow 200ms;
}
.c3-stepcard:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -22px rgba(15, 23, 42, 0.22); }
.c3-stepcard__num {
  display: inline-block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--c3-primary);
  margin-bottom: 8px;
}
.c3-stepcard h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}
.c3-stepcard p { margin: 0; color: var(--c3-ink-2); font-size: 14.5px; line-height: 1.5; }
.c3-stepcard--accent {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border-color: #A7F3D0;
}
.c3-stepcard--accent .c3-stepcard__num { color: #047857; }

/* ----------- Lessons rows ----------- */
.c3-lessons { background: var(--c3-surface); border-block: 1px solid var(--c3-border); }
.c3-lesson-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--c3-border);
}
.c3-lesson-row:last-child { border-bottom: none; }
.c3-lesson-row--reverse .c3-lesson-row__copy { order: 2; }
.c3-lesson-row__copy h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  font-weight: 800;
}
.c3-lesson-row__copy p {
  margin: 0 0 14px;
  color: var(--c3-ink-2);
  font-size: 16px;
}
.c3-pointlist {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.c3-pointlist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--c3-ink-2);
  font-size: 15.5px;
  line-height: 1.55;
}
.c3-pointlist li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--c3-primary);
  font-weight: 700;
}
.c3-pointlist strong { color: var(--c3-ink); }

/* Mock cards (lessons demo) */
.c3-mockcard {
  background: var(--c3-bg);
  border: 1px solid var(--c3-border);
  border-radius: 18px;
  padding: 22px 22px 24px;
  box-shadow: 0 18px 50px -28px rgba(15, 23, 42, 0.28);
}
.c3-mockcard__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.c3-mockcard__pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #EEF2FF;
  color: var(--c3-primary-2);
  padding: 4px 10px;
  border-radius: 999px;
}
.c3-mockcard__pill--teal { background: #D1FAE5; color: #047857; }
.c3-mockcard__dots { color: var(--c3-ink-soft); font-size: 18px; letter-spacing: 2px; }
.c3-mockcard__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.c3-mockcard__items { list-style: none; padding: 0; margin: 0; }
.c3-mockcard__items li {
  font-size: 15px;
  color: var(--c3-ink-2);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.c3-bullet {
  color: var(--c3-primary);
  font-weight: 700;
  flex-shrink: 0;
}
.c3-content-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--c3-border);
}
.c3-content-row:first-of-type { border-top: none; padding-top: 6px; }
.c3-content-tag {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--c3-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid var(--c3-border);
}
.c3-content-row strong { color: var(--c3-ink); font-size: 14.5px; }
.c3-muted { color: var(--c3-ink-2); font-size: 13.5px; }

/* ----------- Anywhere ----------- */
.c3-anywhere__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.c3-anywhere__card {
  background: var(--c3-surface);
  border: 1px solid var(--c3-border);
  border-radius: 18px;
  padding: 32px 26px;
  text-align: center;
}
.c3-anywhere__icon { font-size: 36px; margin-bottom: 14px; }
.c3-anywhere__card h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.c3-anywhere__card p { margin: 0; color: var(--c3-ink-2); font-size: 15px; }

/* ----------- Final CTA ----------- */
.c3-cta { padding: 32px 0 100px; }
.c3-cta__box {
  background: linear-gradient(135deg, #1E1B4B, #312E81 60%, #4338CA);
  color: #fff;
  border-radius: 28px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.6fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.c3-cta__box::before,
.c3-cta__box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
}
.c3-cta__box::before { width: 280px; height: 280px; top: -100px; right: 80px; background: #F59E0B; }
.c3-cta__box::after  { width: 220px; height: 220px; bottom: -80px; left: -40px; background: #8B5CF6; }
.c3-cta__copy { position: relative; z-index: 2; }
.c3-cta__copy h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 12px;
  /* El CTA box tiene fondo oscuro — el título debe ser blanco. Explícito para
   * que no herede el `--c3-ink` oscuro del wrapper .c3-landing ni se lo coma
   * un h2 del tema con más especificidad. */
  color: #fff;
}
.c3-cta__copy h2 em {
  font-style: italic;
  color: #FCD34D;
  -webkit-text-fill-color: #FCD34D;
}
.c3-cta__copy p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 16.5px; max-width: 540px; }
.c3-cta .c3-btn--white { position: relative; z-index: 2; }

/* ----------- Footer ----------- */
.c3-footer {
  border-top: 1px solid var(--c3-border);
  background: var(--c3-surface);
  padding: 28px 0;
}
.c3-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.c3-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
}
.c3-footer__note { margin: 0; color: var(--c3-ink-2); font-size: 13.5px; }
.c3-footer__links { display: flex; gap: 18px; font-size: 14px; color: var(--c3-ink-2); }
.c3-footer__links a:hover { color: var(--c3-ink); }

/* =============================================================================
 * Responsive — tablet y móvil
 * Reglas: en móvil mantenemos el visual (chips, blobs, mock cards). Lo único
 * que se compacta es el layout. Los iconos crecen, los CTAs van full-width, y
 * la nav-bar se simplifica para que solo se vea el logo + el botón Book intro.
 * ============================================================================= */

/* ===== TABLET (≤ 1024px) ===== */
@media (max-width: 1024px) {
  .c3-shell { padding: 0 22px; }
  .c3-nav__inner { height: 64px; }
  .c3-nav__links { display: none; }

  .c3-hero { padding: 48px 0 56px; }
  .c3-hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .c3-hero__title { font-size: 46px; }
  .c3-hero__lead { font-size: 17px; max-width: 600px; }

  /* Hero art reorganizado: más bajo, chips reposicionados para el ancho menor */
  .c3-hero__art {
    height: 380px;
    max-width: 520px;
    margin: 12px auto 0;
  }
  .c3-hero__chip { width: 240px; }
  .c3-hero__chip--1 { top: 0;    right: auto; left: 0;   transform: rotate(-3deg); }
  .c3-hero__chip--2 { top: 140px; right: 0;    left: auto; transform: rotate(2deg); }
  .c3-hero__chip--3 { top: 270px; right: auto; left: 80px; transform: rotate(-2deg); }

  .c3-section { padding: 64px 0; }
  .c3-section__head { margin-bottom: 44px; }

  /* 3 cols → 2 cols en tablet, mantiene densidad visual */
  .c3-feature-grid     { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .c3-anywhere__grid   { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .c3-first__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .c3-first__cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .c3-lesson-row,
  .c3-lesson-row--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 0;
  }
  /* En móvil, el demo siempre va DEBAJO del copy, da igual el orden de desktop */
  .c3-lesson-row--reverse .c3-lesson-row__copy { order: 0; }

  .c3-cta__box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 44px 32px;
    gap: 24px;
  }
  .c3-cta__copy p { margin-left: auto; margin-right: auto; }
}

/* ===== PHONE (≤ 640px) ===== */
@media (max-width: 640px) {
  .c3-shell { padding: 0 18px; }

  /* Nav: solo logo + botón Book intro. El resto se oculta para no romper */
  .c3-nav__brand-text { display: none; }
  /* Mantenemos el "Log in" visible en móvil — los alumnos existentes
   * necesitan poder volver. Solo lo hacemos más compacto. */
  .c3-nav__actions { gap: 8px; }
  .c3-nav__actions .c3-link { font-size: 13.5px; padding: 4px 6px; }
  .c3-btn { padding: 10px 14px; font-size: 13.5px; }
  .c3-btn--lg { padding: 14px 20px; font-size: 15px; }

  .c3-hero { padding: 28px 0 44px; }
  .c3-hero__title {
    font-size: clamp(34px, 8vw, 42px);
    line-height: 1.05;
    margin-bottom: 16px;
  }
  .c3-hero__lead {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  /* CTAs full-width en móvil — tap targets grandes */
  .c3-hero__cta {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .c3-hero__cta .c3-btn {
    width: 100%;
    justify-content: center;
  }
  .c3-hero__bullets {
    font-size: 14px;
    gap: 6px;
  }

  /* Hero art: 2 chips en lugar de 3, más compactos pero VISIBLES */
  .c3-hero__art {
    height: 260px;
    max-width: 360px;
    margin: 28px auto 0;
  }
  .c3-hero__chip {
    width: 220px;
    padding: 14px 16px;
  }
  .c3-hero__chip p { font-size: 13.5px; }
  .c3-hero__chip--1 { top: 0;   left: 0;   right: auto; transform: rotate(-3deg); }
  .c3-hero__chip--2 { top: 100px; right: 0; left: auto; transform: rotate(2deg); }
  .c3-hero__chip--3 { display: none; }
  .c3-hero__blob--a { width: 220px; height: 220px; top: -40px; right: 20px; }
  .c3-hero__blob--b { width: 180px; height: 180px; bottom: -40px; right: 60px; }

  /* Secciones — más respiro vertical, headlines no enanos */
  .c3-section { padding: 52px 0; }
  .c3-section__head { margin-bottom: 36px; }
  .c3-section__title {
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.15;
  }
  .c3-section__lead { font-size: 16px; }

  /* Feature cards a 1 col, pero con iconos MÁS GRANDES y padding generoso */
  .c3-feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .c3-feature { padding: 26px 22px; }
  .c3-feature__icon { font-size: 38px; margin-bottom: 12px; }
  .c3-feature h3 { font-size: 18px; }

  /* Step cards (First Consultation) — full width, número grande */
  .c3-first__cards { grid-template-columns: 1fr; gap: 12px; }
  .c3-stepcard { padding: 24px 22px; }
  .c3-stepcard__num { font-size: 32px; }

  /* Lesson rows — copy + mock card stacked, más compacto */
  .c3-lesson-row,
  .c3-lesson-row--reverse {
    gap: 24px;
    padding: 32px 0;
  }
  .c3-lesson-row__copy h3 {
    font-size: clamp(22px, 5.6vw, 26px);
    line-height: 1.2;
  }
  .c3-lesson-row__copy p { font-size: 15px; }
  .c3-mockcard { padding: 20px 18px; }
  .c3-mockcard__title { font-size: 20px; }

  /* Anywhere — 1 col, iconos grandes */
  .c3-anywhere__grid { grid-template-columns: 1fr; gap: 14px; }
  .c3-anywhere__card { padding: 28px 24px; }
  .c3-anywhere__icon { font-size: 44px; margin-bottom: 14px; }
  .c3-anywhere__card h3 { font-size: 19px; }

  /* CTA box — punchy, blobs visibles */
  .c3-cta { padding: 24px 0 56px; }
  .c3-cta__box {
    padding: 36px 24px;
    border-radius: 22px;
    gap: 22px;
  }
  .c3-cta__copy h2 { font-size: clamp(24px, 6.5vw, 30px); line-height: 1.15; }
  .c3-cta__copy p { font-size: 15px; }
  .c3-cta .c3-btn--white { width: 100%; justify-content: center; }

  /* Footer — apilado vertical, sin saltos raros */
  .c3-footer { padding: 24px 0; }
  .c3-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .c3-footer__note { font-size: 12.5px; line-height: 1.5; }
}

/* ===== Pantalla MUY pequeña (≤ 380px) — fix de overflow para iPhones SE/mini ===== */
@media (max-width: 380px) {
  .c3-hero__art { display: none; } /* el visual cuesta más que ayuda en este ancho */
  .c3-hero { padding-bottom: 36px; }
  .c3-section { padding: 44px 0; }
  .c3-stepcard { padding: 22px 18px; }

  /* Nav súper compacta — Log in + Book intro siguen visibles, más apretados */
  .c3-shell { padding: 0 14px; }
  .c3-nav__inner { gap: 12px; }
  .c3-nav__actions { gap: 6px; }
  .c3-nav__actions .c3-link { font-size: 13px; padding: 4px 4px; }
  .c3-btn { padding: 9px 12px; font-size: 13px; }
}
