/* =============================
   FONDO GENERAL
============================= */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('/public/img/fondopantalla.webp') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

/* Capa para mejorar la lectura */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}
/* ==================================================
BOTÓN SOPORTE WHATSAPP PRO
================================================== */
.whatsapp-support {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 18px;

  background: #25D366;
  color: #fff;

  border-radius: 30px;
  text-decoration: none;

  font-size: 14px;
  font-weight: bold;

  box-shadow: 0 8px 25px rgba(0,0,0,0.4);

  transition: all 0.3s ease;

  /* animación PRO */
  animation: whatsappPulse 2s infinite;
}

/* icono */
.whatsapp-support i {
  font-size: 20px;
}

/* hover */
.whatsapp-support:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}

/* animación pulse */
@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37,211,102,0.6);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37,211,102,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37,211,102,0);
  }
}
/* =============================
   HERO (LOGO + DESCRIPCIÓN)
============================= */

.hero {
    text-align: center;
    padding: 80px 20px 50px; /* menos separación */
    position: relative;
}

.logo-hero {
    display: block;
    margin: 0 auto 10px auto; /* logo centrado y pegado al texto */
    height: auto; /* no limitamos tamaño */
    filter: drop-shadow(0 0 12px rgba(0,0,0,0.5));
    position: relative;
    z-index: 2; /* asegura que quede por encima del texto */
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0,0,0,0.45);
    position: relative;
    z-index: 1; /* texto debajo del logo si se superpone */
}

/* =============================
   TITULOS DE SECCIÓN
============================= */

.section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 900;
    margin: 50px 0 30px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* =============================
   CARDS DE SERVICIOS
============================= */

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.card {
    background: rgba(255,255,255,0.08);
    padding: 35px 25px;
    width: 300px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    transition: 0.3s ease;
    color: #fff;
}

.card:hover {
    transform: translateY(-6px);
    border-color: #ff6a00;
    box-shadow: 0 4px 20px rgba(255,115,0,0.25);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
}

.card p {
    font-size: 15.5px;
    line-height: 1.45;
    color: #eaeaea;
}

/* =============================
   BENEFICIOS
============================= */

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 50px;
}

.benef-card {
    background: rgba(255,255,255,0.08);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    transition: 0.3s ease;
}

.benef-card:hover {
    transform: translateY(-6px);
    border-color: #ff6a00;
    box-shadow: 0 4px 20px rgba(255,115,0,0.25);
}

.benef-card i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #ff7a00;
}

.benef-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.benef-card p {
    font-size: 15px;
    line-height: 1.45;
    color: #eaeaea;
}

/* =============================
   FORMULARIO DE CONTACTO
============================= */

.contacto {
    padding: 80px 20px 70px; /* más aire arriba y abajo */
    text-align: center;
}

.contacto p {
    max-width: 750px;
    margin: 0 auto 35px auto;
    font-size: 18px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255,255,255,0.92);
    padding: 50px 60px; /* más aire interno */
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.45);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px; /* más aire entre campos */
}

.form-group {
    text-align: left;
}

.form-group label {
    font-weight: bold;
    color: #111;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #bbb;
    font-size: 16px;
    background: #fafafa;
}

.form-textarea {
    grid-column: span 2;
}

.btn {
    grid-column: span 2;
    background: #FF7A00;
    color: white;
    border: none;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    transition: background 0.3s ease, transform 0.25s ease;
}

.btn:hover {
    background: #e56600;
    transform: translateY(-3px);
}
/* =============================
   FOOTER NAVEGACIÓN
============================= */

.nav-footer {
    text-align: center;
    padding: 40px 0;
    font-size: 18px;
}

.nav-footer a {
    color: #FFA43A;
    text-decoration: none;
    font-weight: bold;
}

.nav-footer a:hover {
    text-decoration: underline;
}

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

@media (max-width: 768px) {

    .logo-hero {
        max-width: 100%; /* ocupa todo el ancho disponible en móviles */
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

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

    .form-textarea,
    .btn {
        grid-column: span 1;
    }
}