/* app2.css

   Estilos de tech.html + footer aislado

   - El bloque <style> fue movido desde tech.html a este archivo

   - Se mantiene el orden original de reglas para no romper overrides

*/


/* ================== VARIABLES & BASE ================== */

:root {
  --dendro-primary: #FF8500;
  --dendro-base-dark: #1A1A1A;
  --dendro-neutral-light: #F4F4F4;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --dendro-neutral-dark: #2C2C2C;
}

body {
  margin: 0;
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--dendro-base-dark);
  font-family: var(--font-body);
  color: var(--dendro-neutral-light);
}

body.menu-open {
  overflow: hidden;
}




/* ================= HEADER (copiado/adaptado desde app.css) ================= */

/* Contenedor del header */
header#header,
header.dendro-header {
  position: sticky;
  top: 0;
  z-index: 3000;

  /* Fondo semitransparente + blur (como en app.css) */
  background-color: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* Evita “lineas” no deseadas y mantiene un marco sutil */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--spacing-md) 0;

  transition: background-color 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease;
}

/* Estado con scroll (clase usada por JS) */
header#header.scrolled,
header.dendro-header.scrolled {
  background-color: var(--dendro-base-dark);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--dendro-neutral-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}


/* Estado cuando el menú móvil está abierto */
header#header.menu-open,
header.dendro-header.menu-open {
  background-color: var(--dendro-base-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;

  /* IMPORTANTE: evita que el backdrop-filter “encierre” el overlay fixed en algunos móviles */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Barra superior */
.header-top-bar {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
}

/* Logo */
.logo-container .dendro-logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dendro-primary);
  text-decoration: none;
  display: inline-block;
}

/* Si el logo es <a>, evita estilos por defecto */
.logo-container a.dendro-logo-text:hover,
.logo-container a.dendro-logo-text:focus {
  color: var(--dendro-primary);
}

/* Navegación */
.main-nav {
  position: relative;
  /* para el dropdown mobile */
}

.main-nav .nav-list {
  list-style: none;
  display: flex;
  gap: var(--spacing-lg);
  margin: 0;
  padding: 0;
}

.main-nav .nav-link {
  color: var(--dendro-neutral-light);
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 2px;
  transition: color 0.25s ease;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--dendro-primary);
  transition: width 0.25s ease;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link:focus::after {
  width: 100%;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
  color: var(--dendro-primary);
}

/* Botón menú (mobile) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--dendro-neutral-light);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

/* Asegura que el botón (☰/✕) quede siempre visible sobre el overlay */
.menu-toggle {
  position: relative;
  z-index: 3200;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  /* Asegura que el botón (☰/✕) quede siempre visible sobre el overlay */
  .menu-toggle {
    position: relative;
    z-index: 3200;
  }

  /* Mantén la barra superior por encima del overlay */
  .header-top-bar {
    position: relative;
    z-index: 3100;
  }

  /* Estado base: oculto */
  .main-nav .nav-list {
    display: none;
    flex-direction: column;
    gap: 34px;

    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* Overlay FULLSCREEN (como la imagen 1) */
  .main-nav .nav-list.active {
    display: flex;

    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h, 76px);
    bottom: 0;

    /* Debajo del header (header z-index = 3000) */
    z-index: 2500;

    /* MISMO color de la página (negro DENDRO) */
    background-color: var(--dendro-base-dark);

    /* Sin transparencia / sin blur (para no “ver” el contenido debajo) */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    padding: 44px 24px 48px;

    align-items: center;
    justify-content: flex-start;
    text-align: center;

    /* Asegura que cubra todo el alto disponible (viewport - header) */
    height: calc(100dvh - var(--header-h, 76px));
    height: calc(100vh - var(--header-h, 76px));
    /* fallback */
    overflow-y: auto;
    overscroll-behavior: contain;

  }

  .main-nav .nav-list li {
    width: 100%;
    margin: 0;
  }

  .main-nav .nav-link {
    display: inline-block;
    padding: 10px 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dendro-neutral-light);
  }

  .main-nav .nav-link::after {
    display: none;
  }

}

/* ================== ESTILOS DE TECH (orden original) ================== */

/* ================= TIMELINE ================= */
.timeline {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--dendro-primary) 0%, var(--dendro-primary) 10%, rgb(94, 94, 94) 60%, rgb(26, 26, 26) 80%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: loadLine 4s ease-out forwards;
  z-index: 0;
}

@keyframes loadLine {
  0% {
    height: 0;
  }

  100% {
    height: 100%;
  }
}

.step {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--spacing-xl);
  margin: 60px 0;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.circle-container {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--dendro-neutral-light);
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
}

.circle-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.circle-container:hover img {
  transform: scale(1.08);
}

.text-box {
  max-width: 400px;
}

