/* === Avenir Font === */
@font-face {
  font-family: "Avenir";
  src: url("../fonts/AvenirLTStd-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/*@font-face {
  font-family: "Avenir";
  src: url("../fonts/AvenirLTStd-Roman.otf") format("opentype");
  font-weight: 400;    Para otra fuente.
  font-style: normal;
  font-display: swap;
}*/

@font-face {
  font-family: "Avenir";
  src: url("../fonts/AvenirLTStd-Black.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* === VARIABLES & RESET === */

:root {
  --bg: #171928;
  --text: #fff;
  --muted: #bbb;
  --brand: #0E9CD9;
   --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 10px 24px rgba(0,0,0,.08);
  --maxw: 1200px;
}
body {
  margin: 0;
  font-family: "Avenir", "Helvetica Neue", Arial, sans-serif;
}
/* ===== HEADER / NAV ===== */
.site-header { background: var(--bg); position: sticky; top: 0; z-index: 1000; }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.brand { display:flex; align-items:center; gap:10px; }
.brand-logo { height:48px; width:auto; }
.brand-text { font-size:22px; font-weight:700; color:var(--text); letter-spacing:1px; }
.brand-text .accent { color:var(--brand); }

.nav { display:flex; align-items:center; gap:24px; }
.nav a { color:var(--text); text-decoration:none; font-size:14px; text-transform:capitalize; position:relative; opacity:.95; }
.nav a:hover { color:var(--brand); opacity:1; }
.nav a.active::after { content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--text); }

.btn-login { background:var(--brand); color:#000; padding:8px 16px; border-radius:20px; font-weight:700; border:0; cursor:pointer; }


/* Menú móvil por checkbox */
#menu-toggle { display:none; }
.hamburger { display:none; font-size:24px; color:var(--text); cursor:pointer; }
@media (max-width: 900px){
  .hamburger{ display:block; }
  .nav{
    position:absolute; left:0; right:0; top:70px; background:var(--bg);
    flex-direction:column; gap:16px; padding:16px;
    transform:translateY(-120%); transition:.3s;
  }
  #menu-toggle:checked ~ .nav{ transform:translateY(0); }
}

/* Utilidad general para dar aire a secciones largas */
.section-spacing { padding-top: clamp(72px, 9vh, 120px); padding-bottom: clamp(72px, 9vh, 120px); }

/* ===== Desactivar mayúsculas forzadas ===== */
h1, h2, h3, h4, h5, h6,
.soluciones-page .header h1,
.solution-title,
.t-head h2,
.panel-header h2,
.footer-column h3 {
  text-transform: none !important; /* respeta como lo escribes */
}


.solutions-grid .solution-title,
.soluciones-page .solution-title {
  text-transform: none !important; 
}
/* ===== BANNER ===== */

.hero-slider{ position:relative; }

.hero-slider .slider{
  /* FULL BLEED */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* Altura dinámica: usa --heroH si la pone JS; si no, este fallback */
  height: var(--heroH, clamp(180px, 28vw, 560px));

  /* Límite por alto de pantalla (unidades modernas + fallback) */
  max-height: min(78svh, 620px);
  min-height: 140px;
  position: relative;
  overflow: hidden;
  background:#0b1220;
  border-radius: 0;
}
@supports not (height: 1svh){
  .hero-slider .slider{ max-height: min(78vh, 620px); }
}

.hero-slider .slider input{ display:none; }

.hero-slider .slides{
  display:flex; width:300%; height:100%;
  transition: transform .6s ease; will-change: transform;
}
.hero-slider .slide{ flex:0 0 33.3333%; height:100%; position:relative; }

/* Imagen SIN FRANJAS (LLENA). Anclada abajo para proteger la base del arte */
.hero-slider .slide img{
  width:100%; height:100%; display:block;
  object-fit: cover;
  object-position: center bottom; /* ajusta por slide con data-focus si quieres */
  background:#0b1220;
}

/* Dots centrados y fijos dentro del slider */
.hero-slider .dots{
  position:absolute; left:0; right:0;
  bottom: clamp(10px, 1.2vw, 18px);
  display:flex; justify-content:center; gap:10px;
  z-index:5; pointer-events:auto;
}
.hero-slider .dots label{
  width:10px; height:10px; border-radius:50%;
  background: rgba(255,255,255,.75); cursor:pointer;
}

/* Navegación por radios */
#s1:checked ~ .slides{ transform: translateX(0%); }
#s2:checked ~ .slides{ transform: translateX(-33.3333%); }
#s3:checked ~ .slides{ transform: translateX(-66.6667%); }

#s1:checked ~ .dots label:nth-child(1),
#s2:checked ~ .dots label:nth-child(2),
#s3:checked ~ .dots label:nth-child(3){ background:#fff; }

/* ===== SECCIÓN VIDEO ===== */                                                                                                                                     
.video-section {
  background: #fff;
}

.video-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  width: min(1200px, 92%);
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: visible;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}

.video-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--bg) 0%, var(--brand) 50%, #0a7ea4 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}

.video-container::after {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 0;
  width: 0;
  background: linear-gradient(135deg, rgba(14, 156, 217, 0.1) 0%, rgba(14, 156, 217, 0.05) 100%);
  transition: width 0.4s ease;
}

.video-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(14, 156, 217, 0.3);
  border-color: var(--brand);
}

