/* --- VARIABLES DE ALTA PRECISIÓN (PALETA EDITORIAL Y MODERNA) --- */
:root {
    /* Fondos y Bases */
    --bg-body: #f5f4f0;         /* Lino suave, arena claro */
    --bg-card: #ffffff;         /* Blanco puro para tarjetas */
    --bg-quote: #eae9e2;        /* Gris piedra muy suave */
    
    /* Colores de Marca */
    --bg-green: #898f77;        /* Verde Salvia central. ESTE ES EL COLOR QUE SE MANTIENE PARA EL LOGO. */
    --bg-green-dark: #3a4237;   /* Verde bosque profundo, para dar contraste a los textos */
    --bg-green-light: #eef0eb;  /* Verde agua casi blanco para fondos secundarios */
    --accent-earth: #b87c60;    /* Terracota elegante, mate */
    --accent-earth-light: #f6efe9; 
    
    /* Textos */
    --text-dark: #1e221f;       /* Gris carbón */
    --text-muted: #5c625d;      /* Gris medio orgánico */
    --white: #ffffff;
    
    /* Tipografías */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Jost', sans-serif;
    
    /* Layout y Estilos */
    --section-pad: 120px 8vw;
    --radius-sm: 4px;
    --radius-md: 8px;
    --border-soft: 1px solid rgba(137, 143, 119, 0.2);
    --transition: all 0.3s ease;
}

/* --- RESET Y BASES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Clases de apoyo tipográfico */
.section-subtitle {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-earth);
    font-weight: 600;
    margin-bottom: 12px;
}
.section-subtitle.light { color: var(--bg-green-light); opacity: 0.9; }
.section-subtitle.center { text-align: center; }

.section-title {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 64px;
    color: var(--bg-green-dark);
}

/* --- NAVEGACIÓN (HEADER) --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8vw;
    background-color: rgba(245, 244, 240, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(137, 143, 119, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Contenedor circular del logo */
.logo-icon-wrapper {
    background-color: var(--bg-green-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ESTILO DEL LOGO: Se aplica la imagen como máscara y se colorea en el verde correcto */
.logo-graphic-masked {
    display: block;
    width: 100%;
    height: 100%;
    /* El color de fondo es el color de marca que queremos aplicar al logo */
    background-color: var(--bg-green);
    /* La imagen se aplica como máscara, dejando pasar el color solo en su forma */
    mask-image: url('../assets/images/logo.svg');
    -webkit-mask-image: url('../assets/images/logo.svg'); /* Compatibilidad con Safari */
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-position: center;
    -webkit-mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.logo-text h1 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 500;
    color: var(--bg-green-dark);
    line-height: 1;
}

.logo-text p {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 5px;
}

nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}

nav .nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}

nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-earth);
    transition: var(--transition);
}

nav .nav-link.active, nav .nav-link:hover {
    color: var(--bg-green-dark);
}

nav .nav-link.active::after, nav .nav-link:hover::after {
    width: 100%;
}

nav .btn-header {
    background-color: var(--bg-green);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
}
nav .btn-header::after { display: none; }
nav .btn-header:hover {
    background-color: var(--bg-green-dark);
}

/* --- HERO (CON EL DEGRADADO FUNDIDO CORRECTO A LA IMAGEN) --- */
.hero {
    display: flex;
    min-height: 55vh;
    max-height: 70vh;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-body);
}

.hero-content {
    flex: 0.8;
    /* EL DEGRADADO ORIGINAL QUE FUNDE EL SALVIA CON LA FOTO DE LA CABAÑA */
    background: linear-gradient(to right, var(--bg-green) 65%, rgba(137, 143, 119, 0.95) 80%, transparent 100%);
    color: var(--white);
    padding: 80px 10% 80px 8vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(38px, 4.2vw, 54px);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-content p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 90%;
}

/* BOTÓN MATE - SIN EFECTOS DE BRILLO O GLOW */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--accent-earth);
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    padding: 16px 36px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #a3684d; /* Tono terracota mate ligeramente más oscuro */
    transform: translateY(-2px); /* Ligera elevación mate */
}

/* LA IMAGEN DEL HERO EN LA CAPA INFERIOR */
.hero-image-container {
    flex: 1.4; /* Ocupa más espacio */
    background-color: #cbd0cc;
    display: flex;
    align-items: stretch;
    margin-left: -18%; /* Se desliza por debajo del degradado verde */
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- QUIÊN SOY (ESTILO EDITORIAL SOFISTICADO) --- */
.about {
    padding: var(--section-pad);
    display: grid;
    grid-template-columns: 4fr 5.5fr 4fr;
    gap: 5vw;
    align-items: center;
}

.img-vertical-wrapper {
    position: relative;
    padding-top: 15px;
    padding-left: 15px;
}

.img-vertical-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 70%; height: 70%;
    border-top: 1px solid var(--accent-earth);
    border-left: 1px solid var(--accent-earth);
    z-index: 0;
}

