/* =====================================================
   ALPHAHOUSE - LANDING PAGE STYLES
   Premium Commercial Landing Page
   ===================================================== */

/* --- VARIABLES GLOBALES --- */
:root {
    /* Paleta: Blanco (principal), Verde (secundario), Dorado (terciario) */
    --color-primario: #ffffff;
    --color-secundario: #1a4c25;
    --color-terciario: #ffcb86;
    --color-texto: #333333;
    --color-texto-claro: #ffffff;
    --color-texto-oscuro: #111;
    --fuente-principal: 'Outfit', sans-serif;
    --accent: #1a4c25;
    --gold: #ffcb86;
    --gold-dark: #d4a054;
    --verde-suave: #e8f5ec;
    --glass: rgba(255, 255, 255, 0.95);
    --card-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 249, 0.98));
    --radius: 20px;
    --radius-sm: 12px;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-gold: 0 0 30px rgba(255, 203, 134, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.landing-page {
    font-family: var(--fuente-principal);
    background-color: #ffffff;
    color: var(--color-texto);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}
.contenedor {
    max-width: 1485px;
    margin: 0 auto;
    padding: 0 1.8rem;
}

.encabezado {
    background: rgba(253, 253, 253, 0.121);
    padding: 1.8rem 0;
    position: fixed;
    width: 95%;
    max-width: 1485px;
    z-index: 1000;
    top: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 32px;
    backdrop-filter: blur(5px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                background 0.3s ease, 
                box-shadow 0.3s ease,
                backdrop-filter 0.3s ease;
}

.encabezado.header-hidden {
    transform: translateX(-50%) translateY(-150%);
}

.encabezado.header-scrolled {
    background: rgba(26, 76, 37, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.encabezado:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
}

.encabezado:not(.header-scrolled):hover {
    background: rgba(233, 233, 233, 0.15);
}

.encabezado .contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* ancla para el título centrado */
}

.contenedor h1 {
    font-size: 4.3rem;
}

.logo-imagen img {
    height: 45px;
    display: block;
}

.navegacion a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.9rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}


/* Animated underline para la navegación del header */
.navegacion a {
    position: relative;
    display: inline-block;
    padding-bottom: 0.25rem;
    transition: color 250ms ease;
}

.navegacion a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px; 
    height: 3px;   
    background: #339e3c;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .7s cubic-bezier(.2,.9,.3,1), opacity 220ms ease;
    opacity: 0;
    border-radius: 3px;
}

/* Mostrar la línea solo en el enlace que está en hover/focus o en estado activo */
.navegacion a:hover::after,
.navegacion a:focus::after,
.navegacion a.active::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Accesibilidad: foco visible */
.navegacion a:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(49,190,98,0.08);
    border-radius: 4px;
}

.navegacion a:hover {
    color: #339e3c;
}

/* --- HERO SECTION --- */
#hero-landing {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f8faf9 0%, #e8f5ec 50%, #f0f7f2 100%);
}

.hero-parallax-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-out;
}

#hero-cielo {
    z-index: 1;
    opacity: 0.6;
    filter: blur(2px);
}

#hero-casa {
    z-index: 2;
    animation: floatHouse 8s ease-in-out infinite;
    filter: blur(1px);
}

#hero-personajes {
    z-index: 3;
    animation: floatPeople 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

@keyframes floatHouse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes floatPeople {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18rem;
    align-items: center;
    padding: 10.8rem 0 7.2rem;
    width: 100%;
}

.hero-main-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(26, 76, 37, 0.1);
    border: 1px solid rgba(26, 76, 37, 0.2);
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    font-size: 0.77rem;
    color: var(--color-secundario);
    margin-bottom: 1.8rem;
    font-weight: 600;
}

.hero-badge i {
    font-size: 0.68rem;
    color: var(--gold);
}

.hero-title {
    
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: #ffffff;
    text-shadow: 1px 1px 30px rgba(0, 0, 0, 0.3);
    
}