.year {
  font-weight: 600;
  font-size: 1.2em;
  color: var(--dendro-neutral-light);
  margin-bottom: var(--spacing-sm);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.year:hover {
  color: var(--dendro-primary);
  text-shadow: 0 0 8px rgba(255, 133, 0, 0.7);
}

.heading,
.heading2 {
  font-size: 1.7em;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.6s forwards;
  animation-delay: 0.3s;
}

.heading {
  color: var(--dendro-primary);
}

.heading2 {
  color: var(--dendro-neutral-light);
}

.step.visible .heading {
  animation: slideUp 0.6s forwards;
}

.text-box p {
  font-size: 1.1em;
  line-height: 1.6;
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.6s forwards;
  animation-delay: 0.6s;
}

.step.visible p {
  animation: slideUp 0.6s forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.meta {
  display: flex;
  align-items: center;
  height: 100%;
}

.step-left .meta {
  justify-content: flex-start;
}

.step-right .meta {
  justify-content: flex-end;
}

.step-left .text-box {
  text-align: right;
  justify-self: end;
}

.step-right .text-box {
  text-align: left;
  justify-self: start;
}

.highlight-white-bold {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline::before {
    left: 45px;
    transform: translateX(-50%);
  }

  .step {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "circle text";
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
  }

  .step-left,
  .step-right {
    flex-direction: row;
  }

  .step-left .circle-container,
  .step-right .circle-container {
    grid-area: circle;
    justify-self: start;
  }

  .step-left .text-box,
  .step-right .text-box {
    grid-area: text;
    justify-self: start;
    text-align: left;
  }

  .step-left .meta,
  .step-right .meta {
    display: none;
  }

  .circle-container {
    width: 90px;
    height: 90px;
  }

  .text-box {
    max-width: 100%;
  }

  .heading {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .year {
    font-size: 1em;
    margin-bottom: 6px;
  }

  .text-box p {
    font-size: 1em;
    line-height: 1.5;
  }
}

/* ================= HERO SECTION ================= */
.hero-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--dendro-base-dark);
  position: relative;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.hero-image img {
  max-width: 420px;
  width: 100%;
  filter: drop-shadow(0px 0px 20px rgba(255, 133, 0, 0.3));
}

.hero-text {
  max-width: 600px;
  color: var(--dendro-neutral-light);
}

.hero-text h1 {
  font-size: 2.4rem;
  font-family: var(--font-heading);
  color: var(--dendro-neutral-light);
  margin-bottom: var(--spacing-md);
}

.hero-text .highlight {
  color: var(--dendro-primary);
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.presale-label {
  display: inline-block;
  background-color: var(--dendro-primary);
  color: var(--dendro-base-dark);
  padding: 6px 16px;
  font-weight: bold;
  font-size: 0.85rem;
  border-radius: 20px;
  margin-bottom: var(--spacing-sm);
}

/* ================= CORE FEATURES ================= */
.core-features {
  padding: 80px 20px;
  background-color: var(--dendro-base-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1000px;
  width: 100%;
  margin-bottom: 48px;
  gap: 24px;
}

.features-graphic {
  flex-shrink: 0;
}

.features-graphic img {
  height: 100%;
  max-height: 140px;
  width: auto;
  object-fit: contain;
  display: block;
}

.features-title h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 0;
  color: var(--dendro-neutral-light);
}

.features-title .subtle {
  color: rgba(255, 255, 255, 0.3);
  display: block;
}

.features-title .highlight {
  color: #00f6d2;
  display: block;
}

.features-title .sub-highlight {
  color: var(--dendro-primary);
  display: block;
}

.features-subtext {
  text-align: right;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 400px;
  margin-top: 8px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  width: 100%;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: 16px;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  text-align: left;
  color: var(--dendro-neutral-light);
  position: relative;
}

.feature-card:hover {
  background: rgba(255, 133, 0, 0.06);
  transform: translateY(-4px);
}

.feature-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.feature-card .label {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 8px;
  margin-bottom: 12px;
  color: #00f6d2;
  font-weight: bold;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.feature-card.wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .features-header {
    flex-direction: column;
    text-align: center;
  }

  .features-title,
  .features-subtext {
    text-align: center;
    max-width: 100%;
  }

  .feature-card.wide {
    grid-column: span 1;
  }
}

/* ================= ROADMAP INTERACTIVE ================= */
.roadmap-interactive {
  position: relative;
  background-color: var(--dendro-base-dark);
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  overflow: hidden;
}

.roadmap-header h2 {
  font-size: 2.4rem;
  font-family: var(--font-heading);
  color: var(--dendro-neutral-light);
}

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

.subheading {
  color: var(--dendro-neutral-light);
  opacity: 0.85;
  font-size: 1.1rem;
  margin-top: var(--spacing-sm);
  margin-bottom: 280px;
  /* Espacio debajo del subtítulo */
}

.roadmap-layer {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 300px;
  margin: 0 auto;
}

.roadmap-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  width: 100%;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.roadmap-phases {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  z-index: 2;
  width: 100%;
  max-width: 900px;
}

/* Tarjeta base */
.phase-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 200px;
  width: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(6px);
  box-shadow: none !important;
}

/* Hover solo si NO está activa */
.phase-card:hover:not(.active) {
  transform: translateY(-6px);
  box-shadow: 0 0 12px rgba(255, 133, 0, 0.3);
}

/* Parte superior - contenido */
.phase-content {
  flex: 1;
  padding: 16px;
  background: rgba(26, 26, 26, 0.65);
  color: var(--dendro-neutral-light);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Parte inferior - nombre de fase */
.phase-label {
  padding: 12px 0;
  text-align: center;
  font-weight: bold;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  background: rgba(44, 44, 44, 0.9);
  color: white;
}

/* Tarjeta activa */
.phase-card.active .phase-content {
  background: rgba(255, 133, 0, 0.9);
  color: var(--dendro-base-dark);
}

.phase-card.active .phase-label {
  background: var(--dendro-primary);
  color: var(--dendro-base-dark);
}

.phase-card.active {
  box-shadow: none !important;
}

.phase-card.active:hover {
  transform: none;
  box-shadow: none !important;
}

/* ================= ROADMAP RESPONSIVE ================= */
@media (max-width: 768px) {
  .roadmap-layer {
    height: auto;
  }

  .roadmap-phases {
    position: static;
    transform: none;
    padding-top: var(--spacing-lg);
  }

  .phase-card {
    width: 90%;
    margin-bottom: var(--spacing-md);
  }

  .subheading {
    font-size: 0.95rem;
    margin-bottom: 1px;
  }

  .roadmap-phases {
    margin-top: 0;
    padding-top: 0;
  }

  .roadmap-img {
    position: static;
    transform: none;
    margin: 0 auto;
    opacity: 0.1;
    margin-bottom: -100px;
  }

  .features-graphic {
    display: none;
  }


}


.features-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.features-graphic img {
  max-width: 120px;
  height: auto;
  display: block;
}

.features-title-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 0;
  color: white;
}

.features-subtext {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-top: 12px;
  max-width: 400px;
}

.features-title .gray {
  color: rgba(255, 255, 255, 0.3);
}

.features-title .highlight {
  color: #00f6d2;
}

.features-title .sub-highlight {
  color: #ff8500;
}

.features-header.horizontal {
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 48px;
  position: relative;
  padding-left: 20px;
  border-left: 6px solid #00f6d2;
}

.features-title-block {
  text-align: left;
}

.features-title span {
  display: inline-block;
  margin-right: 8px;
  font-size: 2.2rem;
  line-height: 1.4;
}

.features-subtext {
  text-align: left;
  margin-top: 12px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 460px;
}



.features-title-block {
  text-align: left;
  flex: 1;
}

.features-title-block h2 {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.features-title-block .gray {
  color: rgba(255, 255, 255, 0.3);
}

.features-title-block .highlight {
  color: #00f6d2;
}

.features-title-block .sub-highlight {
  color: var(--dendro-primary);
}

.features-subtext-block {
  flex: 1;
  text-align: right;
  max-width: 400px;
}

.features-subtext-block p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features-header.v2 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 0 10px;
  }

  .features-title-block {
    text-align: center;
  }

  .features-subtext-block {
    text-align: center;
    max-width: 100%;
  }

  .features-subtext-block p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .features-graphic img {
    max-height: 120px;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .feature-card,
  .feature-card.wide {
    grid-column: span 1 !important;
  }
}

.faq-section {
  padding: 80px 20px;
  background-color: var(--dendro-base-dark);
  max-width: 1000px;
  margin: 0 auto;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 40px;
}

.faq-title .gray {
  color: rgba(255, 255, 255, 0.3);
}

.faq-title .highlight {
  color: var(--dendro-primary);
}

.faq-title .highlight-cyan {
  color: #00f6d2;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  font-family: var(--font-heading);
  color: white;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "▾";
  position: absolute;
  right: 20px;
  font-size: 1rem;
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.02);
  padding: 0 20px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 900px;
  /* evita que se corte contenido */
  padding: 16px 20px;
}

/* Más limpio: separación entre párrafos */
.faq-answer p {
  margin: 0 0 12px;
  /* aire entre textos */
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  /* lectura más cómoda */
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer .faq-list {
  margin: 6px 0 12px;
  padding-left: 18px;
  /* sangría elegante */
}

.faq-answer .faq-list li {
  margin: 6px 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}



.media-section {
  padding: 80px 20px;
  background-color: var(--dendro-base-dark);
  max-width: 1200px;
  margin: 0 auto;
}

.media-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.media-title .highlight-red {
  color: #FF5C33;
}

.media-title .media-gray {
  color: var(--dendro-neutral-light);
}

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

.media-card {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.media-card:hover {
  transform: translateY(-5px);
}

.media-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.media-content {
  padding: 16px;
}

.media-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 8px;
}

.media-heading {
  font-size: 1rem;
  font-family: var(--font-heading);
  margin: 0 0 10px;
  color: var(--dendro-neutral-light);
}

.media-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  margin: 0;
}


.media-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.media-section {
  padding: 80px 20px;
  background-color: var(--dendro-base-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.media-inner {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  box-sizing: border-box;
}


.media-section {
  background-color: var(--dendro-base-dark);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.media-inner {
  width: 100%;
  max-width: 1050px;
  box-sizing: border-box;
}


/* ===== Cursos de Nivelación (alineado y estilo coherente) ===== */
.courses-leveling .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.courses-leveling .roadmap-header {
  text-align: center;
  margin-bottom: 24px;
}

.courses-leveling .subheading {
  margin-top: 8px;
  margin-bottom: 24px;
  /* elimina espacio grande */
}

/* Tarjetas: imagen contenida y fecha superpuesta */
.courses-leveling .feature-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.courses-leveling .feature-card .media-top {
  position: relative;
  height: 180px;
  background: rgba(255, 255, 255, 0.02);
}

.courses-leveling .feature-card .media-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.courses-leveling .feature-card .date-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
}

/* Texto interno en gris para los títulos de curso */
.courses-leveling .feature-card .card-body {
  padding: 20px;
}

.courses-leveling .feature-card h3 {
  color: #BFBFBF;
  /* gris */
  margin: 0 0 10px;
}

.courses-leveling .feature-card p {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 768px) {
  .courses-leveling .feature-card .media-top {
    height: 150px;
  }
}


/* ================== FOOTER (contenido previo de app2.css) ================== */

/* footer.css — estilos aislados SOLO para el footer (scoped)
   - No depende de app.css
   - Define variables, tipografías y container SOLO dentro del footer
*/

/* Base / defaults (scoped) */

/* Box sizing scoped */
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

/* Container scoped (el HTML usa class="container") */
.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Reset básico dentro del footer */
.site-footer ul {
  margin: 0;
  padding: 0;
}

.site-footer a {
  text-decoration: none;
}

.site-footer {
  background-color: var(--dendro-base-dark);
  color: var(--dendro-neutral-light);
  padding-top: 80px;
  border-top: none;
}

.site-footer .footer-content {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 50px;
}

.site-footer .footer-section {
  flex-grow: 1;
  min-width: 180px;
  flex-shrink: 1;
}

.site-footer .footer-section.footer-newsletter {
  flex-basis: 300px;
  flex-grow: 0;
  flex-shrink: 0;
}

.site-footer .footer-section.footer-links {
  flex-basis: 200px;
  flex-grow: 1;
}

.site-footer .footer-section h4 {
  color: var(--dendro-primary);
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.site-footer .footer-section ul {
  list-style: none;
}

.site-footer .footer-section ul li {
  margin-bottom: 10px;
}

.site-footer .footer-section ul li a {
  color: var(--dendro-neutral-light);
  font-size: 0.9rem;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  position: relative;
}

.site-footer .footer-section ul li a:hover {
  color: var(--dendro-primary);
  transform: translateX(8px);
}

.site-footer .footer-newsletter p {
  margin-bottom: 5px;
}

.site-footer .footer-newsletter span {
  font-size: 0.85rem;
  color: #aaa;
  display: block;
  margin-bottom: 30px;
}

.site-footer .newsletter-input {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

/* Oculta el honeypot del formulario (newsletterCompany) */
.site-footer .hp-field {
  display: none !important;
}

.site-footer .newsletter-input input[type="email"] {
  flex-grow: 1;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid var(--dendro-neutral-dark);
  background-color: var(--dendro-neutral-dark);
  color: var(--dendro-neutral-light);
  font-size: 0.9rem;
}

.site-footer .cta-button-newsletter {
  padding: 12px 20px;
  background-color: var(--dendro-primary);
  color: var(--dendro-base-dark);
  font-weight: 700;
  border-radius: 5px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.site-footer .cta-button-newsletter:hover {
  background-color: #cc6a00;
}

.site-footer .footer-logo-small {
  max-width: 100px;
  margin-bottom: 15px;
}

.site-footer .footer-bottom {
  background-color: transparent;
  padding: 20px 0;
  margin-top: 50px;
}

.site-footer .footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.site-footer .legal-info {
  font-size: 0.75rem;
  color: #aaa;
}

.site-footer .social-icons {
  display: flex;
  gap: 15px;
}

.site-footer .social-icons a {
  color: #aaa;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.site-footer .social-icons a:hover {
  color: var(--dendro-primary);
}

.site-footer .language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaa;
  font-size: 0.9rem;
  cursor: pointer;
}

.site-footer .language-selector i {
  font-size: 1rem;
}

/* ====== Responsive (tablet) ====== */
@media (max-width: 992px) {
  .site-footer .footer-content {
    flex-wrap: nowrap;
    gap: 20px;
  }

  .site-footer .footer-section {
    flex-basis: 150px;
  }

  .site-footer .footer-section.footer-newsletter {
    flex-basis: 250px;
  }
}

/* ====== Responsive (móvil) ====== */
@media (max-width: 768px) {

  /* Ocultar todas las secciones de enlaces */
  .site-footer .footer-section.footer-links {
    display: none !important;
  }

  /* Newsletter centrado */
  .site-footer .footer-section.footer-newsletter {
    width: 100%;
    text-align: center;
    margin: 0 auto 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer .footer-section.footer-newsletter img.footer-logo-small {
    margin-bottom: 10px;
  }

  .site-footer .footer-section.footer-newsletter p,
  .site-footer .footer-section.footer-newsletter span {
    max-width: 80%;
    margin: 0 auto 8px auto;
  }

  /* Input y botón centrados */
  .site-footer .footer-section.footer-newsletter .newsletter-input {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .site-footer .footer-section.footer-newsletter input[type="email"] {
    width: 100%;
    max-width: 360px;
    text-align: center;
  }

  .site-footer .footer-section.footer-newsletter button.cta-button-newsletter {
    width: 80%;
    max-width: 360px;
  }

  /* Footer inferior centrado */
  .site-footer .footer-bottom .footer-bottom-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .site-footer .footer-bottom .social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 5px;
  }

  .site-footer .footer-bottom .social-icons a {
    font-size: 1.3rem;
  }

  .site-footer .footer-bottom .language-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
}

/* ================== HOTFIX: Logo no recortado en mobile (overlay abierto/cerrado) ==================
   Causa típica: alguna regla externa de `.container` (newsletter.css u otros) agrega overflow/height.
   Esto fuerza que el texto "DENDRO" se corte arriba.
*/
.dendro-header .container,
header#header .container {
  overflow: visible !important;
  height: auto !important;
}

/* Asegura que el logo no se corte por line-height o por el borde redondeado del viewport */
.logo-container .dendro-logo-text {
  line-height: 1.15;
  padding-top: 2px;
}

@media (max-width: 768px) {

  header#header,
  header.dendro-header {
    /* Baja ligeramente el contenido para que no se recorte en la esquina superior */
    padding-top: calc(var(--spacing-md) + 10px + env(safe-area-inset-top));
    padding-bottom: calc(var(--spacing-md) + 6px);
  }
}


/* ================== HEADER HOTFIX v4.4 ==================
   Elimina cualquier línea/encapsulado debajo del header.
   Mantiene blur, pero SIN border-bottom ni box-shadow.
   (Incluye !important por si newsletter.css u otros lo vuelven a agregar)
*/
header#header,
header.dendro-header,
header#header.scrolled,
header.dendro-header.scrolled,
header#header.menu-open,
header.dendro-header.menu-open {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Por si algún layout añade una regla al contenedor interno */
header#header .header-top-bar,
header.dendro-header .header-top-bar,
header#header .container.header-top-bar,
header.dendro-header .container.header-top-bar {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Si la “línea” viniera de un separador con background o outline */
header#header *,
header.dendro-header * {
  outline: none;
}


/* ================== MENU OVERLAY FIX (v4.6) ================== */
/* 1) El header NO debe verse “encapsulado”: sin línea inferior */
header#header,
header.dendro-header,
header#header.scrolled,
header.dendro-header.scrolled,
header#header.menu-open,
header.dendro-header.menu-open {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* 2) Overlay separado del header: el logo y la X quedan siempre visibles */
.menu-overlay {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h, 76px);
  bottom: 0;
  z-index: 2500;
  /* debajo del header (z-index 3000) */
  background: var(--dendro-base-dark);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 44px 24px 48px;
}

.menu-overlay.is-open {
  display: block;
}

/* En móvil, el menú se renderiza dentro del overlay (no fijo dentro del header) */
@media (max-width: 768px) {

  /* Oculta el ul en su posición original (en header) */
  header#header .main-nav .nav-list,
  header.dendro-header .main-nav .nav-list {
    display: none;
  }

  /* Cuando está dentro del overlay y activo, se muestra */
  .menu-overlay.is-open .nav-list {
    display: flex;
    flex-direction: column;
    gap: 34px;
    margin: 0;
    padding: 18px 0 0;
    /* arranca debajo del header */
    list-style: none;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-height: calc(100dvh - var(--header-h, 76px));
    min-height: calc(100vh - var(--header-h, 76px));
  }

  .menu-overlay.is-open .nav-list li {
    width: 100%;
    margin: 0;
  }

  .menu-overlay.is-open .nav-link {
    display: inline-block;
    padding: 10px 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dendro-neutral-light);
  }

  .menu-overlay.is-open .nav-link::after {
    display: none;
  }

  /* Evitar subrayado (por estilos globales de <a>) dentro del overlay */
  .menu-overlay.is-open a,
  .menu-overlay.is-open .nav-link {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-thickness: 0 !important;
    border-bottom: none !important;
    outline: none;
  }

  .menu-overlay.is-open .nav-link:hover,
  .menu-overlay.is-open .nav-link:focus {
    text-decoration: none !important;
  }

}

/* Bloquea scroll del documento cuando el menú está abierto */
html.menu-open,
body.menu-open {
  overflow: hidden !important;
}


/* =========================================================
   Logo "latido" (AISLADO)
   - Solo aplica si el logo tiene la clase .is-pulsing
   - Fix: evita que se vea como una barra naranja (recorta el degradado al texto)
   ========================================================= */
/* Logo "latido" (AISLADO y visible) */
.logo-container .dendro-logo-text.is-pulsing {
  display: inline-block;
  /* por si algún override lo cambia */
  font-weight: 800;

  /* Fallback: si el navegador no soporta clip de texto, igual late */
  color: var(--dendro-primary);

  animation: dendroLogoPulse 30s infinite ease-in-out;
  transform-origin: center;
  will-change: transform, filter, background-position;
}

/* Solo si el navegador soporta degradado recortado a texto */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .logo-container .dendro-logo-text.is-pulsing {
    background-image: linear-gradient(90deg, #FF8500, #ffb155, #FF8500);
    background-size: 200% 100%;
    background-position: 0% 50%;
    background-repeat: no-repeat;

    -webkit-background-clip: text;
    background-clip: text;

    /* CLAVE para que se vea el texto y no “bloque” */
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

@keyframes dendroLogoPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 133, 0, 0.0));
    background-position: 0% 50%;
  }

  50% {
    transform: scale(1.01);
    filter: drop-shadow(0 0 10px rgba(255, 133, 0, 0.35));
    background-position: 100% 50%;
  }

  100% {
    transform: scale(0.9);
    filter: drop-shadow(0 0 2 rgba(255, 133, 0, 0.0));
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-container .dendro-logo-text.is-pulsing {
    animation: none;
  }
}


/* ===== Bloque HERO DENDRO TECHNOLOGY (titulo + parrafo + imagen) ===== */
.tech-intro-hero {
  padding: clamp(48px, 6vw, 96px) 0;
}

.tech-intro-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
}

.tech-intro-text {
  flex: 1;
  min-width: 280px;
}

.tech-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--dendro-primary, #FF8500);
}

.tech-intro-text h1 {
  margin: 0 0 18px 0;
  line-height: 1.05;
  font-weight: 800;
  font-size: clamp(42px, 4.6vw, 72px);
  color: #fff;
}

.tech-intro-text p {
  margin: 0;
  max-width: 54ch;
  line-height: 1.75;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .75);
}

.tech-intro-visual {
  position: relative;
  flex: 1;
  min-height: clamp(320px, 36vw, 460px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tech-watermark {
  position: absolute;
  top: 44%;
  right: -10px;
  transform: translateY(-50%);
  font-size: clamp(84px, 10vw, 150px);
  font-weight: 900;
  letter-spacing: .06em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .12);
  text-stroke: 2px rgba(255, 255, 255, .12);
  opacity: .6;
  pointer-events: none;
  user-select: none;
}

.tech-mascot {
  width: min(520px, 100%);
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55));
}