.video-container:hover::after {
  width: 8px;
}

.video-text {
  position: relative;
  z-index: 1;
}

.video-text h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: #000;
  margin-bottom: 16px;
}

.video-text .accent {
  color: var(--brand);
}

.video-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.video-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  position: relative;
  z-index: 1;
}

.video-frame {
  display: block;
  width: 100%;
  height: clamp(260px, 45vh, 480px);
  object-fit: cover;
}

/* Responsivo */
@media (max-width: 900px) {
  .video-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }
  .video-text {
    order: 1;
  }
  .video-box {
    order: 2;
  }
}

/* ===== Métricas ===== */
.metrics{ text-align:center; background:#fff; }
.container-metrics{ width:min(1100px,92%); margin:0 auto; }
.metrics-title{ font-size:clamp(26px,3.4vw,40px); font-weight:800; color:var(--brand); margin-bottom:8px; }
.metrics-sub{ color:#555; margin-bottom:32px; }
.metrics-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:24px; }
.metric{ padding:20px; border-radius:var(--radius); box-shadow:var(--shadow); text-align:center; }
.metric-img{ height:64px; margin:0 auto 12px; object-fit:contain; }
.metric-label{ font-weight:700; font-size:1.1rem; }
.metric-number{ font-size:2rem; font-weight:900; color:var(--brand); margin:8px 0; }
.metric-desc{ font-size:.95rem; color:#555; }



/* === BOTONES FLOTANTES === */
.fab-wrap {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 9999;
}

.fab {
    font-family: "Avenir", sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 50px;
    border: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    background: var(--brand);
    color: white; /* CAMBIADO A BLANCO */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.fab img, .fab i {
    width: 24px;
    height: 24px;
    object-fit: contain;
    color: white; /* ICONOS EN BLANCO */
    filter: brightness(0) invert(1); /* FUERZA LOS ICONOS A BLANCO */
}

.fab i {
    color: white !important; /* ICONOS FONTAWESOME EN BLANCO */
}

/* Menú WhatsApp - CORREGIDO para funcionar con tu estructura */
#waGroup {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 280px;
    margin-bottom: 16px;
    overflow: hidden;
    z-index: 10000;
    /* Iniciará oculto con hidden en HTML */
}

.wa-item {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    border-left: 4px solid #25D366;
    transition: background 0.3s;
}

.wa-item:hover {
    background: #f5f5f5;
}

.wa-item span {
    font-weight: 600;
    margin-bottom: 4px;
}

.wa-item small {
    color: #666;
    font-size: 0.875em;
}

/* === BOTONES FLOTANTES Y MODAL === */
.fab-wrap {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 9999;
}

.btn-fab {
    font-family: "Avenir", sans-serif !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 50px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background: var(--brand);
    color: white !important; /* TEXTO BLANCO */
}

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

/* Iconos blancos para botones */
.fab img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* CONVIERTE IMÁGENES A BLANCO */
}

.fab i {
    width: 24px;
    height: 24px;
    color: white !important; /* ICONOS FONTAWESOME EN BLANCO */
    font-size: 18px;
}

/* SVG icons en blanco */
.fab svg {
    width: 24px;
    height: 24px;
    fill: white !important; /* SVG EN BLANCO */
    color: white !important;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    font-family: "Avenir", sans-serif;
}

.modal-dialog {
    background: #fff;
    width: 95%;
    max-width: 500px;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
    z-index: 1001;
}

.modal-close:hover {
    background: #e5e5e5;
    color: #333;
    transform: scale(1.1);
}

.modal h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--brand);
}

