/* ===============================
NOTIFY TOAST
=============================== */

.notify {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.notify--success { background: #1a8a4a; }
.notify--error   { background: #c0392b; }
.notify--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===============================
RESET
=============================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ===============================
BASE
=============================== */

html{
    scroll-behavior:smooth;
    scroll-padding-top: var(--header-height);
    overflow-x: clip; /* bloquea scroll horizontal en el viewport */
}

body{
    font-family: 'Montserrat', sans-serif;
    background:#000;
    color:#fff;
    overflow-x: clip; 
    max-width: 100%;
}



/* ===============================
VARIABLES PERSONALIZABLES HEADER
=============================== */
:root {
    --header-padding-left: 24px;
    --header-padding-right: 80px;
    --header-height: 70px;
    --header-height-mobile: 56px;
}


/* ===============================
HEADER
=============================== */
.header{
    background:#D81219;
    width:100%;
    height: var(--header-height);
    position:sticky;
    top:0;
    z-index:1000;
    display:flex;
    align-items:center;
}

/* controla el ancho del contenido */
.header-container{
    width:100%;
    margin:0;

    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    padding-left: var(--header-padding-left);
    padding-right: var(--header-padding-right);
}

/* ===============================
LOGO
=============================== */

.logo{
    display:flex;
    align-items:center;
    justify-self:start;
}
.logo img{                     /* Tamaño Logo Web */
    height:180px;            
    width:auto;
    display:block;
}

/* ===============================
MENU
=============================== */

.nav{
    display:flex;
    justify-content:center;
    gap:80px;                 /* Separacion entre elementos del menu */
}

.nav a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    font-size:15px;          /* Tamaño Header inicio etc*/
    opacity:0.95;
}

.nav a:hover{
    opacity:0.75;
}

/* ===============================
REDES SOCIALES
=============================== */

.social{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    justify-self:end;
}

.social a i,
.contact-socials a i,
.footer-socials a i {
  font-size: 12px;                   /* Tamaño Header iconos*/
  color: #fff;
}

.social a:hover{
    opacity:0.7;
}

/* ===============================
SECCIONES
=============================== */

/* ===============================
HERO
=============================== */
.hero{
  padding: 0; /* menos padding para que se vea como banner */
}

/* Tarjeta con contornos/curva */
.hero-card{
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 0 0 90px 90px; /* arriba recto, abajo curvo */
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(0,0,0,0.60);
  border: 0;
  height: calc(100vh - var(--header-height));
  background: #111;
}



.hero-card__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay rojo */
.hero-card__overlay{
  position: absolute;
  inset: 0;

  background:
  linear-gradient(
      rgba(216,18,25,0.50),
      rgba(216,18,25,0.35)
  );
}

.hero-card__content{
  position:absolute;
  inset:0;

  display:grid;
  place-items:center;

  text-align:center;

  transform: translateY(-50px);
}

.hero-card__title{
  margin: 0;
  font-weight: 700;
  font-style: italic; /* BoldItalic */
  font-size: clamp(22px, 4vw, 44px);
  line-height: 1.08;
  text-shadow: 0 12px 35px rgba(0,0,0,0.55);
}

/* etiquetas tipo “pill” */
.pill{
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-style: italic;
  vertical-align: middle;
}

.pill--red{
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
}

.pill--gray{
  background: rgba(112,111,112,0.85); /* #706F70 */
  border: 1px solid rgba(255,255,255,0.15);
}

/* Responsive */
@media (max-width: 720px){
  .hero{padding-top: 22px;}
  .hero-card{border-radius: 16px 16px 70px 70px;}
}



/* ===============================
STATS BAR
=============================== */

.stats{
  margin-top: 25px;              /* si la quieres encima del hero usa negativo: -55px */
  padding: 0 0 40px;
  display: flex;
  justify-content: center;
}

.stats-container{
  width: min(1800px, calc(100% - clamp(24px, 6vw, 120px)));
  margin: 0 auto;

  background: rgba(47,47,47,0.92);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  padding: 18px clamp(16px, 3vw, 40px);

  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  gap: clamp(40px, 12vw, 220px);
  

  box-shadow: 0 22px 60px rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
}

/* Cada bloque stat: grid para alinear + / número / label */
.stat{
  display: grid;
  grid-template-columns: 18px auto;  /* + | contenido */
  grid-template-rows: auto auto;      /* número | label */
  column-gap: 8px;

  justify-content: center;            /* centra el bloque dentro de su columna */
  text-align: left;                   /* alinea número y label */
}

/* Si tienes <div class="stat-top">, lo “aplanamos” para no afectar */
.stat-top{
  display: contents;
}

/* + ocupa dos filas (queda centrado entre número y texto) */
.stat-plus{
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;

  color: #fff;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}

/* Número */
.stat-number{
  display: inline-block;
  font-size: 28px;
  font-weight: 900;
  color: #D81219;
  line-height: 1;
}

/* Texto */
.stat-label{
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
}

/* Responsive stats — tablet y móvil cubiertos por breakpoints globales abajo */

/* ===============================
SHOWCASE (CARD) + MINI CAROUSEL
=============================== */

.showcase{
  background:#000;
  padding: 50px 0 80px;
}

.showcase-wrap{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;

  display:grid;
  grid-template-columns: 1fr 520px; /* ancho estándar del carrusel */
  gap: 36px;
  align-items:center;
}

.showcase-text{
  max-width: 520px;
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  text-align: justify;
  line-height: 1.6;
  margin: 0 0 18px;
  text-shadow: 0 12px 35px rgba(0,0,0,0.6);
}

.showcase-actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  margin-top:80px;
}

/* Botones */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  height:46px;
  width:240px;
  padding:0 22px;
  border-radius:999px;
  text-decoration:none;

  font-weight:800;
  font-style:italic;

  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  transition: transform .15s ease, opacity .15s ease;
}

.btn:hover{
  transform: translateY(-2px);
  opacity: 0.98;
}

.btn-primary{ background:#D81219; color:#fff; }
.btn-secondary{ background: rgba(112,111,112,0.85); color:#fff; }

/* ===============================
MINI CAROUSEL (tamaño estándar)
=============================== */

.mini-carousel{
  position:relative;

  width: 100%;
  height: 420px;              /* 🔥 aquí defines el alto estándar */
  border-radius: 18px;
  overflow:hidden;

  background:#111;            /* por si carga lento la imagen */
  border: none;
  box-shadow: 0 22px 70px rgba(0,0,0,0.55);
}

/* Fade */
.mini-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition: opacity 800ms ease;
}

.mini-slide.is-active{
  opacity:1;
}

/* ESTANDARIZACIÓN: todas las imágenes se ajustan igual */
.mini-slide img{
  width:100%;
  height:100%;
  display:block;

  object-fit: cover;          /* estándar pro (cubre sin deformar) */
  object-position: center;    /* centra el foco */
}

/* Si quieres modo SIN recorte (deja barras): agrega class "fit-contain" al mini-carousel */
.mini-carousel.fit-contain .mini-slide img{
  object-fit: contain;
  background: #000;
}

/* Flechas */
.mini-btn{
  position:absolute;
  top:50%;
  transform: translateY(-50%);

  width:38px;
  height:38px;
  border-radius:999px;

  border:1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.45);
  color:#fff;

  font-size:24px;
  cursor:pointer;
  z-index: 5;
}

.mini-btn:hover{
  background: rgba(0,0,0,0.62);
}

.mini-btn.prev{ left: 10px; }
.mini-btn.next{ right: 10px; }

/* Dots */
.mini-dots{
  position:absolute;
  left:0; right:0;
  bottom: 12px;

  display:flex;
  justify-content:center;
  gap:8px;

  z-index: 5;
}

.mini-dot{
  width:9px;
  height:9px;
  border-radius:999px;
  border:0;
  cursor:pointer;
  background: rgba(255,255,255,0.35);
}

.mini-dot.is-active{
  background:#D81219;
}

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

  .mini-carousel{
    height: 240px; /* un poquito menos en móvil */
  }
}