@media (max-width: 900px) {
  .tech-intro-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .tech-intro-visual {
    width: 100%;
    min-height: 320px;
  }

  .tech-watermark {
    right: auto;
    left: 50%;
    transform: translate(-50%, -55%);
  }
}

/* ===== /Bloque HERO DENDRO TECHNOLOGY ===== */

/* ================= CONTAINER GLOBAL (alineación y márgenes) ================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
  box-sizing: border-box;
}

/* ================= HERO: IMAGEN DETRÁS DEL TEXTO (overlay) ================= */

/* el contenedor debe ser el "marco" del overlay */
.tech-intro-inner {
  position: relative;
  min-height: clamp(420px, 45vw, 560px);
  /* asegura altura para que se vea la mascota */
}

/* el texto siempre arriba */
.tech-intro-text {
  position: relative;
  z-index: 2;
  max-width: 720px;
  /* evita que el texto se estire demasiado */
}

/* el bloque visual pasa a ser un overlay detrás del texto */
.tech-intro-visual {
  position: absolute;
  inset: 0;
  /* ocupa todo el hero */
  z-index: 1;
  /* detrás del texto */
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* empuja la mascota a la derecha */
}

/* watermark más atrás aún */
.tech-watermark {
  z-index: 0;
  opacity: .45;
  right: 2%;
}

/* tamaño y posición de la mascota en overlay */
.tech-mascot {
  width: min(680px, 58vw);
  max-width: 680px;
  height: auto;
  opacity: .95;
  /* baja si quieres que se note más “detrás” */
  transform: translateX(40px);
  /* la aleja del texto */
}

/* ===== Mobile: vuelve a comportamiento normal (imagen debajo del texto) ===== */
@media (max-width: 900px) {
  .tech-intro-inner {
    min-height: unset;
  }

  .tech-intro-visual {
    position: relative;
    inset: auto;
    pointer-events: auto;
    justify-content: center;
    margin-top: 18px;
  }

  .tech-mascot {
    width: min(520px, 100%);
    max-width: 520px;
    transform: none;
    opacity: 1;
  }

  .tech-watermark {
    opacity: .6;
  }
}

/* ================= HERO TECH (LIMPIO + FULL-BLEED + IMAGEN DETRÁS DEL TEXTO) ================= */

/* Marco del hero */
.tech-intro-hero,
.tech-intro-inner {
  overflow: hidden;
}

.tech-intro-inner {
  position: relative;
  min-height: clamp(460px, 44vw, 620px);
  padding-right: clamp(100px, 12vw, 220px);
  /* espacio para que no se corte */
}

/* Texto siempre arriba */
.tech-intro-text {
  position: relative;
  z-index: 3;
  max-width: 740px;
}

/* Overlay real a todo el hero (sin “cuadro”) */
.tech-intro-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  display: flex;
  align-items: stretch;
  justify-content: flex-end;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  filter: none !important;
}

/* Por si algún estilo viejo crea tarjetas/pseudo-elementos */
.tech-intro-visual::before,
.tech-intro-visual::after {
  content: none !important;
}

/* Watermark grande detrás */
.tech-watermark {
  position: absolute;
  top: 50%;
  right: -8%;
  transform: translateY(-50%);
  z-index: 0;

  opacity: .28;
  width: min(900px, 70vw);
  height: auto;
}

/* Mascota: escala por ALTURA (no se compacta) y cruza detrás del texto */
.tech-mascot {
  position: absolute;
  right: 0;
  bottom: -10%;

  height: 125%;
  width: auto !important;
  max-width: none !important;

  /* CLAVE: muévela a la izquierda (ajusta este valor) */
  transform: translateX(50px) translateY(0px);
  opacity: .98;
}

/* Mobile: NO mostrar imagen */
@media (max-width: 900px) {
  .tech-intro-inner {
    min-height: unset;
    padding-right: 0;
  }

  /* Oculta la mascota (imagen) */
  .tech-mascot {
    display: none !important;
  }

  /* Opcional: si tampoco quieres el watermark en móvil */
  .tech-watermark {
    display: none !important;
  }

  /* Mantén el texto normal */
  .tech-intro-visual {
    display: none !important;
    /* oculta todo el overlay */
  }
}


/* ================= CORE FEATURES HEADER (FIX ALINEACIÓN) ================= */
/* Reemplaza tu bloque actual de .features-header.v2 por este */

/* Header en 3 columnas (icono / título / texto) alineado con .features-grid (1000px) */
.features-header.v2 {
  display: grid;
  grid-template-columns: 140px minmax(320px, 1fr) minmax(280px, 420px);
  align-items: start;
  gap: 32px;

  width: 100%;
  max-width: 1000px;
  /* igual que .features-grid */
  margin: 0 auto 56px;
  padding: 0;
  /* evita doble padding dentro del .container */
}

