:root {
    --primary-color: #25BFBE;
    --secondary-color: #1a8f8e;
    --dark-grey: #2c3e50;
    --white: #ffffff;
    --light-grey: #f4f7f6;
    --footer-bg: #1a1a1a;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--white);
}

/* --- Navegación --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 8%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky; top: 0; z-index: 1000;
}

.logo img { height: 45px; }

.nav-links { display: flex; list-style: none; align-items: center; gap: 25px; }
.nav-links a {
    text-decoration: none;
    color: var(--dark-grey);
    font-weight: 600;
    transition: 0.3s;
}
.nav-links a:hover { color: var(--primary-color); }

.lang-btn {
    background: none; border: none; cursor: pointer;
    margin-left: 5px; transition: transform 0.2s;
}
.lang-btn img { width: 24px; border-radius: 2px; }

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1350&q=80');
    background-size: cover; background-position: center;
    height: 60vh;
    display: flex; flex-direction: column; justify-content: center;
    align-items: center; text-align: center; color: var(--white);
    padding: 0 20px;
}
.hero h1 { font-size: 3rem; margin-bottom: 1rem; }

/* --- Layout General --- */
section { padding: 4rem 8%; flex: 1; }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px; margin-top: 30px;
}

.info-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Tarjeta que ocupa todo el ancho */
.card-full {
    width: 100%;
    text-align: center;
}

/* Grid para las dos tarjetas de abajo */
.grid-half {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background-color: #f4f7f6; /* El gris claro que usamos en la sección de contacto */
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border-bottom: 4px solid var(--primary-color);
    transition: all 0.3s ease; /* Suaviza el cambio de color */
    cursor: default;
}

/* Efecto al pasar el mouse (Hover) */
.card:hover {
    background-color: #ffffff; /* Cambia a blanco puro */
    transform: translateY(-5px); /* Pequeño levante para dar dinamismo */
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); /* Sombra más profunda al resaltar */
}

/* Asegurar que el texto se vea bien */
.card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.card p {
    color: #444;
    line-height: 1.6;
}

/* --- Página de Servicios (Botones y Modal) --- */
.service-btn {
    background: var(--light-grey); border: 1px solid #e0e0e0;
    padding: 5.0rem 1rem; border-radius: 12px; cursor: pointer;
    font-weight: 700; color: var(--dark-grey);
    transition: all 0.3s ease;
}
.service-btn:hover {
    background: var(--primary-color); color: var(--white);
    transform: translateY(-3px);
}

.modal {
    display: none; position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px); z-index: 9999;
}
.modal-content {
    background: var(--white); margin: 5% auto; padding: 40px;
    border-radius: 20px; width: 90%; max-width: 800px;
    text-align: center; position: relative;
    animation: modalFadeIn 0.4s ease;
}
@keyframes modalFadeIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal img { width: 100%; height: 350px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }

.modal-list {
    display: grid;
    /* Esto crea las dos columnas si hay espacio suficiente */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 15px;
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.modal-list li {
    position: relative;
    padding-left: 25px;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
    text-align: left;
}

/* La flechita morada/azul de la imagen */
.modal-list li::before {
    content: '▶'; 
    position: absolute;
    left: 0;
    color: var(--primary-color); /* Usa tu color turquesa/azul */
    font-size: 0.8rem;
    top: 2px;
}

.modal-description {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #444;
    font-size: 1rem;
}

/* El subtítulo "Nuestros servicios incluyen" */
#modalDesc h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
	margin-top: 20px;
	margin-bottom: 15px;
}

/* --- Página de Contacto MEJORADA --- */
.quote-banner {
    background-color: var(--light-grey);
    padding: 2.5rem 8%; display: flex;
    justify-content: space-between; align-items: center;
    border-bottom: 1px solid #eee;
}

.whatsapp-btn-banner {
    background-color: var(--primary-color); color: var(--white);
    padding: 12px 30px; text-decoration: none; border-radius: 50px;
    font-weight: bold; transition: 0.3s;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; margin-top: 2rem;
}
.contact-col {
    padding: 2rem; background: var(--light-grey); border-radius: 15px;
    text-align: center; transition: 0.3s;
}
.contact-col:hover { background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.contact-icon { width: 50px; height: 50px; margin-bottom: 15px; }
.contact-icon path { stroke: var(--primary-color); stroke-width: 1.5; }
.info-text a { color: var(--primary-color); text-decoration: none; }

/* --- Footer Delgado --- */
footer {
    background: var(--footer-bg);
    color: var(--white);
    text-align: center;
    padding: 1.2rem; /* Reducido */
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .quote-banner { flex-direction: column; gap: 15px; text-align: center; }
}