/* ===============================
QUIÉNES SOMOS (imagen full + overlay rojo + texto a un lado)
=============================== */

.about-full{
  position: relative;
  width: 100%;
  background: #000;

  /* Imagen de fondo full ancho */
  background-image: url(/assets/img/about/BANNER-3.png);
  background-size: cover;
  /* background-size: auto 100%; ESTANDARIZACIÓN: altura siempre 100%, ancho se ajusta */
  background-position: 12% center;
  background-repeat: no-repeat;


  /* alto del banner */
  min-height: 420px;

  overflow: hidden;
}
.about-full::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(216,18,25,0.55); /* rojo uniforme pero deja ver foto */
}
.about-full::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0) 45%,
    rgba(0,0,0,0.55) 70%,
    rgba(0,0,0,0.85) 100%
  );
}

/* Contenedor interno (para que el texto no quede pegado al borde) */
.about-full__inner{
  position: relative;
  z-index: 1;

  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;

  min-height: 420px;

  display:flex;
  align-items:center;
  justify-content:flex-end; /* texto a la derecha */
}

/* Caja de texto */
.about-full__content{
  width: min(520px, 46%);
  color:#fff;
}

/* Tipografía */
.about-full__eyebrow{
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
}

.about-full__title{
  margin: 0 0 18px;
  font-size: clamp(40px, 4.2vw, 56px);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  text-shadow: 0 14px 45px rgba(0,0,0,0.6);
}

