/* overrides.v2.css — Ajustes finales (Premium B2B)
   Solo overrides seguros. No reescribe layout.v2.css
*/

/* =========================================================
CTA INTERMEDIO — DEFINITIVO (ELEGANTE + ESTABLE)
========================================================= */

section.cta-intermediate{
  position: relative;
  margin: 6.5rem 0 7rem;
  padding: 5.5rem 0 6.25rem;
  background: linear-gradient(to bottom, #ffffff 0%, #f6f7f9 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

section.cta-intermediate .cta-intermediate__inner{
  max-width: 880px;
}

section.cta-intermediate .cta-intermediate__content{
  max-width: 720px;
}

section.cta-intermediate .cta-intermediate__title{
  font-size: clamp(1.7rem, 2.6vw, 2.05rem);
  line-height: 1.18;
  margin: 0 0 1rem 0;
}

section.cta-intermediate .cta-intermediate__text{
  margin: 0;
  max-width: 70ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

section.cta-intermediate .cta-intermediate__actions{
  margin-top: 2rem;
  display: flex;
  justify-content: flex-start;
}

section.cta-intermediate .cta-intermediate__actions .btn-primary{
  padding: .9rem 1.65rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(201,164,76,.35), inset 0 -2px 0 rgba(0,0,0,.15);
}

/* Mobile */
@media (max-width: 768px){
  section.cta-intermediate{
    margin: 5.25rem 0;
    padding: 4.75rem 0 5.25rem;
  }
  section.cta-intermediate .cta-intermediate__actions{
    justify-content: center;
  }
}

/* =========================================================
SECTORES — ESTILO========= */SECTORES — ESTILO PREMIUM B2B

.sectors-section{
  padding: 6.5rem 0;
  background: #ffffff;
}

/* Encabezado */
.sectors-section__header{
  max-width: 820px;
  margin-bottom: 3rem;
}

.sectors-section__title{
  margin-top: .75rem;
  font-size: clamp(1.9rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.sectors-section__lead{
  margin-top: 1rem;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.65;
}

/* Grid */
.sectors-list{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}

/* Item */
.sector-item{
  position: relative;
  padding: 1.6rem 1.6rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}

/* Filete corporativo */
.sector-item::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  bottom:18px;
  width:3px;
  border-radius:999px;
  background: linear-gradient(
    180deg,
    var(--gold),
    rgba(201,164,76,.25)
  );
}

/* Título */
.sector-item__title{
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

/* Texto */
.sector-item__description{
  margin-top: .6rem;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ======================
RESPONSIVE
====================== */
@media (max-width: 980px){
  .sectors-list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px){
  .sectors-section{
    padding: 5rem 0;
  }

  .sectors-list{
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

/* =========================================================
SECT2B (coherente con Servicios y Enfoque)
========================================================= */

.sectors-section{
  padding: 6.5rem 0;
  background: #fff;
}

.sectors-section__header{
  max-width: 820px;
  margin-bottom: 3rem;
}

.sectors-section__title{
  margin-top: .75rem;
  font-size: clamp(1.9rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.sectors-section__lead{
  margin-top: 1rem;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.65;
}

.sectors-list{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}

.sector-item{
  position: relative;
  padding: 1.6rem 1.6rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}

.sector-item::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  bottom:18px;
  width:3px;
  border-radius:999px;
  background: linear-gradient(180deg, var(--gold), rgba(201,164,76,.25));
}

.sector-item__title{
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.sector-item__description{
  margin-top: .6rem;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 980px){
  .sectors-list{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px){
  .sectors-section{ padding: 5rem 0; }
  .sectors-list{ grid-template-columns: 1fr; gap: 1.4rem; }
}

/* =========================================================
PASADA FINAL PREMIUM — Ritmo vertical (Servicios →6.5rem; }PASADA FINAL PREMIUM — Ritmo vertical (Servicios → Footer)

/* Ajuste editorial: encabezados de secciones (misma sensación) */
.services-section__header,
.approach-section__header,
.sectors-section__header{
  margin-bottom: 2.75rem;
}

/* Enfoque: más aire en la lista (sin cambiar estilo “lista estructurada”) */
.approach-list{
  margin-top: 3rem;
  gap: 2.25rem;
}

/* CTA: asegura que el título y texto no se vean “pegados” */
.cta-intermediate__title{ margin-bottom: 1rem; }
.cta-intermediate__text{ margin-top: 0; }

/* Mobile: reduce un poco, pero mantiene respiración */
@media (max-width: 768px){
  .services-section{ padding-bottom: 5rem; }
  .approach-section{ padding-top: 5rem; padding-bottom: 4.5rem; }
  .sectors-section{ padding-top: 5rem; padding-bottom: 5rem; }
}

/* Ajuste global: secciones principales respiran igual */
.services-section,
.approach-section,
.cta-intermediate,
.sectors-section{
  scroll-margin-top: 96px; /* útil si luego agregas anchors */
}

/* Ritmo entre bloques */
.services-section{ padding-bottom: 6.5rem; }
.approach-section{ padding-top: 6.5rem; padding-bottom: 5.5rem; }
.cta-intermediate{ margin: 6.5rem 0; } /* ya está definido; esto refuerza */



/* =========================================================
NUESTRO ENFOQUE — REFINADO EDITORIAL PREMIUM
( método • criterio • confianza )
========================================================= */

/* margin-bottom: 3.75rem;/* Marco editorial sutil */


.approach-section__title{
  margin-top: .9rem;
  line-height: 1.18;
}

.approach-section__lead{
  max-width: 68ch;
  margin-top: 1.15rem;
  font-size: 1rem;
}

/* Lista de pilares: ritmo y método */
.approach-list{
  margin-top: 0;
  gap: 3rem;                 /* más aire = más seriedad */
}

/* Ítem: siente más “proceso” */
.approach-item{
  padding-left: 1.75rem;
}

/* Filete dorado más largo y consciente */
.approach-item::before{
  left: 0;
  top: -8px;
  bottom: -8px;              /* se extiende más */
  width: 2px;                /* más elegante */
  opacity: .9;
}

/* Título del pilar */
.approach-item__title{
  line-height: 1.25;
}

/* Texto del pilar */
.approach-item__description{
  max-width: 60ch;
  font-size: .95rem;
}

/* Cierre visual antes del CTA */
.approach-section{
  padding-bottom: 7rem;      /* sensación de bloque terminado */
}

/* Mobile: mantener jerarquía sin exagerar */
@media (max-width: 768px){
  .approach-section__header{
    margin-bottom: 2.75rem;
  }

  .approach-list{
    gap: 2.25rem;
  }

  .approach-section{
    padding-bottom: 5.5rem;
  }
}
.approach-section{
  position: relative;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 65%,
    #f9fafb 100%
  );
}

/* Encabezado: más autoridad editorial */
.approach-section__header{
  max-width: 760px;

}

/* =========================================================, body{
  max-width: 100%;
  overflow-x: hidden;
}

/* Asegura que ningún contenedor rompa el viewport */
.container{
  max-width: 100%;
  overflow-x: clip;
}

/* Imágenes siempre adaptativas */
img{
  max-width: 100%;
  height: auto;
}