/* Icono: que no “baje” y quede alineado arriba */
.features-header.v2 .features-graphic {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

/* Título: columnas limpias y sin empujes laterales por spans heredados */
.features-header.v2 .features-title {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* Overwrite del rule viejo: .features-title span { inline-block + margin-right } */
.features-header.v2 .features-title span {
  display: block;
  margin-right: 0;
}

/* Texto derecho: que no se “despegue” ni quede raro */
.features-header.v2 .features-subtext-block {
  max-width: 420px;
  text-align: left;
  /* se ve más alineado visualmente con el bloque */
  justify-self: end;
  /* lo empuja al borde derecho del header */
}

/* Responsive: apila y centra */
@media (max-width: 900px) {
  .features-header.v2 {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 18px;
    margin-bottom: 36px;
  }

  .features-header.v2 .features-subtext-block {
    justify-self: center;
    text-align: center;
    max-width: 680px;
  }
}

/* ================= FIX ALINEACIÓN: HEADER V2 vs CARDS ================= */
/* 1) Que ESTA sección use el mismo ancho que el grid (1000px) */
.core-features>.container {
  max-width: 1000px;
  /* igual que .features-grid */
}

/* 2) El header NO debe tener su propio max-width/padding (ya lo da .container) */
.features-header.v2 {
  width: 100%;
  max-width: none;
  margin: 0 0 60px 0;
  padding: 0;
  align-items: flex-start;
}

/* 3) El grid tampoco necesita max-width si el container ya es 1000px */
.features-grid {
  max-width: none;
  width: 100%;
}

/* (opcional) ajusta el bloque derecho para que no “empuje” raro */
.features-subtext-block {
  max-width: 420px;
}


/* ===== Afinado Hero Dendro Technology (solo esta sección) ===== */
.tech-intro-hero .tech-intro-text h1 {
  margin: 0 0 18px 0;
  line-height: 1.03;
}

/* Lead como en la Imagen 1 */
.tech-intro-hero .tech-lead {
  margin: 0;
  margin-top: 6px;
  max-width: 58ch;
  line-height: 1.75;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .75);
}

/* Bullets: sin “apretarse”, sin default browser spacing */
.tech-intro-hero .hero-bullets {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;

  display: grid;
  gap: 10px;
  max-width: 58ch;
}

.tech-intro-hero .hero-bullets li {
  position: relative;
  padding-left: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .85);
  font-size: .98rem;
}

.tech-intro-hero .hero-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--dendro-primary, #FF8500);
  opacity: .95;
}

/* ===== HERO: Título grande con más aire (solo esta sección) ===== */
.tech-intro-hero .tech-intro-text h1 {
  margin: 0 0 18px;
  max-width: 12ch;
  /* controla el corte de líneas (ajusta 11–14ch) */
  line-height: 1.12;
  /* MÁS aire entre líneas (antes estaba muy bajo) */
  letter-spacing: -0.02em;
  /* opcional: compacta un toque sin “apretar” vertical */
}

/* En pantallas grandes, deja respirar aún más */
@media (min-width: 1024px) {
  .tech-intro-hero .tech-intro-text h1 {
    line-height: 1.14;
    max-width: 13ch;
  }
}

/* En móvil, evita que se vuelva un bloque enorme */
@media (max-width: 520px) {
  .tech-intro-hero .tech-intro-text h1 {
    line-height: 1.10;
    max-width: 16ch;
  }
}


/* ================== FEATURES GRID MOBILE FIX ================== */
/* ============================
   FIX PRO: Bloque 3 (core-features header)
   - Texto más cerca del título
   - Columna alineada a la izquierda
   - Tipografía fluida y pro
   ============================ */

.core-features {
  padding-top: 90px;
  padding-bottom: 90px;
}

/* usa el mismo “carril” visual de las cards */
.core-features>.container {
  max-width: 1000px;
}

/* rearmado del header: 2 columnas reales (izq: icono+título / der: párrafo) */
.features-header.v2 {
  display: grid;
  grid-template-columns: minmax(360px, 460px) minmax(320px, 1fr);
  grid-template-rows: auto auto;
  column-gap: 56px;
  row-gap: 10px;
  align-items: start;

  width: 100%;
  margin: 0 0 56px;
  padding: 0;
}

