.grecaptcha-badge { 
    bottom: 800px !important; 
    background-color: black;
}
/* Configuración General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-blue: #003366;
    --accent-green: #25D366;
    --light-bg: #f4f4f4;
}

/* Header */
header {
    position: absolute;
    width: 100%;
    padding: 20px 50px;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('img/auriga_malecón.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-content h1 span {
    font-weight: 300;
}

.btn-whatsapp {
    display: inline-block;
    background-color: var(--accent-green);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: bold;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
}

.btn-whatsapp-secondary {
    background-color: #800020;
    color: white;
    padding: 10px 25px;
    margin-top: 20px;
    display: table; 
    margin-left: auto;
    margin-right: auto;
}

.btn-whatsapp-secondary:hover {
    background-color: #550015;
}


.whatsapp-btn {
    background-image: url(img/whatsapp-icon.png);
    background-size: 60%; /* Ajusta el tamaño del logo dentro del círculo */
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%; /* Esto lo hace redondo */
    text-align: center;
    font-size: 35px; /* Tamaño del logo */
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1); /* Crece un poquito al pasar el mouse */
    color: white;
}

/* Features */
.features {
    display: flex;
    justify-content: space-around;
    padding: 50px 10%;
    background: white;
    text-align: center;
}

.feature-item i {
    font-size: 2.5rem;
    color: #003366; /* Azul oscuro elegante */
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    text-align: center;
}

.feature-item:hover i {
    transform: scale(1.1); /* Efecto sutil al pasar el mouse */
}

.feature-item p {
    text-align: justify;
    text-justify: inter-word; /* Mejora la distribución del espacio entre palabras */
    hyphens: auto;            /* Divide palabras largas para evitar huecos grandes */
    line-height: 1.6;         /* Un buen espacio entre líneas ayuda a la lectura */
    max-width: 300px;         /* Limitar el ancho hace que el justificado se vea más ordenado */
}

/* Services */
.services-container {
    padding: 60px 10%;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 30px;
}

.service-card {
    display: flex;
    align-items: center;
    margin-bottom: 10%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.service-card i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--primary-blue);
}

.btn-primary {
    background-color: var(--accent-green);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.services-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.services-gallery img {
  width: 100%;
    height: 200px; /* O la altura que prefieras */
    object-fit: cover; /* Esto recorta la foto para que llene el espacio sin estirarse */
    border-radius: 10px;
    cursor: zoom-in;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 1% 10%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-large a {
    text-decoration: none;
    font-size: 1.5rem;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    color: white;
    margin-left: 10%;
}

.footer-social {
    display: flex;          /* Activa el modo flexible */
    justify-content: center; /* Centra los iconos (opcional) */
    align-items: center;     /* Los alinea verticalmente */
    gap: 15px;              /* Espacio de separación entre los dos iconos */
    margin-top: 15px;       /* Espacio respecto a los números de arriba */
}

.footer-social img {
    width: 30px;            /* Ajusta el tamaño según prefieras */
    height: auto;
    display: block;         /* Quita espacios extra debajo de la imagen */
}

.footer-sitio {
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    margin-top: 3%; /* Espacio después del mapa */
}

.footer-sitio p {
    opacity: 0.8; /* Lo hace un poquito más sutil */
}




/* Para la Opción 1: Lista de números */
.phone-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: bold;
    color: #003366;
    font-size: 0.9rem;
}

.phone-container span i a {
    text-decoration: none;
    display: block;
    font-size: 0.8rem;
    color: #003366;
    font-style: normal;
}

/* Contenedor principal de la sección */
.about-section {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Espacio grande entre los dos bloques */
    padding: 80px 10%;
    background-color: #F5F5F5;
}

.about-container.reversed {
    flex-direction: row-reverse;
}

/* Contenedor interno que divide el espacio */
.about-container {
    display: flex;
    align-items: center; /* Centra el texto con la imagen verticalmente */
    gap: 50px;
}

/* Estilo del contenido de texto */
.about-content {
    flex: 1.5;
}

.about-content h2 {
    margin-top: 0; /* NUEVO: Elimina el margen que empuja el texto hacia abajo */
    color: black;
    margin-bottom: 20px;
}

.about-content p {
    line-height: 1.8;
    color: black;
    text-align: justify; /* Texto justificado como pediste */
    margin-bottom: 15px;
}

/* Estilo de la imagen */
.about-image {
    flex: 0.9;
    display: flex;          /* CAMBIO: Usar flex en lugar de table-column */
    flex-direction: column; /* Apila las imágenes una tras otra */
    gap: 20px;             /* Espacio entre las dos imágenes */
}

.about-image img {
 width: 100%;
    height: 300px; /* O la altura que prefieras */
    object-fit: cover; /* Esto recorta la foto para que llene el espacio sin estirarse */
    border-radius: 10px;
 cursor: zoom-in;
}

.img-oculta {
    display: none; /* Las fotos existen en el código, pero son invisibles */
}

/* Animación de entrada */
@keyframes zoom {
  from {transform: translate(-50%, -50%) scale(0.1); opacity: 0;}
  to {transform: translate(-50%, -50%) scale(1); opacity: 1;}
}

/* Estilo del fondo del modal */
/* El fondo oscuro */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 9999; /* Para que esté por encima de TODO */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

/* La foto grande */
.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado perfecto */
    border: 3px solid white;
    border-radius: 10px;
}

