/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary:      #06b6d4;
  --color-primary-dark: #0284c7;
  --color-primary-light:#ecfeff;
  --color-accent:       #dcfd8b;
  --color-accent-dark:  #bef264;
  --color-success:      #10B981;
  --color-before:       #FEE2E2;
  --color-before-text:  #991B1B;
  --color-after:        #D1FAE5;
  --color-after-text:   #065F46;

  --logo-glow:      #06b6d4;
  --logo-secondary: #2563eb;
  --logo-accent:    #dcfd8b;

  --text-900: #0F172A;
  --text-700: #334155;
  --text-500: #64748B;
  --text-200: #E2E8F0;

  --bg-white:  #FFFFFF;
  --bg-light:  #f0f9ff;
  --bg-dark:   #0f172a;
  --bg-deep:   #020617;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.14);

  --transition: .2s ease;

  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Sora', system-ui, -apple-system, sans-serif;
  color: var(--text-700);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════ */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

.section__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-900);
  text-align: center;
  line-height: 1.2;
}

.section__subtitle {
  margin-top: .6rem;
  text-align: center;
  color: var(--text-500);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #0f172a;
  font-weight: 700;
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(6,182,212,.4);
  transform: translateY(-1px);
}

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

.btn--sm  { padding: .45rem 1rem;  font-size: .85rem; }
.btn--lg  { padding: .85rem 1.8rem; font-size: 1rem; }
.btn--xl  { padding: 1.1rem 2.4rem; font-size: 1.1rem; width: 100%; }

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .75rem;
}

.navbar__logo {
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: -.5px;
}

/* ─── Logo animado ─── */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  position: relative;
  text-decoration: none;
  padding-left: 4px;
}

.navbar-logo__nucleus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--logo-glow) 0%, var(--logo-secondary) 100%);
  box-shadow: 0 0 14px rgba(6, 182, 212, .7), inset 0 0 8px rgba(255,255,255,.3);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.navbar-logo__orbit {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1.5px solid rgba(220, 253, 139, .45);
  border-radius: 50%;
  animation: logo-spin 8s linear infinite;
  z-index: 1;
}

.navbar-logo__node {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--logo-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--logo-accent);
}

@keyframes logo-spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.navbar-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: .1rem;
}

.navbar-logo__name {
  font-family: 'Outfit', sans-serif;
  font-size: .98rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1.5px;
}

.navbar-logo__sub {
  font-family: 'Outfit', sans-serif;
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--logo-glow);
  text-transform: uppercase;
}

.navbar-logo__dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--logo-accent);
  border-radius: 50%;
  margin-left: 3px;
  vertical-align: middle;
  box-shadow: 0 0 6px var(--logo-accent);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, #ecfeff 0%, #cffafe 40%, #f0f9ff 100%);
  padding-block: clamp(4rem, 10vw, 7rem);
  text-align: center;
}

.hero__inner { max-width: 780px; }

.hero__badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 900;
  color: var(--text-900);
  line-height: 1.12;
  letter-spacing: -.5px;
}

.hero__title--highlight {
  color: var(--color-primary);
}

.hero__subtitle {
  margin-top: 1.2rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-700);
  max-width: 600px;
  margin-inline: auto;
}

.hero__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}

.hero__guarantee {
  margin-top: 1.2rem;
  font-size: .85rem;
  color: var(--text-500);
}

/* ═══════════════════════════════════════════
   BENEFITS
═══════════════════════════════════════════ */
.benefits {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  background: var(--bg-white);
}

.benefits__grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-light);
  border: 1px solid var(--text-200);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: box-shadow var(--transition);
}
.benefit-card:hover { box-shadow: var(--shadow-md); }

.benefit-card__before,
.benefit-card__after {
  flex: 1;
  min-width: 0;
}

.benefit-card__before p,
.benefit-card__after p {
  margin-top: .4rem;
  font-size: .92rem;
  line-height: 1.5;
}

.benefit-card__arrow {
  font-size: 1.4rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .15rem .55rem;
  border-radius: 999px;
}
.tag--before { background: var(--color-before); color: var(--color-before-text); }
.tag--after  { background: var(--color-after);  color: var(--color-after-text);  }

/* ═══════════════════════════════════════════
   FOR WHO
═══════════════════════════════════════════ */
.for-who {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  background: var(--bg-light);
}

.for-who__grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.for-who__card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  text-align: center;
  border: 1px solid var(--text-200);
  transition: box-shadow var(--transition), transform var(--transition);
}
.for-who__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.for-who__icon {
  font-size: 2.4rem;
  margin-bottom: .8rem;
}

