/* =============================
   GOOGLE FONTS IMPORT
============================= */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,400;0,700;0,800;0,900;1,700;1,800;1,900&display=swap');


/* =============================
   VARIABLES GLOBALES
============================= */
:root {
  --orange: #DC570D;
  --cyan: #00B5AD;
  --orange2:#EA5600;
  --line-color: #9c9c9c;
  --font-body: 'Fira Sans', sans-serif;
  --font-heading: 'Barlow', sans-serif;
}

/* =============================
   BASE
============================= */
body {
  padding-top: 0px;
  font-family: var(--font-body);
  background: #0B0B0B;
}

.hero {
  background: #000;
}

.orange {
  background: #DC570D;
}

.orange2{
  background: #EA5600;
}

/*==============================
  Header Menu
===============================*/
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background-color: transparent;
    box-shadow: none;
}
/* Logo más grande y con la fuente correcta */
.navbar-brand {
    margin-top: 10px;
    font-size: 2.2rem !important;           
    font-weight: 400 !important;
    letter-spacing: 1px;
    color: #ffffff !important;              
    font-family: var(--font-heading);
    text-transform: lowercase;              
}

/* Enlaces del menú: más grandes, blancos, fuente elegante */
.navbar-nav .nav-link {
    margin-top: 10px;
    color: #ffffff !important;              
    font-size: 1.3rem !important;          
    font-weight: 500;
    font-family: var(--font-body); 
    padding: 0.5rem 1.2rem !important;
    text-transform: none;                   
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* Ocultamos el menú líquido por defecto */
.nav-splash {
  display: none; /* Oculto en pantallas grandes */
}

/* =============================
   HERO SECTION
============================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: none;
  overflow: visible;
  display: flex;
  align-items: center;
  padding: 120px 20px 80px;
  margin-top: -140px;
  padding-top: 300px;
  isolation: auto;
  position: relative;
  z-index: 1;
}

/* Imagen de fondo */
.hero-section::before {
  display: none;
}
.hero-soluciones-wrapper {
  position: relative;
  /*background-image: url('../img/bg_header-pauta2026.jpg');*/
  background-color: var(--orange2);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-bottom-right-radius: 35px;
  overflow: hidden;  
}

.hero-soluciones-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  pointer-events: none;
}

/* Pestaña IZQUIERDA (negra vertical) */
.hero-section::after {
  content: "";
  position: absolute;
  top: 50%; /* Centrada verticalmente */
  left: 0;
  transform: translateY(-50%); /* Solo centrar verticalmente, NO mover horizontalmente */
  width: 15px; /* Ancho de la pestaña */
  height: 550px; /* Alto de la pestaña */
  background: #000;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  z-index: 3; /* Sobre el contenido */
}

/* Pestaña DERECHA (negra vertical) */
.hero-tab-right {
  position: absolute;
  top: 50%; /* Centrada verticalmente */
  right: 0;
  transform: translateY(-50%); /* Solo centrar verticalmente, NO mover horizontalmente */
  width: 15px; /* Ancho de la pestaña */
  height: 550px; /* Alto de la pestaña */
  background: #000;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
  z-index: 3; /* Sobre el contenido */
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  margin-top: 30px;
  margin-bottom: 80px;
  line-height: 0.75;
  text-align: center;
}

.hero-title-image {
    max-width: 750px;
    width: 55%;
    height: auto;
}

.hero-title span {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 8rem); /* tamaño texto */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -3px;
}

.title-line-1 {
  color: white;
  letter-spacing: 8px !important;
  text-shadow: 
    3px 3px 0px #000,
    4px 4px 0px #000,
    5px 5px 0px #000,
    6px 6px 0px #000,
    7px 7px 0px #000,
    8px 8px 0px #000,
    9px 9px 0px #000,
    10px 10px 0px #000,
    11px 11px 0px #000,
    12px 12px 0px #000,
    13px 13px 0px #000,
    14px 14px 0px #000,
    15px 15px 0px #000;
}

.title-line-2 {
  color: white;
  letter-spacing: -2px !important;
  font-size: clamp(3rem, 8vw, 6.5rem) !important;
  -webkit-text-stroke: 3px #000;
  paint-order: stroke fill;
  text-shadow: 
    3px 3px 0px #000,
    4px 4px 0px #000,
    5px 5px 0px #000,
    6px 6px 0px #000,
    7px 7px 0px #000,
    8px 8px 0px #000,
    9px 9px 0px #000,
    10px 10px 0px #000,
    11px 11px 0px #000,
    12px 12px 0px #000,
    13px 13px 0px #000,
    14px 14px 0px #000,
    15px 15px 0px #000,
    16px 16px 0px #000,
    17px 17px 0px #000,
    18px 18px 0px #000;
}

/* COLUMNA IZQUIERDA: Badge + Subtítulo */
.hero-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Badge con efecto de sombra cyan */
.hero-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex-shrink: 0;
}

.hero-badge-image {
    width: 100%;
    height: auto;
}

.badge-number {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  position: relative;
  z-index: 2;
  text-shadow: 
    8px 8px 0 var(--cyan),
    10px 10px 0 var(--cyan),
    12px 12px 0 var(--cyan),
    0 0 20px rgba(0, 0, 0, 0.3);
}

.badge-text {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  margin-top: -15px;
}

.badge-years {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 
    4px 4px 0 var(--cyan),
    5px 5px 0 var(--cyan),
    6px 6px 0 var(--cyan);
}

/* Subtítulo debajo del badge (izquierda) */
.hero-subtitle {
  color: white;
  margin-top: 16px;
  text-align: center;
  line-height: 1.1; 
}

.hero-subtitle h2 {
  /*font-size: clamp(1.3rem, 2vw, 1.6rem);*/
  font-family: var(--font-body);
  font-weight: 700;
  margin: 0 0 0px 0;
  line-height: 1.1;
}

.hero-subtitle p {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-family: var(--font-body);
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
}

/* Descripción derecha */
.hero-description {
  color: white;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-family: var(--font-body);
  line-height: 1.2;
  font-weight: 400;
}

.hero-description p {
  margin-bottom: 1.5rem;
}

.description-intro strong {
  font-weight: 700;
}

.orange-text {
  color: #fff;
  font-weight: 900;
  /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);*/
  letter-spacing: 1px;
}

/* Decorative Plus Icons */
.hero-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.plus-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.25);
  font-size: 4rem;
  font-weight: 300;
  transition: all 0.3s ease;
}

.plus-1 {
  top: 15%;
  left: 8%;
  animation: pulse 4s ease-in-out infinite;
}

.plus-2 {
  top: 20%;
  right: 12%;
  animation: pulse 4s ease-in-out infinite 1s;
}

.plus-3 {
  bottom: 25%;
  left: 12%;
  animation: pulse 4s ease-in-out infinite 2s;
}

.plus-4 {
  bottom: 30%;
  right: 18%;
  animation: pulse 4s ease-in-out infinite 3s;
}

@keyframes pulse {
  0%, 100% { 
    opacity: 0.25;
    transform: scale(1);
  }
  50% { 
    opacity: 0.4;
    transform: scale(1.1);
  }
}

/* =============================
   SOLUCIONES SECTION
============================= */
.soluciones-section {
  position: relative;
  /*background: var(--orange2);*/
  background: transparent;
  padding: 3rem 0 10rem;
  border-bottom-right-radius: 35px;
  z-index: 11;
}

.soluciones-wrapper {
  /*background: #0B0B0B;*/
  background: transparent;
  position: relative;
  z-index: 1;
}

/* 
   TÍTULO
*/
.soluciones-title {
  margin-bottom: 4rem;
}

.soluciones-title .title-top {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-family: var(--font-body);
  font-weight: 400;
  color: white;
  font-style: italic;
  letter-spacing: 0.3em;
  margin-bottom: 0.5rem;
}

.soluciones-title-img {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: inline-block;
  /* Animación de entrada desde la izquierda */
  opacity: 1;
  transform: translateX(-0px);
  transition: opacity 0.7s cubic-bezier(.25,.8,.25,1),
              transform 0.7s cubic-bezier(.25,.8,.25,1);
}

.soluciones-title-img.sol-visible {
  opacity: 1;
  transform: translateX(0);
}

.soluciones-title .title-main {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow:
    8px 8px 0 var(--cyan),
    10px 10px 0 var(--cyan),
    12px 12px 0 var(--cyan);
}

/* 
   GRID
*/
.soluciones-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* 
   ITEM
*/
.solucion-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  /* Animación de entrada escalonada */
  opacity: 1;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.solucion-item.sol-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Quitar el translateY del hover general ya que el flip lo reemplaza */
.solucion-item:hover {
  transform: none;
}

/* Texto en cyan al hacer hover */
.solucion-item:hover .solucion-name {
  color: var(--cyan);
}

/* 
   FLIP 3D
*/
.flip-wrap {
  width: 120px;
  height: 120px;
  perspective: 700px;
  margin-bottom: 1rem;
}

.flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(.4, 0, .2, 1);
}

.solucion-item:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-front {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.flip-back {
  background: var(--cyan);
  border: 1px solid var(--cyan);
  transform: rotateY(180deg);
}

/* Ícono del reverso en oscuro para contrastar con el cyan */
.flip-back img {
  filter: brightness(0);
}

/* 
   PUNTO CYAN
*/
.solucion-icon {
  width: 14px;
  height: 14px;
  background: var(--cyan);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.solucion-item:hover .solucion-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* 
   SVG DESPLAZADO
*/
.solucion-icon svg {
  position: absolute;
  left: 24px;
  top: -46px;
  width: 44px;
  height: 44px;
  color: white;
}

/* 
   LÍNEA
*/
.solucion-line {
  position: absolute;
  top: 16px;
  left: 6px;
  width: 2px;
  bottom: -8px;
  background: white;
}

/* 
   TEXTOS
*/
.solucion-name {
  font-size: 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: white;
  margin: 0 0 0.3rem 0;
  text-transform: capitalize;
  margin-top: 0;
  transition: color 0.3s ease;
}

.solucion-subtitle {
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: white;
  margin: 0;
  opacity: 0.9;
}

.solucion-name,
.solucion-subtitle {
  margin-left: 0px;
}

.section-divider {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
}

.section-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.siguiente-section {
  background: #0B0B0B;
  padding-top: 6rem;
}

/* Ocultar dots en desktop */
.soluciones-dots {
  display: none;
}

/* Ocultar flechas en desktop */
.soluciones-prev,
.soluciones-next {
  display: none;
}

/* =============================
   CASOS GRID
============================= */
#casos .card {
  position: relative;
  overflow: hidden;
}

#casos .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 122, 0, 0.15));
  opacity: 0;
  transition: opacity 0.3s ease;
}

#casos .card:hover::after {
  opacity: 1;
}

/* =============================
   CONTACTO
============================= */
#contacto input,
#contacto textarea {
  border-radius: 8px;
  border: none;
}

#contacto button {
  font-weight: 600;
}

/* =============================
   CASOS / FEATURED SECTION
============================= */

/* Wrapper */
.casos-wrapper {
  background: var(--orange2); /* color de SOLUCIONES */
  position: relative;
  z-index: 10;
}

.casos-scroll {
  position: relative;
  min-height: 100vh;
  background: #0b0b0b;
  padding-top: 60px;
  padding-bottom: 180px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top-left-radius: 35px;
  z-index: 11;
}

/* Header */
.featured-header {
  position: absolute;
  top: 40px;            
  left: 50%;
  transform: translateX(-50%);
  animation: floatZoom 3s ease-in-out infinite;
  z-index: 5;
  pointer-events: none;
  text-align: center;
  width: 100%;
}

@keyframes floatZoom {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    transform: translateX(-50%) translateY(-8px) scale(1.03);
  }
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.featured-title-img{
  width: clamp(320px, 65vw, 500px);
  height: auto;
  display: inline-block;
}

.featured-header h2 {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  line-height: 1;
  text-shadow:
    10px 10px 0 #1fd6c7,
    12px 12px 0 #1fd6c7,
    14px 14px 0 #1fd6c7;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  margin-bottom: 1.5rem;

}

/* =============================
   GRID PRINCIPAL
============================= */
.featured-wrapper {
  width: 100%;
}

.featured-grid {
  width: 100%;
  min-height: 100%;
}

/* =============================
   COLUMNA VISUAL
============================= */
.visual-column {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Contenedor orbital */
.orbit-container {
  position: relative;
  width: 420px;
  height: 420px;
}

.orbit-rotator{
  position:absolute;
  width:100%;
  height:100%;
  top:0;
  left:0;
  transform-origin:center center;
}

/* Medio círculo de fondo */
.orbit-bg {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.96);
  left: -680px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* =============================
   CÍRCULO PRINCIPAL (IMAGEN)
============================= */
.visual-column .case-circle {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  box-shadow: 0 0 0 1.5px #ffffff;
}

.visual-column .case-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-circle{
  transform-origin: center center;
  will-change: transform;
}



/* =============================
   PUNTOS ORBITALES
============================= */
.orbit-dot {
  position: absolute;
  border-radius: 50%;
  z-index: 4;
}

/* Punto blanco */
.orbit-dot--white {
  width: 14px;
  height: 14px;
  background: #fff;
  top: 1%;
  left: 39.5%;
}

/* Punto naranja */
.orbit-dot--orange {
  width: 14px;
  height: 14px;
  background: var(--orange);
  bottom: 1%;
  left: 39.5%;
}

/* =============================
   COLUMNA CONTENIDO
============================= */
.content-column {
  padding-left: 3rem;
  padding-top: 10rem; 
}

.content-column h3 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-family: var(--font-heading);
  font-weight: 900;
  /*color: var(--orange);*/
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(
  120deg,
  var(--orange) 0%,
  var(--orange) 45%,
  rgba(255,255,255,0.5) 50%,
  var(--orange) 55%,
  var(--orange) 100%
);

  background-size: 250% auto;

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

  animation: shineText 3s linear infinite;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
  /*position: relative;
  display: inline-block;*/
}

@keyframes shineText {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 150% center;
  }
}

.content-column h4 {
  font-size: 1.3rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ccc;
  margin-bottom: 2rem;
  font-weight: 400;
  font-size: 1.4rem;
}

.casos-scroll h4 strong {
  font-weight: 800;
  color: #ffffff;
}

.content-column p {
  font-family: var(--font-body);
  max-width: 540px;
  margin-bottom: 18px;
  color: #afafaf;
  line-height: 1.6;
  font-size: 1.3rem;
}

.content-column p strong{
  color: #fff;
  font-weight: 600;
}

/* Acciones */
.case-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 28px;
}

.case-action {
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  gap: 10px;
  font-size: 16px;
  color: var(--orange);
  text-decoration: none;
  transition: all 0.2s ease;
}

.case-actions .case-action strong {
  color: var(--orange);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 20px;
  letter-spacing: 0.3px;
}


.case-action:hover {
  color: #ff9a3d;
  transform: translateY(-2px);
}

.case-actions .material-symbols-outlined {
  font-size: 1.8rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}