/* Formulario */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.modal input, .modal textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 12px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.modal input:focus, .modal textarea:focus {
    outline: none;
    border-color: var(--brand);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #0E9CD9;
    color: white !important; /* TEXTO BLANCO EN BOTÓN SUBMIT */
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
    transition: all 0.3s ease;
    font-family: "Avenir", sans-serif;
    font-size: 15px;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.msg {
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    font-weight: 600;
    text-align: center;
}

.msg.success {
    background: #dcfce7;
    color: #166534;
}

.msg.error {
    background: #fee2e2;
    color: #991b1b;
}

/* Responsive */
@media (max-width: 768px) {
    .fab-wrap {
        right: 16px;
        bottom: 16px;
    }
    
    #waGroup {
        width: 260px;
        right: -180px; /* Ajustar para pantallas pequeñas */
    }
    
    .modal-dialog {
        margin: 16px;
        width: calc(100% - 32px);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
/* ====== FOOTER ====== */

.footer-seguitel {
  background: #171928;
  color: #fff;
  padding: 60px 20px 20px;
  margin-top: 40px;
}

/* Footer container con grid */
.footer-container {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

/* Columnas del footer */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #0E9CD9; /* Azul cielo */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
  color: #b8b8b8;
}

/* Enlaces del footer */
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #0E9CD9;
  transform: translateX(5px);
}

/* Iconos de contacto */
.footer-contact i {
  color: #0E9CD9;
  font-size: 1.1rem;
  width: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact span {
  color: #fff;
  font-size: 0.95rem;
}

/* Logo del footer */
.footer-logo {
  max-width: 150px;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

/* Redes sociales */
.footer-social {
  margin-top: 10px;
  display: flex;
  gap: 15px;
}
.footer-social a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0E9CD9;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: #fff;
  color: #0E9CD9;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(14, 156, 217, 0.3);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #b8b8b8;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .footer-seguitel {
    padding: 40px 15px 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  
  .footer-social {
    justify-content: center;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .site-footer {
    padding: 40px 15px 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
  
  .social-links,
  .footer-social {
    justify-content: center;
  }
}
/* ===== Métricas Seguitel ===== */
.section-spacing{ padding:72px 18px; background:#f6f8fb; }
.container-metrics{ max-width:1200px; margin:auto; }

.metrics-title{
  text-align:center; color:#0E9CD9; font-weight:800;
  font-size:clamp(2rem, 2.5vw + 1.2rem, 3.25rem); /* ~32–52px */
  margin:0 0 8px;
}
.metrics-sub{
  text-align:center; color:#0b152e;
  font-size:clamp(1.1rem, 1.2vw + .8rem, 1.6rem); /* ~18–26px */
  margin:0 0 34px;
}

.metrics-grid{
  display:grid; gap:22px; grid-template-columns:repeat(4,1fr);
}
@media (max-width:1024px){ .metrics-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .metrics-grid{ grid-template-columns:1fr; } }

.card{
  background:#fff; border-radius:24px; box-shadow:0 12px 28px rgba(2,8,23,.10);
  padding:18px 18px 22px; text-align:center; transition:.18s transform, .18s box-shadow;
}
.card:hover{ transform:translateY(-4px); box-shadow:0 16px 34px rgba(2,8,23,.16); }

.metric-img{
  width:100%; height:230px;              /* FOTO MÁS GRANDE */
  border-radius:20px; object-fit:cover; display:block; margin-bottom:14px;
}

.metric-label{
  font-weight:700; color:#0b152e;
  font-size:clamp(1rem, .7vw + .9rem, 1.25rem); /* ~16–20px */
  margin:2px 0 2px;
}

.metric-number{
  line-height:1; margin:6px 0 2px; color:#0E9CD9; font-weight:900;
  font-size:clamp(2rem, 1.8vw + 1.2rem, 3rem);  /* ~32–48px NÚMERO GRANDE */
  position:relative; display:inline-block;
}
.metric-number::before{             /* Muestra el + siempre */
  content:"+"; font-weight:900; position:relative; left:-2px; margin-right:2px;
}

.metric-desc{
  color:#475569; margin-top:8px;
  font-size:clamp(.95rem, .6vw + .7rem, 1.05rem); /* ~15–17px */
}
/* ===== Banda gris de la sección de métricas ===== */
.metrics.section-spacing{
  --band-bg: #eef2f7;           /* gris suave */
  background: var(--band-bg);
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  padding-top: 56px;            /* respira un poco más */
  padding-bottom: 72px;
  position: relative;
}

/* Asegura centrado y ancho máximo del contenido interno */
.metrics > .container-metrics{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}


/* Asegura que el header y el menú estén por encima del hero/slider */
.site-header { position: relative; z-index: 1000; }

.dropdown { position: relative; }

.dropdown-menu{
  position: absolute;
  right: 0; top: 100%;
  min-width: 240px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  padding: 10px 0;
  display: none;                 /* por defecto oculto */
  z-index: 2000;                 /* por encima del slider */
}

/* Estado abierto */
.dropdown.open .dropdown-menu{ display: block; }

/* Enlaces del menú */
.dropdown-item{
  display:block; padding:10px 14px; text-decoration:none; color:#111827;
}
.dropdown-item:hover{ background:#f3f4f6; }

/* Por si algún contenedor tenía overflow que recorta */
.nav, .nav-wrap, header, .site-header { overflow: visible !important; }

/* ===========================
   CONTACTO (tarjeta + mapa)
   =========================== */

.contacto{
  padding: 72px 0 48px;
}

.contacto-wrap{
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 0 16px;
}

/* Tarjeta izquierda */
.contacto-card{
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0,0,0,.10);
  padding: 24px 22px;
}

.contacto-item{
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 8px;
  border-radius: 12px;
}

.contacto-item + .contacto-item{
  border-top: 1px dashed var(--border, #e5e7eb);
  margin-top: 8px;
  padding-top: 22px;
}

/* Icono circular */
.ci-icon{
  width: 60px;
  height: 60px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 26px;          /* los emojis se ven nítidos */
  background: var(--brand, #0E9CD9);
  color: #fff;
  box-shadow: 0 6px 14px rgba(14,156,217,.35), inset 0 0 0 6px #fff;
}

.ci-text h4{
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: .2px;
  color: #0f1220;
  font-weight: 700;
}

.ci-text p{
  margin: 0;
  color: #3b3f4c;
  font-size: 15px;
}

.ci-text a{
  color: #0f7ec4;
  text-decoration: none;
}
.ci-text a:hover{ text-decoration: underline; }

/* Mapa (derecha) */
.contacto-map{
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0,0,0,.10);
  padding: 12px;
  overflow: hidden;
}
.contacto-map iframe{
  width: 100%;
  height: 500px;            /* alto similar al mockup */
  border: 0;
  border-radius: 16px;
}

/* Responsive */
@media (max-width: 980px){
  .contacto-wrap{
    grid-template-columns: 1fr;
  }
  .contacto-map iframe{
    height: 380px;
  }
}

/* ===========================
   TESTIMONIOS
   =========================== */

.testimonios{
  padding: 48px 0 80px;
}

.t-head{
  max-width: 1120px;
  margin: 0 auto 20px;
  padding: 0 16px;
}
.t-head h2{
  margin: 0;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 800;
  color: #0f1220;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.t-underline{
  display: block;
  width: 160px;
  height: 5px;
  background: var(--brand, #0E9CD9);
  border-radius: 6px;
  margin-top: 6px;
}

/* Lista de tarjetas */
.t-list{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  gap: 22px;
}

/* Tarjeta individual: avatar + burbuja */
.t-card{
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: flex-start;
}

.t-avatar{
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #8d8d8d;         /* gris del mockup para el círculo */
  box-shadow: inset 0 0 0 6px #fff, 0 4px 10px rgba(0,0,0,.12);
}

/* Burbuja (cuerpo del testimonio) */
.t-body{
  position: relative;
}

.t-text{
  margin: 0;
  background: #d0d0d0;         /* gris de la “burbuja” */
  color: #191b22;
  padding: 18px 18px;
  border-radius: 18px;
  line-height: 1.5;
  font-size: 15.5px;
  box-shadow: 0 8px 20px rgba(0,0,0,.10);
}

/* “piquito” de la burbuja apuntando al avatar */
.t-body::before{
  content: "";
  position: absolute;
  left: -14px;
  top: 18px;
  width: 0; height: 0;
  border: 10px solid transparent;
  border-right-color: #d0d0d0;
  filter: drop-shadow(0 3px 2px rgba(0,0,0,.08));
}

/* Meta del testimonio */
.t-meta{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: #525764;
}
.t-author{
  font-weight: 700;
  color: #1b1e27;
}
.t-dot{ opacity: .6; }
.t-source{
  color: #0f7ec4;
  text-decoration: none;
}
.t-source:hover{ text-decoration: underline; }

/* Ajustes móviles */
@media (max-width: 560px){
  .t-card{
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }
  .t-avatar{
    width: 48px; height: 48px;
  }
  .t-text{
    font-size: 14.5px;
    border-radius: 16px;
  }
  .t-body::before{
    left: -12px;
    top: 16px;
    border-width: 9px;
  }
}

/* ========================================
    EMPRESA
   ======================================== */

/* Variables ya existentes en tu proyecto, solo las uso */
:root {
    --bg: #171928;
    --brand: #0E9CD9;
    --border: #e5e7eb;
    --radius: 12px;
    --shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* Hero Section */
.empresa .hero-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
    position: relative;
}

.empresa .hero-page::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, var(--bg) 0%, var(--brand) 50%, #0a7ea4 100%);
    border-radius: 2px;
}

.empresa .page-title {
    color: #2c3e50;
    margin-top: 30px;
}

.empresa .hero-page p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.empresa .highlight-text {
    color: var(--brand);
    font-weight: 600;
}

/* Misión y Visión */
.empresa .mv {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.empresa .mv-item {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.empresa .mv-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--bg) 0%, var(--brand) 50%, #0a7ea4 100%);
}

.empresa .mv-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(14, 156, 217, 0.3);
}

.empresa .mv-item h3 {
    color: var(--brand);
    margin-bottom: 20px;
    font-size: 1.8em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.empresa .mv-item h3::before {
    content: '';
    width: 8px;
    height: 30px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--brand) 100%);
    border-radius: 4px;
}

.empresa .mv-item p {
    line-height: 1.8;
    color: #555;
}

/* Valores Corporativos */
.empresa .valores {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.empresa .valores h2 {
    text-align: center;
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.empresa .valores h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--bg) 0%, var(--brand) 50%, #0a7ea4 100%);
    border-radius: 2px;
}

.empresa .valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.empresa .valor-card {
    background: white;
    padding: 35px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.empresa .valor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bg) 0%, var(--brand) 50%, #0a7ea4 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.empresa .valor-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand);
    box-shadow: 0 15px 35px rgba(14, 156, 217, 0.4);
}

.empresa .valor-card:hover::before {
    opacity: 1;
}

.empresa .valor-icon {
    font-size: 3em;
    margin-bottom: 15px;
    filter: drop-shadow(2px 2px 8px rgba(14, 156, 217, 0.3));
}

.empresa .valor-card h3 {
    color: var(--brand);
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 12px;
}

.empresa .valor-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
}

/* Socios Certificados */
.empresa .socios {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width: 1200px;
    margin: 0 auto 60px;
}

.empresa .socios h2 {
    text-align: center;
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.empresa .socios h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--bg) 0%, var(--brand) 50%, #0a7ea4 100%);
    border-radius: 2px;
}

.empresa .socios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.empresa .partner {
    background: #f8f9fa;
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.empresa .partner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(90deg, var(--bg) 0%, var(--brand) 50%, #0a7ea4 100%);
    transition: height 0.3s ease;
}

.empresa .partner:hover {
    transform: scale(1.05);
    border-color: var(--brand);
    box-shadow: 0 15px 40px rgba(14, 156, 217, 0.4);
}

.empresa .partner:hover::after {
    height: 5px;
}

.empresa .partner-logo {
    width: 180px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.empresa .partner-logo.small {
    width: 140px;
    height: 100px;
}

.empresa .partner:hover .partner-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(14, 156, 217, 0.5));
}

.empresa .partner p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95em;
}