.for-who__card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: .5rem;
}

.for-who__card p {
  font-size: .9rem;
  color: var(--text-500);
}

.for-who__not {
  margin-top: 2rem;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  text-align: center;
  font-size: .92rem;
  color: #92400E;
}

/* ═══════════════════════════════════════════
   BIO
═══════════════════════════════════════════ */
.bio {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  background: var(--bg-dark);
  color: #fff;
}

.bio__inner {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.bio__image-wrap {
  flex-shrink: 0;
}

.bio__image-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #A855F7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  border: 4px solid rgba(255,255,255,.15);
}

.bio__content { flex: 1; min-width: 260px; }

.bio__label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #67e8f9;
}

.bio__name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin-top: .4rem;
  color: #fff;
}

.bio__description {
  margin-top: .8rem;
  color: #a5f3fc;
  font-size: .98rem;
  line-height: 1.65;
}

.bio__credentials {
  margin-top: 1.2rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.bio__credentials li {
  font-size: .9rem;
  color: #cffafe;
}

/* ═══════════════════════════════════════════
   CURRICULUM
═══════════════════════════════════════════ */
.curriculum {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  background: var(--bg-white);
}

.curriculum__grid {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  counter-reset: block;
}

.curriculum__block {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-light);
  border: 1px solid var(--text-200);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: box-shadow var(--transition);
}
.curriculum__block:hover { box-shadow: var(--shadow-md); }

.curriculum__number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary-light);
  line-height: 1;
  flex-shrink: 0;
  min-width: 3rem;
  text-align: center;
}

.curriculum__info h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-900);
  margin-bottom: .4rem;
}

.curriculum__info p {
  color: var(--text-500);
  font-size: .93rem;
  margin-bottom: .8rem;
}

.curriculum__info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.curriculum__info ul li {
  font-size: .88rem;
  color: var(--text-700);
  padding-left: 1rem;
  position: relative;
}

.curriculum__info ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 900;
}

/* ═══════════════════════════════════════════
   GUARANTEE
═══════════════════════════════════════════ */
.guarantee {
  padding-block: clamp(2.5rem, 7vw, 4rem);
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border-top: 1px solid #A7F3D0;
  border-bottom: 1px solid #A7F3D0;
}

.guarantee__inner {
  text-align: center;
  max-width: 600px;
}

.guarantee__badge {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.guarantee h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #065F46;
  margin-bottom: .8rem;
}

.guarantee p {
  color: #047857;
  font-size: 1rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════ */
.cta-final {
  padding-block: clamp(3.5rem, 10vw, 6rem);
  background: linear-gradient(160deg, #020617 0%, #0f172a 60%, #0c4a6e 100%);
  color: #fff;
  text-align: center;
}

.cta-final__inner { max-width: 500px; }

.cta-final__title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.18;
}

.cta-final__subtitle {
  margin-top: 1rem;
  color: #A5B4FC;
  font-size: 1rem;
}

/* Pricing card */
.pricing {
  margin-top: 2.5rem;
}

.pricing__card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow-lg);
  color: var(--text-900);
}

.pricing__label {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-primary);
  margin-bottom: .8rem;
}

.pricing__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .2rem;
  margin-bottom: 1.4rem;
}

.pricing__currency { font-size: 1.4rem; font-weight: 700; color: var(--text-700); }
.pricing__amount   { font-size: 4rem;   font-weight: 900; color: var(--text-900); line-height: 1; }
.pricing__period   { font-size: 1rem;   color: var(--text-500); }

