* {
    box-sizing: border-box;
    scroll-behavior: smooth; /*para cuando se le de clic a una opcion, baje más despacio*/
}


@font-face {
    font-family: "montserrat";
    src: url(fonts/Montserrat-ExtraLight.ttf) format("truetype");
    font-weight: 100;
    
}

@font-face {
    font-family: "montserrat";
    src: url(fonts/Montserrat-ExtraBold.ttf) format("truetype");
    font-weight: 700;
    
}

@font-face {
    font-family: "montserrat";
    src: url(fonts/Montserrat-Regular.ttf) format("truetype");
    font-weight: 400;
    
}
@font-face {
    font-family: "montserrat";
    src: url(fonts/Montserrat-Black.ttf) format("truetype");
    font-weight: 900;
    
}

@font-face {
    font-family: "raleway";
    src: url(raleway/static/raleway-ExtraLight.ttf) format("truetype");
    font-weight: 100;
    
}

@font-face {
    font-family: "raleway";
    src: url(raleway/raleway-ExtraBold.ttf) format("truetype");
    font-weight: 400;
    
}

@font-face {
    font-family: "raleway";
    src: url(raleway/static/raleway.ttf) format("truetype");
    font-weight: 400;
    
}
@font-face {
    font-family: "raleway";
    src: url(raleway/static/raleway.ttf) format("truetype");
    font-weight: 900;
    
}

html, body { 
    margin: 0;
    height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    background-color: #eee;
    color: #333333;
    display: flex;
    flex-direction: column;
}

div, ul, nav, header, footer, a, li, label {
margin: 0;
padding: 0;
}

.main-wrapper, header, footer {
    width: 100%;
}

h1,h2,h3,h4 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}
/*Header */
.header {
    background: linear-gradient(135deg, #b2cce5 0%,#3481cd 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    container-type: inline-size;
    container-name: header;
    position: relative;
    z-index: 10;
    text-align: center;
    font-size: 20px;
    color: #333333;
    height: 180px;
}

.header__logo {
    max-width: 100%;
    width: 250px;
    margin: 10px 10px;
}

.header__open-nav-button {
    color: #333333;
    font-size: 3rem;
    font-weight: 600;
    position: absolute;
    right: 10px;

}

.header__checkbox {
    display: none;
}

.header__nav {
    display: none;
    position: absolute;
    height: 100vh;
    width: 100vw;
    top:0;
    z-index: -1;
    background-color: #fff;
}

.header__checkbox:checked ~ .header__nav {
    display: flex;

}

.header__nav-list {
    display: flex;
    flex-direction: column;
    height: 40vh;
    margin: auto;
    justify-content: space-evenly;
}

.header__nav-item {
    list-style: none;
    padding: 5px;
}

.header__nav-item a {
    color: #333333;
    text-decoration: none;
}

.items:hover {
    background-color: #bc373d;
    border-radius: 5px;
}

.header__nav-item a:hover {
    color: #fff;
}

.ml {
    padding: 5px;
    background-color: transparent;
    color: #fff;
    border-radius: 6px;
    border: 1px solid #6B8F71;
    position: relative;
    overflow: hidden;
}

.ml::before {
    content:"";
    background-color: #a8ac23;
    display: block;
    height: 200%;
    width: 140%;
    position: absolute;
    z-index: -1;
    transition: top .6s, left .6s;
    border-radius: 50px;
    top: 100%;
    left: 30%;
}

.ml:hover::before {
    top:-35%;
    left: -20%;
}

.cotiza {
    padding: 5px;
    background-color: transparent;
    color: #fff;
    border-radius: 6px;
    position: relative;
    border: 1px solid #bc373d;
    overflow: hidden;
}

/*--wave button*/
.cotiza::before {
    content:"";
    background-color: #bc373d;
    display: block;
    height: 200%;
    width: 140%;
    position: absolute;
    z-index: -1;
    transition: top .6s, left .6s;
    border-radius: 50px;
    top: 100%;
    left: 30%;
}

.cotiza:hover::before {
    top:-35%;
    left: -20%;
}

/*----header queries*/

@media screen and (min-width: 600px) {

    .header {
        padding: 0;
        animation: header-movement both;
        animation-timeline: scroll();
        position: sticky;
        top:0;
        animation-range: 10px 100px;
    }
    .header__nav {
        display: block;
        position: static;
        height: auto;
        width: auto;
        justify-content: space-between;
        z-index: 1;
        background-color: transparent;
    }   
    .header__nav-list {
        flex-direction: row;
        height: auto;
        width: auto;
        gap: 20px;
        margin-right: 40px;
        
    }

    .header__open-nav-button {
        display:none;
    }
}

/*---header ends*/
/* MAIN*/
main {
    flex: 1;
}

.track {
width: 100%;
height: 100%;
position: relative;
}

.slider {
width: 100%;
height: 500px;
position: relative;
overflow: hidden;
}

.slider img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: contain;
opacity: 0;
transform: translateX(100%);
}