/* Badge nuevo */
.empresa .new-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--brand), #0a7ea4);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(14, 156, 217, 0.4);
    z-index: 10;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.empresa .mv-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.empresa .mv-item:nth-child(2) {
    animation-delay: 0.2s;
}

.empresa .valor-card:nth-child(2) {
    animation-delay: 0.1s;
}

.empresa .valor-card:nth-child(3) {
    animation-delay: 0.2s;
}

.empresa .valor-card:nth-child(4) {
    animation-delay: 0.3s;
}

.empresa .partner:nth-child(2) {
    animation-delay: 0.1s;
}

.empresa .partner:nth-child(3) {
    animation-delay: 0.2s;
}

.empresa .partner:nth-child(4) {
    animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .empresa .page-title {
        font-size: 2em;
    }
    
    .empresa .socios {
        padding: 40px 20px;
    }
    
    .empresa .valores-grid,
    .empresa .socios-grid,
    .empresa .mv {
        grid-template-columns: 1fr;
    }
}
/* ===============================================
   SECCIÓN CARACTERÍSTICAS - SEGUITEL
   =============================================== */

.caracteristicas-section {
    padding: 4rem 1rem;
    background: #ffffff;
}

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

.caracteristicas-header {
    text-align: center;
    margin-bottom: 4rem;
}