/* icono arriba, pero sin empujar el párrafo demasiado */
.features-header.v2 .features-graphic {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.features-header.v2 .features-graphic img {
  max-height: 110px;
  width: auto;
  opacity: .9;
}

/* título debajo del icono, mismo carril izquierdo */
.features-header.v2 .features-title-block {
  grid-column: 1;
  grid-row: 2;
}

.features-header.v2 .features-title {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

/* ⚠️ el cian se siente “fuera”. Lo bajamos a un gris premium */
.features-header.v2 .features-title .highlight {
  color: rgba(255, 255, 255, .88);
}

/* mantiene tu naranja como acento principal */
.features-header.v2 .features-title .sub-highlight {
  color: var(--dendro-primary);
}

/* el párrafo se alinea a la izquierda y queda más “conectado” */
.features-header.v2 .features-subtext-block {
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: start;
  text-align: left;
  max-width: 62ch;
  padding-top: 6px;
}

.features-header.v2 .features-subtext {
  margin: 0;
  font-size: 1.05rem;
  /* similar/ligeramente mejor que el bloque anterior */
  line-height: 1.78;
  color: rgba(255, 255, 255, .78);
}

/* un poquito de aire entre párrafos si usas <br><br> */
.features-header.v2 .features-subtext br+br {
  content: "";
  display: block;
  margin-top: 10px;
}

/* Responsive: apila y se ve limpio */
@media (max-width: 900px) {
  .features-header.v2 {
    grid-template-columns: 1fr;
    row-gap: 16px;
    column-gap: 0;
    text-align: left;
    justify-items: start;
  }

  .features-header.v2 .features-subtext-block {
    grid-column: 1;
    grid-row: auto;
    max-width: 70ch;
    padding-top: 0;
  }

  .features-header.v2 .features-graphic {
    display: none;
    /* si quieres mantenerlo, cambia a display:flex */
  }
}

/* =========================
   FIX DEFINITIVO BLOQUE 3
   (conecta con bloque 2)
   ========================= */

/* 1) Menos “corte” entre Bloque 2 y Bloque 3 */
.hero-section+.core-features {
  padding-top: 40px;
  /* antes 80px */
}

/* 2) Header v2 como 2 columnas reales (izq: icono+título / der: texto) */
.core-features .features-header.v2 {
  display: grid;
  grid-template-columns: 420px 1fr;
  column-gap: 56px;
  row-gap: 10px;
  align-items: start;
  justify-content: start;

  max-width: 1000px;
  width: 100%;
  margin: 0 auto 44px;
  text-align: left;
  /* mata el “centrado” */
}

/* 3) Columna izquierda (icono arriba, título abajo) */
.core-features .features-header.v2 .features-graphic {
  grid-column: 1;
  grid-row: 1;
}

.core-features .features-header.v2 .features-title-block {
  grid-column: 1;
  grid-row: 2;
  text-align: left;
}

/* 4) Columna derecha: párrafo pegado al título (NO a la derecha) */
.core-features .features-header.v2 .features-subtext-block {
  grid-column: 2;
  grid-row: 1 / span 2;
  text-align: left;
  max-width: 62ch;
  /* ancho de lectura pro */
  justify-self: start;
}

/* 5) Tipografía del párrafo (fluida, profesional) */
.core-features .features-subtext {
  margin: 0;
  font-size: 1.05rem;
  /* similar al bloque 2 */
  line-height: 1.78;
  color: rgba(255, 255, 255, .78);
}

/* 6) El verde/cian NO cuadra: bájalo a blanco premium */
.core-features .features-title-block .highlight {
  color: rgba(255, 255, 255, .92);
}

/* Responsive: apilar limpio */
@media (max-width: 900px) {
  .core-features .features-header.v2 {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .core-features .features-header.v2 .features-subtext-block {
    grid-column: 1;
    grid-row: auto;
    max-width: 70ch;
  }
}

/* ===== Unificar carril: Bloque 2 (hero) con Bloque 3 (core-features) ===== */

/* 1) Fuerza el mismo ancho de lectura */
.hero-section .container,
.hero-section .hero-inner,
.hero-section .hero-content,
.hero-section .hero-text {
  max-width: 1000px;
  /* usa el mismo valor que core-features container */
  margin-left: auto;
  margin-right: auto;
}

/* 2) Alinea el contenido de texto al borde izquierdo del carril */
.hero-section .hero-text {
  text-align: left;
}

/* 3) Si tu bloque 2 está en 2 columnas (imagen + texto), controla la columna del texto */
.hero-section .hero-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  /* igual al header v2 */
  column-gap: 56px;
  align-items: start;
}

/* 4) Asegura que el bloque de texto sea la segunda columna */
.hero-section .hero-text {
  grid-column: 2;
}

/* 5) La imagen como primera columna */
.hero-section .hero-image,
.hero-section .hero-graphic {
  grid-column: 1;
}

/* =========================================================
   HERO (Certifícate...) — recuperar columna de imagen
   y alinear con el carril del bloque 3
   ========================================================= */

.hero-section {
  padding-left: 20px;
  padding-right: 20px;
}

/* Mismo carril que el bloque 3 */
.hero-section .hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 420px 1fr;
  /* ✅ columna fija para imagen */
  column-gap: 56px;
  align-items: start;
}

/* Columna izquierda: imagen SIEMPRE visible */
.hero-section .hero-image {
  grid-column: 1;
  align-self: center;
  justify-self: start;
  width: 420px;
  /* ✅ fuerza el ancho de la columna */
  max-width: 100%;
}

.hero-section .hero-image img {
  display: block;
  width: 100%;
  max-width: 420px;
}

/* Columna derecha: texto */
.hero-section .hero-text {
  grid-column: 2;
  max-width: none;
  /* evita que se estreche */
}

/* Responsive */
@media (max-width: 900px) {
  .hero-section .hero-content {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .hero-section .hero-image {
    width: 100%;
    justify-self: center;
  }
}

/* ===== Igualar tipografía Bloque 3 al Bloque 2 (hero) ===== */
.core-features .features-subtext {
  font-size: 1.1rem;
  line-height: 1.6;
}

.core-features .feature-card p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===== Bloque 3: invertir columnas (texto a la izquierda / título+imagen a la derecha) ===== */
.core-features .features-header.v2 {
  display: grid;
  grid-template-columns: 1fr 420px;
  /* izq: texto, der: bloque título+imagen */
  column-gap: 56px;
  row-gap: 10px;
  align-items: start;
}

/* Texto largo a la izquierda ocupando ambas filas */
.core-features .features-header.v2 .features-subtext-block {
  grid-column: 1;
  grid-row: 1 / span 2;
  text-align: left;
  justify-self: start;
  max-width: 62ch;
  padding-top: 0;
}

/* Imagen arriba a la derecha */
.core-features .features-header.v2 .features-graphic {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
}

/* Título grande debajo de la imagen (derecha) */
.core-features .features-header.v2 .features-title-block {
  grid-column: 2;
  grid-row: 2;
  text-align: left;
}

/* Responsive: apilar sin romper */
@media (max-width: 900px) {
  .core-features .features-header.v2 {
    grid-template-columns: 1fr;
  }

  .core-features .features-header.v2 .features-subtext-block {
    grid-column: 1;
    grid-row: 2;
    max-width: 70ch;
  }

  .core-features .features-header.v2 .features-graphic {
    grid-column: 1;
    grid-row: 1;
  }

  .core-features .features-header.v2 .features-title-block {
    grid-column: 1;
    grid-row: 1;
  }
}


/* ===== Bloque 3: texto justificado (desktop) ===== */
.core-features .features-header.v2 .features-subtext-block,
.core-features .features-header.v2 .features-subtext {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  /* mejora el justificado en ES */
}

/* Móvil: mejor legibilidad alineado a la izquierda */
@media (max-width: 900px) {

  .core-features .features-header.v2 .features-subtext-block,
  .core-features .features-header.v2 .features-subtext {
    text-align: left;
    hyphens: none;
  }
}

/* ===== Bloque 2 (hero): texto justificado (desktop) ===== */
.hero-section .hero-text p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Si tienes lista en el bloque 2, también */
.hero-section .hero-text ul,
.hero-section .hero-text li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Móvil: mejor legibilidad a la izquierda */
@media (max-width: 900px) {

  .hero-section .hero-text p,
  .hero-section .hero-text ul,
  .hero-section .hero-text li {
    text-align: left;
    hyphens: none;
  }
}

/* =====================================================================
   PATCH FINAL (LIMPIO) — DENDRO TECHNOLOGY
   - Bloque 2: HERO "Certifícate..."
   - Bloque 3: CORE FEATURES (v2) con texto a la izquierda
   ===================================================================== */

/* ---------- Carril unificado ---------- */
.hero-section .hero-content,
.core-features>.container {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================================
   BLOQUE 2 — HERO CERTIFICACIÓN (imagen + texto)
   Desktop: 2 columnas | Mobile: imagen arriba / texto abajo
   ===================================================================== */

.hero-section {
  padding-left: 20px;
  padding-right: 20px;
}

.hero-section .hero-content {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  column-gap: 56px;
  align-items: start;
}

/* Imagen (izquierda) */
.hero-section .hero-image {
  grid-column: 1;
  justify-self: start;
  align-self: center;
}

.hero-section .hero-image img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* Texto (derecha) */
.hero-section .hero-text {
  grid-column: 2;
  max-width: none;
  text-align: left;
}

/* Desktop: justificado */
.hero-section .hero-text p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Títulos siempre a la izquierda */
.hero-section .hero-text h1,
.hero-section .hero-text h2 {
  text-align: left;
}

/* Bullets NO justificadas */
.hero-section .hero-bullets {
  text-align: left;
}

/* Mobile */
@media (max-width: 900px) {
  .hero-section .hero-content {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  /* ✅ Imagen arriba */
  .hero-section .hero-image {
    order: 1;
    width: min(320px, 78vw);
    justify-self: start;
  }

  .hero-section .hero-text {
    order: 2;
  }

  /* Mobile: izquierda (mejor lectura) */
  .hero-section .hero-text p {
    text-align: left;
    hyphens: none;
  }
}

/* =====================================================================
   BLOQUE 3 — CORE FEATURES (v2)
   Desktop: TEXTO (izq) / ICONO+TÍTULO (der)
   ===================================================================== */

.core-features {
  padding-top: 70px;
  padding-bottom: 90px;
}

.core-features .features-header.v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  column-gap: 56px;
  row-gap: 14px;
  align-items: start;

  width: 100%;
  margin: 0 0 44px;
  padding: 0;

  text-align: left;
}

/* Texto (izquierda) */
.core-features .features-subtext-block {
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-self: start;

  max-width: 62ch;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* ✅ Igualar tamaño con Bloque 2 */
.core-features .features-subtext {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
}

/* Columna derecha (icono arriba) */
.core-features .features-graphic {
  grid-column: 2;
  grid-row: 1;

  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.core-features .features-graphic img {
  max-height: 110px;
  width: auto;
  opacity: .9;
}

/* Columna derecha (título debajo) */
.core-features .features-title-block {
  grid-column: 2;
  grid-row: 2;
}

/* Quitar cian/verde: look premium */
.core-features .features-title .highlight {
  color: rgba(255, 255, 255, .92);
}

/* Mobile: apilar y mantener izquierda */
@media (max-width: 900px) {
  .core-features .features-header.v2 {
    grid-template-columns: 1fr;
    row-gap: 16px;
    margin-bottom: 36px;
  }

  .core-features .features-graphic {
    display: flex !important;
    /* por si otro media-query lo oculta */
  }

  .core-features .features-subtext-block {
    grid-column: 1;
    grid-row: auto;
    max-width: 70ch;

    text-align: left;
    hyphens: none;
  }
}

/* Cards: un toque más legible sin inflar demasiado */
.core-features .feature-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* =========================================================
   BLOQUE 2 (HERO) — Imagen arriba + texto debajo (1 columna)
   ========================================================= */

.hero-section .hero-content {
  display: grid !important;
  grid-template-columns: 1fr !important;
  /* ✅ elimina la columna izquierda */
  column-gap: 0 !important;
  row-gap: 16px !important;
  align-items: start !important;
}

/* Imagen arriba, centrada */
.hero-section .hero-image {
  grid-column: 1 !important;
  order: 1 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 0 10px 0 !important;
}

.hero-section .hero-image img {
  width: min(380px, 85vw) !important;
  /* ajusta tamaño */
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Texto debajo, alineado a la izquierda */
.hero-section .hero-text {
  grid-column: 1 !important;
  order: 2 !important;
  text-align: left !important;
  max-width: none !important;
}

/* Desktop: justificado (como pediste) */
.hero-section .hero-text p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Móvil: mejor lectura a la izquierda */
@media (max-width: 900px) {
  .hero-section .hero-text p {
    text-align: left;
    hyphens: none;
  }
}

/* =========================================================
   BLOQUE 2 (HERO) — Desktop: imagen izquierda / Mobile: imagen arriba
   Pegar al FINAL del app3.css
   ========================================================= */

/* ===== DESKTOP / DEFAULT: 2 columnas ===== */
.hero-section .hero-content {
  display: grid !important;
  grid-template-columns: 420px minmax(0, 1fr) !important;
  column-gap: 56px !important;
  row-gap: 0 !important;
  align-items: start !important;
}

/* Imagen a la izquierda */
.hero-section .hero-image {
  grid-column: 1 !important;
  order: 0 !important;
  width: 420px !important;
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  margin: 0 !important;
}

.hero-section .hero-image img {
  width: 100% !important;
  max-width: 420px !important;
  height: auto !important;
  display: block !important;
}

/* Texto a la derecha */
.hero-section .hero-text {
  grid-column: 2 !important;
  order: 0 !important;
  max-width: none !important;
  text-align: left !important;
}

/* Desktop: párrafos justificados (como ya pediste) */
.hero-section .hero-text p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* ===== MÓVIL: 1 columna + imagen arriba ===== */
@media (max-width: 900px) {
  .hero-section .hero-content {
    grid-template-columns: 1fr !important;
    row-gap: 16px !important;
  }

  .hero-section .hero-image {
    grid-column: 1 !important;
    order: 1 !important;
    width: 100% !important;
    justify-content: center !important;
    margin: 0 0 10px 0 !important;
  }

  .hero-section .hero-image img {
    width: min(380px, 85vw) !important;
    max-width: 100% !important;
  }

  .hero-section .hero-text {
    grid-column: 1 !important;
    order: 2 !important;
  }

  /* Móvil: mejor lectura a la izquierda */
  .hero-section .hero-text p {
    text-align: left;
    hyphens: none;
  }
}

/* ================= FIX ALINEACIÓN: HEADER V2 vs CARDS ================= */
/* 1) Que ESTA sección use el mismo ancho que el grid (1000px) */
.core-features>.container {
  max-width: 1000px;
  /* igual que .features-grid */
}

/* 2) El header NO debe tener su propio max-width/padding (ya lo da .container) */
.features-header.v2 {
  width: 100%;
  max-width: none;
  margin: 0 0 60px 0;
  padding: 0;
  align-items: flex-start;
}

/* 3) El grid tampoco necesita max-width si el container ya es 1000px */
.features-grid {
  max-width: none;
  width: 100%;
}

/* (opcional) ajusta el bloque derecho para que no “empuje” raro */
.features-subtext-block {
  max-width: 420px;
}

@media (max-width: 900px) {
  .tech-intro-visual {
    display: none !important;
  }
}


/* ================= FIX: TIPOGRAFÍA BLOQUE 3 (sin inflar textos) ================= */

/* Texto descriptivo del header del bloque 3 */
.core-features .features-subtext {
  font-size: 1rem;
  line-height: 1.6;
}

/* Texto dentro de las cards del bloque 3 */
.core-features .features-grid .feature-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Si quieres un pelín más compacto SOLO en desktop (opcional) */
/*
@media (min-width: 901px){
  .core-features .features-grid .feature-card p{
    font-size: .98rem;
  }
}
*/
/* ================= PATCH LIMPIO — BLOQUE 2 (HERO) ================= */
/* Desktop: justificado | Mobile: NO justificado + padding correcto */

.hero-section {
  padding-left: 20px;
  padding-right: 20px;
}

.hero-section .hero-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  column-gap: 56px;
  row-gap: 0;
  align-items: start;
}

.hero-section .hero-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

.hero-section .hero-text {
  text-align: left;
  max-width: none;
}

/* Desktop (default): justificado */
.hero-section .hero-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 12px 0;

  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  /* evita “Inteli- gencia” */
  overflow-wrap: break-word;
}

/* Bullets nunca justificadas */
.hero-section .hero-bullets,
.hero-section .hero-bullets li {
  text-align: left;
  hyphens: none;
}

/* Mobile: NO justificar + separar del borde derecho */
@media (max-width: 900px) {
  .hero-section .hero-content {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .hero-section .hero-image {
    width: min(320px, 78vw);
    justify-self: start;
  }

  .hero-section .hero-text {
    padding-right: 30px;
    /* <- evita que “pegue” al borde derecho */
  }

  .hero-section .hero-text p,
  .hero-section .hero-text li {
    text-align: left !important;
    text-justify: auto !important;
    hyphens: none !important;
  }
}


/* ================= FAQ CLEAN + PREMIUM ================= */
.faq-section {
  padding: 64px 0;
}

.faq-container {
  max-width: 980px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
}

/* Pregunta */
.faq-question {
  width: 100%;
  padding: 18px 52px 18px 18px;
  background: transparent;
  border: 0;
  color: #fff;
  text-align: left;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .2px;
  cursor: pointer;
  position: relative;
}

/* Flecha (sin HTML extra) */
.faq-question::after {
  content: "▾";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .8;
  transition: transform .2s ease, opacity .2s ease;
}

/* Respuesta colapsable */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: max-height .25s ease, padding .25s ease;
}

/* Estado abierto (tu JS puede agregar .open al .faq-item) */
.faq-item.open .faq-answer {
  max-height: 900px;
  padding: 14px 18px 18px;
}

.faq-item.open .faq-question::after {
  transform: translateY(-50%) rotate(180deg);
  opacity: 1;
}

/* Texto limpio */
.faq-answer p {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .78);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Listas limpias */
.faq-answer .faq-list {
  margin: 8px 0 14px;
  padding-left: 18px;
}

.faq-answer .faq-list li {
  margin: 7px 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
}

/* Hover suave */
.faq-item:hover {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .045);
}

/* Mobile */
@media (max-width: 900px) {
  .faq-section {
    padding: 48px 0;
  }

  .faq-container {
    padding: 0 14px;
  }

  .faq-question {
    padding: 16px 46px 16px 16px;
  }
}

/* ===== HERO-SECTION: quitar iluminación/glow flotante de la imagen ===== */
.hero-section img {
  box-shadow: none !important;
  filter: none !important;
}

/* Si el glow viene del contenedor (muy común) */
.hero-section .hero-image,
.hero-section .hero-visual,
.hero-section .hero-media,
.hero-section .hero-graphic {
  box-shadow: none !important;
  filter: none !important;
  background: transparent !important;
}

/* Si el glow está hecho con pseudo-elementos */
.hero-section .hero-image::before,
.hero-section .hero-image::after,
.hero-section .hero-visual::before,
.hero-section .hero-visual::after,
.hero-section .hero-media::before,
.hero-section .hero-media::after,
.hero-section .hero-graphic::before,
.hero-section .hero-graphic::after {
  content: none !important;
  box-shadow: none !important;
  filter: none !important;
  background: none !important;
}

/* ================= CORE-FEATURES: IMAGEN (reutiliza la del hero, oculta en móvil) ================= */
.core-features .features-title-visual {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.core-features .features-title-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  /* mismo look del bloque 2, pero más suave */
  filter: drop-shadow(0px 0px 18px rgba(255, 133, 0, 0.18));
  opacity: .98;
}

/* No mostrar esta imagen en modo celular */
@media (max-width: 900px) {
  .core-features .features-title-visual {
    display: none !important;
  }
}

/* ================= HERO-SECTION: quitar iluminación/flotante de la imagen ================= */
.hero-section .hero-image img {
  filter: none !important;
}

/* === CORE-FEATURES: quitar glow/reflejo de la imagen === */
.core-features .features-title-img {
  filter: none !important;
  box-shadow: none !important;
  -webkit-box-reflect: unset !important;
}

/* Por si el “halo” viene del contenedor */
.core-features .features-title-visual {
  background: transparent !important;
  box-shadow: none !important;
}

.core-features .features-title-visual::before,
.core-features .features-title-visual::after {
  content: none !important;
}

/* Texto lateral (derecha) en core-features => blanco real */
.core-features .features-subtext-block {
  color: #fff !important;
  opacity: 1 !important;
}

.core-features .features-subtext-block p {
  color: #fff !important;
  opacity: 1 !important;
}


/* =========================================================
   CORE-FEATURES — Unificar estilo DENDRO (sin cian, hover limpio)
   Pegar AL FINAL de app3.css
========================================================= */

/* 1) Header del bloque 3: texto más blanco (menos gris) */
.core-features .features-subtext,
.core-features .features-header.v2 .features-subtext {
  color: rgba(255, 255, 255, .90) !important;
}

/* Si tu título usa spans .gray/.highlight/.sub-highlight */
.core-features .features-title .gray {
  color: rgba(255, 255, 255, .92) !important;
}

.core-features .features-title .highlight {
  color: rgba(255, 255, 255, .98) !important;
  /* adiós cian */
}

.core-features .features-title .sub-highlight {
  color: var(--dendro-primary) !important;
  /* naranja DENDRO */
}

/* 2) Tarjetas: base más DENDRO */
.core-features .features-grid .feature-card {
  background: rgba(255, 255, 255, 0.018) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25) inset;
  transform: none;
}

/* 3) Hover: coherente (naranja sutil, no “otro tema”) */
.core-features .features-grid .feature-card:hover {
  background: rgba(255, 133, 0, 0.045) !important;
  border-color: rgba(255, 133, 0, 0.35) !important;
  box-shadow:
    0 0 0 1px rgba(255, 133, 0, 0.12) inset,
    0 10px 26px rgba(0, 0, 0, .35);
  transform: translateY(-2px);
}

/* 4) Label: quitar cian y pasar a naranja premium */
.core-features .feature-card .label {
  background: rgba(255, 133, 0, 0.12) !important;
  border: 1px solid rgba(255, 133, 0, 0.28) !important;
  color: var(--dendro-primary) !important;
}

/* 5) Texto dentro de tarjetas: más blanco (menos gris “sucio”) */
.core-features .feature-card h3 {
  color: rgba(255, 255, 255, .95) !important;
}

.core-features .feature-card p {
  color: rgba(255, 255, 255, .84) !important;
}

/* 6) Imagen del bloque 3 (debajo de “Inteligencia / Análisis / Acción…”): SIN glow/reflejo */
.core-features .features-title-img {
  filter: none !important;
  box-shadow: none !important;
  -webkit-box-reflect: unset !important;
}

/* =========================================================
   CORE-FEATURES — Unificar estilo DENDRO (sin cian, hover limpio)
   Pegar AL FINAL de app3.css
========================================================= */

/* 1) Header del bloque 3: texto más blanco (menos gris) */
.core-features .features-subtext,
.core-features .features-header.v2 .features-subtext {
  color: rgba(255, 255, 255, .90) !important;
}

/* Si tu título usa spans .gray/.highlight/.sub-highlight */
.core-features .features-title .gray {
  color: rgba(255, 255, 255, .92) !important;
}

.core-features .features-title .highlight {
  color: rgba(255, 255, 255, .98) !important;
  /* adiós cian */
}

.core-features .features-title .sub-highlight {
  color: var(--dendro-primary) !important;
  /* naranja DENDRO */
}

/* 2) Tarjetas: base más DENDRO */
.core-features .features-grid .feature-card {
  background: rgba(255, 255, 255, 0.018) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .25) inset;
  transform: none;
}

/* 3) Hover: coherente (naranja sutil, no “otro tema”) */
.core-features .features-grid .feature-card:hover {
  background: rgba(255, 133, 0, 0.045) !important;
  border-color: rgba(255, 133, 0, 0.35) !important;
  box-shadow:
    0 0 0 1px rgba(255, 133, 0, 0.12) inset,
    0 10px 26px rgba(0, 0, 0, .35);
  transform: translateY(-2px);
}

/* 4) Label: quitar cian y pasar a naranja premium */
.core-features .feature-card .label {
  background: rgba(255, 133, 0, 0.12) !important;
  border: 1px solid rgba(255, 133, 0, 0.28) !important;
  color: var(--dendro-primary) !important;
}

/* 5) Texto dentro de tarjetas: más blanco (menos gris “sucio”) */
.core-features .feature-card h3 {
  color: rgba(255, 255, 255, .95) !important;
}

.core-features .feature-card p {
  color: rgba(255, 255, 255, .84) !important;
}

/* 6) Imagen del bloque 3 (debajo de “Inteligencia / Análisis / Acción…”): SIN glow/reflejo */
.core-features .features-title-img {
  filter: none !important;
  box-shadow: none !important;
  -webkit-box-reflect: unset !important;
}

/* ===== Cursos de Nivelación: bajar brillo + escala de grises + overlay ===== */
.courses-leveling .feature-card .media-top {
  position: relative;
  /* ya lo tienes, pero lo reafirmo */
  overflow: hidden;
}

/* Layer oscuro para que la imagen no “compita” con toda la página */
.courses-leveling .feature-card .media-top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* oscuro + degradado sutil */
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.30) 40%,
      rgba(0, 0, 0, 0.65) 100%);
}

