/* === 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); }

/* ===== Banner SLIDER ===== */
.hero-slider { position: relative; }
.hero-slider .slider{ position:relative; width:100%; height:clamp(280px,45vh,450px); overflow:hidden; border-radius:0px;
  background:#000; /* evita blanco cuando carga */ }
.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%;  background:#000; /* por si la imagen tarda */ }
.hero-slider .slide img{ width:100%; height:100%; object-fit:cover; display:block;}
/* Dots */
.hero-slider .dots{ position:absolute; bottom:14px; left:50%; transform:translateX(-50%); display:flex; gap:10px; z-index:2; }
.hero-slider .dots label{ width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.6); cursor:pointer; }
/* Movimiento del ANCHO DE .slides */
#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; }

/* Banner slider - Versión móvil mejorada */
.hero-slider .slider { 
    position: relative; 
    width: 100%; 
    height: clamp(200px, 25vh, 300px); /* Mucho más pequeño en móvil */
    overflow: hidden; 
    border-radius: 0; 
    background: #000; 
}

/* Ajustes específicos para móviles */
@media (max-width: 768px) {
    .hero-slider .slider {
        height: clamp(150px, 20vh, 200px); /* Aún más pequeño */
    }
    
    .hero-slider .slide img {
        object-fit: cover;
        object-position: center 30%; /* Mejor posicionamiento de la imagen */
        min-height: 100%;
    }
}

@media (max-width: 480px) {
    .hero-slider .slider {
        height: clamp(120px, 18vh, 180px); /* Extra pequeño para móviles */
    }
}

/* Para pantallas grandes, mantener tamaño razonable */
@media (min-width: 1200px) {
    .hero-slider .slider {
        height: clamp(350px, 35vh, 450px);
    }
}
/* Remover altura fija del banner para que JS la controle */
.hero-slider .slider {
    position: relative;
    width: 100%;
    height: 300px; /* Altura por defecto */
    overflow: hidden;
    border-radius: 0;
    background: #000;
    transition: height 0.3s ease; /* Suavizar cambios */
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* ===== 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;
}

.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);
}

.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;
  }
  .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 
   =========================== */

/* Estilos base para la página empresa */
.empresa {
    width: 100%;
    min-height: calc(100vh - 80px); /* Ajusta según el alto de tu header */
    background-color: #f5f5f5;
}

/* Contenedores */
.emp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section-spacing {
    margin-bottom: 4rem;
}

/* Hero Page */
.hero-page {
    background: #fff;
    padding: 4rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
}

/* Misión y Visión */
.mv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.mv-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
}

.mv-item h2, 
.mv-item h3 {
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}
/* === Valores Corporativos === */
.valores {
    background: #fff;
    margin: 4rem auto;
    max-width: 1200px;
    padding: 2rem;
}

.valores h2 {
    text-align: center;
    color: #333;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.valores-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 0;
}

.valores-list li {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.valores-list li:hover {
    transform: translateY(-5px);
    background: #eef2f7;
}

/* === Socios Certificados === */
.socios {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
}

.socios h2 {
    text-align: center;
    color: #333;
    font-size: 2rem;
    margin-bottom: 3rem;
}

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

.partner {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.partner:hover {
    transform: translateY(-5px);
}

.partner-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    margin: 0 auto 1.5rem;
}

.partner-logo.small {
    max-width: 150px;
}

.partner p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .socios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .valores,
    .socios {
        margin: 2rem auto;
        padding: 1rem;
    }

    .valores-list {
        grid-template-columns: 1fr;
    }

    .socios-grid {
        grid-template-columns: 1fr;
    }

    .partner {
        max-width: 400px;
        margin: 0 auto;
    }
}
/* ===============================================
   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;
}