.cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  width: 100%;
}



.final-cta-button:hover {
  background: var(--strategic-purple);
}

.ai-testimonials-section {
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  gap: 2.5rem;
}

.ai-testimonials-title {
  font-size: 2rem;
  font-family: "Familjen Grotesk", sans-serif;
  color: var(--core-black);
  text-align: center;
}

.testimonial-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem; /* espacio entre tarjeta y botones */
}

.testimonial-slider-container {
  overflow: hidden;
  width: 100%;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease;
  gap: 2rem; /* separación lógica entre tarjetas aunque se muestre una */
}

.testimonial-card {

  background-color: var(--mora-blue);
  border-radius: 1rem;
  padding: 2rem 1.5rem 0 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  min-width: 100%;
  display: flex;
  flex-direction: column;
  color: white;
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
}

.testimonial-quote {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  position: relative;
}

.quote-mark {
 left: -15px;
    top: -20px;
  position: absolute;
  font-size: 3rem;
  line-height: 1;
  color: var(--invisible-tech);
  font-family: "STIX Two Text", serif;
  flex-shrink: 0;
  margin-top: 0;
}

.quote-text {

font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  font-family: "STIX Two Text", serif;
  margin: 0;
  position: relative;
}

.quote-close {
position: absolute;
  font-size: 4rem;
  line-height: 1;
  vertical-align: bottom;
  color: var(--invisible-tech);
  font-family: "STIX Two Text", serif;
  display: inline-block;
  margin-left: 0.25rem;
}

.testimonial-name {
  font-weight: 400;
  margin-top: 1rem !important;
  font-size: 1rem;
  color: white; /* CAMBIO */
  z-index: 2;
  position: relative;
    margin-bottom: 1rem !important;

}

.testimonial-footer {
  background-color: var(--invisible-tech);
  color: var(--core-black);
  width: calc(100% + 3rem); /* compensar los 1.5rem de padding horizontal */
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: auto;
  border-radius: 0; /* sin radios visibles */
}

/* === Navegación === */
.testimonial-nav {
  background: var(--mora-blue);
  border: none;
  color: white;
  border-radius: 50%;
  padding: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.testimonial-nav:hover {
  background: var(--strategic-purple);
}

.nav-icon {
  width: 24px;
  height: 24px;
  fill: white;
  display: block;
  margin: auto;
}

/* === Responsive === */
@media (max-width: 768px) {
.quote-mark {
    left: -15px;
    top: -30px;
  position: absolute;}
.ai-testimonials-section {
   
    padding: 6rem 0rem;
}
  .ai-testimonials-title {
    font-size: 1.75rem;
 padding: 1rem;
  }

  .testimonial-card {
    padding: 1.75rem 1.25rem 0 1.25rem;
  }

  .quote-text {
    font-size: 1.1rem;
  }

  .testimonial-footer {
    font-size: 0.9rem;
    width: calc(100% + 2.5rem); /* compensación en mobile */
    margin-left: -1.25rem;
    margin-right: -1.25rem;
  }



  .testimonial-wrapper {
    gap: 4px;
  }
}


.final-cta-section {
    border-radius: 0rem;
   
}
@media (max-width: 1024px) {
    .main_content-row-0-force-full-width-section > .row-fluid {
        padding: 0px !important;
    }
}
/* =========================================================
   CREHANA 2025 — BENEFICIOS (iOS SAFE)
   — Pivote a GRID para evitar glitches de Safari con flex
   — ✅ Todos los textos left aligned excepto el título de la sección
========================================================= */

/* Contexto seguro: evita herencias que conviertan el section en flex */
.seccionCrehana.beneficios-hr {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  isolation: isolate !important;
}

/* Título principal: centrado (único elemento que no se alinea a la izquierda) */
.seccionCrehana.beneficios-hr .tituloSeccion {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 2rem 0 !important;
  text-align: center !important; /* ✅ permanece centrado */
}

/* Contenedores base */
.hr-module {
  overflow: visible !important;
  display: block !important; /* evita flex ancestros en iOS */
  position: relative !important;
}

.hr-content {
  display: grid !important;
  grid-template-columns: 1fr !important; /* stack por defecto */
  gap: 24px !important;
}

/* =========================================================
   BLOQUES — GRID 60/40 estable en iOS
========================================================= */
.hr-block {
  display: grid !important;
  grid-template-columns: 6fr 4fr !important; /* 60/40 */
  gap: 48px !important;
  align-items: center !important;

  padding: 32px 32px !important;
  background-color: #fff !important;

  border: 2px solid transparent !important;
  border-radius: 24px !important;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(to right, #fff, var(--mora-blue)) !important;
  background-origin: border-box !important;
  background-clip: padding-box, border-box !important;

  box-shadow: 0 8px 24px rgba(0,0,0,0.05) !important;
  text-align: left !important; /* ✅ texto a la izquierda */
}

/* Alternancias de borde para bloques pares/impares */
.block-2 {
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(to right, var(--mora-blue), transparent) !important;
}
.block-3 {
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(to left, var(--mora-blue), transparent) !important;
}
.block-4 {
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(to right, var(--mora-blue), transparent) !important;
}

/* Columnas internas: texto/imagen */
.hr-block-left,
.hr-block-right {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  text-align: left !important; /* ✅ texto siempre a la izquierda */
}

/* Imágenes seguras */
.hr-image,
.hr-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 16px !important;
  object-fit: cover !important;
}

/* ---------- Textos ---------- */
.block-title {
  font-family: "Inter", sans-serif !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  color: #050823 !important;
  margin: 0 0 1rem 0 !important;
  line-height: 1.35 !important;
  text-wrap: balance !important;
  text-align: left !important; /* ✅ */
}

.subtitle-beneficios {
  font-family: "Inter", sans-serif !important;
  font-size: 16px !important;
  color: #383838 !important;
  line-height: 1.55 !important;
  margin: 0rem !important;
  text-align: left !important; /* ✅ */
}

.highlightPills,
.tab-content-list,
.tab-content-list li {
  text-align: left !important; /* ✅ listas, chips o bullets */
}



/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  .hr-block {
    grid-template-columns: 1fr !important; /* stack en tablets */
    gap: 20px !important;
    text-align: left !important;
  }
  /* en stack, prioriza texto sobre imagen */
  .hr-block-right { order: 2 !important; }
  .hr-block-left  { order: 1 !important; }
}