.about-full__text{
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}

.about-full__highlight{
  margin: 6px 0 22px;
  font-weight: 800;
  font-size: 14px;
}

/* Botón */
.about-full__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  height: 44px;
  padding: 0 22px;

  border-radius: 999px;
  text-decoration:none;

  background: rgba(112,111,112,0.92);
  border: 1px solid rgba(255,255,255,0.15);
  color:#fff;

  font-weight: 800;
  font-style: italic;

  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
  transition: .18s;
}

.about-full__btn:hover{
  transform: translateY(-2px);
  background: rgba(112,111,112,1);
}

/* Responsive */
@media (max-width: 900px){
  .about-full{
    min-height: 520px;
  }

  .about-full__inner{
    min-height: 520px;
    justify-content: flex-start;
    align-items: flex-end;
    padding-bottom: 22px;
  }

  .about-full__content{
    width: 100%;
    max-width: 560px;
  }

  /* overlay más oscuro abajo para que el texto se lea */
  .about-full::before{
    background:
      linear-gradient(
        to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.55) 40%,
        rgba(216,18,25,0.75) 100%
      );
  }
}

/* ===============================
SERVICIOS
=============================== */

.services{
padding:80px 0;
background:#000;
display:flex;
justify-content:center;
}

.services-card{
background:#4a4a4a;
border-radius:40px;
padding:40px;
width:100%;
}

/* titulo */

.services-header h2{
color:white;
font-size:25px;
margin-bottom:30px;
}

.services-header span{
background:#D81219;
padding:4px 14px;
border-radius:20px;
}

/* grid */

.services-grid{
display:grid;
grid-template-columns:1fr 1fr 1fr;
gap:30px;
align-items:center;
}

/* lista izquierda */

.services-list{
display:flex;
flex-direction:column;
gap:14px;
}

.service-item{
background:#1f1f1f;
border-radius:30px;
padding:10px 16px;
display:flex;
align-items:center;
gap:12px;

max-width:420px;
width:100%;

color:white;
}

.service-item span{
color:#ff2c2c;
font-weight:bold;
font-size:20px;
}

/* carrusel */

.services-carousel{
position:relative;

width:100%;
height:420px;

margin:auto;

overflow:hidden;
border-radius:25px;
}

.carousel-img{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
opacity:0;
transition:opacity .6s ease;
}

.carousel-img.active{
opacity:1;
}

/* bloques derecha */

.services-right{
display:flex;
flex-direction:column;
gap:16px;
}

.service-box{
padding:28px 24px;
border-radius:20px;
width:100%;
color:white;
font-weight:600;
font-size:16px;
line-height:1.4;
}

.service-box.black{
background:#000;
}

.service-box.red{
background:#D81219;
text-align:center;
}

/* boton */

