/* Page-specific styles for Home only */
.btn-primary:focus-visible { outline: 0.2rem solid #fff; outline-offset: 0.15rem; }

/* Hero Section - Replicando el layout original con ancho completo */
.hero-section {
    margin-top: var(--site-header-height, 0px);
    min-height: 80vh;
    display: flex;
    max-width: 100%; /* Ancho completo */
    margin-left: 0;
    margin-right: 0;
}

.hero-left {
    flex: 1;
    position: relative;
    background: radial-gradient(circle at 0% 100%, #97B49D 0%, 24%, rgba(151,180,157,0) 24%), 
                radial-gradient(circle at 3.97% 36.10%, #27784F 0%, 35%, rgba(39,120,79,0) 35%), 
                radial-gradient(circle at 27.50% 92.78%, #004623 0%, 40%, rgba(0,70,35,0) 40%),
                radial-gradient(circle at 53.38% 100%, rgba(215,53,1,0.99) 0%, 50%, rgba(215,53,1,0) 50%), 
                radial-gradient(circle at 42.29% 20.62%, #FF4401 0%, 70%, rgba(255,68,1,0) 70%), 
                radial-gradient(circle at 93.69% 11.43%, #FFB993 0%, 70%, rgba(255,185,147,0) 70%);
}

.hero-content {
    position: absolute;
    bottom: 3.125rem;
    left: 1.875rem;
    right: 1.875rem;
    background: rgba(102, 89, 81, 0.9);
    padding: 1.25rem;
    border-radius: 0.625rem;
    text-align: center;
}

.hero-title {
    font: normal normal 600 1.375rem/1.2em 'Raleway', sans-serif;
    color: var(--wix-color-text-white);
    margin-bottom: 0.9375rem;
}

.hero-right {
    flex: 1.5;
}

.hero-video {
    width: 100%;
    height: 80vh;
    object-fit: cover;
}

/* Experience Text Section - Replicando el diseño de texto masivo */
.experience-section {
    background: var(--wix-color-green-section);
    position: relative;
    padding: 6.25rem 1.25rem;
    text-align: center;
    overflow: hidden;
}

.experience-title {
    font: var(--wix-font-experience);
    color: white;
    background: url('../images/El%20texto%20del%20p%C3%A1rrafo%20(2).png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    text-transform: uppercase;
    line-height: 0.95;
    text-shadow: 0.125rem 0.125rem 0.25rem rgba(0,0,0,0.3);
    padding: 1.875rem;
    border-radius: 1.25rem;
    width: 50vw;
    max-width: 37.5rem;
    margin: 0 auto;
    font-size: clamp(1.75rem, 4vw, 3.25rem);
    letter-spacing: 0.02em;
    
}

/* Services Cards - Replicando las tarjetas originales */
.services-section {
    background: var(--wix-color-green-section);
    background-image: url('../images/El%20texto%20del%20p%C3%A1rrafo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 1.25rem 0.625rem;
    min-height: 25rem;
}

.services-container {
    max-width: 100%; /* Ancho completo para las tarjetas */
    margin: 0;
    padding: 0 2.5rem; /* Padding lateral para no pegar a los bordes */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(13.75rem, 1fr));
    gap: 1.25rem;
}

.service-card {
    background: var(--wix-color-card-bg);
    border-radius: 0.625rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 12.75rem;
    object-fit: cover;
    border: 0.125rem solid #fff;
    border-radius: 0.5rem 0.5rem 0 0;
}

.service-content {
    padding: 1.25rem;
    text-align: center;
}

.service-title {
    font: normal normal 600 1.125rem/1.4em 'Raleway', sans-serif;
    color: var(--wix-color-text-white);
    margin-bottom: 0.9375rem;
}

.service-description {
    font: normal normal normal 1rem/1.5em 'Raleway', sans-serif;
    color: var(--wix-color-text-white);
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

/* Gallery Section */
.gallery-section {
    background: var(--wix-color-background) url('../images/El%20texto%20del%20p%C3%A1rrafo%20(3).png') no-repeat top center;
    background-size: 100vw auto;
    padding: 5rem 1.25rem;
    margin-top: 0;
}

.gallery-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.625rem;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wix-color-text-white);
    font: normal normal 700 1.5rem/1em 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.text-item.disfruta {
    background: var(--wix-color-primary);
}

.text-item.aprende {
    background: var(--wix-color-secondary);
    color: var(--wix-color-accent);
}

.text-item.recorre {
    background: var(--wix-color-accent);
}

.contact-section {
    background: #fff; /* Fondo blanco como el original */
    padding: 5rem 1.25rem;
}

.contact-container {
    max-width: 100%;
    margin: 0;
    padding: 0 2.5rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-title {
    font: normal normal 600 2.375rem/1.2em 'Raleway', sans-serif;
    color: var(--wix-color-card-bg);
    margin-bottom: 0.25rem;
}

.contact-subtitle {
    font: var(--wix-font-body);
    color: #666;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr; /* cada grupo en una fila */
    gap: 1.25rem;
    align-items: start;
    max-width: 70rem;
    margin: 0 auto;
}

.contact-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.05);
}

.contact-group-title {
    font: normal normal 700 1.125rem/1.3em 'Raleway', sans-serif;
    color: var(--wix-color-card-bg);
}

.contact-icons {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: var(--wix-color-card-bg);
    transition: transform 0.2s ease, color 0.2s ease;
}

.icon-link:hover { transform: translateY(-0.125rem); }
.icon-wa { color: #25D366; }
.icon-ig { color: #E4405F; }
.icon-fb { color: #1877F2; }
.icon-map { color: var(--wix-color-primary); }

.icon-link svg { width: 1.6rem; height: 1.6rem; display: block; }

/* Footer is in common.css */

/* FAQ Section */
.faq-section {
    background: var(--wix-color-background);
    padding: 5rem 1.25rem;
}
.faq-container {
    max-width: 100%;
    margin: 0;
    padding: 0 2.5rem;
}
.faq-title {
    font: normal normal 600 2.375rem/1.4em 'Raleway', sans-serif;
    color: var(--wix-color-primary);
    text-align: center;
    margin-bottom: 1.875rem;
}
.faq-list {
    max-width: 56.25rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.faq-item {
    background: #fff;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.9375rem rgba(0,0,0,0.08);
    border-left: 0.3125rem solid var(--wix-color-green-section);
    overflow: hidden;
}
.faq-item summary {
    font: var(--wix-font-heading);
    color: var(--wix-color-card-bg);
    cursor: pointer;
    padding: 1.125rem 1.25rem;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item div {
    font: var(--wix-font-body);
    color: var(--wix-color-text-dark);
    padding: 0 1.25rem 1.125rem;
}

/* Responsive Design: mobile-specific tweaks for Home */
@media (max-width: 48em) {
    .hero-section { flex-direction: column; margin-top: var(--site-header-height, 0px); }
    .hero-left, .hero-right { flex: none; height: 50vh; }
    .experience-section { padding: 3rem 1rem; }
    .experience-title { width: 100%; max-width: min(90vw, 28rem); padding: 1rem; font-size: clamp(1.5rem, 9vw, 2.25rem); line-height: 1.1; background-size: 100% auto; }
    .services-container { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 30em) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.9375rem;
    }

    .text-item {
        font-size: 1.125rem;
    }
}

/* Animaciones: base in common.css; here only custom hooks if needed */

/* Dropdown arrow */
.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Seguridad: si el main opta por no recibir offset, forzar padding 0 */
main[data-no-header-offset] {
    padding-top: 0 !important;
}