/* Imagen: escala de grises SIN oscurecer demasiado */
.courses-leveling .feature-card .media-top {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

/* Layer suave (no negro sólido) para “unificar” con el estilo de la página */
.courses-leveling .feature-card .media-top::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  /* Vignette muy leve + un toque dendro sutil */
  background:
    linear-gradient(180deg,
      rgba(10, 10, 10, 0.10) 0%,
      rgba(10, 10, 10, 0.22) 55%,
      rgba(10, 10, 10, 0.32) 100%),
    radial-gradient(70% 80% at 50% 30%,
      rgba(255, 133, 0, 0.10),
      transparent 60%);
}

.courses-leveling .feature-card .media-top img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* sube brillo y baja contraste para evitar “parche negro” */
  filter: grayscale(1) brightness(1) contrast(0.8) !important;
  opacity: 0.95;
  transform: scale(1.02);
}

/* Fecha SIEMPRE encima del layer */
.courses-leveling .feature-card .date-badge {
  z-index: 3;
}


/* Asegura que la fecha quede encima del overlay */
.courses-leveling .feature-card .date-badge {
  z-index: 3;
}

/* ===== Orden visual en cards de Formación Especializada ===== */

/* Título: un poco más compacto y consistente */
.courses-leveling .feature-card h3 {
  line-height: 1.15;
  margin-bottom: 10px;
}

/* Resumen: máximo 3 líneas (evita bloques eternos) */
.courses-leveling .feature-card p {
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 14px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* <-- 2 o 3 si quieres más corto */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Lista: más limpia, con menos indent y más aire */
.courses-leveling .feature-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, .86);
}

.courses-leveling .feature-card li {
  margin: 7px 0;
  line-height: 1.45;
}


/* =========================================
   ROADMAP — FIX TARJETAS (fondo negro + texto completo)
   Pegar AL FINAL del CSS
========================================= */

/* Fondo negro DENDRO en tarjetas (mismo que la página) */
.roadmap-interactive .roadmap-phases .phase-card {
  background: #0b0b0b !important;
  /* negro dendro */
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .60);
  overflow: visible !important;
  /* evita cortes */
  padding: 18px 18px 92px !important;
  /* espacio REAL para la insignia */
  min-height: 230px;
  /* que quepa todo el texto */
}

/* Jerarquía: título / descripción / cita */
.roadmap-interactive .roadmap-phases .phase-card p {
  margin: 0;
  color: rgba(255, 255, 255, .80);
  line-height: 1.45;
  font-size: 0.95rem;
}

.roadmap-interactive .roadmap-phases .phase-card p strong {
  display: block;
  color: rgba(255, 255, 255, .96);
  font-weight: 900;
  font-size: 1.02rem;
  margin: 0 0 10px;
}