/* El botón de cerrar (X) */
.close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}




/* Botones de navegación */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 2.5rem;
    padding: 20px 15px;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
    z-index: 10001;
}

.nav-btn:hover { background: rgba(255, 255, 255, 0.3); }
.prev { left: 20px; }
.next { right: 20px; }

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.mapa-contenedor {
   
    width: 100%;
    border-radius: 15px; /* Para que combine con tus fotos */
    overflow: hidden; /* Esto hace que el mapa respete las esquinas redondeadas */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mapa-contenedor iframe {
    display: block;
}

/* Estilo para los inputs */
.footer-form {
    flex: 1;
    min-width: 300px;
    margin-left: 10%;
    padding-top: 5%;
}

.footer-form h3 {
    margin-bottom: 15px;
    color: white; /* Color verde como WhatsApp */
}

.footer-form form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-form input, .footer-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: white;
    color: black;
    font-family: inherit;
}

.btn-enviar {
    background-color: #25d366;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-enviar:hover {
    background-color: #128c7e;
}

.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto; /* Espacio arriba y abajo del separador */
    max-width: 600px;  /* Para que no sea tan larga la línea */
    opacity: 0.6;      /* Para que sea sutil y no brille tanto como el texto */
}

.line {
    flex: 1;           /* Hace que las líneas crezcan para llenar el espacio */
    height: 1px;       /* Grosor de la línea */
    background-color: #003366; /* El azul de tu marca */
}

.dot {
    width: 8px;        /* Tamaño del punto */
    height: 8px;
    background-color: #003366;
    border-radius: 50%; /* Lo hace circular */
    margin: 0 15px;    /* Espacio a los lados del punto */
}

/* ==========================================
   ESTILOS RESPONSIVE (Móviles y Tablets)
   ========================================== */

@media (max-width: 768px) {
    /* Header y Navegación */
    header {
     position: static; /* Cambia de absolute a static para que no flote */
        padding: 0;
        background: none; 
        min-height: 0;
        width: 0;
        overflow: hidden; /* Asegura que nada se escape */
    }

	nav {
       display: none !important;
    }

    /* Hero Section */
    .hero {
        height: 60vh;
        padding: 0 5%;
        text-align: center;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    /* Features (Iconos) */
    .features {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .feature-item p {
        max-width: 100%; /* Que ocupe todo el ancho disponible */
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
    }

    .services-gallery {
        grid-template-columns: 1fr; /* Fotos una debajo de otra */
    }

    /* About Sections (Las que tienen reversed) */
    .about-section {
        padding: 40px 5%;
        gap: 40px;
    }

    .about-container, 
    .about-container.reversed {
        flex-direction: column; /* Apilar imagen y texto */
        text-align: center;
    }

    .about-content p {
        text-align: left; /* O center si prefieres */
    }

    .about-image {
        width: 100%;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-form, 
    .whatsapp-large {
        margin-left: 0;
        width: 100%;
    }

    /* Botón flotante de WhatsApp más pequeño en móvil */
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    /* Modal de imágenes */
    .modal-content {
        max-width: 95%;
        max-height: 70%;
    }
    
    .separator {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 40px auto; /* Espacio arriba y abajo del separador */
        max-width: 300px;  /* Para que no sea tan larga la línea */
        opacity: 0.6;      /* Para que sea sutil y no brille tanto como el texto */
    }
    
}

/* Tablets pequeñas / Pantallas intermedias */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr; /* También una columna para tablets si el contenido es mucho */
    }
    
    .about-container {
        gap: 20px;
    }
}