.caracteristicas-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0E9CD9;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    font-family: 'Avenir', sans-serif;
}

.caracteristicas-subtitle {
    color: #718096;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Avenir', sans-serif;
    font-weight: 300;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #f8f9fa;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 156, 217, 0.1), transparent);
    transition: left 0.6s ease-in-out;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-6px) scale(1.01);
    background: #e2e8f0;
    border-color: #0E9CD9;
    box-shadow: 0 20px 40px rgba(14, 156, 217, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #0E9CD9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(3deg) scale(1.05);
    box-shadow: 0 8px 25px rgba(14, 156, 217, 0.3);
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.feature-card:hover .feature-icon::after {
    animation: shimmer 0.8s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.icon-placeholder {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
    transition: color 0.3s ease;
    font-family: 'Avenir', sans-serif;
}

.feature-card:hover .feature-title {
    color: #0E9CD9;
}

.feature-description {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    font-family: 'Avenir', sans-serif;
    font-weight: 300;
}

.feature-card:hover .feature-description {
    color: #4a5568;
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(14, 156, 217, 0.08);
    color: #0E9CD9;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(14, 156, 217, 0.15);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
    font-family: 'Avenir', sans-serif;
}

.feature-card:hover .feature-badge {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design - Características */
@media (max-width: 768px) {
    .caracteristicas-title {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
}

/* Animación de entrada - Características */
.feature-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
.feature-card:nth-child(7) { animation-delay: 0.7s; }
.feature-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de pulso en los iconos - Características */
.feature-icon {
    animation: pulse-features 3s infinite;
}

@keyframes pulse-features {
    0%, 100% { box-shadow: 0 0 0 0 rgba(14, 156, 217, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(14, 156, 217, 0); }
}

.feature-card:hover .feature-icon {
    animation: none;
}

 /* ========== SOLUCIONES ========== */

/* ========== SECCIÓN PRINCIPAL CON ESTRUCTURA SIMPLE ========== */
.soluciones-page {
    background-color: #ffffff;
    padding: 30px 20px 40px 20px;
    margin: 0;
    min-height: calc(100vh - 140px);
    position: relative;
    z-index: 1;
}

.soluciones-page .container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ========== HEADER EN LA PARTE SUPERIOR ========== */
.soluciones-page .header {
    text-align: center;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.soluciones-page .header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.soluciones-page .header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto;
}

/* ========== GRID QUE OCUPA EL RESTO DEL ESPACIO ========== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    flex-grow: 1;
    align-content: start;
}

/* ========== TARJETAS MÁS GRANDES Y VISIBLES ========== */
.solution-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30,144,255,0.2);
    border-color: #1e90ff;
}

/* ========== ICONOS TAMAÑO VISIBLE ========== */
.solution-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.1);
}

.solution-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(200deg) brightness(104%) contrast(97%);
}

.solution-card:hover .solution-icon img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(200deg) brightness(104%) contrast(97%) drop-shadow(0 0 10px rgba(30,144,255,0.5));
}

/* ========== TEXTOS TAMAÑO LEGIBLE ========== */
.solution-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.solution-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #1e90ff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solution-description {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: center;
}