/* Animación */
.slider img.is-active {
    z-index: 2;
    opacity: 1;
    transform: translateX(0);
}

.slider img.is-exiting {
    z-index: 1;
    opacity: 1;
}

.slider img.is-entering-next {
    animation: slider-enter 0.6s ease forwards;
}

.slider img.is-exiting-next {
    animation: slider-exit 0.6s ease forwards;
}

.slider img.is-entering-prev {
    animation: slider-enter-prev 0.6s ease forwards;
}

.slider img.is-exiting-prev {
    animation: slider-exit-prev 0.6s ease forwards;
}

.slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background-color: rgba(26, 26, 26, 0.55);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 42px;
    line-height: 1;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.slider__arrow--left {
    left: 24px;
}

.slider__arrow--right {
    right: 24px;
}

.slider__arrow:hover,
.slider__arrow:focus-visible {
    background-color: #bc373d;
    transform: translateY(-50%) scale(1.08);
    outline: none;
}

@keyframes slider-enter {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slider-exit {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes slider-enter-prev {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slider-exit-prev {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}
/* ── VARIABLES (agregar o fusionar con las tuyas) ── */
:root {
  --azul-primario:   #185FA5;
  --azul-oscuro:     #0C447C;
  --azul-claro:      #E6F1FB;
  --texto-primario:  #1a1a1a;
  --texto-secundario:#5f5f5f;
  --borde:           rgba(0, 0, 0, 0.1);
  --fondo-claro:     #f5f6f8;
  --radio-md:        8px;
  --radio-lg:        12px;
}
 
/* ── TIPOGRAFÍA BASE (requiere Google Fonts en el <head>) ── */
/* DM Sans para cuerpo, Playfair Display para títulos        */
 
/* ── UTILIDADES COMPARTIDAS ── */
.eyebrow {
  font-size: 25px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--azul-primario);
  font-weight: 500;
  margin-bottom: 10px;
  display: block;
}
 
.eyebrow--muted {
  color: var(--texto-secundario);
}
 
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2;
  color: var(--texto-primario);
}
 
.section-sub {
  font-size: 15px;
  color: var(--texto-secundario);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}
 
.btn-primary {
  display: inline-block;
  background: var(--azul-primario);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 26px;
  border-radius: var(--radio-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
 
.btn-primary:hover {
  background: var(--azul-oscuro);
  transform: translateY(-1px);
}
 
/* ══════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════ */

.hero {
  background: linear-gradient(135deg, #185FA5 0%, #0C447C 100%);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 241, 251, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(24, 95, 165, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  background: rgba(230, 241, 251, 0.2);
  border: 1px solid rgba(230, 241, 251, 0.4);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.2rem;
  color: #fff;
}

.hero__subtitle {
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.7;
  margin: 0 0 2.5rem;
  color: rgba(230, 241, 251, 0.95);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__cta {
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.hero__cta--primary {
  background: #FFD700;
  color: #0C447C;
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.hero__cta--primary:hover {
  background: #FFC700;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 215, 0, 0.4);
}

.hero__cta--primary a {
  color: #0C447C;
  text-decoration: none;
}

.hero__cta--secondary {
  background: transparent;
  border: 2px solid #FFD700;
  color: #fff;
}

.hero__cta--secondary:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(230, 241, 251, 0.2);
}

.hero__stat {
  position: relative;
  z-index: 1;
}

.hero__stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 0.5rem;
}

.hero__stat-label {
  display: block;
  font-size: 13px;
  color: rgba(230, 241, 251, 0.8);
  letter-spacing: 0.05em;
}

@media (max-width: 820px) {
  .hero {
    padding: 3rem 1rem;
  }

  .hero__cta-group {
    gap: 0.8rem;
    margin-bottom: 2rem;
  }

  .hero__cta {
    padding: 12px 24px;
    font-size: 14px;
  }

  .hero__stats {
    gap: 1.5rem;
  }
}

/* ══════════════════════════════════════════════════════════════
SECCIÓN · RECONOCIMIENTOS Y CERTIFICACIONES
══════════════════════════════════════════════════════════════ */

.reconocimientos {
  background: linear-gradient(135deg, #f5f6f8 0%, #ffffff 100%);
  padding: 3.5rem 1.5rem;
  border-top: 2px solid rgba(24, 95, 165, 0.15);
}

.reconocimientos__header {
  text-align: center;
  margin-bottom: 3rem;
}

.reconocimientos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.certificado-card {
  background: #fff;
  border: 2px solid rgba(24, 95, 165, 0.1);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.certificado-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--azul-primario), #FFD700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.certificado-card:hover {
  border-color: var(--azul-primario);
  box-shadow: 0 12px 32px rgba(12, 68, 124, 0.12);
  transform: translateY(-6px);
}

.certificado-card:hover::before {
  transform: scaleX(1);
}

.certificado-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificado-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #0C447C;
  margin: 0 0 0.8rem;
}

.certificado-card__text {
  font-size: 14px;
  color: #5f5f5f;
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   SECCIÓN 1 · CATEGORÍAS
   ══════════════════════════════════════════════════════════════ */
 
.categorias {
  border-top: 1px solid var(--borde);
  font-family: 'DM Sans', sans-serif;
}
 
.categorias__header {
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
}
 
.categorias__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  padding: 0 1.5rem 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
 
/* Tarjeta de categoría */
.cat-card {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio-lg);
  padding: 1.4rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
 
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--azul-primario);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
 
.cat-card:hover::before {
  transform: scaleX(1);
}
 
.cat-card:hover {
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
 
/* Ícono dentro de la tarjeta */
.cat-icon {
  width: 38px;
  height: 38px;
  background: var(--azul-claro);
  border-radius: var(--radio-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
 
.cat-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--azul-primario);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
 
.cat-card__name {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--texto-primario);
  margin: 0;
}
 
.cat-card__desc {
  font-size: 12px;
  color: var(--texto-secundario);
  margin: 0;
  line-height: 1.5;
}
 
.cat-card__arrow {
  font-size: 13px;
  color: var(--azul-primario);
  margin-top: auto;
  font-weight: 500;
}

.categorias__grid--legacy {
  display: none;
}

.categorias {
  background:
    linear-gradient(180deg, #f6f3ed 0%, #ffffff 42%, #f5f6f8 100%);
  overflow: hidden;
}

.categorias__grid--showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 7vw, 6rem);
  max-width: 1180px;
  padding: 0 1.5rem 5rem;
}

.categorias__grid--showcase .cat-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(1.8rem, 5vw, 4.5rem);
  min-height: 390px;
  padding: clamp(1rem, 2.4vw, 2rem);
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: default;
  overflow: visible;
  transform: none;
  transition: none;
}

.categorias__grid--showcase .cat-card::before {
  display: none;
}

.categorias__grid--showcase .cat-card:hover {
  border-color: transparent;
  transform: none;
}

.cat-card--reverse .cat-card__media {
  order: 2;
}

.cat-card--reverse .cat-card__content {
  order: 1;
}

.cat-card__media {
  min-height: clamp(260px, 34vw, 390px);
  background:
    radial-gradient(circle at 16% 18%, rgba(24, 95, 165, 0.14), transparent 32%),
    linear-gradient(145deg, #ffffff 0%, #eef5fb 100%);
  border: 1px solid rgba(24, 95, 165, 0.14);
  border-radius: var(--radio-lg);
  box-shadow: 0 22px 55px rgba(12, 68, 124, 0.13);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.2rem);
  position: relative;
  overflow: hidden;
}

.cat-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--azul-primario), #e7dc24);
}

.cat-card__media img {
  width: min(100%, 470px);
  max-height: 330px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 24px rgba(12, 68, 124, 0.22));
}