.separator {
  opacity: 0.4;
}

/* =============================
   COLUMNA INDICADORES
============================= */
.indicators-column {
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-indicators {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-indicators span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.case-indicators span.active {
  background: var(--orange);
  opacity: 1;
  transform: scale(1.2);
}
/* =============================
   RECONOCIMIENTOS SECTION
============================= */
.reconocimientos-wrapper {
  position: relative;
  background: #111111; /* Fondo negro */
  padding-top: 0;
  z-index: 20;
}

.reconocimientos-section {
  position: relative;
  background-image: url('../img/bg_turquesa.png');
  background-size: cover;  
  padding: 6rem 0;
  overflow: visible;
  border-top-left-radius: 80px;
  border-top-right-radius: 0; /* Sin redondeo a la derecha donde está la pestaña */
  z-index: 21; 
}

/* Pestaña que va desde el CENTRO hacia la DERECHA */
.reconocimientos-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%; /* Comienza en el centro */
  transform: translateY(-100%);
  width: 50%; /* Ocupa desde el centro hasta el borde derecho */
  height: 100px;
  background: var(--cyan);
  border-top-left-radius: 40px;
  z-index: 30; 
}

/* Curva invertida en el centro (Lado izquierdo de la pestaña) */
.reconocimientos-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%; /* Alineado al centro exacto */
  transform: translate(-100%, -100%); 
  width: 40px; /* Coincide con el border-top-left-radius de la pestaña */
  height: 40px;
  background: transparent;
  
  /* Esquina inferior derecha redondeada con sombra cyan */
  border-bottom-right-radius: 40px;
  /* !!! CORRECCIÓN !!! El color de la sombra debe coincidir con el fondo de la pestaña (NEGRO) */
  box-shadow: 20px 20px 0 20px var(--cyan); 
  
  pointer-events: none;
  z-index: 29;
}
/* Título principal */
.reconocimientos-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-family: var(--font-body);
  font-weight: 300;
  color: rgb(255, 255, 255);
  margin-bottom: 4rem;
}

.reconocimientos-title strong {
  font-weight: 700;
  color: #fff;
}

/* Grid de premios */
.premios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.premio-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.9rem; 
  text-align: left;
  
}

.premio-icon {
  width: 100px;
  height: 100px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.premio-item:hover .premio-icon {
  transform: scale(1.1);
}

.premio-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%); /* Convierte el logo a negro */
}


.premio-icon svg {
  color: var(--cyan);
  width: 48px;
  height: 48px;
}

.premio-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: #000;
  margin: 0;
  line-height: 1.2;
}

.premio-number em {
  font-style: italic;
  font-weight: 900;
}

/* Timeline horizontal */
.logros-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
  min-height: 150px;
  gap: 1.5rem;  
}

.timeline-line-horizontal {
  position: absolute;
  top: 9px; /* Alineado con el centro de los dots */
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1;
}

.logro-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.logro-dot {
  width: 18px;
  height: 18px;
  border: 3px solid rgba(0, 0, 0, 0.9);
  background: var(--cyan);
  border-radius: 50%;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  margin-bottom: 2rem;
}

.logro-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.8rem;
  text-align: left;
}

.logro-numero:hover{
  transform: scale(1.1);
}

.logro-numero {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  color: #000;
  margin: 0;
  line-height: 0.85;
  white-space: nowrap;
  flex-shrink: 0;
}

.logro-texto {
  font-size: 1.2rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1.25;
  padding-top: 0.3rem;
  max-width: 120px;
}

/* Subtítulo de clientes */
.clientes-subtitle {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-family: var(--font-body);
  font-weight: 300;
  color: rgb(255, 255, 255);
  margin-bottom: 2rem;
}

.clientes-subtitle .text-white {
  font-weight: 700;
  color: #fff;
}

.clientes-marquee {
  overflow: hidden;
}

.clientes-block {
  margin-bottom: 40px;
}

.clientes-row {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  overflow: hidden;
  white-space: nowrap;
}

/* Tamaño logos */
.cliente-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px; /* controla tamaño general */
  min-width: 140px; 
}

.cliente-logo img {
  max-height: 45px; /* todos mismo alto visual */
  width: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}

/* Animaciones */

.right-to-left {
  animation: marqueeRTL 35s linear infinite;
}

.left-to-right {
  animation: marqueeLTR 35s linear infinite;
}

@keyframes marqueeRTL {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marqueeLTR {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.cliente-logo img {
    max-height: 65px;
    opacity: .6;
    transition: .3s ease;
}

.cliente-logo img:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* Ocultar flechas y dots en desktop */
.premios-prev, .premios-next,
.logros-prev, .logros-next,
.premios-dots, .logros-dots {
  display: none;
}

/* =============================
   HABLEMOS
============================= */
.hablemos-wrapper {
  background: var(--cyan); /* cyan */
  padding-top: 0px;
  position: relative;
  z-index: 20;
}

.hablemos {
  position: relative;
  background: var(--orange);
  padding: 6rem 2rem 5rem;
  /*border-top-left-radius: 80px;*/
  border-top-right-radius: 80px;
  overflow: visible;
  margin-top: 0;
  z-index: 21;
}

/* Pestaña */
.hablemos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0px;
  width: 300px;
  height: 70px;
  background: var(--orange);
  border-top-right-radius: 25px;
  transform: translateY(-100%);
  z-index: 30;
}

/* Curva invertida a la derecha de la pestaña */
.hablemos::after {
  content: "";
  position: absolute;
  top: 0;
  left: 300px; /* Colocado exactamente donde termina el ancho de la pestaña */
  transform: translateY(-100%); 
  width: 25px; /* Ajustado al radio de la esquina de la pestaña */
  height: 25px;
  background: transparent;
  /* Esquina inferior izquierda redondeada con sombra extendida */
  border-bottom-left-radius: 25px;
  box-shadow: -10px 10px 0 10px var(--orange);
  pointer-events: none;
  z-index: 29;
}

/* Contenido principal */
.hablemos-content {
  position: relative;
  z-index: 1;
  padding-top: 2rem; /* Espacio adicional arriba */
}

/* Título con efecto 3D fuerte (blanco + sombra cyan) */
.hablemos-title {
  margin-top: 0px;
  font-size: clamp(4rem, 3vw, 5rem);
  font-family: var(--font-heading);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-shadow:
    0 0 10px rgba(32, 214, 199, 0.4),
    6px 6px 0 var(--cyan),
    12px 12px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.hablemos-title-img {
  width: clamp(300px, 45vw, 400px);
  height: auto;
  display: inline-block;
}

/* Texto descriptivo */
.hablemos-text {
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 1.6rem !important;
  max-width: 800px;
  margin: 0 auto 4rem !important;
  line-height: 1.6 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
  inset: auto !important;
  rotate: none !important;
  scale: none !important;
}

.hablemos-text strong {
  font-weight: 700;
}

/* =============================
   TIMELINE - LÍNEA CON BOTONES
============================= */
.hablemos-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

/* Cada ítem de la timeline */
.timeline-item {
  flex: 0 0 auto;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

/* Botones / píldoras */
.timeline-btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 220px;
  width: 280px;
  height:60px;
  /*box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);*/
}

.timeline-btn:hover {
  transform: translateY(-6px) !important;
}

/* Botón primario - CLIENTES */
.timeline-btn.is-active,
.timeline-item.primary .timeline-btn {
  background: var(--cyan);
  color: #fff;
  border: 2px solid #fff;
}

.timeline-item.primary .timeline-btn:hover {
  background: #1ac0b3;
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(32, 214, 199, 0.4);
}

/* Botones secundarios */
.timeline-btn:not(.is-active) {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.timeline-btn:not(.is-active):hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Línea conectadora entre botones */
.timeline-line {
  width: 140px;
  height: 2px;
  background: #fff;
  position: relative;
  margin: 0 8px;
  opacity: 0.9;
  transform-origin: center;
  transform: scaleX(0);
}

/* Puntos en el centro de la línea */
.timeline-line::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.timeline-line::after {
  display: none;
}

/* Formularios */

.hablemos-form {
    display: none;
    max-width: 520px;
    margin: 50px auto 0;
    padding: 40px 36px;

    background: rgb(255 255 255 / 0%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;

    box-shadow:
      0 20px 50px rgba(0, 0, 0, 0.35),
      inset 0 0 0 1px rgba(255, 255, 255, 0.15);

    opacity: 0;
    transform: translateY(30px);
    transition: all 0.45s ease;
}

.hablemos-form.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.hablemos-form input,
.hablemos-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);

    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;

    padding: 14px 4px;
    margin-bottom: 28px;

    transition: all 0.3s ease;
}

.hablemos-form input::placeholder,
.hablemos-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hablemos-form input:focus,
.hablemos-form textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 2px 0 var(--cyan);
}

.hablemos-form h4 {
    color: var(--cyan);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    margin-bottom: 30px;
    text-align: center;
}

.hablemos-form textarea {
    min-height: 110px;
    resize: none;
}

.hablemos-form input[type="file"] {/*Ocultar el input file nativo*/
    display: none;
}

.custom-label {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    padding: 14px 4px;
    margin-bottom: 28px;

    border-bottom: 2px solid rgba(255,255,255,0.4);

    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255,255,255,0.7);

    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-label:hover {
    border-color: var(--cyan);
    color: #fff;
}

.file-selected {/*Texto del archivo seleccionado*/
    font-size: 0.85rem;
    color: var(--cyan);
    opacity: 0.9;
}

.hablemos-form button {
    width: 100%;
    margin-top: 20px;
    padding: 14px 0;

    border-radius: 50px;
    border: none;

    background: var(--cyan);
    color: #fff;

    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    cursor: pointer;
    transition: all 0.35s ease;

    /*box-shadow: 0 10px 30px rgba(32, 214, 199, 0.45);*/
}

.hablemos-form button:hover {
    transform: translateY(-4px);
    background: transparent;
    border: 1px solid var(--cyan);
    /*box-shadow: 0 18px 45px rgba(32, 214, 199, 0.6);*/
}

.privacy-check {
  margin: 22px 0 28px;
}

.privacy-check label {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.privacy-check a {
  color: #00cfc8;
  text-decoration: none;
}

.privacy-check a:hover {
  text-decoration: underline;
}

/* Oculta checkbox nativo */
.privacy-check input[type="checkbox"] {
  display: none;
}

/* Caja custom */
.custom-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;

  position: relative;
  transition: all 0.25s ease;
}

/* Check */
.privacy-check input:checked + .custom-checkbox {
  background: #00cfc8;
  border-color: #00cfc8;
}

.privacy-check input:checked + .custom-checkbox::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;

  width: 4px;
  height: 9px;

  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* =============================
   CARDS
============================= */
.card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* =============================
   ORANGE MINDSET
============================= */
.orange {
  background: linear-gradient(135deg, var(--orange), #ff9a3d);
}

.orange h2 {
  text-transform: uppercase;
}

.orange .col-md-4 {
  font-weight: 600;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

/* =============================
   FOOTER
============================= */

.site-footer {
  position: relative;
  background: #2b2b2b;
  color: #fff;
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
  overflow: hidden;
}

.footer-wrapper {
  background: var(--orange);
  padding-top: 48px;
}

.footer-inner {
  padding: 2.1rem 4rem 2rem;
  position: relative;
  z-index: 2;
}

/* SOCIAL MEDIA ICONS */
.footer-social {
  position: absolute;
  top: 2rem;
  bottom: 1rem;
  right: 6rem;
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}


.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: var(--orange);
  color: #fff;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

/* DIVIDER */
.footer-divider {
  width: calc(100% - 200px);
  height: 1px;
  background: rgb(255 255 255 / 23%);
  margin: 1.7rem 0;
}

/* CONTENT */
.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0 0.5rem;
}

/* LEFT - Logo y texto */
.footer-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer-title-img {
  width: clamp(200px, 22vw, 360px);
  height: auto;
  display: block;
}

.footer-icon {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

.footer-title {
  font-size: 1.3rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  color: #fff;
}

/* CENTER - Asociaciones y Certificaciones */
.footer-center {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0 1rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-label {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: rgba(166, 166, 166, 0.9);
  text-align: center;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-logos img {
  height: 60px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: all 0.3s ease;
  /*filter: brightness(0) invert(1);*/
}

.footer-logos img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* RIGHT - Círculo naranja */
.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-logo-circle {
  width: 190px;
  height: 190px;
  /*background: var(--orange);*/
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /*box-shadow: 0 4px 20px rgba(220, 87, 13, 0.3);*/
  transition: transform 0.3s ease;
  /*margin-top: -40px;*/
  margin-bottom: -40px;
}

.footer-logo-img {
  width: 100%;   
  height: auto;
  display: block;
}

.footer-logo-circle:hover {
  transform: scale(1.05);
}

.footer-logo-circle span {
  font-size: 3.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  text-transform: lowercase;
}

/* BOTTOM - Copyright */
.footer-bottom {
  padding-top: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  text-align: left;
}

/*Contacto*/
.footer-contact {
    text-align: left;
    padding: 0.6rem 0;
}

.footer-address a{
    font-style: normal;
    font-size: 1.2rem;
    color: #aaa;
    text-decoration: none;
}

.footer-address .tel-contacto {
    color: var(--orange);
    text-decoration: none;
}

.footer-address a:hover {
    color: var(--orange2);
}

#scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--orange2);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

#scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    border: 2px solid #ffffff;
    transform: translateY(0);
}

#scroll-top-btn:hover {
    background: var(--orange2);
    transform: translateY(-3px);
}

/* =============================
   Somos - Hero
============================= */
#somos {
  position: relative;
}
.page-id-14 .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  box-shadow: none;
  z-index: 1000;
}

.page-id-14 {
  padding-top: 0 !important;
}

html body.page-id-14 {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.page-id-14 .site-header *,
.page-id-14 .site-header .container,
.page-id-14 .site-header .header-inner{
  background: transparent !important;
  color:#000 !important;
}

#somos .somos-hero{
  position: relative;
  height: 60vh;
  background: var(--orange);
  display:flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}


/* Fondo */
#somos .somos-hero__bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Contenido */
#somos .somos-hero__content{
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Titulo */
#somos .somos-title{
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

#somos .somos-title img{
  width: 100%;
  height: auto;
  display: block;
}

/* ==============================
   Somos - Quienes Somos
============================== */
.quienes-somos-wrapper {
  position: relative;
  z-index: 2;
  margin-top: -60px;              
  background: #ffffff;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  overflow: hidden;
  padding: 60px 20px 80px;
}

/* =============================
   BLOQUE SUPERIOR: carrusel + texto
============================= */
.mindset-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto 80px;
}

.mindset-top h2{
  font-size: 5rem;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--orange);
}

/* ---------- CARRUSEL ---------- */
.mindset-carousel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mindset-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: #eee;
}

.carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  border-radius: 20px;
}

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

/* Dots debajo de la imagen */
.mindset-indicators {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 4px;
}