.hero-title span {
    display: block;
    background: linear-gradient(135deg, var(--color-secundario) 0%, var(--gold) 50%, var(--color-secundario) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.03rem;
    color: #ffffff;
    margin-bottom: 2.25rem;
    max-width: 430px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 1.35rem;
    flex-wrap: wrap;
    margin-bottom: 3.15rem;
}

.hero-stats {
    display: flex;
    gap: 2.7rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(26, 76, 37, 0.15);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.77rem;
    color: #e7e7e7;
    margin-top: 0.27rem;
}

.hero-secondary {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    padding: 2.25rem;
    background: rgba(255, 255, 255, 0.137);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(235, 235, 235, 0.486);
    box-shadow: var(--shadow-soft);
    
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: #ffffff00;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.hero-feature:hover {
    background: rgba(26, 76, 37, 0.12);
    box-shadow: 1px 1px 50px rgba(15, 22, 17, 0.288);
    transform: translateX(5px);
}

.feature-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-secundario), #2d6b3a);
    border-radius: 11px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.08rem;
    color: var(--gold);
}

.feature-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.27rem;
    color: #fff;
}

.feature-text p {
    font-size: 0.77rem;
    color: #e7e7e7;
    line-height: 1.5;
}

/* --- BOTONES --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.54rem;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, var(--color-secundario) 0%, #2d6b3a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 9px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 76, 37, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.54rem;
    padding: 0.9rem 1.8rem;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 9px;
    border: 2px solid #fff;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--color-secundario);
    color: #fff;
}

/* --- SECCIÓN PROPUESTA DE VALOR --- */
#propuesta-valor {
    padding: 7.2rem 0;
    background: #ffffff;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3.6rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.81rem;
    color: var(--color-secundario);
    text-transform: uppercase;
    letter-spacing: 2.7px;
    margin-bottom: 0.9rem;
    font-weight: 600;
}

.section-title {
    font-size: clamp(1.8rem, 3.6vw, 2.7rem);
    font-weight: 800;
    margin-bottom: 0.9rem;
    color: var(--color-texto-oscuro);
}

.section-description {
    max-width: 540px;
    margin: 0 auto;
    color: #666;
    font-size: 1rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.8rem;
}

.value-card {
    background: #ffffff;
    backdrop-filter: blur(10px);
    padding: 2.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(26, 76, 37, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secundario), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(26, 76, 37, 0.2);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 63px;
    height: 63px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--verde-suave);
    border-radius: 14px;
    margin-bottom: 1.35rem;
}

.value-icon i {
    font-size: 1.6rem;
    color: var(--color-secundario);
}

.value-card h3 {
    font-size: 1.26rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    color: var(--color-texto-oscuro);
}

.value-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- SECCIÓN SERVICIOS --- */
#servicios-landing {
    padding: 7.2rem 0;
    background: #f8faf9;
    position: relative;
}

#servicios-landing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(180deg, #ffffff, transparent);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.35rem;
}

.service-card {
    position: relative;
    height: 378px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
}

.service-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card-bg {
    transform: scale(1.1);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 76, 37, 0.85) 0%, rgba(31, 99, 46, 0.411) 40%, rgba(10, 29, 14, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(180deg, rgba(26, 76, 37, 0.2) 0%, rgba(26, 76, 37, 0.98) 100%);
    backdrop-filter: blur(8px);
}

/* Contenedor para el contenido que sube en hover */
.service-card-content {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-content {
    transform: translateY(-100px);
}

.service-tag {
    display: inline-block;
    padding: 0.36rem 0.72rem;
    background: rgba(255, 203, 134, 0.2);
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.72rem;
    width: fit-content;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-tag {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.44rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    color: #fff;
    transition: var(--transition);
}

.service-card p {
    font-size: 0.86rem;
    color: #f7f7f7;
    margin-bottom: 0.9rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease;
}

.service-card:hover p {
    opacity: 1;
    max-height: 100px;
    transform: translateY(0);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.81rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.service-card:hover .service-link {
    opacity: 1;
    transform: translateY(0);
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* --- SECCIÓN PROCESO --- */
#proceso-landing {
    padding: 7.2rem 0;
    background: #ffffff;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-top: 3.6rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secundario), var(--gold), var(--color-secundario));
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 3px solid var(--color-secundario);
    border-radius: 50%;
    margin: 0 auto 1.35rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-secundario);
    position: relative;
    z-index: 2;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.process-step:hover .step-number {
    background: var(--color-secundario);
    color: #fff;
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    color: var(--color-texto-oscuro);
}

.process-step p {
    font-size: 0.81rem;
    color: #666;
    line-height: 1.6;
}

/* --- SECCIÓN TESTIMONIOS --- */
#testimonios-landing {
    padding: 7.2rem 0;
    background: #f8faf9;
    position: relative;
    overflow: hidden;
}

#testimonios-landing::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(26, 76, 37, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
    gap: 1.8rem;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: #ffffff;
    backdrop-filter: blur(10px);
    padding: 2.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(26, 76, 37, 0.1);
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26, 76, 37, 0.2);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    position: absolute;
    top: 1.35rem;
    right: 1.8rem;
    font-size: 3.6rem;
    color: var(--color-secundario);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    display: flex;
    gap: 0.27rem;
    margin-bottom: 0.9rem;
}