@media (max-width: 768px) {
.seccionCrehana.beneficios-hr {

    padding: 1rem;

}
  .seccionCrehana.beneficios-hr .tituloSeccion {

    margin-bottom: 1.25rem !important;
    text-align: center !important; /* ✅ se mantiene centrado */
  }
  .hr-block {
    padding: 20px !important;
    gap: 16px !important;
  }
  .block-title {
    font-size: 20px !important;
    line-height: 1.4 !important;
    text-align: left !important;
  }
  .subtitle {
    font-size: 15px !important;
    line-height: 1.55 !important;
    text-align: left !important;
  }
}

/* =========================================================
   SAFARI iOS — Refuerzos de layout
========================================================= */
@supports (-webkit-touch-callout: none) {
  .seccionCrehana.beneficios-hr,
  .hr-module,
  .hr-content,
  .hr-block,
  .hr-block-left,
  .hr-block-right {
    width: 100% !important;
    min-width: 0 !important;
    text-align: left !important;
  }

  /* Título de la sección permanece centrado */
  .seccionCrehana.beneficios-hr .tituloSeccion {
    text-align: center !important;
  }

  /* Refuerzos de texto */
  .block-title,
  .highlightPills,
  .subtitle,
  .tab-content-list,
  .tab-content-list li {
    display: block !important;
    width: 100% !important;
    text-align: left !important; /* ✅ refuerzo */
  }
}
.highlightPills {
font-weight: 600;
margin-bottom: 1rem !important;
}


/* =========================================================
   CREHANA 2025 — MÉTRICAS (clases únicas con !important)
   • Sin fondo
   • Tarjetas mora-blue
   • Números Invisible Tech
   • Altura fija uniforme en desktop y mobile
========================================================= */

.crh-metrics {
  background: none !important;
  padding: 4rem 2rem !important;
}

.crh-metrics__container {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* ---------- Encabezado ---------- */
.crh-metrics__headline {
  font-family: "Familjen Grotesk", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(1.9rem, 2.8vw, 2.4rem) !important;
  line-height: 1.2 !important;
  color: #140058 !important;
  text-align: center !important;
  margin: 0 0 0.75rem 0 !important;
}

.crh-metrics__em {
  font-family: "STIX Two Text", serif !important;
  font-style: italic !important;
  color: #4822F4 !important;
}

.crh-metrics__subtitle {
  font-family: "Inter", sans-serif !important;
  font-size: 1.075rem !important;
  color: #1a1a1a !important;
  line-height: 1.6 !important;
  max-width: 740px !important;
  margin: 0 auto 2rem auto !important;
  text-align: center !important;
}

/* ---------- Fila horizontal ---------- */
.crh-metrics__strip {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  padding-bottom: 0.5rem !important;
  justify-content: center !important;
  scrollbar-width: thin !important;
}

.crh-metrics__strip::-webkit-scrollbar {
  height: 8px !important;
}
.crh-metrics__strip::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15) !important;
  border-radius: 8px !important;
}

/* ---------- Tarjeta mora-blue ---------- */
.crh-metrics__card {
  background: #4822F4 !important;
  border-radius: 1rem !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
  padding: 1.75rem 1.5rem !important;
  width: 280px !important; /* ✅ Tamaño uniforme */
  height: 180px !important; /* ✅ Altura fija */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  flex-shrink: 0 !important; /* Evita que se encoja en móvil */
}

.crh-metrics__card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14) !important;
}

/* ---------- Número Invisible Tech ---------- */
.crh-metrics__number {
  font-family: "Familjen Grotesk", sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(2rem, 3vw, 2.5rem) !important;
  color: #D6FD6A !important;
  line-height: 1 !important;
  margin-bottom: 0.5rem !important;
  -webkit-font-smoothing: antialiased !important;
  text-rendering: optimizeLegibility !important;
}

/* ---------- Texto debajo ---------- */
.crh-metrics__text {
  font-family: "Inter", sans-serif !important;
  font-size: 1rem !important;
  color: #fff !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .crh-metrics {
    padding: 3rem 1rem !important;
  }

  .crh-metrics__card {
    width: 240px !important; /* ✅ mismo tamaño en mobile */
    height: 160px !important; /* ✅ mantiene proporción */
  }
}