/* Cita: que no se corte ni se esconda debajo de la banda */
.roadmap-interactive .roadmap-phases .phase-card p em {
  display: block;
  margin-top: 12px;
  margin-bottom: 0 !important;
  /* NO empujar hacia la banda */
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .88);
  font-style: italic;
  font-size: 0.90rem;
}

/* Banda inferior (insignia) — fija y visible */
.roadmap-interactive .roadmap-phases .phase-label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: .80rem;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}

/* Insignias: 1 negro, 2 morado, 3 azul (solo la banda) */
.roadmap-interactive .roadmap-phases .phase-card:nth-child(1) .phase-label {
  background: linear-gradient(180deg, #121212, #070707);
  color: rgba(255, 255, 255, .92);
}

.roadmap-interactive .roadmap-phases .phase-card:nth-child(2) .phase-label {
  background: linear-gradient(180deg, #6e2bd9, #3b167a);
  border-color: rgba(180, 120, 255, .40);
  color: #fff;
}

.roadmap-interactive .roadmap-phases .phase-card:nth-child(3) .phase-label {
  background: linear-gradient(180deg, #1f6bff, #0f2f78);
  border-color: rgba(120, 190, 255, .40);
  color: #fff;
}

/* Activa: un poco más de relieve sin cambiar el fondo */
.roadmap-interactive .roadmap-phases .phase-card.active {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .70);
  border-color: rgba(255, 255, 255, .18);
}

/* ===============================
   ROADMAP — Ajuste fino de tarjetas
   (pegar AL FINAL del CSS)
================================= */

/* 1) Define aquí tu negro DENDRO real (ajústalo a tu color base) */
:root {
  --dendro-black: #111111;
  /* <- cambia este valor por TU negro DENDRO exacto */
}

/* 2) Tarjetas: mismo fondo negro DENDRO + espacio para la cita externa */
.roadmap-interactive .roadmap-phases .phase-card {
  background: var(--dendro-black) !important;
  overflow: visible !important;
  /* para que la cita “salga” */
  margin-bottom: 46px;
  /* espacio debajo para la cita */
}

/* 3) La cita (em) se va por fuera y debajo, sin marco */
.roadmap-interactive .roadmap-phases .phase-card p em {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -38px;
  /* queda fuera y debajo del recuadro */
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, .72);
  font-style: italic;
  text-align: center;
  line-height: 1.35;
  pointer-events: none;
}

/* Mobile: un poco más de aire */
@media (max-width: 760px) {
  .roadmap-interactive .roadmap-phases .phase-card {
    margin-bottom: 54px;
  }

  .roadmap-interactive .roadmap-phases .phase-card p em {
    bottom: -44px;
    font-size: .88rem;
  }
}

/* ==========================================
   ROADMAP — FIX FINAL (tarjetas + cita afuera)
   Pegar AL FINAL del CSS
========================================== */

/* Asegura que nada corte la cita fuera de la tarjeta */
.roadmap-interactive .roadmap-layer,
.roadmap-interactive .roadmap-phases {
  overflow: visible !important;
}

/* Tarjeta: usa el “negro del fondo” (no negro plano distinto) */
.roadmap-interactive .roadmap-phases .phase-card {
  position: relative !important;
  background: rgba(0, 0, 0, .22) !important;
  /* deja ver el negro dendro real */
  border: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .60) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;

  overflow: visible !important;
  padding: 18px 18px 84px !important;
  /* espacio para la banda */
  min-height: 230px !important;

  margin-bottom: 64px !important;
  /* espacio real para la cita externa */
  z-index: 1;
}

/* Banda inferior (insignia) por encima de todo dentro de la tarjeta */
.roadmap-interactive .roadmap-phases .phase-card .phase-label {
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 12px !important;
  height: 40px !important;
  z-index: 3 !important;
}

/* La cita: FUERA y DEBAJO, sin caja/marco, siempre visible */
.roadmap-interactive .roadmap-phases .phase-card p em {
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  bottom: -46px !important;
  /* afuera debajo */
  z-index: 4 !important;

  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;

  color: rgba(255, 255, 255, .70) !important;
  font-style: italic !important;
  text-align: center !important;
  line-height: 1.35 !important;
  pointer-events: none !important;
}

/* Opcional: mejora la lectura del texto interno sin tocar estructura */
.roadmap-interactive .roadmap-phases .phase-card p {
  color: rgba(255, 255, 255, .82) !important;
}

.roadmap-interactive .roadmap-phases .phase-card p strong {
  color: rgba(255, 255, 255, .96) !important;
}

/* Móvil: más aire para la cita */
@media (max-width: 760px) {
  .roadmap-interactive .roadmap-phases .phase-card {
    margin-bottom: 74px !important;
  }

  .roadmap-interactive .roadmap-phases .phase-card p em {
    bottom: -54px !important;
    font-size: .88rem !important;
  }
}

/* ==========================================
   ROADMAP — compactar cards + más aire para citas
   Pegar AL FINAL del CSS
========================================== */

/* 1) Compacta tarjetas (menos padding y menos alto) */
.roadmap-interactive .roadmap-phases .phase-card {
  padding: 16px 16px 72px !important;
  /* antes 84px */
  min-height: 205px !important;
  /* más compacto */
  margin-bottom: 86px !important;
  /* MÁS espacio para la cita */
}

/* 2) Compacta un poco el texto interno */
.roadmap-interactive .roadmap-phases .phase-card p {
  font-size: 0.93rem !important;
  line-height: 1.42 !important;
}

.roadmap-interactive .roadmap-phases .phase-card p strong {
  font-size: 1.00rem !important;
  margin-bottom: 8px !important;
}

/* 3) Cita más separada y centrada, sin pisar nada */
.roadmap-interactive .roadmap-phases .phase-card p em {
  bottom: -66px !important;
  /* baja más la cita */
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
  opacity: .88 !important;
}

/* 4) Banda inferior un poco más compacta */
.roadmap-interactive .roadmap-phases .phase-card .phase-label {
  height: 36px !important;
  font-size: .78rem !important;
}

/* Móvil: mantener aire suficiente */
@media (max-width: 760px) {
  .roadmap-interactive .roadmap-phases .phase-card {
    margin-bottom: 96px !important;
    min-height: 210px !important;
  }

  .roadmap-interactive .roadmap-phases .phase-card p em {
    bottom: -74px !important;
  }
}

/* ==========================
   ROADMAP — más separación de citas
   Pegar AL FINAL del CSS
========================== */

/* Da más espacio debajo de cada tarjeta (para la cita) */
.roadmap-interactive .roadmap-phases .phase-card {
  margin-bottom: 112px !important;
  /* antes 86px aprox */
}

/* Baja la cita más (más separación visual) */
.roadmap-interactive .roadmap-phases .phase-card p em {
  bottom: -88px !important;
  /* antes -66px aprox */
}

/* Móvil: aún más aire */
@media (max-width: 760px) {
  .roadmap-interactive .roadmap-phases .phase-card {
    margin-bottom: 128px !important;
  }

  .roadmap-interactive .roadmap-phases .phase-card p em {
    bottom: -98px !important;
  }
}


/* =========================================
   CORE FEATURES — estilo premium (igual a roadmap cards)
   Solo para: <section class="core-features">
   Pegar AL FINAL del CSS
========================================= */

.core-features {
  position: relative;
}

/* Asume que dentro hay cards directas en un grid.
   Si tus cards usan otro selector, este cubre los más comunes. */
.core-features .feature-card,
.core-features .card,
.core-features .core-card,
.core-features article,
.core-features .item {
  position: relative;
  border-radius: 18px;
  background: rgba(0, 0, 0, .22);
  /* negro dendro (transparente) */
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .60);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* brillo glass sutil */
.core-features .feature-card::before,
.core-features .card::before,
.core-features .core-card::before,
.core-features article::before,
.core-features .item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, .06), transparent 55%);
  pointer-events: none;
}

/* barra superior (se vuelve naranja en hover) */
.core-features .feature-card::after,
.core-features .card::after,
.core-features .core-card::after,
.core-features article::after,
.core-features .item::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 14px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .14);
  opacity: .9;
  pointer-events: none;
  transition: background .22s ease, opacity .22s ease;
}

/* Hover naranja premium (sin pintar toda la tarjeta) */
.core-features .feature-card:hover,
.core-features .card:hover,
.core-features .core-card:hover,
.core-features article:hover,
.core-features .item:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 0, .45);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .70), 0 0 20px rgba(255, 122, 0, .14);
}

.core-features .feature-card:hover::after,
.core-features .card:hover::after,
.core-features .core-card:hover::after,
.core-features article:hover::after,
.core-features .item:hover::after {
  background: linear-gradient(90deg, #ff7a00, rgba(0, 0, 0, 0));
  opacity: 1;
}

/* Tipos: jerarquía y legibilidad */
.core-features h3 {
  color: rgba(255, 255, 255, .95);
  letter-spacing: .2px;
}

.core-features p {
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
}

/* Chips / badges (IAAT Core, Intel Labs, etc.) */
.core-features .badge,
.core-features .tag,
.core-features .pill,
.core-features .label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 122, 0, .12);
  border: 1px solid rgba(255, 122, 0, .35);
  color: rgba(255, 255, 255, .92);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .3px;
}

/* =========================================
   CORE FEATURES — sin pintado naranja ni barra superior
   Pegar AL FINAL del CSS
========================================= */

/* Quitar la barra superior (la línea) */
.core-features .feature-card::after,
.core-features .card::after,
.core-features .core-card::after,
.core-features article::after,
.core-features .item::after {
  display: none !important;
  content: none !important;
}

/* Hover: solo relieve (sin glow naranja, sin cambio a naranja) */
.core-features .feature-card:hover,
.core-features .card:hover,
.core-features .core-card:hover,
.core-features article:hover,
.core-features .item:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, .16) !important;
  /* neutro */
  box-shadow: 0 26px 70px rgba(0, 0, 0, .70) !important;
  /* solo sombra */
}

/* Si algún glow naranja quedó aplicado antes, lo anulamos */
.core-features .feature-card,
.core-features .card,
.core-features .core-card,
.core-features article,
.core-features .item {
  box-shadow: 0 18px 48px rgba(0, 0, 0, .60) !important;
}

/* Chips/badges: quitar fondo naranja (dejarlos neutros) */
.core-features .badge,
.core-features .tag,
.core-features .pill,
.core-features .label {
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  color: rgba(255, 255, 255, .86) !important;
}

/* =========================================
   CORE FEATURES — FIX DEFINITIVO (NO naranja en hover)
   Pegar AL FINAL FINAL del app3.css
========================================= */

.core-features :is(.feature-card, .card, .core-card, article, .item, .panel) {
  /* mismo look base (sin tinte naranja) */
  background: rgba(255, 255, 255, .02) !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .60) !important;
}