.mindset-indicators .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.mindset-indicators .dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

/* ---------- TEXTO ---------- */
.mindset-top__text {
  font-size: 1.25rem;
  font-family: var(--font-body);
  line-height: 1.75;
  color: #444;
}

.mindset-top__text strong {
  font-weight: 700;
  color: #111;
}

/* =============================
   DIAGRAMA SVG
============================= */
.mindset-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.mindset-svg {
  width: 100%;
  height: auto;
  display: block;
}

.mindset-mobile {
  display: none;
}

/* ===== TEXTOS SVG ===== */
.svg-text {
  font-size: 22px;
  font-family: var(--font-body);
  line-height: 1.6;
  color: #444;
  margin-top: 90px;
}

.center-text {
  text-align: center;
  color: #fff;
}

.center-text h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--orange);
}

.center-text p {
  font-family: var(--font-body);
  font-size: 13px;
  opacity: 0.9;
}

.item h4 {
  font-size: 20px;
  font-family: var(--font-body);
  color: var(--cyan);
  margin-bottom: 6px;
}

.item--left {
  text-align: right;
}

.item--right {
  text-align: left;
}

.item p {
  font-size: 18px;
  font-family: var(--font-body);
  color: #555;
  line-height: 1.4;
}

.footer-text_ {
  text-align: center;
  font-family: var(--font-body);
  font-size: 30px;
  color: #222;
}

/* ===== Animaciones SVG ===== */
.quienes-somos-wrapper .item,
.quienes-somos-wrapper .svg-text,
.quienes-somos-wrapper .center-text,
.quienes-somos-wrapper .footer-text_,
.quienes-somos-wrapper image,
.quienes-somos-wrapper circle,
.quienes-somos-wrapper rect {
  will-change: transform, opacity; 
}

.animate-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
/* ═══════════════════════════════════════════════════
   MINDSET SAFARI DESKTOP — versión HTML pura
   Solo se activa cuando JS añade display:block
═══════════════════════════════════════════════════ */
 
/* Layout de 5 columnas: col-izq | llave | centro | llave | col-der */
.mindset-safari__layout {
    display: grid;
    grid-template-columns: 1.15fr 40px 280px 40px 1.15fr;
    align-items: center;
    gap: 0 20px;
    min-height: 800px;
    margin: 0 auto;
    max-width: 1460px;
    padding: 0 40px;
    isolation: isolate;
}
 
/* ── Columnas de valores ── */
.mindset-safari__col {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 680px;
    gap: 40px;
}
 
.mindset-safari__col--left  { text-align: right; }
.mindset-safari__col--right { text-align: left; }
 
.mindset-safari__valor {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}
 
.mindset-safari__valor h4 {
    font-size: 18px;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--cyan);
    margin: 0 0 6px 0;
    line-height: 1.2;
}
 
.mindset-safari__valor p {
    font-size: 15px;
    font-family: var(--font-body);
    color: #555;
    line-height: 1.5;
    margin: 0;
}
 
/* ── Llaves SVG ── */
.mindset-safari__brace-wrap {
    height: 680px;
    display: flex;
    align-items: stretch;
}

.mindset-safari__brace-wrap--left::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 39px;
    width: 21px;
    height: 2px;
    background: #7A7A7A;
    z-index: -1;
}

.mindset-safari__brace-wrap {
    position: relative;
    z-index: 10;
}

.mindset-safari__brace-wrap--right::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 39px;
    width: 21px;
    height: 2px;
    background: #7A7A7A;
    z-index: -1;
}
 
.mindset-safari__brace {
    width: 40px;
    height: 100%;
    flex-shrink: 0;
    overflow: visible !important;
}
 
/* ── Centro: hoja + círculo + conectores ── */
.mindset-safari__center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 680px;
    z-index: 5;
}
 
/* Hoja */
.mindset-safari__leaf {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-90%);
    width: 121px;
    height: 60px;
    z-index: 4;
}
 
/* Círculo */
.mindset-safari__circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px;
    position: relative;
    z-index: 2;
}
 
.mindset-safari__circle h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1.1;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}
 
.mindset-safari__circle p {
    font-family: var(--font-body);
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
    margin: 0;
}
 
/* Conectores horizontales al círculo */
.mindset-safari__connector {
    position: absolute;
    top: 50%;
    height: 2px;
    background: #7A7A7A;
    z-index: 2;
}
.mindset-safari__line-bottom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 380px;
    background: #7A7A7A;
    z-index: 1;
}
 
/* ── Footer: línea + caja ── */
.mindset-safari__footer-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1460px;
    margin: -30px auto 0 auto; /* Un margen negativo sutil ayuda a conectar la línea con la caja si es necesario */
    padding: 0 40px;
    position: relative;
    z-index: 2;
}
 
.mindset-safari__footer-box {
    border: 2px solid #7A7A7A;
    border-radius: 16px;
    padding: 25px 50px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 24px;
    color: #222;
    width: 60%;
    background: #fff;
}
/* ============================= */
/* TIMELINE SOMOS */
/* ============================= */

.somos-timeline {
    padding: 0px 0 120px;
    background: #fff;
    position: relative;
    margin-bottom: 60px;
    overflow: hidden;
}

.somos-timeline__container {
    /*width: 90%;
    max-width: 1400px;
    margin: 0 auto;*/
    display: flex;
    /*position: relative;*/
    width: max-content;
    will-change: transform;
    align-items: flex-start; 
}

/* Línea horizontal principal */
.somos-timeline__container::after {
    content: "";
    position: absolute;
    height: 2px;
    background: #2d2d2d;
    z-index: 1;
    top: 634px; 
    left: calc(100% / 16); 
    right: calc(100% / 12); 
}

/* ============================= */
/* ITEM */
/* ============================= */

.somos-timeline__item {
    /*width: 14%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;*/
    width: 240px; 
    margin-right: 60px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================= */
/* IMAGEN */
/* ============================= */

.somos-timeline__image {
    width: 100%;
    height: 390px;
    min-height: 390px;
    max-height: 390px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 30px;
    margin-left: 5%; 
    flex-shrink: 0;
    flex-grow: 0;
}

.somos-timeline__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Ocultar imagen en items sin imagen */
.somos-timeline__item.no-image .somos-timeline__image {
    visibility: hidden;
}

/* ZOOM IMAGEN */
.somos-timeline__image {
    overflow: hidden;
    border-radius: 18px;
}

.somos-timeline__image img {
    transition: transform 0.6s ease;
}

.somos-timeline__item:hover .somos-timeline__image img {
    transform: scale(1.08);
}


/* ============================= */
/* CONTENIDO (línea vertical gris) */
/* ============================= */

.somos-timeline__content {
    position: relative;
    width: 100%;
    height: 150px;
    min-height: 150px;
    max-height: 150px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-shrink: 0;
    flex-grow: 0;
}

.somos-timeline__content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 150px;
    background: #2d2d2d;
    transform: translateX(-50%);
    z-index: 1;
}

.somos-timeline__content p {
    margin: 0;
    font-size: 15px;
    font-family: var(--font-body);
    line-height: 1.5;
    color: #4a4a4a;
    text-align: left;
    padding-left: 18px;
    width: 50%;
    max-width: 50%;
    position: relative;
    z-index: 2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 7;
}

/* ============================= */
/* AÑO */
/* ============================= */

.somos-timeline__year {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 10px 0;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 8px;
    background: #fff;
}

.somos-timeline__year {
    transition: color 0.3s ease;
}

.somos-timeline__item:hover .somos-timeline__year {
    color: #00a99d;
}

/* ============================= */
/* PUNTO */
/* ============================= */

.somos-timeline__dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #333;
    position: relative;
    z-index: 3;
    margin: 0 auto 10px auto;
}


.somos-timeline__item.is-active .somos-timeline__dot {
    background: #00a99d;
    width: 24px;
    height: 24px;
    margin-top: -3px;
    margin-bottom: 7px;
}


.somos-timeline__item.is-today .somos-timeline__dot {
    background: #f05a00;
    width: 24px;
    height: 24px;
    margin-top: -3px;
    margin-bottom: 7px;
}

/* ============================= */
/* UBICACIÓN */
/* ============================= */

.somos-timeline__location {
    font-family: var(--font-body);
    margin: 0;
    font-weight: 600;
    font-size: 15px;
    color: #000;
    text-align: center;
}


/* Hablemos */
.page-id-14 .hablemos-wrapper {
  background: var(--cyan);
}

/* ============================= */
/* Reconocimientos Somos */
/* ============================= */
.reconocimientos-somos {
    background: var(--cyan);
    padding: 8rem 0 5rem;
    overflow: visible;
    position: relative;
    border-top-left-radius: 80px;
    border-top-right-radius: 0;
    z-index: 21;
}

.reconocimientos-somos-wrapper {
    position: relative;
    background: #fff;
    padding-top: 0;
    z-index: 20;
}

.reconocimientos-somos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 65%;
    transform: translateY(-100%);
    width: 35%;
    height: 100px;
    background: var(--cyan, #00C4B4);
    border-top-left-radius: 40px;
    z-index: 30;
}

/* El truco de la curva invertida */
.reconocimientos-somos::after {
    content: "";
    position: absolute;
    top: 0;
    left: 65%;
    transform: translate(-100%, -100%); 
    width: 40px; 
    height: 40px;
    background: transparent;
    /* Creamos la curva hacia adentro usando una sombra gigante */
    border-bottom-right-radius: 40px;
    box-shadow: 20px 20px 0 20px var(--cyan, #00C4B4);
    
    pointer-events: none;
    z-index: 29;
}

.reconocimientos-somos__container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.reconocimientos-somos__title {
    text-align: center;
    font-family: var(--font-body);
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 100px;
    color: #fff;
}

.reconocimientos-somos__title span {
    font-weight: 700;
}

.reconocimientos-somos__grid {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr 1fr;
    gap: 20px;
    align-items: start;
}

/* ---- INTRO COLUMN ---- */
.reconocimientos-somos__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;   
    gap: 0;
    padding-top: 100px;
    position: relative;
    min-height: 320px;
}

.reconocimientos-somos__bubble {
    background: #111;
    font-family: var(--font-heading);
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    border-radius: 50%;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    letter-spacing: 1px;
    position: relative;

}

.reconocimientos-somos__bubble::after {
    content: "";
    position: absolute;
    bottom: -4px;
    right: 20px;
    width: 42px;
    height: 38px;
    background: #111;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    transform: rotate(-40deg);
    transform-origin: top center;
}

.reconocimientos-somos__agency {
    position: absolute;
    bottom: -120px;
    left: 50%;         
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;

}

.agency-box-wrapper {
    position: relative;
    width: fit-content;
    
}

.agency-box-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.agency-box-content {
    padding: 14px 24px;
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.05em;
    color: #111;
    text-align: center;
}

.agency-year {
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #111;
    padding-left: 2px;
}

/* ---- LEFT LIST COLUMN ---- */
.reconocimientos-somos__left {
    position: relative;
    padding-left: 0px;
    overflow: visible;
}

.reconocimientos-somos__left-line-curved {
    position: absolute;
    left: -85px;; /* desplaza la curva hacia la izquierda para que conecte con la burbuja */
    top: 0;
    width: 100px; 
    height: 100%;
    z-index: 1;
}

.reconocimientos-somos__list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 15px;
    padding-top: 7px;  
    position: relative;
    z-index: 2;
}

.reconocimientos-somos__list li {
    position: relative;
    font-family: var(--font-body);
    margin-bottom: 28px;  
    font-size: 24px;
    line-height: 1.4;
    color: #111;
    
}

.reconocimientos-somos__list li:nth-child(1) { padding-left: 0px; }
.reconocimientos-somos__list li:nth-child(2) { padding-left: 10px; }
.reconocimientos-somos__list li:nth-child(3) { padding-left: 20px; }
.reconocimientos-somos__list li:nth-child(4) { padding-left: 30px; }
.reconocimientos-somos__list li:nth-child(5) { padding-left: 35px; }
.reconocimientos-somos__list li:nth-child(6) { padding-left: 35px; }
.reconocimientos-somos__list li:nth-child(7) { padding-left: 38px; }
.reconocimientos-somos__list li:nth-child(8) { padding-left: 32px; }

/* ---- RIGHT RANKINGS COLUMN ---- */
.reconocimientos-somos__right {
    padding-top: 0;
    
}

.reconocimientos-somos__right-title {
    font-size: 32px;
    font-family: var(--font-heading);
    font-weight: 900;
    margin-bottom: 20px;
    color: #111;
    font-style: italic;
    letter-spacing: 0.01em;
}

/* Vertical connecting line for rankings */
.reconocimientos-somos__ranking {
    position: relative;
    padding-left: 85px;
    
}

.reconocimientos-somos__right-line-curved {
    position: absolute;
    left: 0;
    top: 12px;
    width: 90px;
    height: 560px;
    z-index: 1;
}

.reconocimientos-somos__ranking-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
    gap: 0px;
}

.reconocimientos-somos__ranking-item:last-child {
    margin-bottom: 0;
}

.reconocimientos-somos__ranking-number {
    font-size: 72px;
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 0.9;
    color: #111;
    display: block;
    min-width: 100px;
    letter-spacing: -0.03em;
}

/* Superscript ordinal 'a' */
.reconocimientos-somos__ranking-number sup {
    font-size: 36px;
    font-weight: 900;
    vertical-align: super;
    line-height: 0;
}

/* TOP 15 special treatment */
.reconocimientos-somos__ranking-number--top15 {
    display: flex;
    flex-direction: column;
    line-height: 0.85;
    min-width: 100px;
    gap: 0;
}

.reconocimientos-somos__ranking-number--top15 .top-word {
    font-size: 32px;
    font-family: var(--font-heading);
    font-weight: 900;
    display: block;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.reconocimientos-somos__ranking-number--top15 .top-num {
    font-size: 72px;
    font-family: var(--font-heading);
    font-weight: 900;
    display: block;
    line-height: 0.9;
    letter-spacing: -0.03em;
}

.reconocimientos-somos__ranking-item p {
    font-size: 20px;
    font-family: var(--font-body);
    line-height: 1.25;
    max-width: 240px;
    padding-top: 10px;
    color: #111;
    font-weight: 700;
    margin-left: -20px;
}

.reconocimientos-somos__ranking-item p sup {
    font-size: 12px;
}

/* Source footnote */
.reconocimientos-somos__source {
    font-size: 11px;
    font-family: var(--font-body);
    color: #111;
    margin-top: -20px;
    margin-bottom: 0;
    padding-left: 28px;
    opacity: 0.75;
}
/* ---- AWARDS STRIP ---- */
.reconocimientos-somos__awards {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 0px;
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 20px;
    color: #111;
    align-items: center;
}

.reconocimientos-somos__awards-item {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    gap: 3px;
    font-size: 30px;
    font-weight: 900;
}

.reconocimientos-somos__awards-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0); 
}

.reconocimientos-somos__awards-icon svg {
    fill: var(--cyan);
    width: 28px;
    height: 28px;
}

