/* ==========================
   RESETEO BÁSICO
========================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5faf8;
  color: #333;
  scroll-behavior: smooth;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

/* Utilidades presentes en el HTML */
.container { max-width: 1200px; margin: 0 auto; }
.sr-only { 
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================
   CABECERA Y NAVEGACIÓN
========================== */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 20;


  backdrop-filter: blur(10px); /* efecto vidrio */
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}



.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 20px;
}

.logo { height: 90px; }

.main-nav ul { display: flex; list-style: none; gap: 35px; }
.main-nav a {
  text-decoration: none; color: #003366; font-weight: 600;
  font-size: 1.2rem; padding: 12px 20px; transition: color .3s, text-shadow .3s;
}
.main-nav a:hover { color: #0078ff; text-shadow: 0 0 5px rgba(0,120,255,.3); }
.main-nav a.active { color: #0078ff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.hamburger, .hamburger::before, .hamburger::after {
  display: block; background-color: #003366; height: 3px; width: 25px;
  position: relative; transition: .3s;
}
.hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; }
.hamburger::before { top: -8px; } .hamburger::after { top: 8px; }

@media (max-width: 768px) {
  .main-nav {
    display: none; flex-direction: column; background: #fff;
    position: absolute; top: 70px; right: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,.1); border-radius: 10px;
  }
  .main-nav ul { flex-direction: column; gap: 15px; }
  .main-nav.show { display: flex; }
  .nav-toggle { display: block; }
  .main-nav a { font-size: 1.3rem; padding: 14px 18px; }
}

