/* =========================================================
   AI PREDICTIVE — Landing styles
   Paleta corporativa:
   - Primary:   #046bd2
   - Primary-2: #045cb4
   - Accent:    #473cd5  (violeta corporativo)
   - Ink:       #1e293b
   - Text:      #334155
   - Light bg:  #F0F5FA
   - Border:    #D1D5DB
   ========================================================= */

:root {
  --primary: #046bd2;
  --primary-2: #045cb4;
  --accent: #473cd5;
  --accent-soft: rgba(71, 60, 213, 0.08);
  --ink: #1e293b;
  --text: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-light: #F0F5FA;
  --border: #D1D5DB;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(30, 41, 59, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 41, 59, 0.08);
  --shadow-lg: 0 20px 50px rgba(30, 41, 59, 0.12);
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Archivo', 'Roboto Slab', sans-serif;
  --container: 1200px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
h4 { font-size: 1.05rem; }

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

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

.accent { color: var(--accent); }
.accent-light { color: #b3a9ff; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(71, 60, 213, 0.28);
}
.btn-primary:hover {
  background: #392ec2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(71, 60, 213, 0.36);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm { padding: 11px 22px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 14px rgba(30, 41, 59, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.logo img { height: 56px; width: auto; }

.primary-nav > ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav > ul > li { position: relative; }

.primary-nav a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
}
.primary-nav a:hover { color: var(--accent); background: var(--accent-soft); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 18px !important;
}
.nav-cta:hover { background: #392ec2 !important; }

.caret { font-size: 0.7em; opacity: 0.6; margin-left: 2px; }

/* Submenu */
.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--transition);
}
.has-sub:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.sub-menu a {
  padding: 10px 14px;
  font-size: 0.875rem;
  border-radius: 8px;
}
.sub-menu a:hover { background: var(--accent-soft); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 500px at 92% -10%, rgba(71, 60, 213, 0.10), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(4, 107, 210, 0.08), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 { margin-bottom: 24px; }
.hero p { font-size: 1.02rem; }
.lead { font-size: 1.1rem !important; color: var(--text); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-media img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(71, 60, 213, 0.15));
}

/* ---------- Secciones ---------- */
.section { padding: 90px 0; }
.section-light { background: var(--bg-light); }

.section-dark {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #cbd5e1;
  position: relative;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #cbd5e1; }

.section-head {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--muted);
}
.section-dark .section-head p,
.lead-dark { color: #cbd5e1 !important; font-size: 1.1rem; }

/* Arquitectura */
.arquitectura-media {
  margin: 0 auto;
  max-width: 980px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.arquitectura-media img { width: 100%; }

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(71, 60, 213, 0.35);
}

.card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-light);
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.04); }

.card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 14px;
}

.card-body p { font-size: 0.94rem; color: var(--text); }
.card-body h4 { margin-top: 0; }

.card-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Pilares ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pillar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all var(--transition);
}
.pillar:hover {
  background: rgba(71, 60, 213, 0.12);
  border-color: rgba(71, 60, 213, 0.5);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 72px; height: 72px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px;
  display: flex; align-items: center; justify-content: center;
}
.pillar-icon img { width: 100%; height: 100%; object-fit: contain; }

.pillar h3 { font-size: 1.1rem; margin-bottom: 10px; }
.pillar p { font-size: 0.92rem; }