/* Ocultar flechas y dots por defecto (desktop) */
.somos-timeline-prev,
.somos-timeline-next,
.somos-timeline-dots,
.reconocimientos-somos-prev,
.reconocimientos-somos-next,
.reconocimientos-somos-dots {
  display: none;
}

/* ============================= */
/* HOVER INTERACTIVO LISTA */
/* ============================= */
.reconocimientos-somos__list li {
    transition: all 0.3s ease;
    cursor: default;
}

.reconocimientos-somos__list li:hover {
    transform: translateX(6px);
    color: #000;
}

/* Línea lateral highlight */
.reconocimientos-somos__list li::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 8px;
    width: 4px;
    height: 0%;
    background: var(--cyan);
    transition: height 0.3s ease;
}

.reconocimientos-somos__list li:hover::before {
    height: 60%;
}

/* ============================= */
/* RANKING HOVER */
/* ============================= */
.reconocimientos-somos__ranking-item {
    transition: transform 0.3s ease;
}

.reconocimientos-somos__ranking-item:hover {
    transform: translateX(10px) scale(1.02);
}

/* ============================= */
/* AWARDS HOVER */
/* ============================= */
.reconocimientos-somos__awards-item {
    transition: transform 0.3s ease;
}

.reconocimientos-somos__awards-item:hover {
    transform: scale(1.1);
}

/* =============================
   CASOS HERO
============================= */
/* Menu*/
.page-id-22 .site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  box-shadow: none;
  z-index: 1000;
}

.page-id-22 {
  padding-top: 0 !important;
}

.page-id-22 .site-header *,
.page-id-22 .site-header .container,
.page-id-22 .site-header .header-inner{
  background: transparent !important;
  
}

#casos-exito .casos-hero {
    position: relative;
    background: var(--cyan);
    height: 60vh;
    display:flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;

}

/* Fondo */
#casos-exito .casos-hero__bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Contenido */
#casos-exito .casos-hero__content{
  position: relative;
  z-index: 2;
  text-align: center;
}

#casos-exito .casos-hero__title {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

#casos-exito .casos-hero__title img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===============================
    Casos Grid
============================= */
.casos-grid-wrapper{
  position: relative;        
  z-index: 2;                
  margin-top: -60px;         
  background: #1e1e1e;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  overflow: hidden;
  padding-bottom: 100px;
}

.casos-grid {
  background: transparent;
  margin-top: 0;
  border-radius: 0;
 
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 400px));
  gap: 30px;
  padding: 60px 90px;
  padding-bottom: 100px;
  justify-content: center;

}

.caso-card {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.caso-card:hover {
    transform: translateY(-8px);
}

.caso-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caso-modal-mobile {
    display: none;
}

/* featured-panel */
.caso-featured-panel {
    display: none;
    background: #1e1e1e; 
    border-radius: 16px;
    padding: 24px 32px;
    margin: 20px 40px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
    animation: expandIn 0.3s ease;
}

.caso-featured-panel.active {
    display: block;
}

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

.caso-featured-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

/* Título y cliente */
.caso-nombre {
    color: #e85d04;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 38px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.caso-cliente {
    color: #ccc;
    font-family: var(--font-body);
    font-size: 18px;
    margin: 4px 0 0;
}

.caso-cliente strong {
    color: white;
}

/* Iconos */
.caso-modal-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.caso-icon {
    background: #e85d04;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;   
    transition: transform 0.2s ease, background 0.2s ease;
    cursor: default;
}

.caso-icon:hover {
    transform: scale(1.2);
    background: var(--cyan);
}

.caso-icon img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}

.caso-icon__tooltip {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--cyan);
    color: #fff;
    font-size: 12px;
    font-family: var(--font-body);
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.caso-icon__tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: var(--cyan);
}

.caso-icon:hover .caso-icon__tooltip {
    opacity: 1;
}

.caso-featured-media {
    position: relative;
    display: flex;
    border-radius: 12px;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 24px;
    max-height: 768px; 
}

.caso-featured-img {
    width: 100%;
    height: 100%;
    height: auto; 
    display: block;
    border-radius: 12px;
}

/* Botón play */
.caso-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #e85d04;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(232, 93, 4, 0.3);
}

.caso-play-btn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid white;
    margin-left: 4px; 
}

.caso-featured-body {
    display: block;
    /*grid-template-columns: 1fr 1fr;*/
    font-family: var(--font-body);
    gap: 40px;
    align-items: center; 
    color: #ccc;
    font-size: 18px;
    line-height: 1.8; 
}

.caso-featured-body strong {
    color: white;
}

/* Tabla de métricas */
.caso-col-right table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.caso-col-right th {
    background: #e85d04;
    color: white;
    padding: 10px 12px;
    font-size: 18px;
    text-transform: uppercase;
    text-align: left;
}

.caso-col-right td {
    border: 1px solid #333;
    padding: 10px 12px;
    font-size: 16px;
    color: #ccc;
}

.caso-col-right td strong {
    color: #e85d04;
}

.caso-featured-close-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}

.caso-featured-divider {
    width: 100%;
    height: 1px;
    background: #444;
}

.caso-featured-close {
    position: absolute;
    background: #00b5a5;
    border: none;
    color: white;
    font-size: 38px;
    cursor: pointer;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.caso-featured-close:hover {
    background: #e85d04;
}

/* Card oculta desaparece del grid sin dejar espacio */
.caso-card--hidden {
    display: none;
}

/* Lightbox */
.caso-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.caso-lightbox.active {
    display: flex;
}

.caso-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.caso-lightbox__content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: visible;
    animation: expandIn 0.3s ease;
}

.caso-lightbox__iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.caso-lightbox__close {
    position: absolute;
    top: -44px;
    right: 0;
    background: var(--orange2);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.caso-lightbox__close:hover {
    background: #00b5a5;
}

/* Hablemos */
.page-id-22 .hablemos-wrapper {
  background: #1e1e1e;
}

/* =============================
   SOLUCIONES - HEADER TRANSPARENTE
============================= */
.page-template-page-soluciones .site-header .page-id-10 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  box-shadow: none;
  z-index: 1000
}

.page-id-16 {
  padding-top: 0 !important;
}

.page-id-16 .site-header *,
.page-id-16 .site-header .container,
.page-id-16 .site-header .header-inner{
  background: transparent !important;
  color:#000 !important;
}

#soluciones .soluciones-hero {
    position: relative;
    background: var(--cyan);
    height: 60vh;
    display:flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;

}

/* Fondo */
#soluciones .soluciones-hero__bg{
  position: absolute;
  inset: 0;
  background-image: url('../img/header_soluciones.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Contenido */
#soluciones .soluciones-hero__content{
  position: relative;
  z-index: 2;
  text-align: center;
}

#soluciones .soluciones-hero__title {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

#soluciones .soluciones-hero__title img {
  width: 140%;
  height: auto;
  display: block;
}

/* =============================
   GRID DE SOLUCIONES
============================= */
.soluciones-contenido {
    background: #2B2B2B;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    margin-top: -40px;
    position: relative;
    z-index: 2;
    padding: 60px 120px 140px;
    overflow: hidden;
}

.soluciones-main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 32px;
    max-width: 1500px;   /* ← tope para pantallas muy anchas */
    margin: 0 auto;
}

.soluciones-intro__text {
    grid-column: 1 / 4;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0 60px;
}

.soluciones-intro__img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    animation: latido 2.8s ease-in-out infinite;
}

@keyframes latido {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.03); }
    45%  { transform: scale(0.98); }
    60%  { transform: scale(1.02); }
    75%  { transform: scale(1); }
    100% { transform: scale(1); }
}
/* =============================
          CARDS 
============================= */
.solucion-card {
    border: 2px solid #4D4B44;
    border-radius: 12px;
    padding: 28px 24px;
    background: #2B2B2B;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    aspect-ratio: unset;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    
    position: relative;
    /* transform-style: preserve-3d; Daba el efecto 3D*/
    transition:
        transform .35s ease,
        border-color .35s ease;
}

.card-wrapper {
    position: relative;
}

.solucion-card::before {
    content: "";

    position: absolute;
    inset: -2px;

    z-index: 0;
    border-radius:12px;

    opacity: 0;
    transform: scale(0.85);
    transform-origin: center center;

    transition: 
        transform .4s cubic-bezier(.22,.61,.36,1),
        opacity .3s ease;
}

.solucion-card__header,
.solucion-card__desc {
    position: relative;
    z-index: 2;
}

.solucion-card__title,
.solucion-card__desc,
.solucion-card__icon img {
    transition:
        color .35s ease,
        filter .35s ease;
}

.card-wrapper--orange .solucion-card::before{
    background: var(--cyan);
}

.card-wrapper--cyan .solucion-card::before{
    background: var(--orange2);
}

/*.card-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px dashed rgba(232, 93, 4, 0.5);
    border-radius: 14px;

    opacity: 0;
    transform: translate(0, 0);

    z-index: 0;
    pointer-events: none;

    transition: all 0.35s cubic-bezier(.22,.61,.36,1);
} Da el efecto de la linea punteada

.card-wrapper:hover::after {
    background: #ffffff;
    opacity: 1;
    transform: translate(10px, 10px);
}*/

/* Hover principal (3D + elevación) */
.card-wrapper:hover .solucion-card {
    /*transform: 
        translateY(-12px)
        rotateX(calc(6deg + var(--ratio-y, 0) * 14deg))
        rotateY(calc(var(--ratio-x, 0) * 14deg));

    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.12),
        0 15px 30px rgba(0, 0, 0, 0.08);

    border-color: rgba(0, 0, 0, 0.2);*/
    transform: translateY(-4px);
    border-color: #fff;
}
.card-wrapper:hover .solucion-card::before{
    opacity: 1;
    transform: scale(1);
}

.card-wrapper:hover .solucion-card__title {
    transform: translateX(6px);
    letter-spacing: 1px;
}

.card-wrapper--orange:hover .solucion-card__title{
    color:#e85d04;
}

.card-wrapper--orange:hover .solucion-card__desc{
    color:#000;
}

.card-wrapper--cyan:hover .solucion-card__title{
    color:var(--cyan);
}

.card-wrapper--cyan:hover .solucion-card__desc{
    color:#fff;
}

.card-wrapper:hover .solucion-card__icon {
    transform: rotate(-6deg) scale(1.05);
}

/* Icono y título en la misma fila */
.solucion-card__header {
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 16px;
}

.solucion-card__icon {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.solucion-card__icon img {
    width: 100%;
    height: auto;
    /*filter: brightness(0);*/
}

.solucion-card__title {
    font-size: 28px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.3;
}

/* Colores alternos titulos card */
.solucion-card__title--orange {
    color: #e85d04;
}

.solucion-card__title--cyan {
    color: var(--cyan);
}

.solucion-card__desc {
    font-size: 18px;
    font-family: var(--font-body);
    color: #fff;
    line-height: 1.8;
    margin: 0;
    overflow: hidden;
    text-align: left; 
}

.soluciones-mobile {
    display: none;
}

/* =============================
   HABLEMOS en página Soluciones
============================= */
.page-id-16 .hablemos-wrapper {
    background: #2B2B2B;
}

/* =============================
    Aviso de Privacidad
============================= */
/* Fondo en todo el body */
body.privacy-policy {
  background: var(--orange) !important;
  font-family: var(--font-body);
}

/* Contenedor principal */
body.privacy-policy main.page-content {
  max-width: 1220px !important;
  width: 100% !important;
  margin: 100px auto;
  padding: 0px 40px;
  font-family: var(--font-body);
  background: transparent;
}

/* Título h1 dentro del main */
body.privacy-policy main.page-content h1 {
  font-family: var(--font-heading) !important;
  font-size: 36px !important;
  margin-bottom: 25px !important;
  color: #ffffff !important;
}

/* Título h3 dentro del main */
body.privacy-policy main.page-content h3 {
  font-family: var(--font-heading) !important;
  font-size: 28px !important;
  margin-bottom: 20px !important;
  color: #ffffff !important;
}

/* Párrafos */
body.privacy-policy main.page-content p {
  font-family: var(--font-body) !important;
  font-size: 18px !important;
  line-height: 1.85 !important;
  margin-bottom: 15px !important;
  color: #dcdcdc !important;
  text-align: justify !important;
  hyphens: auto !important;
  -webkit-hyphens: auto !important;
}

body.privacy-policy main.page-content li {
  margin-bottom: 10px;
  color: #dcdcdc !important;
}

/* Subtítulos en negritas dentro de párrafos */
body.privacy-policy main.page-content p strong {
  /*display: block !important;*/
  margin-top: 25px !important;
  margin-bottom: 8px !important;
  font-size: 20px !important;
  color: #ffffff !important;
}

/* Links */
body.privacy-policy a {
  color: var(--orange2) !important;
  text-decoration: none !important;
}


/* Capas internas — transparentes */
body.privacy-policy .site,
body.privacy-policy .site-content,
body.privacy-policy main.page-content {
  background: transparent !important;
}

/* Header flotante sobre el fondo naranja */
body.privacy-policy .site-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* ==========================================================================
   2. HACK EXCLUSIVO PARA SAFARI DESKTOP
   (Apaga las animaciones causantes del bug y re-centra el texto del medio)
   ========================================================================== */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) and (stroke-color:transparent) {
        
        /* Solo en pantallas grandes (Desktop) */
        @media (min-width: 1025px) {
            
            /* Desactivamos las transformaciones que rompen a Safari */
            .quienes-somos-wrapper .item,
            .quienes-somos-wrapper .svg-text,
            .quienes-somos-wrapper .center-text,
            .quienes-somos-wrapper .footer-text_,
            .quienes-somos-wrapper image,
            .quienes-somos-wrapper circle,
            .quienes-somos-wrapper rect {
                transform: none !important;
                -webkit-transform: none !important;
                /* Nota: Dejamos el opacity por si tu animación aparece con un fade-in suave, 
                   el opacity no suele romper el layout en Safari */
            }

            /* Corrección extra para que el texto de la naranja se centre perfectamente */
            .mindset-svg foreignObject .center-text {
                position: static !important;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                height: 100%;
                width: 100%;
            }
            
            .mindset-svg foreignObject[x="550"] {
                overflow: visible !important;
            }

        }
        
    }
}
/* =============================
   RESPONSIVE BREAKPOINTS
============================= */