.pricing__features {
  list-style: none;
  text-align: left;
  margin-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.pricing__features li {
  font-size: .95rem;
  color: var(--text-700);
}

.pricing__note {
  margin-top: .8rem;
  font-size: .8rem;
  color: var(--text-500);
}

.cta-final__reassurance {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: .88rem;
  color: #C7D2FE;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--text-900);
  padding-block: 2rem;
  color: var(--text-500);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__brand {
  font-weight: 700;
  color: #fff;
}

.footer__copy { font-size: .85rem; }

.footer__links {
  display: flex;
  gap: 1.2rem;
}

.footer__links a {
  font-size: .85rem;
  color: var(--text-500);
  text-decoration: none;
  transition: color var(--transition);
}
.footer__links a:hover { color: #fff; }

/* ═══════════════════════════════════════════
   NAVBAR — PESTAÑAS Y DROPDOWN
═══════════════════════════════════════════ */
.navbar__tabs {
  display: flex;
  align-items: center;
  list-style: none;
  gap: .25rem;
  margin: 0;
  padding: 0;
}

.navbar__tab {
  position: relative;
}

.navbar__tab-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  padding: .45rem .75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.navbar__tab-btn:hover {
  background: rgba(6, 182, 212, .15);
  color: var(--logo-glow);
}

.navbar__chevron {
  font-size: .7rem;
  transition: transform var(--transition);
  display: inline-block;
}

.navbar__tab--dropdown.is-open .navbar__chevron {
  transform: rotate(180deg);
}

.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .4rem);
  left: 0;
  min-width: 220px;
  background: #0f172a;
  border: 1px solid rgba(6, 182, 212, .25);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  list-style: none;
  padding: .4rem 0;
  z-index: 200;
}

.navbar__tab--dropdown.is-open .navbar__dropdown-menu {
  display: block;
}

.navbar__dropdown-menu li {
  margin: 0;
}

.navbar__dropdown-menu a {
  display: block;
  padding: .6rem 1.1rem;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.navbar__dropdown-menu a:hover {
  background: rgba(6, 182, 212, .12);
  color: var(--logo-glow);
}

/* ═══════════════════════════════════════════
   NÚCLEO DIGITAL — SOBRE NOSOTROS
═══════════════════════════════════════════ */
.nucleo-about {
  scroll-margin-top: 70px;
}

.nucleo-about__block {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--bg-white);
}

.nucleo-about__block--alt {
  background: var(--bg-light);
}

.nucleo-about__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  padding: .25rem .8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.nucleo-about__title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-900);
  line-height: 1.2;
  max-width: 700px;
  margin-bottom: 1rem;
}

.nucleo-about__text {
  font-size: 1rem;
  color: var(--text-700);
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.nucleo-about__subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: .85rem;
  margin-top: 2rem;
}

/* Sub-núcleos — pills */
.nucleo-about__subnucleos {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.nucleo-about__pill {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: .85rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 999px;
}

/* Público objetivo */
.nucleo-about__audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .8rem;
}

.nucleo-about__audience-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: var(--bg-white);
  border: 1px solid var(--text-200);
  border-radius: var(--radius-md);
  padding: .8rem 1rem;
  font-size: .92rem;
  color: var(--text-700);
  font-weight: 500;
}

.nucleo-about__audience-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Líneas de acción — Misión */
.nucleo-about__lines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.nucleo-about__line-card {
  background: var(--bg-white);
  border: 1px solid var(--text-200);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  transition: box-shadow var(--transition);
}

.nucleo-about__line-card:hover {
  box-shadow: var(--shadow-md);
}

.nucleo-about__line-icon {
  font-size: 2rem;
  margin-bottom: .7rem;
}

.nucleo-about__line-card h4 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: .4rem;
}

.nucleo-about__line-card p {
  font-size: .88rem;
  color: var(--text-500);
  line-height: 1.55;
}

/* Etapas de expansión — Visión */
.nucleo-about__etapas {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  flex-wrap: wrap;
}

.nucleo-about__etapa {
  flex: 1;
  min-width: 180px;
  background: var(--bg-light);
  border: 1px solid var(--text-200);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.nucleo-about__etapa-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary-light);
  line-height: 1;
  margin-bottom: .5rem;
}

.nucleo-about__etapa h4 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: .35rem;
}

.nucleo-about__etapa p {
  font-size: .87rem;
  color: var(--text-500);
  line-height: 1.5;
}

.nucleo-about__etapa-arrow {
  font-size: 1.4rem;
  color: var(--color-primary);
  align-self: center;
  flex-shrink: 0;
  padding-top: .5rem;
}

/* Dimensiones críticas — Propósito */
.nucleo-about__dimensiones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.nucleo-about__dimension {
  background: var(--bg-white);
  border: 1px solid var(--text-200);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  transition: box-shadow var(--transition);
}

.nucleo-about__dimension:hover {
  box-shadow: var(--shadow-md);
}

.nucleo-about__dimension-icon {
  font-size: 2rem;
  margin-bottom: .7rem;
}

.nucleo-about__dimension h4 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: .4rem;
}

.nucleo-about__dimension p {
  font-size: .88rem;
  color: var(--text-500);
  line-height: 1.55;
}

/* Scroll offset para anchor links con navbar fija */
.nucleo-about__block {
  scroll-margin-top: 72px;
}