.testimonial-stars i {
    color: var(--gold);
    font-size: 0.81rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.35rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-secundario), #2d6b3a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.17rem;
    font-weight: 700;
    color: #fff;
}

.author-info h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-texto-oscuro);
    margin-bottom: 0.18rem;
}

.author-info span {
    font-size: 0.77rem;
    color: #888;
}

/* --- SECCIÓN CTA PRINCIPAL --- */
#cta-principal {
    padding: 5.4rem 0;
    background: linear-gradient(135deg, var(--color-secundario) 0%, #2d6b3a 100%);
    position: relative;
    overflow: hidden;
}

#cta-principal::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 203, 134, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.6rem;
    align-items: center;
}

.cta-text h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.9rem;
    color: #fff;
}

.cta-text p {
    font-size: 1.03rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.8rem;
    max-width: 450px;
}

.cta-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-benefit i {
    color: var(--gold);
}

/* --- FORMULARIO DE CONTACTO --- */
.contact-form-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 2.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.contact-form-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    color: var(--color-texto-oscuro);
}

.contact-form-card .form-subtitle {
    font-size: 0.86rem;
    color: #666;
    margin-bottom: 1.8rem;
}

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

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

.form-group label {
    font-size: 0.77rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1.08rem;
    background: #f8faf9;
    border: 1px solid rgba(26, 76, 37, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-texto-oscuro);
    font-family: var(--fuente-principal);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secundario);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(26, 76, 37, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffcb86' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group select option {
    background: #ffffff;
    color: var(--color-texto-oscuro);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 1.08rem;
    background: linear-gradient(135deg, var(--color-secundario) 0%, #2d6b3a 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.45rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 76, 37, 0.3);
}

.form-privacy {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 1rem;
}

.form-privacy a {
    color: var(--color-secundario);
    text-decoration: underline;
}

/* --- FOOTER --- */
.pie-pagina {
    background: linear-gradient(180deg, #0d2814 0%, #1a4c25 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.pie-pagina::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 203, 134, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 203, 134, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.footer-top-decoration {
    height: 4px;
    background: linear-gradient(90deg, var(--color-secundario), var(--gold), var(--color-secundario));
}

.pie-pagina .contenedor {
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.logo-imagen-footer img {
    height: 45px;
    filter: brightness(1.1);
    transition: var(--transition);
}

.logo-imagen-footer:hover img {
    filter: brightness(1.3);
    transform: scale(1.02);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social-icons a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--color-secundario);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 203, 134, 0.3);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.6rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-column ul li a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-column ul li a:hover::before {
    width: 10px;
}

/* Footer Contact Items */
.footer-contact .contact-item {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.footer-contact .contact-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 203, 134, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-contact .contact-icon i {
    color: var(--gold);
    font-size: 0.8rem;
}

.footer-contact .contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.footer-contact .contact-label {
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact .contact-text span,
.footer-contact .contact-text a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.footer-contact .contact-text a:hover {
    color: var(--gold);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.6rem;
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    width: 54px;
    height: 54px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 1.6rem;
    color: #fff;
}

/* =====================================================
   MODALES LEGALES (Privacidad y Términos)
   ===================================================== */
.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.legal-modal.active {
    opacity: 1;
    visibility: visible;
}

.legal-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.legal-modal-container {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.legal-modal.active .legal-modal-container {
    transform: translateY(0) scale(1);
}

.legal-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--color-secundario) 0%, #2d6b3a 100%);
    position: relative;
}

.legal-modal-header .modal-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    flex-shrink: 0;
}

.legal-modal-header .modal-icon i {
    font-size: 1.4rem;
    color: var(--gold);
}

.legal-modal-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    flex: 1;
}

.legal-modal-header .modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.legal-modal-header .modal-close i {
    font-size: 1.1rem;
    color: #fff;
}

.legal-modal-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.legal-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    scroll-behavior: smooth;
}

.legal-modal-content::-webkit-scrollbar {
    width: 8px;
}