.cat-card__media--duo {
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.25rem, 1vw, 1rem);
}

.cat-card__media--duo img {
  width: min(100%, 260px);
}

.cat-card__media--duo img:first-child {
  justify-self: end;
}

.cat-card__media--duo img:last-child {
  justify-self: start;
}

.cat-card__content {
  max-width: 500px;
}

.cat-card__kicker {
  color: var(--azul-primario);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.categorias__grid--showcase .cat-card__name {
  color: var(--texto-primario);
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 1rem;
}

.categorias__grid--showcase .cat-card__desc {
  color: var(--texto-secundario);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
}

.categorias__grid--showcase .cat-card {
  opacity: 0;
  transform: translateX(-220px) scale(0.96);
  transition:
    opacity 0.75s ease,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.categorias__grid--showcase .cat-card--reverse {
  transform: translateX(220px) scale(0.96);
}

.categorias__grid--showcase .cat-card.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .categorias__grid--showcase .cat-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 820px) {
  .categorias__grid--showcase {
    gap: 3.5rem;
    padding-bottom: 4rem;
  }

  .categorias__grid--showcase .cat-card {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    min-height: auto;
    padding: 0;
  }

  .cat-card--reverse .cat-card__media,
  .cat-card--reverse .cat-card__content {
    order: initial;
  }

  .cat-card__content {
    max-width: 100%;
  }

  .cat-card__media {
    min-height: 260px;
  }

  .categorias__grid--showcase .cat-card {
    transform: translateX(-72px) scale(0.98);
  }

  .categorias__grid--showcase .cat-card--reverse {
    transform: translateX(72px) scale(0.98);
  }
}

@media (max-width: 540px) {
  .categorias__header {
    padding: 3rem 1.25rem 2rem;
  }

  .categorias__grid--showcase {
    padding-inline: 1.25rem;
  }

  .cat-card__media {
    min-height: 220px;
  }

  .cat-card__media--duo {
    grid-template-columns: 1fr;
  }

  .cat-card__media--duo img,
  .cat-card__media--duo img:first-child,
  .cat-card__media--duo img:last-child {
    justify-self: center;
    width: min(100%, 230px);
  }
}
 
 
/* ══════════════════════════════════════════════════════════════
   SECCIÓN 2 · MARCAS ALIADAS
   ══════════════════════════════════════════════════════════════ */
 
.marcas {
  background: linear-gradient(180deg, #fff 0%, var(--fondo-claro) 100%);
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  padding: 2.35rem 0 2.65rem;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}
 
.marcas__header {
  text-align: center;
  margin-bottom: 1.6rem;
  padding: 0 1.5rem;
}
 
/* Carrusel */
.marcas__track-wrap {
  overflow: hidden;
  position: relative;
  padding: 0.35rem 0;
}

.marcas__track-wrap + .marcas__track-wrap {
  margin-top: 0.9rem;
}
 
.marcas__track-wrap::before,
.marcas__track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
 
.marcas__track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}
 
.marcas__track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--fondo-claro), transparent);
}
 