/* Tablets grandes y laptops pequeñas (1200px) */
@media (max-width: 1200px) {
  .navbar-brand {
    font-size: 1.8rem !important;
    margin-top: 50px;
  }

  .navbar-nav .nav-link {
    font-size: 1.4rem !important;
    margin-top: 50px;
    padding: 0.4rem 1rem !important;
  }

  .hero-section::after,
  .hero-tab-right {
    height: 450px;
  }

  .badge-number {
    font-size: 6rem;
  }

  .badge-years {
    font-size: 1.4rem;
  }

  .soluciones-section {
    padding: 10rem 0;
  }

  .soluciones-title {
    margin-bottom: 5rem;
  }

  .casos-scroll {
    padding: 1.5rem 0;
  }

  .featured-header {
    top: 70px;
  }

  .featured-header h2 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    text-shadow:
      8px 8px 0 #1fd6c7,
      10px 10px 0 #1fd6c7;
  }

  .orbit-container {
    width: 360px;
    height: 360px;
  }

  .orbit-bg {
    width: 800px;
    height: 800px;
    left: -600px;
  }

  .visual-column .case-circle {
    width: 320px;
    height: 320px;
    border-width: 12px;
  }

  .content-column {
    padding-left: 2rem;
    padding-right: 1.5rem;
    padding-top: 9rem;
  }

  .case-indicators span {
    width: 18px;
    height: 18px;
  }
    
  .premios-grid {
    gap: 1rem;
  }
    
  .logros-timeline {
    gap: 1rem;
  }

  .logro-item {
    min-width: 0;
  }

  .logro-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logro-texto {
    max-width: 80px;
    line-height: 1.1;
  }  

  .footer-inner {
    padding: 2.5rem 3rem 2rem;
  }
 
  .footer-social {
    right: 3rem;
  }
 
  .footer-content {
    grid-template-columns: 1fr 1.6fr auto;
    gap: 2rem;
  }
 
  .footer-title-img {
    width: clamp(180px, 18vw, 280px);
  }
 
  .footer-center {
    gap: 3rem;
    padding: 0 1rem;
  }
 
  .footer-label {
    font-size: 1.1rem;
  }
 
  .footer-logos img {
    height: 50px;
  }
 
  .footer-logo-circle {
    width: 150px;
    height: 150px;
  }
 
  .footer-divider {
    width: calc(100% - 160px);
  }

  .soluciones-contenido {
        padding: 80px 60px 100px;
    }

    .soluciones-main-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .soluciones-intro__title {
        font-size: 42px;
        margin-left: 80px;
        margin-top: 80px;
    }

    .soluciones-intro__desc {
        font-size: 16px;
        margin-left: 200px;
        max-width: 340px;
    }

    .soluciones-intro__circle {
        width: 360px;
    }

    .solucion-card__title {
        font-size: 22px;
    }

    .solucion-card__desc {
        font-size: 16px;
    }

    /* Hero */
  #somos .somos-title {
    font-size: clamp(3rem, 8vw, 5rem);
  }

  /* Orange Mindset SVG */
  .mindset-wrapper {
    max-width: 960px;
  }

  .mindset-top {
    gap: 40px;
  }

  .mindset-top__text {
    font-size: 1.3rem;
  }

  /* Timeline */
  .somos-timeline__container::after {
    top: 580px;
  }

  .somos-timeline__image {
    height: 320px;
    min-height: 320px;
    max-height: 320px;
  }

  /* Reconocimientos somos */
  .reconocimientos-somos__grid {
    grid-template-columns: 0.7fr 1.3fr 1fr;
    gap: 16px;
  }

  .reconocimientos-somos__bubble {
    width: 200px;
    height: 200px;
    font-size: 26px;
  }

  .reconocimientos-somos__list li {
    font-size: 20px;
  }

  .reconocimientos-somos__ranking-number {
    font-size: 60px;
  }

  .reconocimientos-somos__ranking-number--top15 .top-num {
    font-size: 60px;
  }

  .reconocimientos-somos__ranking-number--top15 .top-word {
    font-size: 28px;
  }

  .reconocimientos-somos__awards-item {
    font-size: 24px;
  }

  .reconocimientos-somos__awards-icon {
    width: 60px;
    height: 60px;
  }

  /*Aviso de Privacidad*/
  body.privacy-policy main.page-content {
    max-width: 960px !important;
    padding: 0 40px !important;
    margin: 100px auto !important;
  }

  body.privacy-policy main.page-content p {
    font-size: 17px !important;
  }

}

@media (max-width: 1024px) {
  .casos-scroll {
    padding-top: 140px;
    padding-bottom: 100px;
  }

  /* El header flotante baja un poco menos */
  .featured-header {
    top: 60px;
  }

  .featured-title-img {
    width: clamp(260px, 55vw, 400px);
  }

  /* El orbit-bg se recorta mucho en tablet, lo ocultamos */
  .orbit-bg {
    display: none;
  }

  /* Orbit container más pequeño */
  .orbit-container {
    width: 300px;
    height: 300px;
  }

  .orbit-dot--white,
  .orbit-dot--orange {
    display: none;
  }

  .visual-column .case-circle {
    width: 260px;
    height: 260px;
  }

  /* La columna visual centrada */
  .visual-column {
    justify-content: left;
    margin-bottom: 2rem;
  }

  /* Columna de contenido sin padding-left excesivo */
  .content-column {
    padding-left: 1rem;
    padding-top: 8rem;
    text-align: left;
  }

  .content-column p {
    max-width: 100%;
    font-size: 1.1rem;
  }

  .content-column h3 {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .content-column h4 {
    font-size: 1.1rem;
  }

  /* Acciones centradas */
  .case-actions {
    justify-content: center;
  }

  /* Indicadores: horizontal en tablet */
  .indicators-column {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: auto !important;
    flex: none !important;
  }

  .case-indicators {
    flex-direction: column;
    gap: 14px;
  }
  .footer-inner {
    padding: 2rem 2.5rem 1.5rem;
  }
 
  .footer-social {
    right: 2.5rem;
  }

  .footer-section{
    gap:0.5rem;
  }
 
  .footer-content {
    grid-template-columns: 1fr 1.4fr auto;
    gap: 1.5rem;
    align-items: center;
  }
 
  .footer-title-img {
    width: clamp(160px, 24vw, 240px);
  }
 
  .footer-center {
    gap: 2rem;
    padding: -5px;
  }
 
  .footer-label {
    font-size: 0.8rem;
  }
 
  .footer-logos {
    gap: 0.7rem;
  }
 
  .footer-logos img {
    height: 52px;
  }
 
  .footer-logo-circle {
    width: 130px;
    height: 130px;
    margin-bottom: -30px;
  }
 
  .footer-divider {
    width: calc(100% - 160px);
  }
 
  .footer-copy {
    font-size: 0.75rem;
  }
 
  .footer-address a {
    font-size: 0.85rem;
  }

}

/* Tablets (991px) */
@media (max-width: 991px) {
  body {
    padding-top: 0px;
  }

  .navbar-brand {
    font-size: 1.6rem !important;
    margin-top: 40px;
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem !important;
    margin-top: 40px;
  }

  .navbar-nav {
    align-items: flex-end;
  }

  .navbar-nav .nav-link {
    text-align: right;
  }

  /*=========================
    Nuevo menu hamburguesa
  =========================*/
 /*Desactivamos el menu hamburguesa por defecto de bootstrap*/
  .navbar-toggler,
  .navbar-collapse {
    display: none !important;
  }

  /* ACTIVAMOS EL MENÚ SPLASH */
  .nav-splash {
    display: block;
  }

  /* Configuración del Botón Flotante */
  .nav__toggle {
    display: inline-block;
    position: fixed;
    z-index: 9999; /* Por encima de todo */
    padding: 0;
    border: 0;
    background: transparent;
    outline: 0;
    right: 25px;
    top: 25px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color .15s linear;
  }
  .nav__toggle:hover, .nav__toggle:focus {
    background-color: rgba(0, 0, 0, 0.1);
  }

  /* Contenedor de Pantalla Completa para los Enlaces */
  .nav__menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
  }

  .nav__menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  /* Ajustes para los Elementos de Lista (Efecto Cascada Inicial) */
  .nav__menu .menu-item {
    opacity: 0;
    margin: 1rem 0;
    transition: all .4s cubic-bezier(0.000, 0.995, 0.990, 1.000);
  }

  /* Retardo escalonado calculado a CSS puro (soporta hasta 6 páginas en el menú) */
  .nav__menu .menu-item:nth-child(1) { transform: translateY(-40px); transition-delay: 0.1s; }
  .nav__menu .menu-item:nth-child(2) { transform: translateY(-80px); transition-delay: 0.15s; }
  .nav__menu .menu-item:nth-child(3) { transform: translateY(-120px); transition-delay: 0.2s; }
  .nav__menu .menu-item:nth-child(4) { transform: translateY(-160px); transition-delay: 0.25s; }
  .nav__menu .menu-item:nth-child(5) { transform: translateY(-200px); transition-delay: 0.3s; }
  .nav__menu .menu-item:nth-child(6) { transform: translateY(-240px); transition-delay: 0.35s; }

  /* Enlaces Internos */
  .nav__menu .menu-item a {
    color: white;
    display: block;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    padding: 1rem 2rem;
    transition: background-color 0.2s ease;
  }
  .nav__menu .menu-item a:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }

  /* ESTILOS DEL ICONO SVG */
  .menuicon {
    display: block;
    cursor: pointer;
    color: #fff;
    transform: rotate(0deg);
    transition: .3s cubic-bezier(0.165, 0.840, 0.440, 1.000); 
  }
  .menuicon__bar, .menuicon__circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
  }
  .menuicon__bar {
    transform: rotate(0deg);
    transform-origin: 50% 50%;
    transition: transform .25s ease-in-out;
  }
  /* Círculo SVG con la circunferencia calculada (2 * PI * 23) = 144.513 */
  .menuicon__circle {
    transition: stroke-dashoffset .3s linear .1s;
    stroke-dashoffset: 144.513;
    stroke-dasharray: 144.513;
  }

  /* EL SPLASH CIRCULAR DE FONDO */
  .splash {
    position: fixed;
    top: 50px; /* Centrado relativo a la posición de la hamburguesa */
    right: 50px;
    width: 1px;
    height: 1px;
    z-index: 9997;
  }
  .splash::after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 50%;
    background-color: var(--orange); /* Color de fondo completo al abrir */
    width: 284vmax;
    height: 284vmax;
    top: -142vmax;
    left: -142vmax;
    transform: scale(0);
    transform-origin: 50% 50%;
    transition: transform .5s cubic-bezier(0.755, 0.050, 0.855, 0.060);
    will-change: transform;
  }

  /* ==========================================================================
     ESTADOS ACTIVOS (ESTADO ABIERTO)
     ========================================================================== */
  .nav-splash--open > .splash::after {
    transform: scale(1);
  }

  /* Rotación y Cambio de Color del Botón */
  .nav-splash--open .menuicon {
    color: white; /* Cambia a blanco cuando el fondo naranja cubre la pantalla */
    transform: rotate(180deg);
  }
  .nav-splash--open .menuicon__circle {
    stroke-dashoffset: 0;
  }
  .nav-splash--open .menuicon__bar:nth-child(1),
  .nav-splash--open .menuicon__bar:nth-child(4) {
    opacity: 0;
  }
  .nav-splash--open .menuicon__bar:nth-child(2) {
    transform: rotate(45deg);
  }
  .nav-splash--open .menuicon__bar:nth-child(3) {
    transform: rotate(-45deg);
  }

  /* Mostrar los Enlaces en su posición final */
  .nav-splash--open .nav__menu-container {
    visibility: visible;
  }
  .nav-splash--open .nav__menu .menu-item {
    opacity: 1;
    transform: translateY(0);
  }

  .hero-section {
    padding: 100px 20px 60px;
  }

  .hero-section::after,
  .hero-tab-right {
    height: 350px;
  }

  .hero-title {
    margin-bottom: 40px;
  }

  .hero-title-image {
        padding-top: 160px;
        width: 75%;
        max-width: 350px;
    }

  .hero-badge-image {
        max-width: 130px;
    }
  
  .hero-badge {
    justify-content: center;
    margin: 0 auto 40px;
  }

  .badge-number {
    font-size: 5rem;
  }

  .badge-years {
    font-size: 1.3rem;
  }
  
  .hero-subtitle {
    margin-top: 20px;
  }
  
  .hero-description {
    margin-top: 30px;
  }

  .plus-icon {
    font-size: 3.5rem;
  }

  .hablemos {
    padding: 5rem 1.5rem 4rem;
    border-top-right-radius: 60px;
  }

  .hablemos::before {
    width: 250px;
    height: 60px;
  }

  .hablemos::after {
    left: 250px;
    width: 25px;
    height: 25px;
    border-bottom-left-radius: 25px;
    box-shadow: -10px 10px 0 10px var(--orange);
  }

  .hablemos-timeline {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .timeline-line {
    display: none;
  }

  .timeline-btn {
    min-width: 200px;
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .soluciones-section {
    padding: 8rem 0;
  }

  .soluciones-title {
    margin-bottom: 4rem;
  }

  .solucion-item {
    margin-bottom: 3rem;
  }

  /* === CASOS SCROLL TABLET === */
  .casos-scroll {
    padding: 3rem 1rem;
    border-top-left-radius: 25px;
    display: block;
  }

  .featured-header {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin-bottom: 2.5rem;
    width: 100%;
  }

  .featured-header h2 {
    font-size: clamp(2rem, 6vw, 2.8rem);
    text-shadow:
      5px 5px 0 #1fd6c7,
      7px 7px 0 #1fd6c7;
  }

  .featured-grid {
  display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 55px;
  }

  .visual-column {
    min-height: 320px;
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Ocultar decoraciones orbitales */
  .orbit-bg {
    display: none;
  }

  .orbit-dot--white,
  .orbit-dot--orange {
    display: none;
  }

  .orbit-container {
    width: 280px;
    height: 280px;
  }

  .visual-column .case-circle {
    width: 240px;
    height: 240px;
    border-width: 8px;
    box-shadow: 0 0 0 1px #ffffff;
  }

  .content-column {
    order: 2;
    padding: 0 !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .content-column h3 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
  }

  .content-column h4 {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-bottom: 1.5rem;
  }

  .content-column p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    margin-bottom: 14px;
  }

  .case-actions {
    justify-content: center;
    gap: 1rem;
    margin-top: 20px;
    width: 100%;
  }

  .case-actions .case-action strong {
    font-size: clamp(1rem, 2vw, 1.2rem);
  }

  .case-actions .material-symbols-outlined {
    font-size: 1.5rem;
  }

  .separator {
    display: none;
  }

  .indicators-column {
    order: 3;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
  }

  .case-indicators {
    flex-direction: row;
    gap: 12px;
  }

  .case-indicators span {
    width: 16px;
    height: 16px;
  }

  .reconocimientos-section {
    padding: 5rem 0;
    border-top-left-radius: 60px;
  }

  .reconocimientos-section::before {
    height: 80px;
  }

  .premios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .logros-timeline {
    padding: 0 1rem;
  }

  .logro-numero {
    font-size: 2.8rem;
  }

  .clientes-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .footer-wrapper {
    padding-top: 36px;
  }
 
  .footer-inner {
    padding: 2.5rem 2rem 1.5rem;
  }
 
  /* Social pasa a estar estático arriba */
  .footer-social {
    position: static;
    justify-content: center;
    margin-bottom: 1.5rem;
    top: auto;
    right: auto;
    bottom: auto;
  }
 
  /* Grid: columna única centrada */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 1rem 0 0.5rem;
  }
 
  .footer-left {
    justify-content: center;
  }
 
  .footer-title-img {
    width: clamp(200px, 40vw, 300px);
    margin: 0 auto;
  }
 
  /* Centro: fila horizontal con dos secciones */
  .footer-center {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    padding: 0;
  }
 
  .footer-section {
    align-items: center;
  }
 
  .footer-logos {
    justify-content: center;
  }
 
  .footer-logos img {
    height: 44px;
  }
 
  /* Círculo centrado */
  .footer-right {
    justify-content: center;
  }
 
  .footer-logo-circle {
    width: 160px;
    height: 160px;
    margin-bottom: -20px;
  }
 
  /* Contacto centrado */
  .footer-contact {
    text-align: center;
  }
 
  .footer-divider {
    width: calc(100% - 80px);
    margin: 1.2rem 0;
  }
 
  .footer-copy {
    text-align: center;
    font-size: 0.75rem;
  }

  .hero-somos {
    min-height: 50vh;
  }

  .quienes-somos__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quienes-somos__content {
    max-width: 100%;
    text-align: center;
  }

  .soluciones-contenido {
        padding: 60px 40px 80px;
    }

    .soluciones-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Intro ocupa todo el ancho */
    .soluciones-intro__text {
        grid-column: 1 / -1;
        padding: 40px 0 40px 80px;
    }

    .soluciones-intro__title {
        font-size: 36px;
        margin-left: 60px;
        margin-top: 60px;
    }

    .soluciones-intro__desc {
        font-size: 15px;
        margin-left: auto;
        max-width: 300px;
    }

    .soluciones-intro__circle {
        width: 300px;
    }

    .solucion-card {
        aspect-ratio: auto;
        min-height: 200px;
    }

    .solucion-card__title {
        font-size: 18px;
    }

    .solucion-card__desc {
        font-size: 14px;
    }

    .carousel-arrow {
      display: none;
    }
    .soluciones-mobile {
      display: none;
    }

    /* Hero */
  #somos .somos-hero {
    min-height: 45vh;
  }

  #somos .somos-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }

  .quienes-somos-wrapper {
    padding: 40px 10px 60px;
    overflow-x: hidden;
  }

  /* Carrusel + texto: apilados */
  .mindset-top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
    max-width: 600px;
  }

  .mindset-carousel {
    max-width: 100%;
  }

  .mindset-top__text {
    font-size: 1.1rem;
    text-align: center;
  }

  /* SVG diagrama: scroll horizontal */
  .mindset-wrapper {
    max-width: 100%;
    overflow-x: auto;
  }

  .mindset-svg {
    min-width: 700px;
  }

    /* Timeline */
  .somos-timeline {
    padding: 0 0 80px;
  }

  .somos-timeline-carousel-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .somos-timeline__container {
    width: max-content;
    min-width: max-content;
    padding-bottom: 20px;
  }

  .somos-timeline__item {
    width: 180px;
    min-width: 180px;
    margin-right: 30px;
  }

  .somos-timeline__image {
    height: 260px;
    min-height: 260px;
    max-height: 260px;
  }

  .somos-timeline__content {
    height: 130px;
    min-height: 130px;
    max-height: 130px;
  }

  .somos-timeline__container::after {
    top: 484px;
  }

  /* Reconocimientos somos */
  .reconocimientos-somos {
    padding: 6rem 0 4rem;
  }

  .reconocimientos-somos__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .reconocimientos-somos__intro {
    align-items: center;
    padding-top: 0;
    min-height: auto;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .reconocimientos-somos__agency {
    position: static;
    bottom: auto;
    left: auto;
  }

  .reconocimientos-somos__left {
    padding-left: 0;
    display: flex;
    justify-content: center;
  }

  .reconocimientos-somos__list {
    width: fit-content;
  }
  .reconocimientos-somos__left-line-curved{
    display: none;
  }
  .reconocimientos-somos__list li {
    position: relative;
    padding-left: 18px !important;
  }

  .reconocimientos-somos__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #111;
  }

  .reconocimientos-somos__right{
    padding-left: 170px;
  }
    
  .reconocimientos-somos__ranking {
    padding-left: 90px;
  }  

  .reconocimientos-somos__title {
    font-size: 32px;
    margin-bottom: 60px;
  }

  .reconocimientos-somos__awards {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
  }

  /*Aviso de Privacidad*/
  body.privacy-policy main.page-content {
    max-width: 100% !important;
    padding: 0 48px !important;
    margin: 90px auto !important;
  }

  body.privacy-policy main.page-content h1 {
    font-size: 30px !important;
  }

  body.privacy-policy main.page-content p {
    font-size: 16px !important;
    line-height: 1.8 !important;
  }

  body.privacy-policy main.page-content p strong {
    font-size: 18px !important;
  }
}

