/**
 * Footer CSS - Villa del Totoral
 * 
 * Estilos consolidados del footer Legacy con diseño de 3 niveles
 * Nivel 1: Teléfonos Útiles (verde oscuro)
 * Nivel 2: Logo + Contacto + Redes (verde muy oscuro)
 * Nivel 3: Copyright (verde muy oscuro)
 */

/* ========================================
   NIVEL 1: TELÉFONOS ÚTILES
   ======================================== */

.telefonos-utiles-section {
  background-color: #2d5a27;  /* Verde oscuro */
  padding: 3rem 0 2rem 0;
  color: var(--blanco);
}

.telefonos-titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--blanco);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.telefonos-titulo i {
  font-size: 2.8rem;
  color: var(--terciario);  /* Verde lima */
}

.telefonos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.telefono-card {
  background-color: var(--secundario);  /* Verde medio #4a8b3c */
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.telefono-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background-color: var(--terciario);  /* Verde lima al hover */
}

.telefono-icono {
  width: 6rem;
  height: 6rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.telefono-card:hover .telefono-icono {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.telefono-icono i {
  font-size: 3rem;
  color: var(--blanco);
}

.telefono-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.telefono-numero {
  font-size: 3rem;
  font-weight: 800;
  color: var(--blanco);
  line-height: 1;
}

.telefono-nombre {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--blanco);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.telefonos-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.btn-ver-telefonos {
  display: inline-block;
  padding: 1rem 3rem;
  background-color: var(--terciario);  /* Verde lima */
  color: var(--negro);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 3rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-ver-telefonos:hover {
  background-color: var(--blanco);
  color: var(--primario);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ========================================
   NIVEL 2: FOOTER PRINCIPAL
   ======================================== */

.footer-nuevo {
  background-color: #1e4a1a;  /* Verde muy oscuro */
  color: var(--blanco);
  padding: 3rem 0 2rem 0;
}

.footer-content-nuevo {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 2rem;
}

/* Logo del footer */
.footer-logo-nuevo {
  flex: 0 0 auto;
}

.footer-logo-nuevo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);  /* Logo en blanco */
}

/* Información de contacto */
.footer-contacto-nuevo {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-contacto-nuevo h4 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--terciario);  /* Verde lima */
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-contacto-nuevo p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.footer-contacto-nuevo p i {
  color: var(--terciario);  /* Verde lima */
  margin-right: 0.8rem;
  width: 1.5rem;
  display: inline-block;
}

/* Redes sociales */
.footer-redes-nuevo {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-redes-nuevo p {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--terciario);  /* Verde lima */
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.redes-iconos {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.red-social-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--blanco);
  font-size: 2rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.red-social-footer:hover {
  background-color: var(--terciario);  /* Verde lima */
  color: var(--negro);
  transform: translateY(-3px) scale(1.1);
  border-color: var(--terciario);
  box-shadow: 0 4px 15px rgba(173, 194, 50, 0.4);
}

/* ========================================
   NIVEL 3: COPYRIGHT
   ======================================== */

.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1rem;
}

.footer-copyright p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.creartel-logo {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.creartel-logo:hover {
  opacity: 1;
}

.creartel-logo img {
  height: 2.5rem;
  width: auto;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 991px) {
  .telefonos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .telefono-card {
    padding: 1.5rem 1rem;
  }

  .telefono-icono {
    width: 5rem;
    height: 5rem;
  }

  .telefono-icono i {
    font-size: 2.5rem;
  }

  .telefono-numero {
    font-size: 2.5rem;
  }

  .telefono-nombre {
    font-size: 1.2rem;
  }

  .footer-content-nuevo {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .footer-contacto-nuevo {
    align-items: center;
  }

  .footer-contacto-nuevo h4 {
    font-size: 1.8rem;
  }

  .footer-contacto-nuevo p {
    font-size: 1.4rem;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ========================================
   RESPONSIVE - MÓVIL
   ======================================== */

@media (max-width: 768px) {
  .telefonos-utiles-section {
    padding: 2rem 0 1.5rem 0;
  }

  .telefonos-titulo {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .telefonos-titulo i {
    font-size: 2.2rem;
  }

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

  .telefono-card {
    padding: 1.2rem 0.8rem;
  }

  .telefono-icono {
    width: 4.5rem;
    height: 4.5rem;
  }

  .telefono-icono i {
    font-size: 2rem;
  }

  .telefono-numero {
    font-size: 2.2rem;
  }

  .telefono-nombre {
    font-size: 1.1rem;
  }

  .btn-ver-telefonos {
    padding: 0.8rem 2rem;
    font-size: 1.3rem;
  }

  .footer-nuevo {
    padding: 2rem 0 1.5rem 0;
  }

  .footer-logo-nuevo img {
    height: 60px;
  }

  .footer-contacto-nuevo h4 {
    font-size: 1.6rem;
  }

  .footer-contacto-nuevo p {
    font-size: 1.3rem;
  }

  .footer-redes-nuevo p {
    font-size: 1.4rem;
  }

  .red-social-footer {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.8rem;
  }

  .footer-copyright p {
    font-size: 1.2rem;
  }

  .creartel-logo img {
    height: 2rem;
  }
}

@media (max-width: 576px) {
  .telefonos-titulo {
    font-size: 1.8rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .telefonos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .telefono-card {
    flex-direction: row;
    padding: 1rem;
    gap: 1.5rem;
  }

  .telefono-icono {
    width: 4rem;
    height: 4rem;
  }

  .telefono-icono i {
    font-size: 1.8rem;
  }

  .telefono-info {
    align-items: flex-start;
    text-align: left;
  }

  .telefono-numero {
    font-size: 2rem;
  }

  .telefono-nombre {
    font-size: 1rem;
  }

  .btn-ver-telefonos {
    padding: 0.7rem 1.5rem;
    font-size: 1.2rem;
  }

  .footer-contacto-nuevo h4 {
    font-size: 1.5rem;
  }

  .footer-contacto-nuevo p {
    font-size: 1.2rem;
  }

  .red-social-footer {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1.6rem;
  }

  .footer-copyright p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}