/* Hover: solo relieve neutro (sin pintado) */
.core-features :is(.feature-card, .card, .core-card, article, .item, .panel):hover {
  background: rgba(255, 255, 255, .02) !important;
  /* <- clave: mata el rgba(255,133,0,...) */
  border-color: rgba(255, 255, 255, .16) !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .70) !important;
  /* sin glow naranja */
  outline: none !important;
}

/* También neutraliza focus/ring (por si aparece naranja al click) */
.core-features :is(.feature-card, .card, .core-card, article, .item, .panel):focus,
.core-features :is(.feature-card, .card, .core-card, article, .item, .panel):focus-visible {
  background: rgba(255, 255, 255, .02) !important;
  border-color: rgba(255, 255, 255, .16) !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .70) !important;
  outline: none !important;
}

/* Si el naranja viene de pseudo-elementos (barra/overlay), lo anulamos */
.core-features :is(.feature-card, .card, .core-card, article, .item, .panel)::after,
.core-features :is(.feature-card, .card, .core-card, article, .item, .panel):hover::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.core-features :is(.feature-card, .card, .core-card, article, .item, .panel):hover::before {
  background: radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, .06), transparent 55%) !important;
  filter: none !important;
}

/* Chips/badges: neutros siempre */
.core-features :is(.badge, .tag, .pill, .label) {
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  color: rgba(255, 255, 255, .86) !important;
}

/* =========================================================
   FIX: Roadmap alineado con Core Features (desktop + móvil)
   Pegar al FINAL de app3.css
========================================================= */
.roadmap-interactive {
  /* iguala el “carril” lateral con core-features */
  padding-left: 20px;
  padding-right: 20px;
}

.roadmap-interactive .roadmap-header {
  /* mismo ancho máximo que la grilla de core-features */
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {

  /* en móvil, que las cards ocupen el mismo ancho que las de core-features */
  .roadmap-interactive .phase-card {
    width: 100%;
  }
}

.roadmap-interactive {
  padding-left: 0;
  padding-right: 0;
}

/* =========================================================
   Roadmap: alineado con .core-features y con aire en móvil
   (Pegar AL FINAL de app3.css)
========================================================= */

/* Si ahora usas .container dentro del roadmap, evita doble padding lateral */
.roadmap-interactive {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Asegura el mismo carril/ancho que las secciones de cards (1000px) */
.roadmap-interactive>.container {
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* MÓVIL: las tarjetas NO deben ser 100% (se ven demasiado anchas).
   Les damos “aire” y las centramos. */
@media (max-width: 768px) {
  .roadmap-interactive>.container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .roadmap-interactive .roadmap-phases .phase-card {
    width: 92% !important;
    /* <- antes 100% (muy ancho) */
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
}

/* ==========================================
   ROADMAP (MÓVIL) — más separación texto ↔ botón
   Pegar AL FINAL de app3.css
========================================== */
@media (max-width: 768px) {

  /* Asegura layout vertical y que el botón quede abajo */
  .roadmap-interactive .roadmap-phases .phase-card {
    display: flex !important;
    flex-direction: column !important;

    /* MÁS “aire” abajo para que el texto no se pegue al botón */
    padding: 16px 16px 98px !important;
    /* <- sube/baja este valor si quieres */
    min-height: 240px !important;
  }

  /* El texto no debe empujar raro */
  .roadmap-interactive .roadmap-phases .phase-card p {
    margin: 0 !important;
  }

  /* Si tu .phase-label está en flujo normal, esto lo manda al fondo */
  .roadmap-interactive .roadmap-phases .phase-card .phase-label {
    margin-top: auto !important;
  }

  /* Si tu .phase-label está ABSOLUTA, aseguras distancia real */
  .roadmap-interactive .roadmap-phases .phase-card .phase-label {
    bottom: 12px !important;
    height: 38px !important;
  }
}



/* =========================================================
   TIMELINE SECTION — alineada a Core Features / Roadmap
   (No usar .subheading aquí: en Roadmap tiene margen inferior grande)
========================================================= */

.timeline-section {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}

.timeline-section>.container {
  max-width: 1000px;
}

/* Header */
.timeline-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px;
}

.timeline-header h2 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: .2px;
}

.timeline-subheading {
  margin: 0;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, .72);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Timeline wrapper */
.timeline-section .timeline {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Sin “tarjeta”: texto limpio + acento */
.timeline-section .text-box {
  max-width: 420px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  position: relative;
}

/* Aire lateral según lado */
.timeline-section .step-right .text-box {
  padding-left: 18px !important;
}

.timeline-section .step-left .text-box {
  padding-right: 18px !important;
}



.timeline-section .year {
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: .6px;
}

.timeline-section .heading {
  margin: 0 0 8px;
  line-height: 1.15;
}

.timeline-section .text-box p {
  margin: 6px 0 0 !important;
  color: rgba(255, 255, 255, .75);
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-section {
    padding: 70px 0;
  }

  .timeline-header {
    text-align: left;
    margin-bottom: 30px;
  }

  .timeline-subheading {
    font-size: 1rem;
  }

  .timeline-section .text-box {
    max-width: 100%;
  }

  /* En móvil: todo a la izquierda, barra siempre a la izquierda */
  .timeline-section .step-left .text-box,
  .timeline-section .step-right .text-box {
    padding-right: 0 !important;
    padding-left: 18px !important;
    text-align: left !important;
  }

  .timeline-section .step-left .text-box::before {
    right: auto;
    left: 0;
  }
}

/* =========================================================
   TIMELINE — CP STEPS: línea delgada SEPARADA (exterior)

.timeline .cp-step .circle-container{
  --cp-ring: rgba(0,0,0,.92);

  outline: 2px solid var(--cp-ring); 
  outline-offset: 6px;              
}


.timeline .cp-iaos .circle-container{ --cp-ring: rgba(0,0,0,.92); }       
.timeline .cp-ledi .circle-container{ --cp-ring: rgba(122,44,255,.95); }  
.timeline .cp-let  .circle-container{ --cp-ring: rgba(30,91,255,.95); }  




@media (max-width: 768px){
  .timeline .cp-step .circle-container{
    outline-width: 1.5px;
    outline-offset: 5px;
  }
}

/* =========================================================
   TIMELINE — más padding lateral en móvil (texto no pegado)
========================================================= */

.timeline .cp-step .circle-container {
  background: transparent !important;
}

.timeline .cp-step .circle-container img {
  background: transparent !important;
}




.timeline-section>.container {
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .timeline-section>.container {
    padding-left: 30px;
    padding-right: 30px;
  }

  /* evita cortes feos en palabras largas */
  .timeline-section .heading,
  .timeline-section .text-box p {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}



/* 1) Evita que el contenido quede pegado al borde (alineado a Core/Roadmap) */
.timeline-section>.container,
.timeline-section .container {
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* 4) Mobile: más aire a la derecha + evitar “cortes” de texto */
@media (max-width: 768px) {

  .timeline-section>.container,
  .timeline-section .container {
    padding-left: 22px;
    padding-right: 26px;
    /* <<< más aire a la derecha */
  }

  /* Fuerza al grid a permitir encogerse y no “cortar” letras */
  .timeline-section .step {
    padding-right: 6px;
    /* micro-gutter extra */
  }

  .timeline-section .text-box {
    min-width: 0;
    /* clave en grids para que wrapee bien */
    padding-right: 12px !important;
    /* aire interno del lado derecho */
  }

  /* Mantén el aro exterior proporcional en móvil */
  .timeline-section .cp-step .circle-container::before {
    border-width: 2px;
    transform: scale(1.26);
  }
}

/* =========================================================
   TIMELINE — SOLO CP IAOS / LEDI / LET en escala de grises
========================================================= */

.timeline .cp-iaos .circle-container img,
.timeline .cp-ledi .circle-container img,
.timeline .cp-let .circle-container img {
  filter: grayscale(1) contrast(1.05) brightness(1.02);
}

/* 5) PÍLDORAS: Vacantes (gris) + Ir al curso (naranja) */
.timeline-section .step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.timeline-section .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .2px;
  text-decoration: none;
  user-select: none;
  transition: transform .15s ease, filter .15s ease, border-color .15s ease, background-color .15s ease;
  white-space: nowrap;
}

.timeline-section .pill--vacantes {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .86);
}

.timeline-section .pill--curso {
  background: var(--dendro-primary);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #0b0b0b;
}

.timeline-section .pill:hover {
  transform: translateY(-1px);
}

.timeline-section .pill--vacantes:hover {
  border-color: rgba(255, 255, 255, .26);
}

.timeline-section .pill--curso:hover {
  filter: brightness(1.06);
}

@media (max-width: 480px) {
  .timeline-section .pill {
    height: 32px;
    padding: 0 12px;
    font-size: .9rem;
  }
}

/* =========================================================
   TIMELINE — Step izquierdo: pills alineadas a la derecha
========================================================= */

.timeline-section .step-left .step-actions {
  justify-content: flex-end;
  /* pills al borde derecho */
}

.timeline-section .step-left .step-actions .pill {
  text-align: center;
}

/* =========================================================
   TIMELINE — MÓVIL: step-left debe verse alineado a la IZQUIERDA
========================================================= */

@media (max-width: 768px) {

  /* En móvil todos deben quedar como bloque normal, alineados a la izquierda */
  .timeline-section .step-left .text-box {
    text-align: left !important;
  }

  .timeline-section .step-left .step-actions {
    justify-content: flex-start !important;
    /* pills a la izquierda */
  }
}

.timeline .step[hidden] {
  display: none !important;
}

/* phase-timeline-filter.css (mínimo) */
.phase-card {
  cursor: pointer;
}

.phase-card.active {
  outline: 2px solid rgba(63, 62, 62, 0.65);
}

/* Forzar ocultación aunque existan display/!important en .step */
.timeline .step[hidden] {
  display: none !important;
}




/* ====== Mobile: "DENDRO" en 1ra línea y "CP|XXX" en 2da ====== */
@media (max-width: 768px) {

  .phase-label,
  .heading2 {
    white-space: normal;
  }

  .phase-label .dendro-break,
  .heading2 .dendro-break {
    display: block;
    line-height: 1.05;
  }

  .phase-label .cp-break,
  .heading2 .cp-break {
    display: block;
    line-height: 1.05;
  }
}

/* ====== Mobile: "DENDRO" en 1ra línea y "CP|XXX" en 2da ====== */
@media (max-width: 768px){
  .phase-label,
  .heading2{
    white-space: normal;
  }

  .phase-label .dendro-break,
  .heading2 .dendro-break{
    display: block;
    line-height: 1.05;
  }

  .phase-label .cp-break,
  .heading2 .cp-break{
    display: block;
    line-height: 1.05;
  }
}

  /* Honeypot: oculto fuera de pantalla */
  .hp-field{
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Status del form (independiente) */
  .registro-cursos-status{
    min-height: 18px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: .2px;
    opacity: .95;
  }