.marcas__track {
  display: flex;
  gap: 18px;
  padding: 0 18px;
  width: max-content;
  animation: scroll-marcas 38s linear infinite;
}

.marcas__track--reverse {
  animation-name: scroll-marcas-reverse;
}
 
.marcas__track:hover {
  animation-play-state: paused;
}
 
@keyframes scroll-marcas {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-marcas-reverse {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
 
/* Logo de marca */
.brand-logo-card {
  width: 150px;
  height: 76px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(24, 95, 165, 0.12);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(12, 68, 124, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
 
.brand-logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--azul-primario);
  box-shadow: 0 16px 34px rgba(12, 68, 124, 0.14);
}
 
.brand-logo-card img {
  display: block;
  width: auto;
  max-width: 108px;
  max-height: 42px;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(0.2) saturate(0.85);
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.brand-logo-card:hover img {
  transform: scale(1.05);
  opacity: 1;
  filter: none;
}
 
 
/* ══════════════════════════════════════════════════════════════
   SECCIÓN 3 · POR QUÉ ELEGIRNOS
   ══════════════════════════════════════════════════════════════ */
 
.por-que {
  font-family: 'DM Sans', sans-serif;
}
 
/* Banda de métricas */
.metricas-band {
  background: var(--azul-oscuro);
  padding: 2.75rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
 
.metrica-item {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
 
.metrica-item:last-child {
  border-right: none;
}
 
.metrica-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
 
.metrica-num sup {
  font-size: 20px;
}
 
.metrica-num--sm {
  font-size: 22px;
  padding-top: 6px;
  line-height: 1.2;
}
 
.metrica-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
 
/* Encabezado */
.por-que__header {
  text-align: center;
  padding: 3.5rem 1.5rem 2.75rem;
  border-bottom: 1px solid var(--borde);
}
 
/* Grid de diferenciadores */
.por-que__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  padding: 2.5rem 1.5rem 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
 
/* Tarjeta diferenciador */
.why-card {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio-lg);
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
 
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--azul-primario);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
 
.why-card:hover::after {
  transform: scaleX(1);
}
 
.why-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.2);
}
 
.why-card__num {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  color: var(--azul-primario);
  font-weight: 700;
  opacity: 0.45;
}
 
.why-icon {
  width: 40px;
  height: 40px;
  background: var(--azul-claro);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
 
.why-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--azul-primario);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
 
.why-card__title {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
  color: var(--texto-primario);
}
 
.why-card__desc {
  font-size: 12.5px;
  color: var(--texto-secundario);
  margin: 0;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   SECCIÓN · TESTIMONIOS
   ══════════════════════════════════════════════════════════════ */

.testimonios {
  background: #fff;
  padding: 3.5rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonios__header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonio-card {
  background: linear-gradient(135deg, rgba(24, 95, 165, 0.03) 0%, rgba(255, 215, 0, 0.03) 100%);
  border: 1px solid rgba(24, 95, 165, 0.15);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.testimonio-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 80px;
  color: rgba(255, 215, 0, 0.3);
  font-family: 'Playfair Display', serif;
}

.testimonio-card:hover {
  box-shadow: 0 12px 32px rgba(12, 68, 124, 0.12);
  transform: translateY(-4px);
  border-color: var(--azul-primario);
}

.testimonio-card__rating {
  color: #FFD700;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonio-card__text {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  margin: 0 0 1.5rem;
  font-style: italic;
}

.testimonio-card__author {
  display: block;
}

.testimonio-card__author strong {
  display: block;
  color: #0C447C;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.testimonio-card__author span {
  display: block;
  font-size: 12px;
  color: #5f5f5f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Franja CTA */
.por-que__cta {
  background: var(--fondo-claro);
  border-top: 1px solid var(--borde);
  padding: 2.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
 
.por-que__cta-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin: 0;
  line-height: 1.35;
  max-width: 420px;
  color: var(--texto-primario);
}
 
.por-que__cta-text em {
  font-style: normal;
  color: var(--azul-primario);
}
 
/* Contenedor */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

/* Botones base */
.btn-float {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

/* Iconos */
.btn-float img {
    width: 28px;
    height: 28px;
}

/* WhatsApp */
.whatsapp {
    background-color: #25D366;
}


/* Hover profesional */
.btn-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

/* Efecto tooltip opcional */
.btn-float::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 65px;
    background: #000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-float:hover::after {
    opacity: 1;
}

/* Botón flotante */
.whatsapp-float {
    position: fixed;
    bottom: 200px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}

/* Icono */
.whatsapp-float img {
    width: 32px;
    height: 32px;
}

/* Hover (efecto profesional) */
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.whatsapp-float::after {
    content: "Escríbenos";
    position: absolute;
    right: 70px;
    background: #000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transition: 0.3s;
    white-space: nowrap;
}

.whatsapp-float:hover::after {
    opacity: 1;
}

/* Animación tipo "pulse" (opcional, alta conversión) */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

.whatsapp-modal[hidden] {
    display: none;
}

.whatsapp-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 1rem;
    font-family: 'DM Sans', sans-serif;
}

.whatsapp-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(4px);
}

.whatsapp-modal__dialog {
    position: relative;
    width: min(94vw, 460px);
    background: #fff;
    color: var(--texto-primario);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    overflow: hidden;
}

.whatsapp-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--fondo-claro);
    color: var(--texto-secundario);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.whatsapp-modal__close:hover {
    color: var(--texto-primario);
}

.whatsapp-modal__step {
    display: none;
}

.whatsapp-modal__step--active {
    display: block;
}

.whatsapp-modal__eyebrow {
    margin: 0 0 0.5rem;
    color: var(--azul-primario);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.whatsapp-modal__title {
    margin: 0 0 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    line-height: 1.18;
    color: var(--texto-primario);
}

.whatsapp-modal__text {
    margin: 0 0 1.35rem;
    color: var(--texto-secundario);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.whatsapp-modal__options {
    display: grid;
    gap: 0.8rem;
}

.whatsapp-option {
    width: 100%;
    border: 1px solid var(--borde);
    border-radius: var(--radio-md);
    background: #fff;
    padding: 1rem;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, transform 0.15s, background 0.2s;
}

.whatsapp-option:hover {
    background: var(--azul-claro);
    border-color: var(--azul-primario);
    transform: translateY(-1px);
}

.whatsapp-option__title {
    display: block;
    color: var(--texto-primario);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.whatsapp-option__text {
    display: block;
    color: var(--texto-secundario);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.whatsapp-modal__logo {
    width: 150px;
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto 1.25rem;
}

.whatsapp-modal__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.whatsapp-modal__back,
.whatsapp-modal__continue {
    min-height: 44px;
    border-radius: var(--radio-md);
    padding: 0.75rem 1rem;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-modal__back {
    border: 1px solid var(--borde);
    background: #fff;
    color: var(--texto-primario);
}

.whatsapp-modal__continue {
    border: 1px solid #25D366;
    background: #25D366;
    color: #fff;
    flex: 1;
}

.whatsapp-modal__continue:hover {
    background: #1fb457;
}

@media (max-width: 480px) {
    .whatsapp-modal__dialog {
        padding: 1.5rem;
    }

    .whatsapp-modal__title {
        font-size: 23px;
    }

    .whatsapp-modal__actions {
        flex-direction: column-reverse;
    }

    .whatsapp-modal__back,
    .whatsapp-modal__continue {
        width: 100%;
    }
}
/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
 
@media (max-width: 768px) {
  .section-title      { font-size: 26px; }
  .marcas             { padding: 2rem 0 2.25rem; }
  .marcas__track      { gap: 14px; padding: 0 14px; }
  .brand-logo-card    { width: 132px; height: 66px; }
  .brand-logo-card img { max-width: 96px; max-height: 36px; }
  .categorias__grid   { grid-template-columns: repeat(2, 1fr); }
  .por-que__grid      { grid-template-columns: repeat(2, 1fr); }
  .metricas-band      { grid-template-columns: repeat(2, 1fr); }
  .metrica-item       { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .metrica-item:nth-child(2n) { border-right: none; }
  .por-que__cta       { flex-direction: column; align-items: flex-start; }
}
 
@media (max-width: 480px) {
  .categorias__grid { grid-template-columns: 1fr; }
  .por-que__grid    { grid-template-columns: 1fr; }
  .metricas-band    { grid-template-columns: repeat(2, 1fr); }
  .marcas__track-wrap::before,
  .marcas__track-wrap::after { width: 42px; }
  .brand-logo-card { width: 118px; height: 60px; }
  .brand-logo-card img { max-width: 84px; max-height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .marcas__track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
  }

  .brand-logo-card[aria-hidden="true"] {
    display: none;
  }
}

/*media queries*/
@media screen and (max-width: 800px) {
    aside:last-child {
        display: none; /*hace que el elemento desaparezca completamente del layout y del flujo del documento. No se muestra y no ocupa espacio.*/
    }
}

@media screen and (max-width: 500px) {
    .main-wrapper {
        flex-direction: column; /*hace que cuando la pantalla tenga menos de 500px, el menú secundario y el main se vean como columnas y no como filas*/
    }
}

.cotizacion[hidden] {
  display: none;
}

.cotizacion {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: grid;
  place-items: center;
  padding: 1rem;
  font-family: 'DM Sans', sans-serif;
}

.cotizacion__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.66);
  backdrop-filter: blur(4px);
}

.cotizacion__dialog {
  position: relative;
  width: min(94vw, 880px);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: 2rem;
}

.cotizacion__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--fondo-claro);
  color: var(--texto-secundario);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.cotizacion__close:hover {
  color: var(--texto-primario);
}

.cotizacion__header {
  text-align: center;
  margin: 0 auto 2rem;
}

.cotizacion__form {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: var(--fondo-claro);
  border: 1px solid var(--borde);
  border-radius: var(--radio-lg);
  padding: 1.5rem;
}

.cotizacion__honey {
  display: none;
}

.cotizacion__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cotizacion__field--full {
  grid-column: 1 / -1;
}

.cotizacion__field label {
  color: var(--texto-primario);
  font-size: 13px;
  font-weight: 700;
}

.cotizacion__field input,
.cotizacion__field select,
.cotizacion__field textarea {
  width: 100%;
  border: 1px solid var(--borde);
  border-radius: var(--radio-md);
  background: #fff;
  color: var(--texto-primario);
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  padding: 0.85rem 0.95rem;
  outline: none;
}

.cotizacion__field textarea {
  resize: vertical;
  min-height: 130px;
}

.cotizacion__field input:focus,
.cotizacion__field select:focus,
.cotizacion__field textarea:focus {
  border-color: var(--azul-primario);
  box-shadow: 0 0 0 3px rgba(24, 95, 165, 0.12);
}

.cotizacion__submit {
  grid-column: 1 / -1;
  justify-self: start;
  border: 0;
  border-radius: var(--radio-md);
  background: var(--azul-primario);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 0.9rem 1.4rem;
  transition: background 0.2s, transform 0.15s;
}

.cotizacion__submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.cotizacion__status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: 0;
  color: var(--texto-secundario);
  font-size: 13px;
  font-weight: 400;
}

.cotizacion__status--error {
  color: #b42318;
}

.cotizacion__status--success {
  color: #1f7a3f;
}

.cotizacion__submit:hover {
  background: var(--azul-oscuro);
  transform: translateY(-1px);
}

@media (max-width: 620px) {
  .cotizacion__dialog {
    padding: 1.5rem;
  }

  .cotizacion__form {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }

  .cotizacion__submit {
    width: 100%;
  }
}

footer {
  margin-top: auto; /*esta linea, mas las líneas de la 4 a la 16, permite que el footer siempre esté abajo*/
  border: 1px solid red;
  background-color: #333;
  color: #fff;
  padding: 40px;
  font-weight: bold;
  text-align: center;
}

.logo-footer {
  width: 250px;
}


.footer {
    margin-top: auto;
    border: 0;
    background: #1f2933;
    color: #fff;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    text-align: left;
}

.footer__main {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.9fr 1.4fr;
    gap: 2rem;
    align-items: start;
}

.footer__title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: #fff;
}

.footer__text {
    margin: 0 0 1.25rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
}

.footer__cta {
    display: inline-block;
    background: var(--azul-primario);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 18px;
    border-radius: var(--radio-md);
    transition: background 0.2s, transform 0.15s;
}

.footer__cta:hover {
    background: var(--azul-oscuro);
    transform: translateY(-1px);
}

.footer__heading {
    margin: 0 0 1rem;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.footer__list,
.footer__links {
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.footer__list li,
.footer__links li {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
}

.footer__list span {
    color: #fff;
    font-weight: 600;
}

.footer a {
    color: inherit;
}

.footer__links a,
.footer__list a {
    text-decoration: none;
    transition: color 0.2s;
}

.footer__links a:hover,
.footer__list a:hover {
    color: #9ed0ff;
}

.footer__map iframe {
    width: 100%;
    border: 0;
    border-radius: var(--radio-md);
    filter: saturate(0.9);
}

.footer__map .map {
    --map-width: 320px;
    --map-height: 180px;
    width: min(100%, var(--map-width));
    height: var(--map-height);
    min-height: 0;
    display: block;
}

.footer__bottom {
    background-color: #333;
    color: #fff;
    padding: 1rem 1.5rem;
    font-weight: bold;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
    .footer__main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .footer__main {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.25rem;
    }

    .footer__map .map {
        --map-width: 100%;
        --map-height: 220px;
    }
}


