/* ============================
   ESTILOS COMBINADOS Y OPTIMIZADOS - RESPONSIVE
   ============================ */

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=PT+Serif&display=swap");

/* Animaciones */
@keyframes glow-border {
  0% { box-shadow: 0 0 6px rgba(0, 184, 148, 0.5); }
  50% { box-shadow: 0 0 20px rgba(0, 184, 148, 0.9); }
  100% { box-shadow: 0 0 6px rgba(0, 184, 148, 0.5); }
}

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

/* Reset y fuente base */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  width: 100%;
}

/* ============================
   HEADER Y LOGO
   ============================ */
#header .header-logo {
  width: 100%;
  text-align: center;
  margin: 15px auto;
  padding: 10px 0;
}

#header .header-logo img {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: all 0.3s ease;
}

/* ============================
   TARJETA ATENCIÓN VIRTUAL
   ============================ */
.feature-box.feature-box-call.feature-box-style-2.av-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(135deg, #ffffff, #f4f9fd);
  border: 1px solid #d6e0ea;
  border-radius: 10px;
  padding: 10px 15px;
  max-width: 420px;
  width: 100%;
  margin: 20px auto;
  font-family: "Roboto", sans-serif;
  color: #333;
  animation: glow-border 2.5s infinite ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-wrap: wrap;
}

.feature-box.feature-box-call.feature-box-style-2.av-box:hover {
  background: linear-gradient(135deg, #e6f7ff, #ffffff);
  transform: scale(1.01);
}

.av-icon {
  font-size: 22px;
  color: #2aafea;
  margin-right: 12px;
  animation: pulse 2s infinite ease-in-out;
  flex-shrink: 0;
}

.av-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.av-content h3 {
  margin: 0 0 5px;
  font-size: 14px;
  color: #000;
  text-transform: uppercase;
  line-height: 1.2;
}

.av-content p {
  margin: 0 0 8px;
  font-size: 12px;
  color: #000;
  line-height: 1.2;
}

.av-connect {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #00b894;
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 184, 148, 0.3);
  transition: all 0.3s ease;
}

.av-connect:hover {
  background-color: #2aafea;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 184, 148, 0.4);
}

.av-horario {
  font-size: 12px;
  color: #272525;
  margin-top: 6px;
}

/* ============================
   TARJETA CONTACTO
   ============================ */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 5px solid #25d366;
  max-width: 700px;
  margin: 20px auto;
  flex-wrap: wrap;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  flex-shrink: 0;
  background-color: #25d366;
  color: #fff;
  font-size: 32px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-content {
  flex: 1;
}

.rotating-numbers span {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.email-section {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.email-section i {
  color: #1e3a8a;
  font-size: 20px;
  margin-top: 4px;
}

.email-section div {
  display: flex;
  flex-direction: column;
}

.email-link {
  color: #1e3a8a;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  margin-bottom: 4px;
  transition: color 0.3s;
}

.email-link:hover {
  color: #12246c;
  text-decoration: underline;
}

.virtual-link {
  color: #1e40af;
  font-weight: 500;
  font-size: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  transition: text-shadow 0.3s;
}

.virtual-link:hover {
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* ============================
   ICONOS SOLO PARA MÓVIL
   ============================ */
.iconos-contacto {
  display: none;
  justify-content: center;
  gap: 25px;
  margin: 30px auto;
}

.icono-sm {
  font-size: 26px;
  background-color: #e0f7fa; /* celeste pastel */
  color: #006064; /* azul petróleo suave */
  padding: 16px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.icono-sm:hover {
  background-color: #b2ebf2; /* celeste más claro al hacer hover */
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

/* ============================
   MEDIA QUERIES RESPONSIVE
   ============================ */
@media (min-width: 768px) {
  .virtual-link {
    display: none;
  }
}

@media (max-width: 768px) {
  .feature-box.feature-box-call.feature-box-style-2.av-box,
  .contact-card {
    display: none !important; /* Oculta tarjetas en móvil */
  }

  .iconos-contacto {
    display: flex !important; /* Muestra los íconos en móvil */
  }

  .av-icon {
    margin-bottom: 10px;
    margin-right: 0;
  }

  .av-content {
    align-items: flex-start;
    text-align: left;
  }

  .av-content h3 {
    font-size: 13px;
  }

  .av-content p {
    font-size: 11px;
  }

  .av-connect {
    font-size: 12px;
    padding: 5px 10px;
  }

  .av-horario {
    font-size: 10px;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin-bottom: 10px;
  }

  .rotating-numbers span {
    font-size: 16px;
  }

  .email-link,
  .virtual-link {
    font-size: 14px;
  }

  .email-section {
    justify-content: center;
  }

  .email-section i {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .av-connect {
    font-size: 11px;
    padding: 4px 8px;
  }

  .av-horario {
    font-size: 9px;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }

  .email-section i {
    font-size: 14px;
  }

  .email-link,
  .virtual-link {
    font-size: 13px;
  }
}





/* ====== BANNER EXCLUSIVO COV ====== */
.cov-banner-promo {
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    color: #ffffff;

    background: 
        linear-gradient(90deg, rgba(0,0,0,0.8) 30%, rgba(0,200,83,0.7)),
        url("tablet-samsung.jpg");

    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.cov-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    font-size: 22px;
    font-weight: 700;
}

.cov-banner-text {
    display: block;
    margin-bottom: 15px;
    line-height: 1.4;
}

.cov-banner-btn {
    display: inline-block;
    background: #00e676;
    color: #000;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.cov-banner-btn:hover {
    background: #ffffff;
    color: #00a651;
}

/* efecto brillo animado */
.cov-banner-promo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-25deg);
    animation: brillo 4s infinite;
}

@keyframes brillo {
    0% { left: -100%; }
    50% { left: 120%; }
    100% { left: 120%; }
}

.cov-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    text-align: center;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.cov-banner-text {
    line-height: 1.4;
}

.cov-banner-btn {
    background: #ffffff;
    color: #00a651;
    padding: 9px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cov-banner-btn:hover {
    background: #00a651;
    color: #ffffff;
    transform: scale(1.05);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .cov-banner-content {
        flex-direction: column;
        font-size: 15px;
    }

    .cov-banner-btn {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .cov-banner-content {
        font-size: 14px;
    }
}
@media (max-width: 768px) {
    .cov-banner-promo {
        padding: 30px 20px;
        background-position: center;
    }

    .cov-banner-content {
        font-size: 18px;
        text-align: center;
    }
}