.img-vertical {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #d8d7d0;
    position: relative;
    z-index: 1;
}

.sobremi-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--bg-green-dark);
}

.about-text .intro-bold {
    font-weight: 500;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.about-text p {
    font-size: 15.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.quote-box {
    background-color: var(--bg-quote);
    padding: 45px 35px;
    position: relative;
    border-left: 3px solid var(--accent-earth);
}

.quote-icon {
    font-size: 24px;
    color: var(--accent-earth);
    opacity: 0.4;
    margin-bottom: 16px;
}

.quote-box blockquote {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    font-style: italic;
    color: var(--bg-green-dark);
}

/* --- CÓMO TRABAJO --- */
.how-i-work {
    background-color: var(--bg-green-dark);
    color: var(--white);
    padding: var(--section-pad);
}

.how-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: center;
}

.how-header h3 {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 400;
    margin-bottom: 16px;
}

.how-header h4 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
}

.how-header h4 span {
    color: var(--accent-earth);
    font-style: italic;
}

.how-content p {
    font-size: 16.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.how-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bg-green-light);
}

.feature-item i {
    color: var(--accent-earth);
    font-size: 18px;
}

/* --- SECCIÓN SERVICIOS / CONTENEDORES --- */
.services-section {
    padding: var(--section-pad);
}

.space-container {
    background: var(--bg-card);
    padding: 60px 6vw;
    margin-bottom: 60px;
    border: var(--border-soft);
}

.space-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid rgba(137, 143, 119, 0.15);
    padding-bottom: 24px;
    margin-bottom: 40px;
}

.space-badge {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-bottom: 10px;
}
.badge-individual { background-color: var(--bg-green-light); color: var(--bg-green-dark); }
.badge-familia { background-color: var(--accent-earth-light); color: var(--accent-earth); }
.badge-grupal { background-color: #f1ebd8; color: #7a6021; }

.space-header h4 {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 400;
    color: var(--bg-green-dark);
    line-height: 1;
}

.space-price {
    font-size: 26px;
    font-weight: 500;
    color: var(--accent-earth);
    font-family: var(--font-heading);
}
.space-price small {
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text-muted);
    font-weight: 400;
}

.space-price-text {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bg-green);
    font-weight: 600;
}

.space-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
}

.space-description p {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 22px;
}

/* Caja de información sutil */
.sub-text-box {
    background-color: var(--bg-body);
    padding: 20px;
    border-left: 2px solid var(--bg-green);
    display: flex;
    gap: 12px;
    margin-top: 30px;
}
.sub-text-box i {
    color: var(--bg-green);
    font-size: 18px;
    margin-top: 2px;
}
.sub-text-box p {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.mini-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bg-green-dark);
    margin-top: 30px;
    margin-bottom: 10px;
}
.text-muted {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.space-details h5 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-earth);
    margin-bottom: 20px;
    font-weight: 600;
}

/* ESTILOS DE LISTAS ORDENADOS */
.styled-list {
    list-style: none;
}
.styled-list li {
    font-size: 15.5px;
    margin-bottom: 16px;
    position: relative;
    padding-left: 24px;
    color: var(--text-dark);
}
.styled-list li::before {
    content: '→';
    color: var(--accent-earth);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
}

.experience-list {
    list-style: none;
}
.experience-list li {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.experience-list li i {
    color: var(--bg-green);
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.space-footer-quote {
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
    color: var(--bg-green-dark);
    margin-top: 40px;
    border-top: 1px solid rgba(137, 143, 119, 0.15);
    padding-top: 20px;
}

/* --- TARIFAS FAMILIARES Y PACKS --- */
.family-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 50px;
}

.option-card {
    background: var(--bg-green-light);
    border: var(--border-soft);
    padding: 35px;
}

.option-card h6 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    color: var(--bg-green-dark);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.option-header .option-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-earth);
}

.option-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.option-meta i { color: var(--bg-green); }

.option-card p {
    font-size: 14.5px;
    color: var(--text-dark);
}

/* --- SECCIÓN DE PACKS CONTINUOS --- */
.packs-section {
    margin-top: 60px;
    border-top: 1px solid rgba(137, 143, 119, 0.15);
    padding-top: 45px;
}

.packs-header-box {
    margin-bottom: 40px;
    max-width: 800px;
}

.packs-header-box h5 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--bg-green-dark);
    margin-bottom: 12px;
}

.packs-intro {
    font-size: 15px;
    color: var(--text-muted);
}