/* ---------- Mentoría ---------- */
.mentor-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.mentor-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.check-list { margin: 20px 0 28px; }
.check-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 10px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 90px 0;
  background:
    linear-gradient(135deg, rgba(71, 60, 213, 0.96), rgba(4, 107, 210, 0.94)),
    #046bd2;
  color: #fff;
  text-align: center;
}
.cta-inner { max-width: 900px; margin: 0 auto; }
.cta-section h2 { color: #fff; }
.cta-section .accent { color: #d9d3ff; }
.cta-section p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.cta-section .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.cta-section .btn-primary:hover { background: #f3f0ff; color: var(--accent); }

/* ---------- Partners ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  align-items: center;
}
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  min-height: 100px;
}
.partner:hover {
  border-color: rgba(71, 60, 213, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.partner img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter var(--transition);
}
.partner:hover img { filter: grayscale(0%); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding-top: 70px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.footer-logo { height: 46px; width: auto; margin-bottom: 18px; }

.footer-list li { padding: 6px 0; }
.footer-list a { color: #cbd5e1; }
.footer-list a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(71, 60, 213, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #392ec2; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid,
  .mentor-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; }
  .hero-media img { max-width: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .primary-nav.is-open { max-height: 700px; }

  .primary-nav > ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 20px;
    gap: 2px;
  }
  .primary-nav a { padding: 12px 14px; }

  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--accent);
    border-radius: 0;
    padding: 0 0 0 14px;
    margin: 4px 0 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .has-sub.open > .sub-menu { max-height: 400px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .cta-section { padding: 64px 0; }
  .card-body { padding: 22px; }
  .pillar { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .container { padding: 0 18px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   PROGRAMA EJECUTIVO — estilos específicos
   ========================================================= */

.hero-program { padding: 64px 0 72px; }
.hero-program h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }

.program-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
}
.intro-lead {
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.program-text {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.02rem;
}
.program-text p { margin-bottom: 1.1rem; }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.module-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px 28px;
  transition: all var(--transition);
  overflow: hidden;
}
.module-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}
.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(71, 60, 213, 0.35);
}

.module-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-soft);
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  -webkit-text-stroke: 2px var(--accent);
}

.module-card h3 { margin-bottom: 14px; }
.module-card p { font-size: 0.94rem; }
.module-focus {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 0.9rem !important;
  color: var(--accent) !important;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.split-text h2 { margin-bottom: 18px; }
.split-text p { font-size: 0.98rem; }
.split-aside { display: flex; flex-direction: column; gap: 16px; }

.aside-card {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.aside-card h4 {
  margin: 0 0 6px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.aside-card p { margin: 0; font-size: 0.95rem; color: var(--text); }

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.agenda-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: all var(--transition);
}
.agenda-item:hover {
  border-color: rgba(71, 60, 213, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.agenda-icon { font-size: 2rem; margin-bottom: 12px; }
.agenda-item h4 { margin-bottom: 8px; font-size: 1rem; }
.agenda-item p { font-size: 0.9rem; margin: 0; }

.agenda-note {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.benefits-grid li {
  position: relative;
  padding: 14px 0 14px 38px;
  font-size: 0.96rem;
  border-bottom: 1px solid var(--border);
}
.benefits-grid li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 14px;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
}

.instructor-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  max-width: 1000px;
  margin: 0 auto;
}
.instructor-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.instructor-body .eyebrow { margin-bottom: 12px; }
.instructor-body h2 { margin-bottom: 12px; }
.instructor-body p { font-size: 0.96rem; margin: 0; }

.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item[open] {
  border-color: rgba(71, 60, 213, 0.35);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  position: relative;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all var(--transition);
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--accent);
  color: #fff;
  transform: translateY(-50%) rotate(180deg);
}
.faq-item summary:hover { color: var(--accent); }

.faq-body {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--text);
}
.faq-body p { margin: 0; }

@media (max-width: 900px) {
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .instructor-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }
  .instructor-avatar { margin: 0 auto; }
  .instructor-body .eyebrow { display: inline-block; }
}

@media (max-width: 640px) {
  .module-card { padding: 28px 22px 24px; }
  .module-num { font-size: 2.4rem; }
  .instructor-avatar { width: 90px; height: 90px; font-size: 1.8rem; }
  .benefits-grid li { font-size: 0.92rem; }
}

/* =========================================================
   CORE SKILLS — estilos específicos
   ========================================================= */

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.highlight-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: all var(--transition);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.highlight-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.highlight-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--ink);
}
.highlight-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.tag-mini {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  white-space: nowrap;
}