.legal-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.legal-modal-content::-webkit-scrollbar-thumb {
    background: var(--color-secundario);
    border-radius: 4px;
}

.legal-modal-content::-webkit-scrollbar-thumb:hover {
    background: #2d6b3a;
}

.legal-update {
    display: inline-block;
    background: var(--verde-suave);
    color: var(--color-secundario);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.legal-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(26, 76, 37, 0.1);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secundario);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gold);
    border-radius: 2px;
}

.legal-section p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.legal-section ul,
.legal-section ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section ul li,
.legal-section ol li {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0.6rem;
    position: relative;
}

.legal-section ul li::marker {
    color: var(--color-secundario);
}

.legal-section ol li::marker {
    color: var(--color-secundario);
    font-weight: 600;
}

.legal-section strong {
    color: var(--color-texto-oscuro);
}

.legal-contact-info {
    background: #f8faf9;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    margin-top: 1rem;
}

.legal-contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.legal-contact-info p:last-child {
    margin-bottom: 0;
}

.legal-contact-info i {
    color: var(--color-secundario);
    width: 18px;
    text-align: center;
}

.legal-modal-footer {
    padding: 1.2rem 2rem;
    background: #f8faf9;
    border-top: 1px solid rgba(26, 76, 37, 0.1);
    display: flex;
    justify-content: flex-end;
}

.btn-modal-close {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--color-secundario) 0%, #2d6b3a 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 76, 37, 0.3);
}

/* Responsive modales */
@media screen and (max-width: 768px) {
    .legal-modal {
        padding: 1rem;
    }
    
    .legal-modal-container {
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .legal-modal-header {
        padding: 1.2rem 1.5rem;
    }
    
    .legal-modal-header .modal-icon {
        width: 42px;
        height: 42px;
    }
    
    .legal-modal-header h2 {
        font-size: 1.15rem;
    }
    
    .legal-modal-content {
        padding: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1rem;
    }
    
    .legal-section p,
    .legal-section ul li,
    .legal-section ol li {
        font-size: 0.85rem;
    }
}

/* --- MENÚ HAMBURGUESA --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-secundario);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Título móvil */
.header-title-mobile {
    display: none;
    font-weight: 800;
    font-size: 1rem;
    color: var(--color-secundario);
    letter-spacing: 1px;
}

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

@media screen and (max-width: 1200px) {
    .hero-content {
        gap: 2rem;
    }
    
    .hero-secondary {
        padding: 1.5rem;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline::before {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    .navegacion {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        transition: right 0.4s ease;
        z-index: 1000;
    }
    
    .navegacion.active {
        right: 0;
    }
    
    .navegacion a {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(26, 76, 37, 0.1);
        color: var(--color-texto);
    }
    
    .navegacion a::after {
        display: none;
    }
    
    .header-title-mobile {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 12rem 0 4rem;
    }
    
    .hero-main-text {
        max-width: 100%;
    }
    
    .hero-description {
        margin: 0 auto 2rem;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-secondary {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-text p {
        margin: 0 auto 2rem;
    }
    
    .cta-benefits {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .contact-form-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        align-items: center;
        text-align: center;
    }
    
    .footer-tagline {
        max-width: 100%;
    }
    
    .footer-social-icons {
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column ul li a {
        justify-content: center;
    }
    
    .footer-contact .contact-item {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .contenedor {
        padding: 0 1.5rem;
    }
    
    #hero-landing,
    #propuesta-valor,
    #servicios-landing,
    #proceso-landing,
    #testimonios-landing,
    #cta-principal {
        padding: 5rem 0;
    }
    
    #hero-landing {
        min-height: auto;
        padding: 10rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat-item {
        flex: 1 1 40%;
    }
    
    .value-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        height: 350px;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .process-step::before {
        content: '';
        position: absolute;
        top: 80px;
        left: 50%;
        width: 2px;
        height: calc(100% + 2rem);
        background: rgba(255, 203, 134, 0.2);
        z-index: 1;
    }
    
    .process-step:last-child::before {
        display: none;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-contact .contact-text {
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    .encabezado {
        width: 92%;
        top: 1rem;
        padding: 1rem 0;
    }
    
    .logo-imagen img {
        height: 35px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta-group a,
    .hero-cta-group button {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .value-card,
    .testimonial-card,
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
}

/* --- ANIMACIONES DE ENTRADA --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- PREFERS REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    #hero-casa,
    #hero-personajes {
        animation: none;
    }
}