/* ═══════════════════════════════════════════
   NAVBAR — PLAIN LINK (nuevas pestañas)
═══════════════════════════════════════════ */
.navbar__link {
  display: block;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  padding: .35rem .1rem;
  transition: color var(--transition);
}
.navbar__link:hover { color: #fff; }

/* ═══════════════════════════════════════════
   HERO — 2 COLUMNAS
═══════════════════════════════════════════ */
.hero-2col {
  background: linear-gradient(160deg, #020617 0%, #0f172a 60%, #082f49 100%);
  padding-block: clamp(4rem, 10vw, 7rem);
}

.hero-2col__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-2col__badge {
  display: inline-block;
  background: rgba(6,182,212,.15);
  border: 1px solid rgba(6,182,212,.35);
  color: var(--logo-glow);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.hero-2col__title {
  font-family: 'Sora', 'Outfit', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -.5px;
  margin-bottom: 1.2rem;
}

.hero-2col__highlight {
  background: linear-gradient(90deg, var(--logo-glow) 0%, var(--logo-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-2col__subtitle {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 460px;
}

.hero-2col__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

/* Panel de métricas */
.hero-metrics {
  background: #020617;
  border: 1px solid rgba(6,182,212,.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 0 40px rgba(6,182,212,.08);
}

.hero-metrics__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(6,182,212,.65);
  margin-bottom: 1.6rem;
}

.hero-metrics__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.hero-metrics__item {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.hero-metrics__num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--logo-glow);
  line-height: 1;
}

.hero-metrics__desc {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  line-height: 1.45;
}

/* ═══════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════ */
.trust-bar {
  background: #f8faff;
  border-top: 1px solid var(--text-200);
  border-bottom: 1px solid var(--text-200);
  padding-block: .9rem;
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.8rem;
  justify-content: center;
  align-items: center;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-700);
}

.trust-bar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 4px;
  font-size: .65rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   SERVICIOS
═══════════════════════════════════════════ */
.services-section {
  padding-block: clamp(3.5rem, 9vw, 6rem);
  background: #fff;
}

.services-section .section__title { margin-bottom: .5rem; }
.services-section .section__subtitle { margin-bottom: 2.8rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.4rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--text-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--logo-accent) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(6,182,212,.15);
  transform: translateY(-3px);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card__title {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: .75rem;
}

.service-card__desc {
  font-size: .9rem;
  color: var(--text-700);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.4rem;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  margin-bottom: 1.6rem;
}
.service-card__tags li {
  font-size: .72rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: .2rem .6rem;
  border-radius: 999px;
}

.service-card__link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: auto;
  transition: color var(--transition);
}
.service-card__link:hover { color: var(--color-primary-dark); }

/* ═══════════════════════════════════════════
   SEGMENTOS
═══════════════════════════════════════════ */
.segments-section {
  padding-block: clamp(3.5rem, 9vw, 6rem);
  background: var(--bg-dark);
}

.segments-section .section__title { margin-bottom: .5rem; }
.segments-section .section__subtitle { margin-bottom: 2.8rem; }

.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.2rem;
}

.seg-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(6,182,212,.2);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  transition: border-color var(--transition), background var(--transition);
}
.seg-card:hover {
  border-color: rgba(6,182,212,.5);
  background: rgba(6,182,212,.06);
}

.seg-card__num {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(6,182,212,.25);
  line-height: 1;
  margin-bottom: .8rem;
}

.seg-card__title {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .7rem;
}

.seg-card__desc {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.seg-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.seg-card__tags span {
  font-size: .7rem;
  font-weight: 600;
  color: var(--logo-glow);
  border: 1px solid rgba(6,182,212,.35);
  padding: .2rem .55rem;
  border-radius: 999px;
}

/* ═══════════════════════════════════════════
   TESTIMONIOS / PROOF
═══════════════════════════════════════════ */
.proof-section {
  padding-block: clamp(3.5rem, 9vw, 6rem);
  background: var(--bg-light);
}

.proof-section .section__title { margin-bottom: .5rem; }
.proof-section .section__subtitle { margin-bottom: 2.8rem; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.4rem;
}

.proof-card {
  background: #fff;
  border: 1px solid var(--text-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.proof-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.proof-card__stars {
  font-size: 1rem;
  color: var(--color-primary);
  letter-spacing: 2px;
}

.proof-card__quote {
  font-size: .9rem;
  color: var(--text-700);
  line-height: 1.7;
  flex: 1;
}
.proof-card__quote::before { content: '"'; }
.proof-card__quote::after  { content: '"'; }

.proof-card__author {
  display: flex;
  align-items: center;
  gap: .8rem;
  border-top: 1px solid var(--text-200);
  padding-top: 1rem;
  margin-top: auto;
}

.proof-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--logo-secondary) 100%);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proof-card__name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-900);
}
.proof-card__role {
  font-size: .75rem;
  color: var(--text-500);
}