/* Móviles grandes (768px) */
@media (max-width: 768px) {
  body {
    padding-top: 0px;
  }

  .navbar-brand {
    font-size: 1.4rem !important;
    margin-top: 30px;
  }

  .site-logo {
    height: 35px;
  }

  .nav__toggle {
    right: 20px;
    top: 20px;
  }
  .splash {
    top: 45px;
    right: 45px;
  }

  .hero-section {
    padding: 100px 15px 50px;
  }

  .hero-section::before {
    opacity: 1;
  }

  .hero-title-image {
        width: 75%;
        max-width: 350px;
    }
    
   .hero-soluciones-video {
    object-fit: cover;
  	object-position: center center;
  }

  .hero-section::after,
  .hero-tab-right {
    width: 10px;
    height: 300px;
    border-radius: 30px;
  }

  .title-line-2 {
    -webkit-text-stroke: 2px #000;
  }

  .badge-number {
    font-size: 4.5rem;
  }

  .hero-badge-image {
        max-width: 130px;
    }

  .badge-years {
    font-size: 1.2rem;
  }

  .plus-icon {
    font-size: 3rem;
  }

  .plus-1 { top: 12%; left: 5%; }
  .plus-2 { top: 18%; right: 8%; }
  .plus-3 { bottom: 22%; left: 8%; }
  .plus-4 { bottom: 28%; right: 10%; }

  .hablemos {
    padding: 4rem 1rem 3rem;
    border-top-right-radius: 50px;
  }

  .hablemos::before {
    width: 200px;
    height: 50px;
    border-top-right-radius: 20px;
  }

  .hablemos::after {
  left: 200px; 
  width: 20px; 
  height: 20px;
  border-bottom-left-radius: 20px;
  box-shadow: -10px 10px 0 10px var(--orange); 
}

  .hablemos-title {
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 3vw, 5rem);
  }

  .hablemos-title-img {
    max-width: 280px;
    height: auto;
    margin-bottom: 1rem;
  }

  .hablemos-text {
    margin-bottom: 3rem !important;
    font-size: 18px !important;
  }

  .timeline-btn {
    min-width: 180px;
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
  }

  .soluciones-section {
    padding: 6rem 0;
  }

  .soluciones-title {
    margin-bottom: 3rem;
  }

  .soluciones-title-img {
    max-width: 280px;
  }

  /* ── CARRUSEL WRAPPER ── */
  .soluciones-carousel-wrapper {
    position: relative;
  }

  /* ── FLECHAS ── */
  .soluciones-prev,
  .soluciones-next {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10;
  }

  .soluciones-prev {
    left: 4px;
  }

  .soluciones-next {
    right: 4px;
  }

  .soluciones-prev:hover,
  .soluciones-next:hover {
    background: rgba(255, 255, 255, 0.4);
  }

  .soluciones-prev:disabled,
  .soluciones-next:disabled {
    opacity: 0.25;
    cursor: default;
  }

  /* ── GRID ── */
  .soluciones-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding-bottom: 1.5rem;
    padding-left: 52px !important;
    padding-right: 52px !important;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .soluciones-grid::-webkit-scrollbar {
    display: none;
  }

  .soluciones-grid .col-lg,
  .soluciones-grid [class*="col-"] {
    flex: 0 0 65vw;
    max-width: 65vw;
    scroll-snap-align: center;
  }

  .solucion-item {
    padding: 0 1.5rem;
  }

  /* ── DOTS ── */
  .soluciones-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
  }

  .soluciones-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
  }

  .soluciones-dots span.active {
    background: white;
    transform: scale(1.3);
  }

  .solucion-name {
    margin-top: 54px;
  }

  .solucion-name {
    margin-top: 54px;
  }

  .quienes-somos-wrapper {
    margin-top: -32px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }

  .quienes-somos {
    padding: 60px 0;
  }

  .mindset-center::after,
  .mindset-item::before,
  .mindset-item::after,
  .quienes-somos-claim::before {
    display: none;
  }

  /* === CASOS SCROLL MÓVIL === */
  .casos-scroll {
    padding: 3rem 1rem;
    border-top-left-radius: 25px;
    display: block;
  }

  .featured-header {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin-bottom: 2.5rem;
    width: 100%;
  }

  .featured-header h2 {
    font-size: clamp(2rem, 6vw, 2.8rem);
    text-shadow:
      5px 5px 0 #1fd6c7,
      7px 7px 0 #1fd6c7;
  }

  .featured-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 25px;
  }

  .visual-column {
    min-height: 320px;
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Ocultar decoraciones orbitales en móviles */
  .orbit-bg {
    display: none;
  }

  .orbit-dot--white,
  .orbit-dot--orange {
    display: none;
  }

  .orbit-container {
    width: 280px;
    height: 280px;
  }

  .visual-column .case-circle {
    width: 240px;
    height: 240px;
    border-width: 8px;
    box-shadow: 0 0 0 1px #ffffff;
  }

  .content-column {
    order: 2;
    padding: 0 !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .content-column h3 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
  }

  .content-column h4 {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-bottom: 1.5rem;
  }

  .content-column p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    margin-bottom: 14px;
  }

  .case-actions {
    justify-content: center;
    gap: 1rem;
    margin-top: 20px;
    width: 100%;
  }

  .case-actions .case-action strong {
    font-size: clamp(1rem, 2vw, 1.2rem);
  }

  .case-actions .material-symbols-outlined {
    font-size: 1.5rem;
  }

  .separator {
    display: none;
  }

  .indicators-column {
    order: 3;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
  }

  .case-indicators {
    flex-direction: row;
    gap: 12px;
  }

  .case-indicators span {
    width: 16px;
    height: 16px;
  }

  .reconocimientos-section {
    padding: 4rem 0;
    border-top-left-radius: 50px;
  }

  .reconocimientos-section::before {
    height: 60px;
  }

  /* ── PREMIOS CARRUSEL ── */
  .premios-carousel-wrapper {
    position: relative;
  }

  .premios-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-left: 52px !important;
    padding-right: 52px !important;
    gap: 0;
    max-width: 100%;
    margin: 0 auto 0;
  }

  .premios-grid::-webkit-scrollbar {
    display: none;
  }

  .premio-item {
    flex: 0 0 80vw;
    max-width: 80vw;
    scroll-snap-align: center;
    justify-content: center;
    padding: 1rem 0;
  }

  .premios-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  .premios-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
  }

  .premios-dots span.active {
    background: #000;
    transform: scale(1.3);
  }

  /* ── LOGROS CARRUSEL ── */
  .logros-carousel-wrapper {
    position: relative;
  }

  .logros-timeline {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-left: 52px !important;
    padding-right: 52px !important;
    gap: 0;
    min-height: auto;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
  }

  .logros-timeline::-webkit-scrollbar {
    display: none;
  }

  .timeline-line-horizontal {
    display: none;
  }

  .logro-item {
    flex: 0 0 65vw;
    max-width: 65vw;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0;
    grid-template-columns: unset;
  }

  .logro-dot {
    display:none;
  }

  .logro-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .logro-numero {
    font-size: 4rem;
    height: auto;
    justify-content: center;
  }

  .logro-texto {
    max-width: 140px;
    text-align: center;
  }

  .logros-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  .logros-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
  }

  .logros-dots span.active {
    background: #000;
    transform: scale(1.3);
  }

  /* ── FLECHAS ── */
  .premios-prev, .premios-next,
  .logros-prev, .logros-next {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(0, 0, 0, 0.4);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10;
  }

  .premios-prev, .logros-prev { left: 4px; }
  .premios-next, .logros-next { right: 4px; }

  .premios-prev:hover, .premios-next:hover,
  .logros-prev:hover, .logros-next:hover {
    background: rgba(0, 0, 0, 0.3);
  }

  .premios-prev:disabled, .premios-next:disabled,
  .logros-prev:disabled, .logros-next:disabled {
    opacity: 0.25;
    cursor: default;
  }

  .premio-icon {
    width: 80px;
    height: 80px;
  }

  .clientes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .cliente-logo img {
    max-height: 60px;
  }

  .footer-wrapper {
    padding-top: 28px;
  }

  .site-footer {
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
  }

  .footer-inner {
    padding: 2rem 1.5rem 1.5rem;
  }

  .footer-social {
    gap: 0.6rem;
    margin-bottom: 1.2rem;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
  }

  .footer-social a svg {
    width: 17px;
    height: 17px;
  }

  .footer-title-img {
    width: clamp(180px, 48vw, 260px);
  }

  .footer-center {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    padding: 0;
  }

  .footer-section {
    align-items: center;
    gap: 0.8rem;
  }

  .footer-label {
    font-size: 0.95rem;
  }

  .footer-logos {
    gap: 0.9rem;
    justify-content: center;
  }

  .footer-logos img {
    height: 40px;
  }

  .footer-logo-circle {
    width: 120px;  
    height: 120px;
    margin-bottom: -18px;
  }

  .footer-divider {
    width: calc(100% - 60px);
    margin: 1.1rem 0;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-address a {
    font-size: 0.82rem;
  }

  .footer-copy {
    font-size: 0.72rem;
    text-align: center;
  }

  #soluciones .soluciones-hero {
    padding: 120px 0 80px;
    min-height: 360px;
}