/* ========== MODALES CON IMAGEN DE FONDO COMPLETA ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

/* Overlay oscuro sobre la imagen de fondo */
.modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.90) 0%, rgba(52, 73, 94, 0.88) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ========== HEADER DEL MODAL ========== */
.modal-header {
    display: flex;
    align-items: center;
    padding: 30px;
    background: rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    padding: 10px;
}

.modal-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(200deg) brightness(104%) contrast(97%);
}

.modal-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ========== CUERPO DEL MODAL (SOLO TEXTO, SIN IMAGEN LATERAL) ========== */
.modal-body {
    padding: 30px 40px;
    color: white;
    display: block;
    position: relative;
    z-index: 2;
}

.modal-text {
    width: 100%;
}

.modal-subtitle {
    color: #1e90ff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.modal-description {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.modal-features {
    list-style: none;
}

.modal-features li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.modal-features li:before {
    content: '-';
    color: #1e90ff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ========== OCULTAR IMAGEN LATERAL  ========== */
.modal-image {
    display: none;
}

/* ========== BOTÓN CERRAR ========== */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.close:hover {
    color: #1e90ff;
    transform: scale(1.2);
}

/* ========== ANIMACIONES ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ========== SEPARACIÓN CON FOOTER ========== */
footer {
    clear: both;
    position: relative;
    z-index: 3;
    margin-top: 0;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .soluciones-page {
        padding: 25px 15px 35px 15px;
    }
    
    .soluciones-page .header {
        margin-bottom: 25px;
    }
    
    .soluciones-page .header h1 {
        font-size: 2.2rem;
    }
    
    .solution-card {
        min-height: 250px;
        padding: 25px 18px;
    }
    
    .solution-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 15px;
    }
    
    .solution-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .soluciones-page {
        padding: 20px 15px 30px 15px;
        min-height: calc(100vh - 120px);
    }
    
    .soluciones-page .header {
        margin-bottom: 20px;
    }
    
    .soluciones-page .header h1 {
        font-size: 2rem;
    }
    
    .soluciones-page .header p {
        font-size: 1rem;
    }
    
    .solution-card {
        min-height: 220px;
        padding: 20px 15px;
    }
    
    .solution-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .solution-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .solution-subtitle {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .solution-description {
        font-size: 0.85rem;
    }
    
    /* Responsive para modales */
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-body {
        padding: 25px 30px;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
    
    .modal-header {
        padding: 25px;
    }
    
    .close {
        font-size: 30px;
        top: 15px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .soluciones-page {
        padding: 15px 10px 25px 10px;
    }
    
    .soluciones-page .header {
        margin-bottom: 15px;
    }
    
    .soluciones-page .header h1 {
        font-size: 1.6rem;
    }
    
    .soluciones-page .header p {
        font-size: 0.9rem;
    }
    
    .solution-card {
        min-height: 200px;
        padding: 18px 12px;
    }
    
    .solution-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .solution-title {
        font-size: 1.1rem;
    }
    
    .solution-subtitle {
        font-size: 0.85rem;
    }
    
    .solution-description {
        font-size: 0.8rem;
    }
}

html, body {
    overflow-x: hidden;
}

.soluciones-page * {
    box-sizing: border-box;
}
/* ========================================
   CORRECCIÓN ICONOS FONT AWESOME - FOOTER
   ======================================== */

/* Iconos del footer - Contacto */
.footer-contact i.fas,
.footer-contact i.fab {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

/* Iconos del footer - Redes sociales */
.footer-social i.fab,
.footer-social i.fas {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

/* Asegurar que todos los iconos Font Awesome usen su fuente correcta */
i[class^="fa-"],
i[class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
}

/* Específicamente para iconos de marcas */
i.fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* INDUSTRIAS   */


/* Contenedor de la sección del carrusel */
.carousel-section {
    padding: 40px 20px;
    background: transparent;
}

/* Header específico del carrusel */
.carousel-header {
    text-align: center;
    margin-bottom: 40px;
}

.carousel-header h1 {
    color: #333;
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: -1px;
}

.carousel-header p {
    color: #666;
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== CONTENEDOR DEL CARRUSEL ========== */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background: transparent;  /* Sin fondo gris */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: none;  /* Sin sombra */
    border: none;  /* Sin borde */
}

/* ========== WRAPPER DEL CARRUSEL ========== */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    height: 500px;
}

/* ========== SLIDES DEL CARRUSEL ========== */
.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background: transparent;  /* Sin fondo gris */
    transform: translateZ(0);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Llenar todo el espacio */
    object-position: center;  /* Centrar la imagen */
    display: block;
    transition: opacity 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.carousel-slide img:hover {
    opacity: 0.95;
}

/* ========== NAVEGACIÓN DEL CARRUSEL ========== */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 0;
    font-family: Arial, sans-serif;
}

.carousel-nav span {
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    color: #333;
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav:focus {
    outline: 3px solid rgba(0,123,255,0.5);
    outline-offset: 2px;
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

/* ========== INDICADORES DEL CARRUSEL ========== */
.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 10px;
    background: rgba(0,0,0,0.05);
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-indicators .indicator:hover {
    background: rgba(0,0,0,0.6);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background: #007bff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0,123,255,0.4);
}

.carousel-indicators .indicator:focus {
    outline: 2px solid rgba(0,123,255,0.5);
    outline-offset: 2px;
}

/* ========== ANIMACIONES ========== */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.carousel-slide.active {
    animation: fadeIn 0.6s ease-out;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets */
@media (max-width: 768px) {
    .carousel-section {
        padding: 30px 15px;
    }
    
    .carousel-header h1 {
        font-size: 2.5rem;
    }
    
    .carousel-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .carousel-wrapper {
        height: 350px;  /* Reducir de 500px a 350px */
    }
    
    .carousel-nav {
        width: 45px;
        height: 45px;
    }
    
    .carousel-nav span {
        font-size: 18px;
    }
    
    .carousel-nav.prev {
        left: 15px;
    }
    
    .carousel-nav.next {
        right: 15px;
    }
    
    .carousel-indicators {
        padding: 15px;
        gap: 8px;
    }
    
    .carousel-indicators .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .carousel-section {
        padding: 20px 10px;
    }
    
    .carousel-header h1 {
        font-size: 2rem;
    }
    
    .carousel-header p {
        font-size: 0.9rem;
    }
    
    .carousel-wrapper {
        height: 280px;  /* Reducir de 400px a 280px */
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav span {
        font-size: 16px;
    }
    
    .carousel-nav.prev {
        left: 10px;
    }
    
    .carousel-nav.next {
        right: 10px;
    }
    
    .carousel-indicators .indicator {
        width: 8px;
        height: 8px;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 320px) {
    .carousel-header h1 {
        font-size: 1.8rem;
    }
    
    .carousel-wrapper {
        height: 250px;  /* Reducir de 350px a 250px */
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
    }
    
    .carousel-nav span {
        font-size: 14px;
    }
}

/* Pantallas grandes - Corregidas */
@media (min-width: 1200px) {
    .carousel-container {
        max-width: 1000px;  /* Reducir de 1400px a 1000px */
    }
    
    .carousel-wrapper {
        height: 500px;  /* Reducir de 800px a 500px */
    }
    
    .carousel-nav {
        width: 60px;
        height: 60px;
    }
    
    .carousel-nav span {
        font-size: 24px;
    }
}

@media (min-width: 1600px) {
    .carousel-container {
        max-width: 1200px;  /* Reducir de 1600px a 1200px */
    }
    
    .carousel-wrapper {
        height: 550px;  /* Reducir de 900px a 550px */
    }
}
/* ========== ESTADOS ESPECIALES ========== */

/* Estado de error en imagen */
.carousel-slide img[onerror] {
    min-height: 100%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== ACCESIBILIDAD ========== */
.carousel-nav:focus,
.carousel-indicators .indicator:focus {
    outline: 3px solid rgba(0,123,255,0.5);
    outline-offset: 2px;
}

/* Reducir animaciones para usuarios con preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .carousel-slides {
        transition: none;
    }
    
    .carousel-nav,
    .carousel-indicators .indicator,
    .carousel-slide {
        transition: none;
        animation: none;
    }
}

/* ========== EFECTOS VISUALES ========== */

/* Efecto sutil en el contenedor solo en hover */
.carousel-container:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}
.btn-login:active,
.btn-login:focus,
.btn-login:hover {
    color: white !important;
    opacity: 1 !important;
    font-size: inherit !important;
}

/* ===== BOTÓN FLOTANTE ===== */
.btn-servicios-float{
  position: fixed; right: 24px; bottom: 150px;
  background: linear-gradient(135deg,#0E9CD9,#0b7bb8);
  color:#fff; border:0; cursor:pointer;
  padding: 14px 18px; border-radius: 999px;
  font: 700 14px/1 "Avenir",system-ui,sans-serif;
  display:flex; align-items:center; gap:10px;
  box-shadow: 0 10px 24px rgba(14,156,217,.35);
  transition: transform .2s ease, opacity .2s ease;
  z-index: 1700;
}
.btn-servicios-float:hover{ transform: translateY(-2px); }
.btn-servicios-float .icon{ font-size:18px }

/* Ocultar botón cuando el panel esté abierto */
body.servicios-open .btn-servicios-float{
  opacity: 0; pointer-events: none; transform: translateY(6px);
}

/* ===== OVERLAY ===== */
.overlay-servicios{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 1550;
}
.overlay-servicios.active{ opacity:1; pointer-events: auto; }

/* ===== PANEL: base (móvil por defecto: bottom sheet) ===== */
.servicios-panel{
  position: fixed; left: 0; right: 0; bottom: 0;
  background:#fff; box-shadow: 0 -10px 30px rgba(0,0,0,.22);
  max-height: 70vh; height: 70vh;
  transform: translateY(100%);
  transition: transform .3s ease;
  z-index: 1600; overflow: auto; border-radius: 16px 16px 0 0;
}
.servicios-panel.open{ transform: translateY(0); }

/* ===== PANEL: header ===== */
.panel-header{
  position: sticky; top: 0; z-index: 2;
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 16px; background:#fff;
  border-bottom: 1px solid #eef2f6;
}
.panel-header h2{
  margin:0; color:#0E9CD9; font: 800 16px/1.2 "Avenir",system-ui,sans-serif;
  letter-spacing:.2px; text-transform: uppercase;
}
.btn-close-panel{
  width:36px; height:36px; border-radius:50%;
  display:grid; place-items:center; border:0; cursor:pointer;
  background:#eef2f6; font-size:20px; transition: transform .2s ease, background .2s ease;
}
.btn-close-panel:hover{ transform: rotate(90deg); background:#e2e8f0; }

/* ===== PANEL: contenido compacto ===== */
.panel-content{ padding: 14px 12px 18px; }
.servicios-grid-panel{
  display:grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  max-width: 1100px; margin: 0 auto;
}
.servicio-item-panel{
  background:#f8fafc; border-radius:12px; padding: 12px;
  border-left: 3px solid #0E9CD9;
  box-shadow: 0 1px 5px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align:left;
}
.servicio-item-panel:hover{
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(14,156,217,.18);
  background:#fff;
}
.servicio-icon-panel{
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg,#0E9CD9,#0b7bb8);
  display:grid; place-items:center; margin-bottom:10px;
  box-shadow: 0 3px 10px rgba(14,156,217,.25);
}
.servicio-icon-panel svg{ width:20px; height:20px; fill:#fff; }
.servicio-item-panel h4{ margin:0 0 4px; font: 800 14px/1.25 "Avenir",system-ui,sans-serif; color:#1f2937; }
.servicio-item-panel p{ margin:0; font: 400 12.5px/1.35 "Avenir",system-ui,sans-serif; color:#64748b; }
/* Servicios Combinados - Cards con Iconos */
.servicios-combinados {
    margin-top: 60px;
    padding: 50px 20px;
    background: white;
    border-radius: 20px;
}

.servicios-combinados h2 {
    text-align: center;
    color: #0E9CD9;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.servicios-combinados .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.servicios-cards-iconos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.servicio-card-icono {
    background: #f8f9fa;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.servicio-card-icono:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(14, 156, 217, 0.2);
    background: white;
}

.servicio-card-icono .icono {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0E9CD9, #0b7bb8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(14, 156, 217, 0.3);
}

.servicio-card-icono h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.servicio-card-icono p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .servicios-cards-iconos {
        grid-template-columns: 1fr;
    }
}
/* ===== BODY no-scroll cuando el panel está abierto ===== */
body.no-scroll{ overflow: hidden; }

/* ===== DESKTOP ===== */
@media (min-width: 1024px){
  .servicios-panel{
    top: 0; bottom: 0; right: 0; left: auto;
    width: 420px; height: 100vh; max-height: none;
    border-radius: 0; box-shadow: -14px 0 28px rgba(0,0,0,.2);
    transform: translateX(100%);
  }
  .servicios-panel.open{ transform: translateX(0); }
  .panel-header h2{ font-size: 15px; }
  .panel-content{ padding: 14px; }
  .servicios-grid-panel{ grid-template-columns: 1fr; } /* columna única dentro del panel lateral para máxima densidad */
}

/* === Banner 3 imágenes (reutilizable) === */
.banner3{
  position:relative;
  width:100%;
  height: clamp(260px, 55vw, 560px); /* alto responsive */
  overflow:hidden;
  border-radius: var(--radius, 18px);
  background: var(--bg, #0b1324);
}

.banner3__track{
  height:100%;
  display:flex;
  transition: transform .6s ease;
  will-change: transform;
}

.banner3__slide{
  min-width:100%;
  height:100%;
  position:relative;
  display:grid;
  place-items:center;
}

.banner3__slide > img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; /* rellena sin franjas */
}

.banner3__caption{
  position:relative; z-index:2;
  text-align:center;
  color:#fff;
  padding:24px;
  background: linear-gradient(transparent, rgba(0,0,0,.25));
  border-radius: 16px;
}
.banner3__caption h2{ font-size:clamp(22px, 3.2vw, 40px); margin:0 0 6px; }
.banner3__caption p{ font-size:clamp(14px, 2vw, 18px); margin:0; }

.banner3__ctrl{
  position:absolute; top:50%; transform:translateY(-50%);
  width:42px; height:42px; border-radius:50%;
  border:0; background:rgba(0,0,0,.45); color:#fff;
  display:grid; place-items:center; cursor:pointer;
  transition:opacity .2s ease;
}
.banner3__ctrl:hover{ background:rgba(0,0,0,.6); }
.banner3__ctrl--prev{ left:10px; }
.banner3__ctrl--next{ right:10px; }

.banner3__dots{
  position:absolute; left:50%; bottom:10px; transform:translateX(-50%);
  display:flex; gap:8px;
}
.banner3__dot{
  width:10px; height:10px; border-radius:50%;
  border:0; background:rgba(255,255,255,.45); cursor:pointer;
}
.banner3__dot.is-active{ background:#fff; }

/* === Ícono flotante Seguitel === */
.icono-global {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  width: 70px;
  height: 70px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icono-global img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.icono-global:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}