/* ═══════════════════════════════════════════
   CTA GRADIENTE
═══════════════════════════════════════════ */
.cta-gradient {
  padding-block: clamp(4rem, 10vw, 7rem);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-align: center;
}

.cta-gradient__inner { max-width: 620px; margin-inline: auto; }

.cta-gradient__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: .9rem;
}

.cta-gradient__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.cta-gradient__btns {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
}

.btn--white {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: #fff;
  font-weight: 700;
}
.btn--white:hover {
  background: var(--color-primary-light);
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
  font-weight: 700;
}
.btn--outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   FOOTER NUEVO
═══════════════════════════════════════════ */
.footer-new {
  background: var(--bg-deep);
  border-top: 1px solid rgba(6,182,212,.15);
  padding-block: 1.6rem;
}

.footer-new__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
}

.footer-new__logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: .1rem;
}

.footer-new__logo-name {
  font-family: 'Sora', sans-serif;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
}

.footer-new__logo-tag {
  font-size: .65rem;
  color: rgba(6,182,212,.65);
  letter-spacing: .04em;
}

.footer-new__copy {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

.footer-new__links {
  display: flex;
  gap: 1.4rem;
}
.footer-new__links a {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-new__links a:hover { color: var(--logo-glow); }

/* ═══════════════════════════════════════════
   PAGE HEADER (nucleo-digital.html)
═══════════════════════════════════════════ */
.page-header {
  background: linear-gradient(160deg, #020617 0%, #0f172a 100%);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid rgba(6, 182, 212, .2);
}

.page-header__back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--logo-glow);
  text-decoration: none;
  margin-bottom: 1.2rem;
  transition: color var(--transition);
}
.page-header__back:hover { color: #fff; }

.page-header__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: .4rem;
}

.page-header__subtitle {
  font-size: 1rem;
  color: rgba(6, 182, 212, .8);
  font-weight: 500;
  letter-spacing: .02em;
}

/* ═══════════════════════════════════════════
   CTA SUAVE (index.html)
═══════════════════════════════════════════ */
.cta-soft {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: linear-gradient(160deg, #020617 0%, #0f172a 60%, #0c4a6e 100%);
  text-align: center;
}

.cta-soft__inner {
  max-width: 560px;
  margin-inline: auto;
}

.cta-soft__title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .8rem;
}

.cta-soft__subtitle {
  font-size: 1rem;
  color: #a5f3fc;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Navbar — compactar pestañas en pantallas medianas */
  .navbar__tab-btn {
    font-size: .82rem;
    padding: .4rem .55rem;
  }

  .navbar__dropdown-menu {
    min-width: 190px;
  }

  /* Etapas — apilar en columna */
  .nucleo-about__etapas {
    flex-direction: column;
  }

  .nucleo-about__etapa-arrow {
    transform: rotate(90deg);
    align-self: center;
  }
}

@media (max-width: 640px) {
  .benefit-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .benefit-card__arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .bio__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bio__credentials li { text-align: left; }

  .curriculum__block {
    flex-direction: column;
    gap: .8rem;
  }

  .curriculum__number {
    font-size: 1.8rem;
    text-align: left;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links { justify-content: center; }

  /* Navbar móvil */
  .navbar__inner {
    flex-wrap: wrap;
    gap: .5rem;
  }

  .navbar__tabs {
    order: 3;
    width: 100%;
    border-top: 1px solid var(--text-200);
    padding-top: .4rem;
  }

  .navbar__dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-top: .25rem;
    list-style: none;
    padding: .25rem 0;
  }

  .navbar__tab--dropdown.is-open .navbar__dropdown-menu {
    display: block;
  }

  .navbar__dropdown-menu a {
    padding: .5rem .9rem;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — NUEVAS SECCIONES
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Hero 2 col → 1 col */
  .hero-2col__inner {
    grid-template-columns: 1fr;
  }
  .hero-metrics {
    display: none; /* ocultar métricas en tablet/móvil para limpieza */
  }
}

@media (max-width: 640px) {
  /* Servicios */
  .services-grid { grid-template-columns: 1fr; }

  /* Segmentos */
  .segments-grid { grid-template-columns: 1fr; }

  /* Proof */
  .proof-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-gradient__btns { flex-direction: column; align-items: center; }

  /* Footer nuevo */
  .footer-new__inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-new__links { justify-content: center; }

  /* Navbar links adicionales — ocultar en móvil para no saturar */
  .navbar__tab:not(.navbar__tab--dropdown) {
    display: none;
  }
}