/* ==========================
   HERO / IMAGEN INFERIOR
========================== */
.imagen-inferior { text-align: center; background: #fff; padding: 110px 0 40px; }
.imagen-inferior img {
  border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* ==========================
   WHATSAPP FLOTANTE
========================== */
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px; background: #25d366;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.3);
  transition: transform .3s; z-index: 20;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ==========================
   SECCIÓN INFO
========================== */
.info { background: #fff; padding: 80px 0; text-align: center; }
.info h2 { color: #003366; font-size: 2rem; margin-bottom: 20px; }
.info p {
  max-width: 800px; margin: 0 auto 50px; color: #555;
  font-size: 1.1rem; line-height: 1.7;
}

/* Tarjetas */
.info-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; }

.info-card {
  
  background: #f5f7fa; border-radius: 15px; padding: 30px; max-width: 320px;
  text-align: center; transition: transform .3s ease, box-shadow .3s ease;
}
.info-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.info-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: #0078ff; }
.info-card p { color: #444; font-size: 1rem; }

/* Imagen de tarjeta (consolidado, sin duplicados) */
.info-card img {
  width: 190px; height: 190px; object-fit: cover; border-radius: 20px;
  margin: 0 auto 15px; display: block;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.3));
  transition: transform .3s ease;
}
.info-card:hover img { transform: scale(1.1); }

/* ==========================
   BLOQUE INFO IZQ/DER
========================== */
.info-container {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  width: 90%; margin: auto; flex-wrap: wrap; flex-direction: row-reverse;
}
.info-text { flex: 1 1 700px; text-align: left; }
.info-text h2 { font-size: 2rem; color: #003366; margin-bottom: 15px; text-align: center; }
.info-text p { font-size: 1.1rem; line-height: 1.7; color: #555; text-align: justify; }
.info-image { flex: 1 1 400px; display: flex; justify-content: center; }
.info-image img {
  width: 100%; max-width: 450px; border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,.15); transition: transform .3s;
}
.info-image img:hover { transform: scale(1.03); }

@media (max-width: 768px) { .info-container { flex-direction: column; } }

/* ==========================
   CARRUSEL DE MARCAS
========================== */
.marcas { 
  background: #eef5ff; 
  text-align: center; 
  padding: 60px 0 90px; /* más espacio abajo */
  margin-bottom: 50px;  /* separación antes del footer */
}

.marcas h2 { 
  color: #003366; 
  margin-bottom: 25px; 
  font-size: 1.8rem; 
}

.carousel { 
  overflow: hidden; 
  width: 90%; /* antes 90% → más angosto */
  margin: 5px auto ; 
}

.carousel-track { 
  display: flex; 
  gap: 40px; 
  animation: scroll 25s linear infinite; 
}

.carousel img { 
  height: 70px; 
  width: auto; 
  filter: grayscale(100%); 
  transition: filter .3s; 
}

.carousel img:hover { 
  filter: grayscale(0%); 
}

/* Pausa al hacer hover */
.carousel:hover .carousel-track { 
  animation-play-state: paused; 
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================
   PIE DE PÁGINA
========================== */
.site-footer {
  background: linear-gradient(135deg, #0095ff, #004080); color: #e0e0e0; padding: 50px 20px 20px; text-align: center;
}
.footer-container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px; max-width: 1200px; margin: 0 auto 20px;
}
.footer-section h3 { color: #00bcd4; font-size: 1.2rem; margin-bottom: 10px; }
.footer-section p, .footer-section a {
  color: #e0e0e0; font-size: .95rem; text-decoration: none; transition: color .3s;
}
.footer-section a:hover { color: #00bcd4; }

.redes .social-icons { display: flex; justify-content: center; gap: 15px; margin-top: 10px; }
.social-icons img { width: 30px; height: 30px; transition: transform .3s, filter .3s; }
.social-icons img:hover { transform: scale(1.2); }

.footer-bottom {
  border-top: 1px solid #333; padding-top: 15px; font-size: .9rem; color: #aaa;
}
/* ===== BOTÓN "VER SERVICIOS" ===== */
.btn-ver-servicios {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #0078ff, #003366);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 120, 255, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-ver-servicios:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 120, 255, 0.45);
}

.btn-ver-servicios:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 120, 255, 0.35);
}
.btn-contacto {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #0078ff, #003366);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 120, 255, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-contacto:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 120, 255, 0.45);
}

.btn-contacto:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 120, 255, 0.35);
}
.botones-acciones {
  display: flex;
  justify-content: center;
  gap: 20px; /* distancia entre botones */
  flex-wrap: wrap; /* por si se ajusta en pantallas pequeñas */
}



@media (prefers-color-scheme: dark) {
  .btn-ver-servicios {
    background: linear-gradient(135deg, #0095ff, #004080);
    box-shadow: 0 4px 10px rgba(0, 120, 255, 0.4);
  }
}
/* ========================================================================================================
                                                   SERVICIOS.HTML
======================================================================================================== */

/* ==========================
   TARJETAS DE SERVICIOS
========================== */
.servicios {
  background-color: transparent;
  padding: 50px 0;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  /* Sombra suave para el párrafo */
}

.servicios h2 {
  font-family: "PT Serif", serif; /* Fuente elegida */
  font-size: 3rem; /* Tamaño de la fuente */
  font-weight: bold; /* Negrita */
  margin-bottom: 40px; /* Espacio entre el título y las tarjetas */
}

/* Contenedor de las tarjetas */
.servicios-container {
  display: flex;
  justify-content: space-between;  /* Distribuye las tarjetas en la línea */
  flex-wrap: wrap;  /* Asegura que las tarjetas se distribuyan en varias filas */
  gap: 15px; /* Espacio entre las tarjetas */
  margin-top: 40px; /* Espacio entre el texto de entrada y las tarjetas */
}

/* Estilo de cada tarjeta */
.servicio {
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  padding: 20px;
  margin: 0; /* Eliminar márgenes innecesarios */
  width: 48%;  /* Esto asegura que haya 2 tarjetas por fila */
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transiciones suaves */
}

/* Efecto hover */
.servicio:hover {
  transform: translateY(-5px); /* Mover la tarjeta hacia arriba */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Aumentamos la sombra */
}

.servicio img {
  max-width:85%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease; /* Animación para la imagen */
}

.servicio:hover img {
  transform: scale(1.05); /* Aumentar la imagen un poco al hacer hover */
}

.servicio h3 {
  font-size: 1.5rem;
  margin: 15px 0;
}

.servicio p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.btn-servicio {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-servicio:hover {
  background-color: #0056b3;
}

/* Responsividad: Ajustar las tarjetas en pantallas más pequeñas */
@media (max-width: 1200px) {
  .servicio {
    width: 45%;  /* 2 tarjetas por fila */
  }
}

@media (max-width: 768px) {
  .servicio {
    width: 90%;  /* 1 tarjeta por fila */
  }
}

/* Estilo para la sección que contiene la información contractual y el mapa */
.informacion-map-container {
  display: flex;
  justify-content: center;
  gap: 40px; /* Espacio entre las dos secciones */
  flex-wrap: wrap; /* Asegura que en pantallas pequeñas se acomode en una sola columna */
  padding: 40px 0;
  margin-bottom: 20px; /* Añadimos un pequeño margen al final para evitar que toque el footer */
}

/* Ordenar el mapa antes de la información contractual */
.mapa-cobertura {
  order: 1;
  text-align: center;
  padding: 20px;
  margin: 0 auto;
  width: 100%;
}



/* Estilo para la sección de Información Contractual */
.informacion-contractual {
  order: 2; /* Luego la información contractual */
background: linear-gradient(145deg, #0d47a1, #42a5f5);
  padding: 40px;
  border-radius: 10px; /* Esquinas redondeadas */
  margin: 0 auto;  /* Centra el contenedor */
  width: 70%; /* Reduce el tamaño del contenedor de información contractual */
  text-align: center;  /* Centra el texto dentro del contenedor */
  
  margin-bottom: 60px; /* 👈 SEPARA DEL FOOTER */
}

/* Título de Información Contractual */
.informacion-contractual h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00e6e6;
}

/* Contenedor de los botones de Información Contractual */
.paquete {
  margin-bottom: 40px;
}

.paquete h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
}

/* Botones dentro de Información Contractual */
.botones-paquete {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Estilo para los botones */
.btn-pdf {
  background-color: #0056b3;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-pdf:hover {
  background-color: #008ba3;
  transform: scale(1.05);
}

/* Estilo para la sección de mapa de cobertura */
.mapa-cobertura {
  text-align: center;
  padding: 40px;
  flex: 1 1 100%;
}

/* Títulos para el mapa de cobertura */
.mapa-cobertura h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Contenedor que envuelve la imagen y el botón */
.mapa-imagen-container {
  position: relative;
  display: inline-block;
  width: 80%;     /* 🔹 AQUÍ AJUSTAS EL TAMAÑO DEL MAPA */
  max-width: 500px; /* 🔹 Limite máximo opcional */
}


/* Estilo para la imagen */
.imagen-mapa {
  max-width: 100%;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* Efecto de hover en la imagen */
.imagen-mapa:hover {
  transform: scale(1.05);
}

/* Estilos para el botón sobre la imagen */
.boton-cobertura {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #007bff;
  color: white;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.boton-cobertura:hover {
  background-color: #0056b3;
}

/* Hacer la sección más responsiva */
@media (max-width: 768px) {
  .informacion-map-container {
    flex-direction: column; /* Apilar los elementos en pantallas pequeñas */
    gap: 20px;
  }
  
  .informacion-contractual,
  .mapa-cobertura {
    flex: 1 1 100%; /* Ambos ocuparán el 100% del contenedor en pantallas pequeñas */
    width: 100%; /* Garantiza que ocupe todo el ancho en pantallas pequeñas */
  }
}
/* ========================================================================================================
                                                   NOSOTROS.HTML
======================================================================================================== */

.nosotros-distingue { 
    width: 90%;
    margin: 80px auto;
    text-align: center;
}

.nosotros-distingue h2 {
    font-family: "PT Serif", serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #0a2540;
}

/* Contenedor de tarjetas */
.tarjetas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    align-items: stretch;
}

/* Tarjeta */
.tarjeta {
    background: #f4f6f8; /* gris claro elegante */
    border-radius: 22px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Hover elegante */
.tarjeta:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.tarjeta-img {
    width: 100%;
    height: auto;
    object-fit: initial;
    border-radius: 16px;
}



/* Título */
.tarjeta h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #0a2540;
    font-weight: 700;
}

/* Texto */
.tarjeta p {
    font-size: 1rem;
    color: #3a3a3a;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .nosotros-distingue h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .tarjeta-img {
        height: 140px;
    }

    .tarjeta h3 {
        font-size: 1.35rem;
    }
}
/* Contenedor general reutilizable */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ---------------- QUIÉNES SOMOS ---------------- */
.nosotros-quienes {
    margin: 90px auto;
    text-align: center;
}

.nosotros-quienes h2 {
    font-family: "PT Serif", serif;
    font-size: 2.6rem;
    color: #0a2540;
    margin-bottom: 25px;
}

.nosotros-quienes p {
    font-size: 1.1rem;
    color: #3a3a3a;
    line-height: 1.8;
    max-width: 900px;
    margin: auto;
}

/* ---------------- MISIÓN / VISIÓN / VALORES ---------------- */
.nosotros-mvv {
    width: 90%;
    margin: 90px auto;
}

/* reutiliza tus tarjetas SIN modificar */
.nosotros-mvv .tarjeta {
    background: #ffffff;
}

/* ---------------- POR QUÉ ELEGIRNOS ---------------- */
.nosotros-porque {
    background: #f4f6f8;
    padding: 80px 0;
    text-align: center;
}

.nosotros-porque h2 {
    font-family: "PT Serif", serif;
    font-size: 2.4rem;
    color: #0a2540;
    margin-bottom: 35px;
}

.lista-beneficios {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: auto;
}

.lista-beneficios li {
    font-size: 1.1rem;
    color: #3a3a3a;
    padding: 12px 0;
}

/* ---------------- CTA FINAL ---------------- */
.nosotros-cta {
    margin-top: 120px;      /* separación con lo de arriba */
    margin-bottom: 90px;   /* separación con el footer (ESTO ES LO QUE QUIERES) */
   background: linear-gradient(135deg, #0095ff, #004080);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}


.nosotros-cta h2 {
    font-family: "PT Serif", serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.nosotros-cta p {
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    padding: 14px 36px;
    background: #ffffff;
    color: #0a2540;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 768px) {
    .nosotros-quienes h2,
    .nosotros-porque h2,
    .nosotros-cta h2 {
        font-size: 2rem;
    }
}
/* ---------------- FRASE EXTRA CONTACTO ---------------- */
.contacto-frase {
    text-align: center;
    margin: 80px auto;
    max-width: 800px;
}

.contacto-frase p {
    font-family: "PT Serif", serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #0a2540;
}
/* ==========================================
        CARRUSEL MULTIPLE CONTINUO
========================================== */

.nosotros-galeria {
    padding: 80px 20px;
    text-align: center;
    background: #f8f9fb;
}

.nosotros-galeria h2 {
    font-size: 2.3rem;
    color: #0a2540;
    margin-bottom: 40px;
}

/* CONTENEDOR */
.carousel-multi {
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

/* TRACK */
.carousel-track-multi {
    display: flex;
    gap: 20px;
    animation: scroll 20s linear infinite;
}

/* IMÁGENES */
.carousel-track-multi img {
    width: 300px;        /* Tamaño de cada cuadro */
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

/* ANIMACIÓN CONTINUA */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-track-multi img {
        width: 220px;
        height: 180px;
    }
}


/* ========================================================================================================
                                                CONTACTO (DISEÑO MEJORADO)
======================================================================================================== */

/* ---------- HERO ---------- */
.contacto-hero {
    text-align: center;
    margin: 100px auto 70px;
    padding: 0 20px;
}

.contacto-hero h2 {
    font-family: "PT Serif", serif;
    font-size: 3rem;
    color: #0a2540;
    margin-bottom: 18px;
}

.contacto-hero p {
    font-size: 1.15rem;
    max-width: 760px;
    margin: auto;
    color: #4a4a4a;
    line-height: 1.8;
}

/* ---------- BLOQUE GENERAL ---------- */
.contacto-contenido {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

/* ---------- TARJETAS ---------- */
.contacto-tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 35px;
    margin-bottom: 80px;
}

.contacto-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 26px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.contacto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 50px rgba(0,0,0,0.2);
}

.contacto-card img {
    width: 350px;
    height: 350px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.contacto-card:hover img {
    transform: scale(1.1);
}


.contacto-card h3 {
    color: #0a2540;
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.contacto-card p {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.contacto-card a {
    color: #0a2540;
    text-decoration: none;
    font-weight: 600;
}

.contacto-card a:hover {
    text-decoration: underline;
}


/* ---------- FRASE FINAL ---------- */
.contacto-frase {
    text-align: center;
    margin: 80px auto 100px;
    max-width: 820px;
}

.contacto-frase::before {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #0a2540;
    margin: 0 auto 25px;
}

.contacto-frase p {
    font-family: "PT Serif", serif;
    font-size: 1.4rem;
    font-style: italic;
    color: #0a2540;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .contacto-hero h2 {
        font-size: 2.3rem;
    }

    .contacto-card {
        padding: 30px 22px;
    }

    .contacto-form {
        padding: 38px 28px;
    }

    .contacto-frase p {
        font-size: 1.15rem;
    }
}
/* Contenedor del formulario */
#formContacto {
  max-width: 400px;
  margin: 50px auto;
  padding: 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  font-family: Arial, sans-serif;
}

/* Inputs y textarea */
#formContacto input,
#formContacto textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* Efecto al enfocar */
#formContacto input:focus,
#formContacto textarea:focus {
  border-color: #007BFF;
  outline: none;
  box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

/* Botón */
#formContacto button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #007BFF, #00c6ff);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover botón */
#formContacto button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Click botón */
#formContacto button:active {
  transform: scale(0.98);
}

/* Responsive */
@media (max-width: 480px) {
  #formContacto {
    margin: 20px;
    padding: 20px;
  }
}
/* Título */
.titulo-form {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: bold;
  color: #373d43;
  position: relative;
}

/* Línea decorativa debajo */
.titulo-form::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 5px;
}