.labs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.lab-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.lab-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(71, 60, 213, 0.35);
}
.lab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.lab-badge {
  display: inline-block;
  padding: 5px 11px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 999px;
}
.lab-icon {
  font-size: 1.5rem;
  opacity: 0.75;
}
.lab-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.lab-subtitle {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 14px;
}
.lab-card p { font-size: 0.92rem; }
.lab-card .tag-list { margin-top: auto; padding-top: 14px; }

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.instructors-grid .instructor-card {
  grid-template-columns: 1fr;
  padding: 32px 28px;
  text-align: left;
}
.instructors-grid .instructor-avatar {
  width: 80px;
  height: 80px;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.instructors-grid .instructor-body h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.instructors-grid .instructor-body p {
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 640px) {
  .lab-card { padding: 22px 18px; }
  .highlight-card { padding: 20px 18px; }
  .instructors-grid .instructor-card {
    padding: 26px 22px;
    text-align: center;
  }
  .instructors-grid .instructor-avatar { margin: 0 auto 16px; }
}

/* =========================================================
   ADVANCED ML — estilos específicos
   ========================================================= */

.families-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.family-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  transition: all var(--transition);
}
.family-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(71, 60, 213, 0.35);
}
.family-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  line-height: 1;
}
.family-card h4 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  color: var(--ink);
}
.family-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}
.tech-chip {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  transition: all var(--transition);
}
.tech-chip:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(71, 60, 213, 0.25);
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 860px;
  position: relative;
}
.process-list::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  border-radius: 2px;
  opacity: 0.35;
}
.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding-bottom: 32px;
}
.process-step:last-child { padding-bottom: 0; }

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(71, 60, 213, 0.28);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.step-body {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: all var(--transition);
}
.step-body:hover {
  border-color: rgba(71, 60, 213, 0.35);
  box-shadow: var(--shadow-md);
}
.step-body h4 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: var(--ink);
}
.step-body p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text);
}

@media (max-width: 640px) {
  .families-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .family-card { padding: 20px 14px; }
  .family-icon { font-size: 1.8rem; }
  .tech-chip { padding: 8px 16px; font-size: 0.82rem; }

  .process-list::before { left: 22px; }
  .process-step {
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding-bottom: 20px;
  }
  .step-num {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  .step-body { padding: 18px 18px; }
  .step-body h4 { font-size: 0.95rem; }
  .step-body p { font-size: 0.88rem; }
}

/* =========================================================
   MENTORÍA & PROYECTOS — estilos específicos
   ========================================================= */

.hero-mentoria { padding: 72px 0 88px; }
.hero-mentoria h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.hero-mentoria .hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.value-hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.value-hero .eyebrow { margin-bottom: 18px; }
.value-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 28px;
  line-height: 1.2;
}
.value-lead {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 18px;
  text-align: left;
}
@media (min-width: 700px) {
  .value-lead { text-align: center; }
}

.value-outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 36px;
  text-align: left;
}
.outcome-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: all var(--transition);
}
.outcome-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.outcome-icon { font-size: 1.8rem; flex-shrink: 0; }
.outcome-pill strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.outcome-pill span:not(.outcome-icon) {
  font-size: 0.85rem;
  color: var(--muted);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.diff-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.diff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(71, 60, 213, 0.35);
}
.diff-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 14px;
}
.diff-card h3 {
  font-size: 1.08rem;
  margin-bottom: 12px;
  color: var(--ink);
}
.diff-card p {
  font-size: 0.93rem;
  margin: 0;
  color: var(--text);
}

/* CORRECCIÓN DEL BLOQUE QUE ESTABA CORTADO */
.diff-card-highlight {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  border: none;
}
.diff-card-highlight h3,
.diff-card-highlight p {
  color: #fff;
}
.diff-card-highlight .diff-icon {
  background: rgba(255, 255, 255, 0.15);
}