.services-button{
margin-top:30px;
text-align:center;
}

.services-button a{
background:#2a2a2a;
color:white;
padding:10px 22px;
border-radius:25px;
text-decoration:none;
}

/* ===============================
WHY
=============================== */

.why {
  padding: 80px 0;
  width: 100%;
  overflow: hidden;
  background-color: #6f6f6f;
  background-image:
    linear-gradient(rgba(255,255,255,0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 34px 34px;
}

.why-wrap {
  width: min(1300px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.6fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ── IZQUIERDA ── */
.why-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.win {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.win-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}

.win-bar--red  { background: #D81219; }
.win-bar--dark { background: #000; }

.dot { width: 12px; height: 12px; border-radius: 999px; display: inline-block; }
.dot--gray  { background: #777; }
.dot--red   { background: #e41d2c; }
.dot--black { background: #111; }
.dot--white { background: #fff; }



.win--light,
.win--dark {
  width: 100%;
  min-height: 140px;
  border: 4px solid #fff;
}
/* Ventana 1 — desplazada a la izquierda */
.win--light {
  background: #eee;
  margin-left: -60px;
  width: calc(100% + 60px);
}

.win--dark {
  background: #e8e8e8;
  margin-left: 0;
  width: 100%;
}

.win-body {
  padding: 24px 28px;
  text-align: center;    /* texto centrado */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 116px;      /* mismo alto interior */
}

.why-title {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 32px);
  color: #111;
  font-weight: 300;
  text-align: center;      
}

.why-title strong {
  font-weight: 900;
  font-style: italic;
}

.why-lead {
  margin: 0;
  color: #333;
  font-size: clamp(13px, 1.4vw, 17px);
  line-height: 1.5;
  text-align: center;
}

/* ── CENTRO ── */
.why-center {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
  justify-content: center;
}

.why-tags {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
}

.tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Escalonado tipo escalón */
.tag-row--1 { padding-left: 0px; }
.tag-row--2 { padding-left: 40px; }
.tag-row--3 { padding-left: 80px; }

.tag {
  background: #000;
  color: #fff;
  border: 0;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  font-style: italic;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  cursor: default;
}

.tag-arrow {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 6px;
  font-size: 18px;
  color: #111;
}

/* Slider */
.slider-mock {
  display: flex;
  justify-content: center;
}

.slider-track {
  width: 100%;
  height: 10px;
  background: rgba(0,0,0,0.2);
  border-radius: 999px;
  position: relative;
}

.slider-thumb {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #D81219;
  position: absolute;
  left: 48%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* ── DERECHA ── */
.why-right {
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: stretch;
  position: relative;
}

.why-photo {
  width: 100%;
  height: 340px;  
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 22px 60px rgba(0,0,0,0.40);
}

.why-photo img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.why-pill {
  position: absolute;
  bottom: -20px;         /* sale un poco hacia abajo */
  right: -20px;          /* sale hacia la derecha */
  left: auto;            /* quita el left */
  width: 260px;          /* ancho fijo */
  background: #fff;
  border-radius: 999px;
  padding: 10px 10px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
  z-index: 5;
}

.why-pill span {
  color: #111;
  font-size: 14px;
  
}

.why-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #000;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  font-size: 16px;
}

.why-deco {
  position: absolute;
  pointer-events: none;
  z-index: 6;
}

.why-deco--star1 {
  top: -14px;
  left: 20px;
  font-size: 22px;
  color: #f5c518;
}

.why-deco--star2 {
  top: 30px;
  left: -10px;
  font-size: 14px;
  color: #f5c518;
}

.why-deco--star3 {
  top: 10px;
  left: 50px;
  font-size: 10px;
  color: #f5c518;
}

.why-deco--bulb {
  top: -30px;
  right: 10px;
  font-size: 52px;
  color: #111;
  line-height: 1;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .why-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .win--light { margin-left: 0; }

  .tag-row--1,
  .tag-row--2,
  .tag-row--3 { padding-left: 0; }

  .why-right { align-items: stretch; }
}


/* ===============================
Proceso
=============================== */

.proceso-section {
  position: relative;
  width: 100%;
  min-height: 1000px;        /* más altura */
  overflow: hidden;
  display: flex;            /* AGREGA esto */
  align-items: center;      /* AGREGA esto */
}

.bg-image {
  position: absolute;
  inset: 0;
  background-image: url(/assets/img/process/webinar3-16.webp); /* cambia la ruta a tu imagen */
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(0.55);
  z-index: 0;
}

.overlay-band {
  position: relative;       /* cambia de absolute a relative */
  width: 100%;
  background: rgba(200, 0, 27, 0.379);
  padding: 48px 64px 60px;
  z-index: 2;
  clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0% 100%);
  /* elimina: top, left, right, transform */
}

.proceso-title {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 38px;
  color: #ffffff;
}

.proceso-title strong {
  font-weight: 700;
  font-style: italic;
}

.timeline {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 0;
}

.timeline-progress {
  position: absolute;
  top: 34px;
  left: 10px;
  height: 2px;
  background: #ffffff;
  z-index: 1;
  width: 0%;
  transition: width 1.6s cubic-bezier(.4, 0, .2, 1);
}

.step {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.step-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.22);
  margin-bottom: 8px;
  transition: color 0.35s;
}

.step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid #ffffff;
  margin-bottom: 14px;
  transition: background 0.3s, transform 0.3s;
}

.step-label {
  font-size: clamp(0.5rem, 1.1vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
  max-width: 100px;
  transition: color 0.3s;
}

.step.active .step-num,
.step:hover .step-num {
  color: rgba(255, 255, 255, 0.95);
}

.step.active .step-dot,
.step:hover .step-dot {
  background: #ffffff;
  transform: scale(1.3);
}

.step.active .step-label,
.step:hover .step-label {
  color: #ffffff;
}

.step:hover .tooltip {
  opacity: 1;
}

.step.is-past {
  opacity: 1;
  transition: opacity 1200ms ease;
}

.step.active {
  transition: opacity 1200ms ease;
}

@media (max-width: 600px) {
  .overlay-band {
    width: calc(100% - 40px);
    margin: 0 auto;
    border-radius: 16px;
    padding: 24px 18px 32px;
    clip-path: none;
    background: rgba(200, 0, 27, 0.38);
  }
  .step-label {
    max-width: none;
  }
}

/* ===============================
CONTACTO
=============================== */
.contact {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 60px 0 0;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background-image: url(/assets/img/contact/Contacto-banner.png);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(180, 0, 15, 0);
  z-index: 1;
}

.contact-wrap {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 60px));
  margin: 0 auto;
  padding-bottom: 60px;
}

/* HEADER centrado arriba */
.contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.contact-sub {
  color: #fff;
  font-size: 18px;
}

.contact-cursive {
  font-style: italic;
  font-weight: 800;
  color: #ff6b6b;
}

/* GRID */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* IZQUIERDA */
.contact-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  width: 100%;
  text-align: left;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}

.contact-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-follow {
  color: #fff;
  font-size: 15px;
  font-style: italic;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-socials {
  display: flex;
  gap: 10px;
}

.contact-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: background 0.2s;
}

.contact-socials a:hover {
  background: rgba(255,255,255,0.3);
}

/* DERECHA — FORMULARIO */
.contact-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;   /* formulario a la derecha */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 14px 18px;
  color: #fff;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  transition: border 0.2s;
  resize: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.6);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.contact-btn {
  background: #fff;
  color: #C8001A;
  border: none;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: opacity 0.2s;
  align-self: center;
  margin-top: 8px;
}

.contact-btn:hover {
  opacity: 0.88;
}

/* FOOTER BAR — redes sociales esquina inferior derecha */
.contact-footer {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.35);
  padding: 20px 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: center;  /* centra todo */
  align-items: center;
  gap: 120px;                /* espacio entre texto y redes */
}

.contact-footer p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;          /* más grande */
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
  .contact {
    padding: 12px 0 0;
  }

  .contact-wrap {
    padding-bottom: 12px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-right {
    align-items: flex-start;
  }

  .contact-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

}

/* Separador entre secciones */
.section-spacer {
  height: 80px;
  background: #000;
}

/* ===============================
HEADER & LAYOUT RESPONSIVE
=============================== */

/* ── TABLET: 768px – 1023px ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .header-container {
    padding-left: 20px;
    padding-right: 28px;
  }

  .nav {
    gap: 20px;
  }

  .nav a {
    font-size: 13px;
  }

  /* Why tablet — reduce desplazamiento */
  .win--light {
    margin-left: -40px;
    width: calc(100% + 40px);
  }

  /* Stats tablet — grid 2x2 */
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 28px;
    padding: 16px 18px;
    gap: 22px;
  }

  .stat-number { font-size: 28px; }
  .stat-label  { font-size: 12px; }
}