.packs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.pack-card {
    background: var(--white);
    border: var(--border-soft);
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pack-card.recommended {
    border: 1px solid var(--accent-earth);
    background-color: var(--bg-body);
}

.recommended-badge {
    position: absolute;
    top: -12px; right: 30px;
    background-color: var(--accent-earth);
    color: var(--white);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.pack-title {
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bg-green);
    margin-bottom: 12px;
    font-weight: 600;
}

.pack-concept {
    font-size: 16px;
    color: var(--bg-green-dark);
    margin-bottom: 24px;
    font-weight: 400;
}

.pack-includes {
    list-style: none;
    margin-bottom: 30px;
}

.pack-includes li {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pack-includes li i {
    color: var(--accent-earth);
    margin-top: 4px;
    font-size: 12px;
}

.pack-price {
    margin-top: auto;
    font-size: 26px;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--bg-green-dark);
    border-top: 1px solid rgba(137, 143, 119, 0.15);
    padding-top: 20px;
}

/* --- CIERRE Y FOOTER --- */
.footer-banner {
    background-color: var(--bg-green-dark);
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.footer-atmosphere {
    background-color: #2b3328; /* Verde noche */
    padding: 80px 8vw;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sierra-text {
    font-family: var(--font-heading);
    font-size: 26px;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.footer-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 8vw;
    background-color: var(--bg-green-dark);
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.footer-brand-top i { color: var(--accent-earth); font-size: 20px; }
.footer-brand-top p { font-family: var(--font-heading); font-size: 22px; font-weight: 400; color: var(--white); }

.logo-footer-wrapper {
    background-color: var(--bg-green-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ESTILO DEL LOGO: Se aplica la imagen como máscara y se colorea en el verde correcto */
.logo-footer-graphic-masked {
    display: block;
    width: 100%;
    height: 100%;
    /* El color de fondo es el color de marca que queremos aplicar al logo */
    background-color: var(--accent-earth);
    /* La imagen se aplica como máscara, dejando pasar el color solo en su forma */
    mask-image: url('../assets/images/logo.svg');
    -webkit-mask-image: url('../assets/images/logo.svg'); /* Compatibilidad con Safari */
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-position: center;
    -webkit-mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-earth);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 16px 36px;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--bg-green-dark);
}

/* =========================================
   POPUP (MODAL) Y FORMULARIO
   ========================================= */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 2000; /* Asegura que esté por encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 47, 44, 0.6); /* Fondo oscuro transparente */
    backdrop-filter: blur(4px); /* Efecto cristal desenfocado elegante */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    max-height: 90vh; /* Para que no se salga de la pantalla en portátiles pequeños */
    overflow-y: auto; /* Permite hacer scroll si el formulario es más largo que la pantalla */
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #2d2f2c;
}

.contact-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    color: #2d2f2c;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Jost', sans-serif;
    padding: 0.8rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    color: #2d2f2c;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a5c50; 
    box-shadow: 0 0 0 3px rgba(74, 92, 80, 0.1);
    background-color: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit-btn {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    padding: 1.1rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    background-color: #2d2f2c;
    color: #fff;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.form-submit-btn:hover {
    background-color: #1a1b19;
}

/* ==========================================================================
   SELECTOR DE IDIOMA MANUAL (ES / EN)
   ========================================================================== */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 15px;
}

.language-switcher .lang-link {
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #4a4a4a; /* Gris corporativo */
    text-decoration: none;
    transition: color 0.3s ease;
}

.language-switcher .lang-link:hover {
    color: #a38c76; /* Tono arena en hover */
}

/* Estilo para el idioma en el que estamos actualmente */
.language-switcher .lang-link.active {
    font-weight: 600;
    color: #111111; /* Negro suave para resaltar */
}

/* La barrita divisoria ( / ) */
.language-switcher .lang-divider {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    color: #dcd1c4; /* Gris muy claro */
    cursor: default;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1.2rem;
    }
    .modal-content {
        padding: 2rem 1.5rem;
    }
}

/* Adaptabilidad a móviles */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-container {
        padding: 2.5rem 1.5rem;
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .about { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .img-vertical-wrapper { max-width: 380px; margin: 0 auto; }
    .quote-box { max-width: 600px; margin: 0 auto; text-align: left; }
    .space-grid { grid-template-columns: 1fr; gap: 40px; }
    .space-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 900px) {
    .how-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .how-features { justify-content: center; align-items: center; }
    .family-options-grid, .packs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    header { flex-direction: column; gap: 20px; text-align: center; padding: 24px 4vw; }
    nav ul { gap: 16px; flex-wrap: wrap; justify-content: center; }
    .hero { flex-direction: column; max-height: none; }
    
    /* Degradado adaptado a móvil (De arriba a abajo) */
    .hero-content { padding: 60px 6vw 80px; flex: none; background: linear-gradient(to bottom, var(--bg-green) 75%, transparent 100%); }
    .hero-image-container { margin-left: 0; margin-top: -15%; height: 350px; flex: none; z-index: 1;}
    
    .footer-action { flex-direction: column; gap: 30px; text-align: center; }
    .footer-links { justify-content: center; }
}