/* =========================================================
   AJUSTES HERO Y CONFIANZA
========================================================= */
.hero-container {
  gap: 2rem !important;
}

.logos-slider-track img {
  height: 30px !important;
}

.hero-landing-crehana {
  background: #fff !important;
}

.trust-container {
  background: #fff !important;
}

/* =========================================================
   CREHANA PAYROLL — TABS SECTION (Brand 2025)
   Estilo unificado: desktop tabs / mobile acordeón
========================================================= */

:root {
  --mora-blue: #4822f4;
  --dark-purple: #140058;
  --core-black: #1a1a1a;
  --soft-gray: #f8f8f8;
  --border-gray: rgba(0, 0, 0, 0.05);
}

/* ================================
   SECCIÓN BASE
================================ */
.dual-tabs {
  padding: 2rem 2rem;
  max-width: 1600px;
  margin: 0 auto;

}

.tituloSeccion {
  text-align: center !important;
  color: var(--dark-purple) !important;
  font-family: "Familjen Grotesk", sans-serif !important;
  font-size: 2rem !important;
  font-weight: 500 !important;
  margin-bottom: 3rem !important;
  line-height: 1.3 !important;
}
.subtitle{
text-align: -webkit-center !important;
}
.hana-ai-subtitle {

  color: #333 !important;
  font-family: "Inter", sans-serif !important;
  font-size: 1rem !important;
  margin-top: 0.75rem !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}

/* ================================
   LAYOUT PRINCIPAL
================================ */
.tabs-layout-dual {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
  justify-items: center;
  width: 100%;
  max-width: 1600px;
  margin-bottom: 0rem;
  margin-top: 2rem;

  position: relative;
}

/* ================================
   TARJETAS
================================ */
.tabs-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tab-box {
  background: #fff !important;
  border: 1.5px solid var(--border-gray) !important;
  border-radius: 10px !important;
  padding: 0.8rem 1rem !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-direction: row !important;
  gap: 0.75rem !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  min-height: 60px !important;
  width: 100%;
}

.tab-box:hover {
  border-color: var(--mora-blue) !important;
  transform: translateY(-2px) !important;
}

.tab-box.active {
  border-color: var(--mora-blue) !important;
  box-shadow: 0 6px 14px rgba(72, 34, 244, 0.15) !important;
  background: #fafaff !important;
}

/* ================================
   ÍCONOS IZQUIERDA
================================ */
.icon-container {
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  background: rgba(72, 34, 244, 0.05) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.3s ease !important;
  flex-shrink: 0 !important;
}

.tab-box.active .icon-container {
  background: rgba(72, 34, 244, 0.15) !important;
}

.tab-box svg {
  color: var(--dark-purple) !important;
  width: 20px !important;
  height: 20px !important;
  transition: color 0.3s ease !important;
}

.tab-box.active svg {
  color: var(--mora-blue) !important;
}