/* ── MÓVIL: hasta 767px ── */
@media (max-width: 767px) {

  /* Header */
  .header {
    height: var(--header-height-mobile);
  }

  .header-container {
    padding-left: 12px;
    padding-right: 12px;
    grid-template-columns: auto 1fr auto;
    gap: 0;
  }

  .logo img {
    height: 90px;
  }

  .nav {
    gap: 0;
    justify-content: center;
  }

  .nav a {
    font-size: 10.5px;
    padding: 0 5px;
  }

  .social {
    gap: 8px;
  }

  .social a i {
    font-size: 8px;
  }

  /* Servicios — 3 col → 1 col */
  .services {
    padding: 40px 0;
  }

  .services-card {
    border-radius: 20px;
    padding: 20px 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-carousel {
    width: 100%;
    height: 220px;
  }

  .service-item span {
    min-width: 32px;
    text-align: center;
  }

  .services-right {
    flex-direction: row;
    gap: 12px;
  }

  .service-box {
    max-width: none;
    flex: 1;
    font-size: 13px;
    padding: 14px 12px;
  }

  /* Showcase */
  .showcase {
    padding: 28px 0 40px;
  }

  .showcase-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .showcase-text {
    text-align: justify;
  }

  .showcase-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .mini-carousel {
    height: 280px;
  }

  /* Proceso — timeline horizontal → vertical */
  .timeline {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 18px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline-progress {
    top: 0;
    left: 18px;
    width: 2px;
    height: 0%;
  }

  .step {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-align: left;
  }

  .step-num {
    font-size: 2rem;
    margin-bottom: 0;
    min-width: 36px;
    text-align: center;
  }

  .step-dot {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .step-label {
    max-width: none;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
  }

  /* Quiénes somos */
  .about-full__text {
    text-align: justify;
  }

  .about-full__btn {
    width: 100%;
    text-align: center;
  }

  /* Why — cancela todos los desbordes laterales */
  .win--light {
    margin-left: 0;
    width: 100%;
  }

  .why {
    padding: 28px 0;
  }

  .why-wrap {
    gap: 16px;
  }

  .win--light,
  .win--dark {
    min-height: auto;
  }

  .win-body {
    padding: 14px 18px;
    min-height: auto;
  }

  .why-tags {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .tag-row--1 { margin-left: -30px; }
  .tag-row--2 { margin-left: 40px; }
  .tag-row--3 { margin-left: 110px; }

  .why-pill {
    right: 0;
    width: min(260px, 80vw);
  }

  /* Proceso */
  .proceso-section {
    min-height: 420px;
  }

  .section-spacer {
    height: 20px;
  }

  /* Hero */
  .hero-card {
    border-radius: 0 0 40px 40px;
    height: 55vh;
  }

  /* Stats — pega al hero, full width sin píldora flotante */
  .stats {
    margin-top: 0;
    padding: 16px 0 24px;
  }

  .stats-container {
    width: calc(100% - 24px);
    border-radius: 16px;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    gap: 0;
    padding: 14px 8px;
  }

  .stat-number {
    font-size: 22px;
  }

  .stat-label {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  .stat-plus {
    font-size: 16px;
  }
}

/* ── MÓVIL PEQUEÑO: hasta 380px ── */
@media (max-width: 380px) {
  .social {
    display: none;
  }

  .nav a {
    font-size: 10px;
    padding: 0 4px;
  }
}