#soluciones .soluciones-hero__title {
    font-size: 3rem;
}

    .solucion-card--desktop {
    display: flex !important;
  }
 
  .card-wrapper {
    display: block !important;
  }
 
  /* Grid: 1 columna, ancho completo */
  .soluciones-main-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
  }
 
  /* Intro ocupa todo el ancho */
  .soluciones-intro__text {
    grid-column: unset;
    padding: 20px 0 24px 0;
    width: 100%;
  }
 
  /* Cards: ancho completo, alto automático sin aspect-ratio */
  .solucion-card {
    width: 100% !important;
    aspect-ratio: unset !important;
    flex: unset !important;
    min-height: auto !important;
    padding: 20px 18px;
    scroll-snap-align: unset;
  }
 
  /* Quitar efecto 3D en móvil (ya estaba así) */
  .card-wrapper:hover .solucion-card {
    transform: none;
  }
 
  .card-wrapper::after {
    display: none;
  }
 
  /* Icono más pequeño en móvil */
  .solucion-card__icon {
    width: 56px;
    height: 56px;
  }
 
  .solucion-card__title {
    font-size: 18px;
  }
 
  .solucion-card__desc {
    font-size: 14px;
    line-height: 1.6;
  }
 
  /* Flechas del carrusel */
  .carousel-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--orange);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
 
  .carousel-arrow--prev { left: 0; }
  .carousel-arrow--next { right: 0; }
 
  .carousel-arrow.hidden {
    opacity: 0;
    pointer-events: none;
  }

   /* Hero */
  #somos .somos-hero {
    min-height: 35vh;
  }

  #somos .somos-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  /*Oculta version desktop del diagrama*/
  .mindset-svg {
    display: none;
  }

  .quienes-somos-wrapper {
    margin-top: -32px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 30px 16px 40px;
    overflow-x: hidden;
  }

  .mindset-top {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
    max-width: 100%;
  }

  .mindset-top__text {
    font-size: 0.8rem;
    text-align: left;
  }

  .mindset-wrapper {
    overflow: visible;
    padding: 0;
  }

  /* ── Diagrama móvil ── */
  .mindset-mobile {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  visibility: visible !important;
  opacity: 1 !important;
}

  .mindset-mobile__diagram {
    display: grid !important;;
    grid-template-columns: 1fr 130px 1fr;
    align-items: center;
    width: 100%;
    position: relative;
  }

  .mindset-mobile__diagram::before {
    display: none;
  }

  .mindset-mobile__diagram::after {
  content: '';
  position: absolute;
  left: 50%;
  top: calc(50% + 60px);
  bottom: -50px;
  width: 1px;
  background: #111;
  transform: translateX(-50%);
  z-index: 0;
}

  .mindset-mobile__col-left {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-end;
    height: 100%;
    padding-right: 20px;
    padding-left: 0;
    position: relative;
  }

  .mindset-mobile__col-right {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    height: 100%;
    padding-left: 20px;
    padding-right: 0;
    position: relative;
  }

  .mindset-mobile__col-left,
  .mindset-mobile__col-right {
    width: 100%;
  }

  .mindset-mobile__brace {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 14px;
    height: 100%;
  }

  .mindset-mobile__col-left .mindset-mobile__brace {
    right: 10px;
    left: auto;
  }

  .mindset-mobile__col-right .mindset-mobile__brace {
    left: 10px;
    right: auto;
  }

  .mindset-mobile__valor {
    padding: 8px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
    position: relative;
  }

  .mindset-mobile__col-left .mindset-mobile__valor {
    text-align: right;
  }

  .mindset-mobile__col-right .mindset-mobile__valor {
    text-align: left;
  }

  .mindset-mobile__valor h4 {
    font-size: 12px;
    font-family: var(--font-body);
    color: var(--cyan);
    margin: 0 0 3px 0;
    font-weight: 700;
    line-height: 1.2;
  }

  .mindset-mobile__valor p {
    font-size: 10px;
    font-family: var(--font-body);
    color: #555;
    line-height: 1.4;
    margin: 0;
  }

  /* Punto en columna IZQUIERDA — aparece a la derecha del bloque
   (lado que da al círculo) */
  .mindset-mobile__col-left .mindset-mobile__valor::after {
    content: '';
    position: absolute;
    right: -21px; /* sale del padding-right de la columna, apunta hacia el centro */
    top: 35%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #F26A21;
    z-index: 5;
  }
  
  /* Punto en columna DERECHA — aparece a la izquierda del bloque */
  .mindset-mobile__col-right .mindset-mobile__valor::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 30%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #F26A21;
    z-index: 5;
  }

  /* Wrapper hoja + círculo: centrado en la columna del medio */
  .mindset-mobile__circle-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 2;
    align-self: center;
  }
  
  /* SVG de la hoja */
  .mindset-mobile__leaf {
    display: block;
    width: 48px;
    height: 26px;
    margin-bottom: -2px;
    position: relative;
    z-index: 3;
    transform: translateX(-8px);
  }

  .mindset-mobile__circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    align-self: center;
  }

  .mindset-mobile__circle h2 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1.1;
    margin-bottom: 4px;
    text-transform: uppercase;
  }

  .mindset-mobile__circle p {
    font-family: var(--font-body);
    font-size: 9px;
    color: #fff;
    opacity: 0.9;
    line-height: 1.3;
    margin: 0;
  }

  .mindset-mobile__footer {
    position: relative;
    z-index: 1;
    border: 1px solid #111;
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 16px;
    color: #222;
    width: 100%;
    background: #fff;
    margin-top: 50px;
  }
  
  /* ── TIMELINE CARRUSEL ── */
  .somos-timeline {
    padding: 0 0 60px;
    margin-bottom: 30px;
  }

  .somos-timeline__container {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: flex-start;
    padding: 0 48px 20px;
    gap: 0;
  }

  .somos-timeline__container::-webkit-scrollbar {
    display: none;
  }

  /* Ocultar línea horizontal en carrusel */
  .somos-timeline__container::after {
    display: none;
  }

  .somos-timeline__item {
    flex: 0 0 72vw;
    max-width: 72vw;
    width: 72vw;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* ── ZONA IMAGEN: altura fija siempre ── */
  .somos-timeline__image {
    width: 85%;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    margin-left: 0;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    flex-shrink: 0;
    display: block !important;
  }

  .somos-timeline__item.no-image .somos-timeline__image {
    visibility: hidden;
    display: block !important;
  }

  /* ── ZONA TEXTO: altura fija ── */
  .somos-timeline__content {
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
    overflow: hidden;
  }

  .somos-timeline__content::before {
    display: none;
  }

  .somos-timeline__content p {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0;
    font-size: 15px;
    line-height: 1.5;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
  }

  /* ── ZONA AÑO: altura fija ── */
  .somos-timeline__year {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0;
    background: #fff;
  }

  /* ── ZONA DOT: altura fija ── */
  .somos-timeline__dot {
    margin: 10px auto;
    flex-shrink: 0;
  }

  /* ── ZONA UBICACIÓN: altura fija siempre ── */
  .somos-timeline__location {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin: 0;
  }

  /* Items sin ubicación reservan el mismo espacio */
  .somos-timeline__item:not(:has(.somos-timeline__location))::after {
    content: '';
    display: block;
    height: 24px;
  }

  /* ── FLECHAS ── */
  .somos-timeline-prev,
  .somos-timeline-next {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.3);
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
    z-index: 10;
  }

  .somos-timeline-prev { left: 4px; }
  .somos-timeline-next { right: 4px; }

  .somos-timeline-prev:hover,
  .somos-timeline-next:hover {
    background: rgba(0, 0, 0, 0.2);
  }

  .somos-timeline-prev:disabled,
  .somos-timeline-next:disabled {
    opacity: 0.25;
    cursor: default;
  }

  /* ── DOTS ── */
  .somos-timeline-dots {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
  }

  .somos-timeline-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
  }

  .somos-timeline-dots span.active {
    background: #333;
    transform: scale(1.3);
  }

  /* ── RECONOCIMIENTOS SOMOS ── */
  /* ── RECONOCIMIENTOS SOMOS ── */
  section.reconocimientos-somos-wrapper .reconocimientos-somos__grid {
    display: flex !important;
    flex-direction: column !important; /* Apilado vertical */
    flex-wrap: nowrap !important;       /* Evita que se rompa hacia los lados */
    overflow-x: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 20px !important;
    margin: 0 auto !important;
    gap: 3.5rem !important;             /* Separación uniforme entre bloques */
  }

  /* Forzamos el comportamiento centrado en los 3 bloques */
  section.reconocimientos-somos-wrapper .reconocimientos-somos__intro,
  section.reconocimientos-somos-wrapper .reconocimientos-somos__left,
  section.reconocimientos-somos-wrapper .reconocimientos-somos__right {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;    /* Centra los elementos */
    justify-content: center !important;
    text-align: center !important;     /* Centra los textos */
    padding: 0 !important;
    margin: 0 auto !important;
  }

  /* BLOQUE 1: Centrado de la Burbuja y Agency Scope */
  section.reconocimientos-somos-wrapper .reconocimientos-somos__bubble {
    margin: 0 auto 1.5rem auto !important;
  }

  section.reconocimientos-somos-wrapper .reconocimientos-somos__agency {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 auto !important;
  }

  /* BLOQUE 2: Centrado de la Lista de Logros (Sin viñetas desalineadas) */
  section.reconocimientos-somos-wrapper .reconocimientos-somos__left-line-curved {
    display: none !important; /* Oculta el SVG de la línea curva */
  }

  section.reconocimientos-somos-wrapper .reconocimientos-somos__list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; 
    padding-left: 35px !important;      /* Mata el sangrado por defecto de las listas */
    margin: 0 auto !important;
    width: 100% !important;
    list-style: none !important;     /* Elimina los puntos para centrar perfecto */
  }

  section.reconocimientos-somos-wrapper .reconocimientos-somos__list li {
    text-align: left !important;
    width: 100% !important;
    list-style-type: none !important;
    margin-bottom: 12px;
  }

  /* BLOQUE 3: Centrado de los Rankings */
  section.reconocimientos-somos-wrapper .reconocimientos-somos__ranking {
    padding-left: 0 !important; /* Elimina el desvío lateral de escritorio */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    width: 100% !important;
  }

  section.reconocimientos-somos-wrapper .reconocimientos-somos__ranking .reconocimientos-somos__right-line-curved {
    display: none !important; /* Oculta el SVG curvo del tercer bloque */
  }

  section.reconocimientos-somos-wrapper .reconocimientos-somos__ranking-item {
    display: flex !important;
    flex-direction: column !important; /* Apila el número arriba del texto */
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
  }

  /* Ocultamos los componentes de navegación obsoletos del carrusel */
  .reconocimientos-somos-prev,
  .reconocimientos-somos-next,
  .reconocimientos-somos-dots {
    display: none !important;
  }

  /* ── AWARDS ── */
  .reconocimientos-somos__awards {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 0 16px;
  }

  .reconocimientos-somos__awards-item {
    font-size: 22px;
    gap: 8px;
  }

  .reconocimientos-somos__awards-icon {
    width: 50px;
    height: 50px;
  }

  /********* Casos Grid *************/
  /* Hero */
  #casos-exito .casos-hero {
    padding: 120px 20px 80px;
    min-height: 340px;
  }

  #casos-exito .casos-hero__title {
    font-size: 2.8rem;
    letter-spacing: 1px;
  }

  /* Wrapper */
  .casos-grid-wrapper {
    margin-top: -30px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding-bottom: 60px;
  }

  /* Grid: 1 columna */
  .casos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 20px 60px;
  }

  /* Panel featured: OCULTO en mobile, se usa modal */
  .caso-featured-panel,
  .caso-featured-panel.active {
    display: none !important;
  }

  /* ---- MODAL FULLSCREEN MOBILE ---- */
  .caso-modal-mobile {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #1e1e1e;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999999;
  }

  .caso-modal-mobile.active {
    display: block;
    animation: slideUpModal 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  @keyframes slideUpModal {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  @keyframes slideDownModal {
    from { transform: translateY(0);    opacity: 1; }
    to   { transform: translateY(100%); opacity: 0; }
  }

  .caso-modal-mobile.closing {
    display: block; /* debe seguir visible mientras anima */
    animation: slideDownModal 0.28s cubic-bezier(0.55, 0, 1, 0.45) forwards;
  }

  /* Botón cerrar fijo arriba */
  .caso-modal-mobile__close {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    padding: 16px 20px 8px;
    background: #1e1e1e;
  }

  .caso-modal-mobile__close button {
    background: #00b5a5;
    border: none;
    color: white;
    font-size: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
  }

  .caso-modal-mobile__close button:hover {
    background: #e85d04;
  }

  /* Contenido del modal mobile */
  .caso-modal-mobile__body {
    padding: 40px 20px 48px;
  }

  /* Header */
  .caso-modal-mobile__body .caso-featured-header {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }

  .caso-modal-mobile__body .caso-nombre {
    font-size: 32px;
    line-height: 1.1;
  }

  .caso-modal-mobile__body .caso-cliente {
    font-size: 18px;
  }

  .caso-modal-mobile__body .caso-modal-icons {
    justify-content: flex-start;
  }

  /* Media */
  .caso-modal-mobile__body .caso-featured-media {
    margin-bottom: 20px;
    max-height: none;
  }

  /* Body: columnas en stack */
  .caso-modal-mobile__body .caso-featured-body {
    grid-template-columns: 1fr;
    gap: 24px;
    font-size: 16px;
    line-height: 1.7;
  }

  /* Tabla métricas */
  .caso-modal-mobile__body .caso-col-right th,
  .caso-modal-mobile__body .caso-col-right td {
    font-size: 14px;
    padding: 8px 10px;
  }

  /* Ocultar divider/close del panel en mobile */
  .caso-featured-close-wrapper {
    display: none;
  }

  /*=======Aviso de Privacidad========*/
  body.privacy-policy main.page-content {
    max-width: 100% !important;
    padding: 20 28px !important;
    margin: 0px 0 40px !important;
  }

  body.privacy-policy main.page-content h1 {
    font-size: 26px !important;
    margin-bottom: 18px !important;
  }

  body.privacy-policy main.page-content p {
    font-size: 15px !important;
    line-height: 1.75 !important;
    margin-bottom: 14px !important;
    text-align: left !important; /* justify se ve mal en móvil */
    hyphens: none !important;
    -webkit-hyphens: none !important;
  }

  body.privacy-policy main.page-content p strong {
    font-size: 16px !important;
    margin-top: 20px !important;
  }
    
}

/* Móviles pequeños (576px) */
@media (max-width: 576px) {
  body {
    padding-top: 0px;
  }

  .navbar-brand {
    font-size: 1.2rem !important;
    margin-top: 20px;
  }

  .navbar-nav .nav-link {
    font-size: 1rem !important;
    margin-top: 20px;
    padding: 0.3rem 0.6rem !important;
  }

  .hero-section {
    padding: 100px 10px 40px;
  }

  .hero-title-image {
    width: 65%;
    max-width: 280px;
  }

  .hero-section::after,
  .hero-tab-right {
    width: 8px;
    height: 250px;
    border-radius: 25px;
  }

  .hero-badge {
    padding: 15px 25px;
    gap: 15px;
  }
  
  .badge-number {
    font-size: 3.5rem;
    text-shadow: 
      5px 5px 0 var(--cyan),
      7px 7px 0 var(--cyan),
      0 0 15px rgba(0, 0, 0, 0.3);
  }

  .badge-years {
    font-size: 1rem;
    letter-spacing: 2px;
    text-shadow: 
      3px 3px 0 var(--cyan),
      4px 4px 0 var(--cyan);
  }

  .plus-icon {
    font-size: 2.5rem;
  }

  .plus-1 { top: 10%; left: 3%; }
  .plus-2 { top: 15%; right: 5%; }
  .plus-3 { bottom: 20%; left: 5%; }
  .plus-4 { bottom: 25%; right: 8%; }

  .hablemos {
    padding: 3rem 0.8rem 2.5rem;
    border-top-right-radius: 40px;
  }

  .hablemos::before {
    width: 150px;
    height: 40px;
    border-top-right-radius: 20px;
  }

  .hablemos::after {
    left: 150px;
    width: 20px; 
    height: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: -10px 10px 0 10px var(--orange);
  }

  .timeline-btn {
    min-width: 160px;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }

  .soluciones-section {
    padding: 5rem 0;
    border-bottom-right-radius: 25px;
  }

  .soluciones-title {
    margin-bottom: 2.5rem;
  }

  .solucion-icon svg {
    width: 34px;
    height: 34px;
    top: -38px;
    left: 20px;
  }

  .solucion-name {
    margin-top: 50px;
  }

  .hero-somos {
    min-height: 40vh;
  }

  /* === CASOS SCROLL MÓVIL PEQUEÑO === */
  .casos-scroll {
    padding: 2.5rem 0.8rem;
    border-top-left-radius: 20px;
  }

  .featured-header {
    margin-bottom: 1.5rem;
  }

  .featured-header h2 {
    font-size: clamp(1.8rem, 6vw, 2.3rem);
    text-shadow:
      4px 4px 0 #1fd6c7,
      6px 6px 0 #1fd6c7;
  }

  .featured-grid {
    gap: 1.5rem;
  }

  .visual-column {
    min-height: 260px;
  }

  .orbit-container {
    width: 220px;
    height: 220px;
  }

  .visual-column .case-circle {
    width: 200px;
    height: 200px;
    border-width: 6px;
  }

  .content-column {
    padding: 0 0.5rem;
  }

  .content-column h3 {
    font-size: clamp(1.6rem, 4vw, 2rem);
    margin-bottom: 0.5rem;
  }

  .content-column h4 {
    font-size: clamp(0.85rem, 2vw, 1rem);
    margin-bottom: 1.2rem;
  }

  .content-column p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    margin-bottom: 12px;
    line-height: 1.5;
  }

  .case-actions {
    gap: 0.8rem;
    margin-top: 16px;
  }

  .case-actions .case-action strong {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    gap: 0.4rem;
  }

  .case-actions .material-symbols-outlined {
    font-size: 1.3rem;
  }

  .case-indicators {
    gap: 10px;
  }

  .case-indicators span {
    width: 14px;
    height: 14px;
    border-width: 1.5px;
  }

  .reconocimientos-section {
    padding: 3rem 0;
    border-top-left-radius: 40px;
  }

  .reconocimientos-section::before {
    height: 40px;
    border-top-left-radius: 30px;
  }

  .premio-icon {
    width: 70px;
    height: 70px;
  }

  .premio-icon svg {
    width: 36px;
    height: 36px;
  }

  .logro-numero {
    font-size: 2.2rem;
  }

  .logro-texto {
    font-size: 1.2rem;
    max-width: 100px;
  }

  .clientes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .cliente-logo {
    padding: 0.5rem;
  }

  .cliente-logo img {
    max-height: 50px;
  }

  .footer-wrapper {
    padding-top: 20px;
  }

  .site-footer {
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
  }

  .footer-inner {
    padding: 1.8rem 1.2rem 1.2rem;
  }

  .footer-social {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .footer-social a {
    width: 34px;
    height: 34px;
  }

  .footer-social a svg {
    width: 15px;
    height: 15px;
  }

  .footer-title-img {
    width: clamp(160px, 52vw, 220px);
  }

  /* Centro: colapsa a columna */
  .footer-center {
    flex-direction: column;
    gap: 1.4rem;
    align-items: center;
  }

  .footer-label {
    font-size: 0.85rem;
  }

  .footer-logos {
    gap: 0.8rem;
    justify-content: center;
  }

  .footer-logos img {
    height: 34px;
  }

  .footer-logo-circle {
    width: 100px;   
    height: 100px;
    margin-bottom: -14px;
  }

  .footer-divider {
    width: calc(100% - 40px);
    margin: 0.9rem 0;
  }

  /* Dirección en columna */
  .footer-address {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-style: normal;
  }

  .footer-address a {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .footer-copy {
    font-size: 0.60rem;
  }
    
  #casos-exito .casos-hero{
    min-height: 28vh;
    max-height: 40vh;
  }

  #casos-exito .casos-hero__title img {
    max-height: 70px;
  }

  #soluciones .soluciones-hero {
    min-height: 28vh;
    max-height: 40vh;
  }

  #soluciones .soluciones-hero__title img {
    height: 70px;
    width:100%;  
  }

    .soluciones-contenido {
        padding: 40px 16px 50px;
    }

    .soluciones-main-grid {
    gap: 12px;
  }
 
  .solucion-card {
    padding: 16px 14px;
  }
 
  .solucion-card__icon {
    width: 46px;
    height: 46px;
  }
 
  .solucion-card__title {
    font-size: 16px;
  }
 
  .solucion-card__desc {
    font-size: 13px;
  }

  #somos .somos-hero {
    min-height: 28vh;
    max-height: 40vh;
  }

  #somos .somos-title img {
    max-height: 70px;
  }

  #somos .somos-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

    .mindset-mobile__diagram {
      grid-template-columns: 1fr 110px 1fr;
    }
  
    .mindset-mobile__col-left {
      padding-right: 16px;
    }
  
    .mindset-mobile__col-right {
      padding-left: 16px;
    }
  
    .mindset-mobile__col-left .mindset-mobile__brace {
      right: 8px;
    }
  
    .mindset-mobile__col-right .mindset-mobile__brace {
      left: 8px;
    }
  
    .mindset-mobile__valor {
      min-height: 60px;
    }
  
    .mindset-mobile__valor h4 {
      font-size: 11px;
    }
  
    .mindset-mobile__valor p {
      font-size: 9px;
    }
  
    /* Puntos — ajustar posición al nuevo padding */
    .mindset-mobile__col-left .mindset-mobile__valor::after {
      right: -11px;
      width: 10px;
      height: 10px;
    }
  
    .mindset-mobile__col-right .mindset-mobile__valor::before {
      left: -11px;
      width: 10px;
      height: 10px;
    }
  
    /* Hoja y círculo ligeramente más pequeños */
    .mindset-mobile__leaf {
      width: 46px;
      height: 24px;
    }
  
    .mindset-mobile__circle {
      width: 110px;
      height: 110px;
      padding: 10px;
    }
  
    .mindset-mobile__circle h2 {
      font-size: 13px;
    }
  
    .mindset-mobile__circle p {
      font-size: 8.5px;
    }
  
    /* Línea inferior: recalcular con el nuevo radio del círculo (55px) */
    .mindset-mobile__diagram::after {
      top: calc(50% + 55px);
    }
  
    .mindset-mobile__footer {
      font-size: 14px;
      padding: 14px 16px;
      margin-top: 40px;
  }


  .somos-timeline__item {
    flex: 0 0 82vw;
    max-width: 82vw;
    width: 82vw;
  }

  .somos-timeline__image {
    height: 180px;
    min-height: 180px;
    max-height: 180px;
  }
    
  section.reconocimientos-somos-wrapper .reconocimientos-somos__intro,
  section.reconocimientos-somos-wrapper .reconocimientos-somos__left,
  section.reconocimientos-somos-wrapper .reconocimientos-somos__right {
    padding: 0 0 0 0px !important;
  }  
   
  section.reconocimientos-somos-wrapper .reconocimientos-somos__list {
    padding-left: 5px !important;
  }  

  .reconocimientos-somos__intro,
  .reconocimientos-somos__left,
  .reconocimientos-somos__right {
    flex: 0 0 88vw;
    max-width: 88vw;
  }

  .reconocimientos-somos__bubble {
    width: 160px;
    height: 160px;
    font-size: 20px;
    padding: 16px;
  }

  .reconocimientos-somos__ranking-number {
    font-size: 48px;
    min-width: 70px;
  }

  .reconocimientos-somos__ranking-number--top15 .top-num {
    font-size: 48px;
  }

  .reconocimientos-somos__ranking-number--top15 .top-word {
    font-size: 20px;
  }

  .reconocimientos-somos__ranking-item p {
    font-size: 16px;
  }

  .reconocimientos-somos__title {
    font-size: 20px;
  }
  
  .caso-modal-mobile__body .caso-nombre {
    font-size: 28px;
  }
  .casos-grid {
    padding: 24px 14px 48px;
    gap: 14px;
  }

  /*Aviso de Privacidad*/
  body.privacy-policy main.page-content {
    padding: 0 18px !important;
    margin: 0px 0 32px !important;
  }

  body.privacy-policy main.page-content h1 {
    font-size: 22px !important;
  }

  body.privacy-policy main.page-content p {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  body.privacy-policy main.page-content p strong {
    font-size: 15px !important;
  }

}