/* =========================================================
   PERFILES (Director e Instructores) - Estilo Editorial
   ========================================================= */

.section-title-left {
  text-align: left;
  margin-bottom: 48px;
}
.section-title-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0;
}

.profiles-list {
  display: flex;
  flex-direction: column;
  gap: 72px; /* Separación amplia */
}

.profile-block {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.profile-image {
  width: 340px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.profile-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.profile-content {
  flex: 1;
  padding-top: 8px;
}

.profile-content h3 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 24px 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.profile-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 18px;
}

.profile-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .profile-block {
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
  }
  
  .profile-image {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4 / 5;
  }

  .profile-content h3 {
    font-size: 1.6rem;
  }
  
  .profile-content p {
    font-size: 1rem;
  }
}

/* =========================================================
   BLOG — estilos específicos
   ========================================================= */

/* ---------- HERO BLOG ---------- */
.blog-hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(900px 500px at 92% -10%, rgba(71, 60, 213, 0.10), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(4, 107, 210, 0.08), transparent 60%),
    var(--bg);
}
.blog-hero-inner {
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}
.blog-hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 20px;
}
.blog-hero .lead { font-size: 1.05rem; }

/* ---------- FILTROS ---------- */
.blog-filters-section {
  padding: 0 0 32px;
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.filter-btn {
  padding: 10px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover {
  color: var(--accent);
  border-color: rgba(71, 60, 213, 0.35);
  background: var(--accent-soft);
}
.filter-btn.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 6px 16px rgba(71, 60, 213, 0.25);
}

/* ---------- FEATURED POST ---------- */
.featured-post {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.featured-post:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(71, 60, 213, 0.35);
}

.featured-post-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--bg-light);
}
.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.featured-post:hover .featured-post-image img { transform: scale(1.04); }

.featured-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.featured-post-body {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-post-body h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin-bottom: 16px;
  line-height: 1.25;
}
.featured-post-body p {
  font-size: 1rem;
  margin-bottom: 24px;
  color: var(--text);
}

/* ---------- POST META ---------- */
.post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.post-category {
  display: inline-block;
  padding: 4px 11px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
}
.post-date {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- POST FOOTER ---------- */
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
}
.post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.post-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.read-time {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.read-more {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent);
}
.read-more:hover { color: var(--primary); }

/* ---------- POSTS GRID ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(71, 60, 213, 0.35);
}

.post-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-light);
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.05); }

.post-card-body {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card-body h3 {
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 12px;
}
.post-card-body h3 a {
  color: var(--ink);
  transition: color var(--transition);
}
.post-card-body h3 a:hover { color: var(--accent); }
.post-card-body p {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 16px;
  flex: 1;
}

/* ---------- NEWSLETTER ---------- */
.newsletter-section {
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(71, 60, 213, 0.96), rgba(4, 107, 210, 0.94)),
    #046bd2;
  color: #fff;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.newsletter-text h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 14px;
}
.newsletter-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.65);
}
.newsletter-form input[type="email"]:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.22);
}
.newsletter-form .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.newsletter-form .btn-primary:hover {
  background: #f3f0ff;
  color: var(--accent);
}
.newsletter-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  text-align: center;
}
.newsletter-note a {
  color: #fff;
  text-decoration: underline;
}

/* ---------- RESPONSIVE BLOG ---------- */
@media (max-width: 900px) {
  .featured-post {
    grid-template-columns: 1fr;
  }
  .featured-post-body {
    padding: 32px 26px;
  }
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .blog-hero { padding: 48px 0 28px; }
  .blog-filters-section { padding: 0 0 24px; }
  .filter-btn { padding: 8px 16px; font-size: 0.8rem; }
  .featured-post-body { padding: 26px 22px; }
  .post-card-body { padding: 20px 18px 18px; }
  .post-card-body h3 { font-size: 1rem; }
  .post-footer { flex-wrap: wrap; }
  .newsletter-section { padding: 56px 0; }
}
/* =========================================================
   POST SINGLE — página interior de artículo
   ========================================================= */