/* ================================
   TEXTO TARJETAS
================================ */
.tab-text {
  font-family: "Familjen Grotesk", sans-serif !important;
  color: var(--dark-purple) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

/* ================================
   CONTENIDO CENTRAL
================================ */
.tab-content-container {
flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 600px !important; /* ✅ ancho fijo para evitar "shrink" o "expand" */
  min-width: 600px !important;
  box-sizing: border-box;
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
 transition:
    max-height 0.6s ease-in-out,
    opacity 0.5s ease,
    transform 0.4s ease;
margin-bottom: 2rem !important; /* ✅ margen fijo y constante */
}

/* Durante la animación no se recalcula el ancho */
.tab-content-container.animating {
  transform: scale(1.005); /* leve efecto óptico, sin afectar layout */
}

/* Prevenir que el grid se reajuste mientras cambia el contenido */
.tabs-layout-dual > * {
  min-width: 0; /* evita que el grid fuerce reajustes por contenido largo */
}

/* Asegurar que las columnas laterales mantengan tamaño estable */
.tabs-column {
  width: 100%;
  max-width: 350px;
  flex-shrink: 0;
}

.tab-content-item {
  position: static !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transform: translateY(-5px);
  background: #fff !important;
  
  border-radius: 10px !important;


  padding: 0rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.tab-content-item.active {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0);
  max-height: 1000px !important; /* suficiente para expandirse */
}

/* ================================
   CONTENIDO INTERNO
================================ */
.tab-content-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.tab-content-title {
  font-family: "Familjen Grotesk", sans-serif !important;
  color: var(--dark-purple) !important;
  font-size: 1.6rem !important;
  font-weight: 500 !important;
  margin-bottom: 1rem !important;
  text-align: center !important;
}

.tab-content-list {
  font-family: "Inter", sans-serif !important;
  color: var(--core-black) !important;
  line-height: 1.6 !important;
  font-size: 0.95rem !important;
  list-style: disc !important;
  margin: 0 auto !important;
  padding-left: 1.2rem !important;
  text-align: left !important;
  max-width: 520px !important;
}

.tab-content-list li {
  margin-bottom: 0.5rem !important;
}

/* ================================
   IMAGEN DE CONTENIDO
================================ */
.tab-content-image-nomina {
  margin-top: 1rem !important;
  width: 100% !important;
  text-align: center !important;
}

.tab-image-content {
  width: 100% !important;
  max-width: 420px !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.3s ease !important;
}

.tab-image-content:hover {
  transform: scale(1.03) !important;
}

@media (max-width: 768px) {
  /* Layout general: 1 columna */
.dual-tabs {
  padding:0rem;

}
  .tabs-layout-dual {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .tabs-column {
    flex-direction: column !important;
    width: 100% !important;
  }

  /* Ocultar contenedor central en mobile */
  .tab-content-container {
    display: none !important;
  }

  /* ======== Tarjetas ======== */
  .tab-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* separa texto y + */
    flex-direction: row !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 1rem 1rem !important;
    background: #fff !important;
    border: 1.5px solid var(--border-gray) !important;
    border-radius: 10px !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: background 0.3s ease, border-color 0.3s ease !important;
    min-height: 64px !important;
    text-align: left !important;
    word-wrap: break-word !important;
    white-space: normal !important; /* ✅ Permite que el texto haga wrap */
  }

  .tab-box.active {
    background: #fafaff !important;
    border-color: var(--mora-blue) !important;
  }

  /* Contenedor del texto */
  .tab-text {
    flex: 1 1 auto !important;
    font-family: "Familjen Grotesk", sans-serif !important;
    color: var(--dark-purple) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    margin-right: 1.75rem !important; /* ✅ deja espacio para el "+" */
    word-break: break-word !important;
  }
.tab-content-inner {
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.4s ease, transform 0.4s ease;
  max-height: 0;
  opacity: 0;
  transform: translateY(10px);
}

.tab-content-inner.active {
  max-height: 1200px;
  opacity: 1;
  transform: translateY(0);
}
  /* Ícono del tab */
  .icon-container {
    flex-shrink: 0 !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    background: rgba(72, 34, 244, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 0.75rem !important;
  }

  /* ======== Signo + ======== */
  .tab-box::after {
    content: '+';
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--dark-purple) !important;
    position: absolute !important;
    right: 1rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transition: transform 0.3s ease !important;
    pointer-events: none !important;
  }

  .tab-box.active::after {
    content: '–';
    transform: translateY(-50%) rotate(0deg) !important;
  }

  /* ======== Contenido desplegable ======== */
  .tab-content-item {
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    display: none !important;
    background: #fff !important;
    border: 1.5px solid var(--border-gray) !important;
    border-radius: 10px !important;
    margin-bottom: 0.75rem !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    padding: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .tab-content-item.active {
    display: block !important;
    animation: expandAccordion 0.4s ease forwards;
  }

  @keyframes expandAccordion {
    from {
      opacity: 0;
      transform: translateY(-5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ======== Texto interno del acordeón ======== */
  .tab-content-title {
    font-size: 1.3rem !important;
    text-align: center !important;
    font-weight: 600 !important;
  }

  .tab-content-list {
    text-align: left !important;
    padding-left: 1rem !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  .tab-image-content {
    max-width: 100% !important;
    border-radius: 10px !important;
    margin-top: 1rem !important;
  }
}
/* =========================================================
   SAFARI iOS FIX — Alinación de título/subtítulo y grid
   Sección: dual-tabs (Gestión de Nómina)
========================================================= */

/* 🔹 Fuerza título y subtítulo a comportamiento block */
.seccionCrehana.dual-tabs .headline,
.seccionCrehana.dual-tabs .subtitle {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  -webkit-text-size-adjust: 100% !important;
  word-break: normal !important;
}

/* 🔹 Evita comportamiento inline o float en Safari */
.seccionCrehana.dual-tabs .headline span,
.seccionCrehana.dual-tabs strong,
.seccionCrehana.dual-tabs p {
  display: inline !important;
  vertical-align: baseline !important;
}

/* 🔹 Arregla el bug de grid en Safari (layout dual) */
.tabs-layout-dual {
  display: grid !important;

  width: 100% !important;
  align-items: start !important;
  justify-items: center !important;
  box-sizing: border-box !important;
}

/* 🔹 En iOS, desactiva el min-width fijo que rompía layout */
@supports (-webkit-touch-callout: none) {
  .tab-content-container {
    min-width: auto !important;
    width: 100% !important;
    max-width: 600px !important;
  }

  /* Evita que el texto flote o se alinee incorrectamente */
  .tab-content-wrapper,
  .tab-content-text {
    width: 100% !important;
    min-width: 0 !important;
    display: block !important;
    text-align: center !important;
  }

  /* Refuerzo de flujo vertical en el hero */
  .seccionCrehana.dual-tabs {
    display: block !important;
    flex-direction: column !important;
  }

  /* Corrige spacing */
  .seccionCrehana.dual-tabs .headline {
    margin-bottom: 0.75rem !important;
  }
  .seccionCrehana.dual-tabs .subtitle {
    margin-bottom: 1.5rem !important;
  }
}


/* =========================================================
   CREHANA 2025 — Gestión de Nómina en México (Cuadro Mora dividido)
   • Lado izquierdo: fondo blanco
   • Lado derecho: fondo Invisible Tech (#D6FD6A)
   • Tarjetas con íconos y bordes mora-blue
========================================================= */
/* =========================================================
   CREHANA 2025 — Nómina 100% blindada y cero multas
   Fondo mora-blue con cuadro dividido blanco / invisible-tech
========================================================= */
.payroll-hero-big {
  border-radius: 0rem;
  padding: 3rem 0rem;
  background: var(--mora-blue);
  justify-content: center;
  align-items: center;
}

.payroll-hero.divided {
  max-width: 1400px;
  margin: 3rem auto;
  background: var(--mora-blue);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
}

.payroll-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.payroll-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 1100px;
  border-radius: 1rem;
  overflow: hidden;
}

/* =========================================================
   LADO IZQUIERDO
========================================================= */
.payroll-left {
  background: #fff;
  color: var(--core-black);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.payroll-title {
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 2rem !important;
  line-height: 1.2;
  color: var(--dark-purple);
}

.payroll-title .special-text {
  font-family: "STIX Two Text", serif;
  font-style: italic;
  color: var(--mora-blue);
}

/* Logos debajo del título */
.certifications-logos.left-side {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.certifications-logos.left-side img {
  width: 120px;
  height: auto;

  transition: transform 0.2s ease;
}

.certifications-logos.left-side img:hover {
  transform: scale(1.07);
}

.payroll-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1rem !important;
  line-height: 1.6;
  color: var(--core-black);
  max-width: 90%;
}

/* =========================================================
   LADO DERECHO
========================================================= */
.payroll-right {
  background: var(--invisible-tech);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.benefits-title {
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 1.25rem !important;
  color: var(--dark-purple);
  margin-top: 0.5rem;
}

/* =========================================================
   LISTA DE BENEFICIOS
========================================================= */
.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.benefit-item {
  background: #fff;
  border: 1.5px solid var(--mora-blue);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--core-black);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.benefit-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(72, 34, 244, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon-box svg {
  color: var(--mora-blue);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 992px) {
.certifications-logos.left-side {
    display: flex;
    align-items: center;
    gap: 0rem;
    flex-wrap: nowrap;
    margin-top: 0.5rem;
}
  .payroll-split {
    grid-template-columns: 1fr;
  }
.payroll-hero-big {

  padding: 0.5rem 0.5rem;

}

  .payroll-left,
  .payroll-right {
    padding: 2rem;
  }

  .certifications-logos.left-side {
    justify-content: center;
  }

  .certifications-logos.left-side img {
    width: 100px;
  }

  .payroll-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 560px) {
  .payroll-left,
  .payroll-right {
    padding: 1.5rem;
  }

  .payroll-title {
    font-size: 1.75rem;
  }

  .certifications-logos.left-side img {
    width: 85px;
  }

  .benefit-icon-box {
    width: 32px;
    height: 32px;
  }
}


/* =========================================================
   CREHANA 2025 — SECCIÓN 2: SOLUCIONES PAYROLL (Expandibles)
   • Fondo blanco
   • Cards expandibles
   • Border animado color mora-blue
========================================================= */

.payroll-soluciones-section {

  padding: 4rem 0 !important;
}

.payroll-soluciones-container {
  max-width: 1200px;
  margin: 0 auto;
}

.payroll-soluciones-header {
  text-align: center !important;
  margin-bottom: 2.5rem !important;
}

.payroll-soluciones-header .headline {
  font-family: "Familjen Grotesk", sans-serif !important;
  font-weight: 500 !important;
  font-size: 2.25rem !important;
  line-height: 1.2 !important;
  color: var(--dark-purple) !important;
  margin: 0 0 1rem 0 !important;
}

.payroll-soluciones-header .subtitle {
  font-family: "Inter", sans-serif !important;
  font-size: 1.125rem !important;
  line-height: 1.6 !important;
  color: var(--core-black) !important;
  max-width: 800px !important;
  margin: 0 auto 2rem auto !important;
}

.payroll-soluciones-header .special-text {
  font-family: "STIX Two Text", serif !important;
  font-style: italic !important;
  color: var(--mora-blue) !important;
}

/* ====== Grid de cards ====== */
.payroll-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* ====== Cards base ====== */
.solution-card {
min-height: 9.5rem;
  background: #fff !important;
  border-radius: 1rem;
  border: 2px solid transparent;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  height: fit-content;
}

/* Animación de stroke solo en mora-blue */
@keyframes borderFlowBlue {
  0%   { border-color: var(--mora-blue); }
  50%  { border-color: transparent; }
  100% { border-color: var(--mora-blue); }
}

/* ====== Contenido oculto ====== */
.solution-card .card-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
  margin-top: 0;
}

/* Mostrar en hover (desktop) */
.solution-card:hover .card-body {
  max-height: 400px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* Mostrar en mobile cuando está activa */
.solution-card.active .card-body {
  max-height: 400px;
  opacity: 1;
  margin-top: 0.5rem;
}

/* Efecto expand en hover o active */
.solution-card:hover,
.solution-card.active {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  animation: borderFlowBlue 2s linear infinite;
}

/* ====== Contenido de cards ====== */
.solution-card .card-icon {
  color: var(--mora-blue);
  margin-bottom: 0.25rem;
}

.solution-card .card-title {
  font-family: "Familjen Grotesk", sans-serif !important;
  font-weight: 500 !important;
  font-size: 1.1rem !important;
  color: var(--dark-purple) !important;
  margin: 0.25rem 0 !important;
}

.solution-card .card-body {
  font-family: "Inter", sans-serif !important;
  font-size: 0.985rem !important;
  line-height: 1.55 !important;
  color: var(--core-black) !important;
  margin: 0 !important;
}

/* ====== CTA ====== */
.payroll-soluciones-cta {
  display: flex;
  justify-content: center !important;
  margin-top: 2.5rem !important;
}



.btn-primary:hover {
  background: var(--dark-purple) !important;
  transform: translateY(-2px);
}

/* ====== Responsivo ====== */
@media (max-width: 1100px) {
  .payroll-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  .payroll-soluciones-header .headline { font-size: 1.9rem !important; }
  .payroll-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .payroll-cards-grid { grid-template-columns: 1fr; }
}
/* ===============================
   Ajustes para listas en tarjetas
================================= */

.card-list {
  list-style: none;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--core-black);
  font-family: "Helvetica Now Display", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  padding-left: 0.25rem;
}

.card-list li {
  position: relative;
  padding-left: 1.5rem;
}

.card-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--invisible-tech);
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.3;
}

/* Hover opcional: leve resalte */
.solution-card:hover .card-list li::before {
  color: var(--strategic-purple);
  transition: color 0.3s ease;
}
/* ===============================
   Ajuste visual adicional para bullet lists
================================= */

.card-body {
  padding-top: 0.5rem;
}

.card-list {
  list-style: none;
  margin: 0.75rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--core-black);
  font-family: "Helvetica Now Display", sans-serif;
  font-size: 0.985rem;
  line-height: 1.55;
  padding-left: 0.25rem;
}

.card-list li {
  position: relative;
  padding-left: 1.5rem;
  transition: color 0.25s ease;
}

.card-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--invisible-tech);
  font-weight: bold;
  font-size: 1rem;
  line-height: 1;
}

/* Hover: acento morado */
.solution-card:hover .card-list li::before {
  color: var(--strategic-purple);
}

/* =========================================================
   CREHANA 2025 — SECCIÓN 3: BENEFICIOS (Actualizada)
   • Títulos bold + mora-blue
   • Cards con border animado Invisible Tech ↔ Mora Blue
========================================================= */
/* =========================================================
   AJUSTES FEEDBACK — SECCIÓN 3: BENEFICIOS
   Correcciones visuales en numeración y contraste
========================================================= */
.headline-beneficios-seccion3{
color: #fff !important;
margin-bottom: 2rem !important;}
.payroll-beneficios-section {
  background: var(--mora-blue);
  padding: 4rem 0 !important;
  border-radius: 1rem;
}

.payroll-beneficios-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Grid */
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* ====== Tarjeta base ====== */
.beneficio-card {
  position: relative;
  background: var(--off-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  border: 2px solid var(--invisible-tech);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.4s ease;
  overflow: hidden;
}

.beneficio-card:hover {
  transform: translateY(-4px);
  border-color: var(--mora-blue);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* ====== Numeración (ajustada) ====== */
.beneficio-number {
margin-bottom: 0.5rem;

  background: var(--invisible-tech);
  color: var(--dark-purple);
  font-family: "Familjen Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--mora-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  z-index: 2;
  animation: slideIn 0.6s ease forwards;
  opacity: 0;
}

/* Efecto hover para mantener contraste */
.beneficio-card:hover .beneficio-number {
  background: var(--mora-blue);
  color: #fff;
  border-color: var(--mora-blue);
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Animación */
.beneficio-card:nth-child(1) .beneficio-number { animation-delay: 0.1s; }
.beneficio-card:nth-child(2) .beneficio-number { animation-delay: 0.3s; }
.beneficio-card:nth-child(3) .beneficio-number { animation-delay: 0.5s; }
.beneficio-card:nth-child(4) .beneficio-number { animation-delay: 0.7s; }

@keyframes slideIn {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ====== Títulos y texto ====== */
.beneficio-title {
  font-family: "Familjen Grotesk", sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.75rem !important;
  color: var(--mora-blue) !important;
}

.beneficio-body {
  font-family: "Inter", sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
  color: var(--core-black) !important;
}

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

  .beneficio-number {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}


/* =========================================================
   CREHANA 2025 — SECCIÓN 4: Grid con tarjetas + imágenes
========================================================= */
/* =========================================================
   CREHANA 2025 — SECCIÓN 4 (Layout 60/40 - 40/60)
========================================================= */
.rrhh-speed-section {

  padding: 4rem 0;
}

.rrhh-speed-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Encabezado */
.rrhh-speed-header {

    justify-items: center;

  text-align: center;
  margin-bottom: 3rem;
}

.rrhh-speed-header .headline {
  font-family: "Familjen Grotesk", sans-serif !important;
  font-weight: 500 !important;
  font-size: 2.25rem !important;
  color: var(--core-black) !important;
}

.rrhh-speed-header .special-text {
  font-family: "STIX Two Text", serif !important;
  font-style: italic !important;
  color: var(--mora-blue) !important;
}

.rrhh-speed-header .subtitle {
  font-family: "Inter", sans-serif !important;
  font-size: 1.25rem !important;
  line-height: 1.65 !important;
  color: var(--core-black) !important;
  max-width: 720px;
  margin: 0 auto;
}

/* ===================== NUEVO GRID ===================== */
.rrhh-speed-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Cada fila es un grid con proporciones distintas */
.rrhh-row {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.rrhh-row.row-1 {
  grid-template-columns: 60% 40%;
}

.rrhh-row.row-2 {
  grid-template-columns: 40% 60%;
}

/* ===================== Tarjetas ===================== */
.benefit-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-content {
  flex: 1;
}

.benefit-icon {
  color: var(--mora-blue);
  margin-bottom: 1rem;
}

.benefit-title {
  font-family: "Familjen Grotesk", sans-serif !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: var(--core-black) !important;
  margin-bottom: 0.5rem !important;
}

.benefit-body {
  font-family: "Inter", sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: var(--core-black) !important;
}

.benefit-image {
  margin-top: 1.5rem;
  overflow: hidden;
  border-radius: 1rem;
}

.benefit-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  transition: transform 0.4s ease;
}

.benefit-image img:hover {
  transform: scale(1.03);
}

/* ===================== Responsive ===================== */
@media (max-width: 992px) {
.rrhh-speed-container {

  padding: 1rem;
}

  .rrhh-row.row-1,
  .rrhh-row.row-2 {
    grid-template-columns: 1fr;
  }
}




/* ===================== hana - ai  ===================== */
.hana-ai-card-image {
align-self: center;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin-top: 1rem;
    max-width: 900px;
}

.seccionCrehana {
 align-self: center !important; /* ✅ centra dentro del grid */
  justify-self: center !important; /* ✅ Safari fix */
    display: grid
;
    margin-top: 4rem;
    margin-bottom: 4rem;
    align-items: anchor-center;
    max-width: 1200px;
    justify-self: center;
    justify-content: center;
    align-items: center;
}
.hana-ai-card {
  align-self: center !important; /* ✅ centra dentro del grid */
  justify-self: center !important; /* ✅ Safari fix */
    justify-content: center;
    align-items: center;
}

.faqs-section {
   
    padding:3rem 3rem;
border-radius: 1rem;
}
@media (max-width: 768px) {
.faqs-section {

    padding:4rem 1rem;

}
}
.faqs-subtitle {
    font-family: "Inter", sans-serif !important;
    font-size: 1.125rem !important;
    color: --var(dark-purple) !important;
    text-align: left !important;
    margin-bottom: 2rem !important;
}
.faqs-title {
    font-family: "Familjen Grotesk", sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(2rem, 3.5vw, 3rem) !important;
    color: --var(dark-purple) !important;
    text-align: left !important;
    margin-bottom: 0.5rem !important;
}


/* =========================================================
   CREHANA 2025 — SECCIÓN 5: COMPARADOR (CSS COMPLETO - Mejorado)
   • Desktop: grid 3 columnas alineadas por filas
   • Mobile: dos tarjetas (Manual / Digital) con aspecto al lado de cada ítem
   • Manual: gris oscuro con contraste
   • Digital: gradiente azul–violeta con acentos verde Invisible Tech
========================================================= */

/* --- Tokens básicos --- */
:root{
  --mora-blue:#4822F4;
  --dark-purple:#140058;
  --strategic-purple:#6556FF;
  --core-black:#262626;
  --invisible-tech:#D6FD6A;
  --light-grey:#777777;
  --off-white:#F7F7F7;
}
/* =========================================================
   CREHANA 2025 — COMPARADOR FINAL (columna invertida + bordes uniformes)
========================================================= */
/* =========================================================
   CREHANA 2025 — COMPARADOR FINAL (Desktop + Mobile corregido)
========================================================= */

/* ----- Desktop visible por defecto ----- */
.comparador-table {
  display: block !important;
}

/* Ocultar versión mobile por defecto */
.comparador-mobile {
  display: none !important;
}

/* ====== Sección general ====== */
.comparador-section {

  padding: 4rem 1rem !important;
}

.comparador-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* ====== Título ====== */
.comparador-title {
  font-family: "Familjen Grotesk", sans-serif !important;
  font-size: 2.25rem !important;
  font-weight: 500 !important;
  color: var(--dark-purple) !important;
  margin-bottom: 2.5rem !important;
}
tbody td:nth-child(2) {

font-weight: 500 !important;
}
tbody td:nth-child(3) {

font-weight: 500 !important;
}
.comparador-title .special-text {
  font-family: "STIX Two Text", serif !important;
  font-style: italic !important;
  color: var(--mora-blue) !important;
}

/* ====== Tabla (Desktop) ====== */
.comparador-table {
  background: #fff !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-family: "Inter", sans-serif !important;
  font-size: 1rem !important;
  color: var(--dark-purple) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
margin-bottom: 0rem;
}

thead th {
  background: #f5f5f5 !important;
  font-weight: 700 !important;
  padding: 1rem !important;
  text-align: center !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  color: var(--dark-purple) !important;
}

thead th:first-child {
  text-align: center !important;
}

thead th.digital-header {
  background: hsla(76, 97%, 70%, 0.12) !important;
}

tbody td {
  background: #fff !important;
  padding: 1rem 1.25rem !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  text-align: left !important;
  vertical-align: middle !important;
  color: var(--dark-purple) !important;
}

tbody td:first-child {
  font-weight: 600 !important;
  text-align: left !important;
}

tbody td:nth-child(2) {
  background: hsla(76, 97%, 70%, 0.12) !important; /* columna DIGITAL */
}

/* ====== Íconos ====== */
.icon-check,
.icon-x {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  margin-right: 0.5rem !important;
}

.icon-check svg {
  stroke: #2ECC71 !important; /* verde */
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.icon-x svg {
  stroke: #E74C3C !important; /* rojo */
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}
.rrhh-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.35s ease;
}

.rrhh-img:hover {
  transform: scale(1.03);
}

/* Ajuste visual */
.benefit-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* =========================================================
   MOBILE (≤ 768px)
   -> Se oculta la tabla y se muestran las tarjetas apiladas
========================================================= */
@media (max-width: 768px) {
  /* Ocultar tabla */
  .comparador-table {
    display: none !important;
  }

  /* Mostrar tarjetas */
  .comparador-mobile {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    margin-top: 1rem !important;
  }

  /* Tarjetas base */
  .comparador-card {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 1rem !important;
    padding: 1.25rem 1.5rem !important;
    text-align: left !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
    background: #fff !important;
  }

  /* Fondo especial para Nómina Digital */
  .comparador-card.digital {
    background: hsla(76, 97%, 70%, 0.12) !important;
  }

  /* Título de tarjeta */
  .comparador-card-header {
    font-family: "Familjen Grotesk", sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    color: var(--dark-purple) !important;
    text-align: center !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  }

  /* Lista de ítems */
  .comparador-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }

  .comparador-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: var(--dark-purple) !important;
  }

  .comparador-item strong {
    display: block !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
  }

  /* Íconos mobile */
  .comparador-item .icon-check,
  .comparador-item .icon-x {
    flex-shrink: 0 !important;
  }
}
@media (max-width: 768px) {
    .trust-logos-section {
        padding: 0rem 0;
    }
}
@media (max-width: 960px) {
    .hero-landing-crehana {
padding: 1rem;
        border-radius: 1rem 1rem 0rem 0rem;
    }
}


html {
  -webkit-font-smoothing: antialiased; /* mejora nitidez en Safari */
  -moz-osx-font-smoothing: grayscale;  /* mejora nitidez en Firefox macOS */
}

}
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@supports (-webkit-touch-callout: none) {
  h1 {
    font-weight: 500 !important; /* compensa delgadez perceptual en iOS/macOS */
  }

/* =========================================================
   FIX DEFINITIVO — Centrado imagen Hana AI (Cross-Browser)
========================================================= */

/* Contenedor principal */
.seccionCrehana {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 4rem auto !important;
  text-align: center !important;
}

/* Tarjeta de Hana AI */
.hana-ai-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
}

/* Imagen */
.hana-ai-card-image {
  display: block !important;
  width: auto !important;
  max-width: 900px !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  margin: 0 auto !important;
  align-self: center !important;
}

/* Safari / iOS FIX */
@supports (-webkit-touch-callout: none) {
  .hana-ai-card,
  .seccionCrehana {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hana-ai-card-image {
    display: block !important;
    margin: 0 auto !important;
    transform: translateY(0) !important;
  }
}
/* =========================================================
   CREHANA 2025 — FIX GLOBAL DE TIPOGRAFÍA (Safari / macOS / iOS)
   Corrige peso visual de fuentes en Safari, iOS y macOS
========================================================= */

/* Mejora global de suavizado tipográfico */
html {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

body {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
  font-feature-settings: "liga", "kern" !important;
}

/* Safari detecta las fuentes más delgadas → compensamos visualmente */
@supports (-webkit-touch-callout: none) {
  h1, h2, h3, h4, h5, h6 {
    font-weight: 600 !important; /* antes 500 o 700 → 1 paso arriba */
    letter-spacing: -0.01em !important;
  }

  .hero-title,
  .headline,
  .payroll-title,
  .benefit-title,
  .beneficio-title,
  .comparador-title,
  .tab-text,
  .tab-content-title {
    font-weight: 600 !important;
  }

  p, li, .payroll-subtitle, .benefit-body, .tab-content-list, .subtitle {
    font-weight: 400 !important; /* evita “delgadez” del 300 en WebKit */
    letter-spacing: -0.005em !important;
  }

  strong {
    font-weight: 
      600 !important; /* Safari sub-renderiza el 500 */
  }

  /* Ajuste adicional para Familjen Grotesk */
  [class*="headline"],
  [class*="Grotesk"] {
    -webkit-text-stroke: 0.2px rgba(0,0,0,0.15); /* mejora densidad del trazo */
  }
}

/* Fix adicional para pantallas retina de Mac (textos demasiado finos) */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi) {
  body,
  h1, h2, h3, h4, h5, h6,
  p, li, span, a {
    -webkit-font-smoothing: subpixel-antialiased !important;
    text-rendering: geometricPrecision !important;
  }
}

/* Opcional: enfatizar contraste del texto principal */
:root {
  --core-black: #1a1a1a; /* un tono más denso para Safari */
}