/* Móviles muy pequeños (400px) */
@media (max-width: 400px) {
  .navbar-brand {
    font-size: 1.1rem !important;
  }

  body {
    padding-top: 0px;
  }

  .hero-title-image {
    width: 100%;
    max-width: 240px;
  }

  .navbar-nav .nav-link {
    font-size: 0.9rem !important;
  }

  .badge-number {
    font-size: 3rem;
  }

  .badge-years {
    font-size: 0.9rem;
  }

  .timeline-btn {
    min-width: 140px;
    padding: 0.75rem 1.2rem;
    font-size: 0.85rem;
  }

  /* === CASOS SCROLL EXTRA PEQUEÑO === */
  .casos-scroll {
    padding: 2rem 0.5rem;
  }

  .featured-header h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    text-shadow:
      3px 3px 0 #1fd6c7,
      5px 5px 0 #1fd6c7;
  }

  .visual-column {
    min-height: 220px;
  }

  .orbit-container {
    width: 190px;
    height: 190px;
  }

  .visual-column .case-circle {
    width: 180px;
    height: 180px;
    border-width: 5px;
  }

  .content-column h3 {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
  }

  .content-column h4 {
    font-size: 0.8rem;
  }

  .content-column p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .case-actions .case-action strong {
    font-size: 0.85rem;
  }

  .case-actions .material-symbols-outlined {
    font-size: 1.2rem;
  }
  
  .indicators-column {
    position: relative !important; 
    top: auto !important;          
    right: auto !important;        
    transform: none !important;    
    /* Mantiene tus flexbox activos para centrar horizontalmente */
    order: 3; 
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
  }  

  .case-indicators span {
    width: 12px;
    height: 12px;
  }
    
  .reconocimientos-section::after {   
    height: 14px;         
    border-bottom-right-radius: 20px;
    box-shadow: 15px 15px 0 15px var(--cyan); 
  }

  .hablemos-wrapper{
    background-color: #11c6be;
  }  

  .footer-wrapper {
    padding-top: 14px;
  }

  .site-footer {
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
  }

  .footer-inner {
    padding: 1.4rem 1rem 1rem;
  }

  .footer-social {
    gap: 0.4rem;
    margin-bottom: 0.9rem;
  }

  .footer-social a {
    width: 30px;
    height: 30px;
  }

  .footer-social a svg {
    width: 13px;
    height: 13px;
  }

  .footer-title-img {
    width: clamp(140px, 58vw, 190px);
  }

  .footer-center {
    gap: 1rem;
  }

  .footer-label {
    font-size: 0.78rem;
  }

  .footer-logos img {
    height: 28px;
  }

  .footer-logo-circle {
    width: 80px;  
    height: 80px;
    margin-bottom: -10px;
  }

  .footer-logo-img {
    width: 88%;
  }

  .footer-divider {
    width: calc(100% - 20px);
    margin: 0.7rem 0;
  }

  .footer-address a {
    font-size: 0.7rem;
  }

  .footer-copy {
    font-size: 0.58rem;
  }

  #soluciones .soluciones-hero__title {
        font-size: 2rem;
    }

    .soluciones-contenido {
        padding: 32px 12px 60px;
    }

    .solucion-card {
      padding: 14px 12px;
    }
  
    .solucion-card__title {
      font-size: 14px;
    }
  
    .solucion-card__desc {
      font-size: 12px;
    }
  
  #somos .somos-title {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
  }

  .mindset-mobile__diagram {
    grid-template-columns: 1fr 96px 1fr;
  }
 
  .mindset-mobile__col-left {
    padding-right: 12px;
  }
 
  .mindset-mobile__col-right {
    padding-left: 12px;
  }
 
  .mindset-mobile__col-left .mindset-mobile__brace {
    right: 4px;
  }
 
  .mindset-mobile__col-right .mindset-mobile__brace {
    left: 4px;
  }
 
  .mindset-mobile__valor {
    min-height: 54px;
  }
 
  .mindset-mobile__valor h4 {
    font-size: 10px;
  }
 
  .mindset-mobile__valor p {
    font-size: 8.5px;
  }
 
  /* Puntos */
  .mindset-mobile__col-left .mindset-mobile__valor::after {
    right: -10px;
    width: 9px;
    height: 9px;
  }
 
  .mindset-mobile__col-right .mindset-mobile__valor::before {
    left: -10px;
    width: 9px;
    height: 9px;
  }
 
  /* Hoja y círculo más compactos */
  .mindset-mobile__leaf {
    width: 40px;
    height: 20px;
  }
 
  .mindset-mobile__circle {
    width: 96px;
    height: 96px;
    padding: 8px;
  }
 
  .mindset-mobile__circle h2 {
    font-size: 11px;
  }
 
  .mindset-mobile__circle p {
    font-size: 7.5px;
  }
 
  /* Línea inferior: radio 48px */
  .mindset-mobile__diagram::after {
    top: calc(50% + 48px);
  }
 
  .mindset-mobile__footer {
    font-size: 13px;
    padding: 12px 14px;
    margin-top: 32px;
  }

  .somos-timeline__item {
    flex: 0 0 88vw;
    max-width: 88vw;
    width: 88vw;
  }

  .somos-timeline__image {
    height: 150px;
    min-height: 150px;
    max-height: 150px;
  }

  .reconocimientos-somos__intro,
  .reconocimientos-somos__left,
  .reconocimientos-somos__right {
    flex: 0 0 92vw;
    max-width: 92vw;
  }

  .reconocimientos-somos__bubble {
    width: 140px;
    height: 140px;
    font-size: 18px;
  }

  .reconocimientos-somos__ranking-number {
    font-size: 42px;
    min-width: 60px;
  }

  .reconocimientos-somos__ranking-number--top15 .top-num {
    font-size: 42px;
  }
  
  .caso-modal-mobile__body .caso-nombre {
    font-size: 24px;
  }
  .casos-grid {
    padding: 20px 12px 40px;
    gap: 12px;
  }

  /*Aviso de Privacidad*/
  body.privacy-policy main.page-content {
    padding: 0 14px !important;
    margin: 0px 0 24px !important;
  }

  body.privacy-policy main.page-content h1 {
    font-size: 20px !important;
  }

  body.privacy-policy main.page-content p {
    font-size: 13px !important;
    line-height: 1.65 !important;
    margin-bottom: 12px !important;
  }

  body.privacy-policy main.page-content p strong {
    font-size: 14px !important;
  }

}