/* ---------- Hero del artículo ---------- */
.post-single { background: #fff; }

.post-hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(900px 500px at 92% -10%, rgba(71, 60, 213, 0.08), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(4, 107, 210, 0.06), transparent 60%),
    #fff;
  border-bottom: 1px solid var(--border);
}
.post-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.post-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.post-breadcrumb a {
  color: var(--accent);
  font-weight: 500;
}
.post-breadcrumb a:hover { color: var(--primary); }
.post-breadcrumb span { opacity: 0.5; }

.post-meta-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--muted);
}

.post-title {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 22px;
  color: var(--ink);
}

.post-excerpt {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 32px;
}

.post-author-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.post-author-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.post-author-line strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--ink);
}
.post-author-line span {
  font-size: 0.8rem;
  color: var(--muted);
}
/* =========================================================
   IMAGEN INTEGRADA EN EL ARTÍCULO (Estilo revista)
   ========================================================= */

.post-image-small {
  margin: 36px auto;
  max-width: 600px; /* Tamaño máximo para que no se pixele */
  text-align: center;
}

.post-image-small img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(30, 41, 59, 0.08);
  display: block;
}

.post-image-small figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 12px;
  line-height: 1.4;
}

/* ---------- Layout contenido + índice ---------- */
.post-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  max-width: 1100px;
  margin: 64px auto 0;
  padding-bottom: 80px;
  align-items: start;
}

/* Índice sticky */
.post-toc {
  position: sticky;
  top: 100px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--accent);
}
.post-toc h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.post-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.post-toc ol li {
  counter-increment: toc;
  margin-bottom: 10px;
  font-size: 0.88rem;
}
.post-toc ol li a {
  display: block;
  color: var(--text);
  padding: 4px 0;
  line-height: 1.4;
  transition: color var(--transition);
}
.post-toc ol li a::before {
  content: counter(toc) ". ";
  color: var(--accent);
  font-weight: 700;
  margin-right: 4px;
}
.post-toc ol li a:hover { color: var(--accent); }

/* ---------- Contenido del artículo ---------- */
.post-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 100%;
  min-width: 0;
}

.post-content section {
  margin-bottom: 48px;
  scroll-margin-top: 100px;
}

.post-content h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  margin: 0 0 20px;
  color: var(--ink);
  line-height: 1.25;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-soft);
}

.post-content h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--ink);
  font-weight: 600;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content p.lead {
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.6;
}

.post-content strong {
  color: var(--ink);
  font-weight: 700;
}

.post-content em {
  color: var(--accent);
  font-style: italic;
}

/* Blockquote destacado */
.post-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  font-style: italic;
}

.post-content blockquote::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--accent);
  line-height: 0;
  position: relative;
  top: 14px;
  margin-right: 6px;
}
/* =========================================================
   CONTACTO — estilos específicos
   ========================================================= */

.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

/* Columna izquierda: info */
.contact-info {
  padding-top: 16px;
}
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--ink);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-list li:last-child { border-bottom: 0; }

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.contact-list strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 2px;
}
.contact-list a {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}
.contact-list a:hover { color: var(--accent); }

.contact-address h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}
.contact-address ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-address li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text);
}

/* Columna derecha: formulario */
.contact-form-wrapper {
  position: relative;
}

.custom-brevo-container {
  padding: 32px !important;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .contact-section { padding: 56px 0; }
  .custom-brevo-container { padding: 22px !important; }
}
{
  "name": "AI Predictive",
  "short_name": "AI Predictive",
  "icons": [
    { "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
    { "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
  ],
  "theme_color": "#046bd2",
  "background_color": "#ffffff",
  "display": "standalone",
  "start_url": "/"
}

/* List

