/* ==========================================================
   QHATAI LAGOONS — SISTEMA DE DISEÑO ARQUITECTURA & OBRA A1
   Especializado para diseño, construcción y remodelación de piscinas
   ========================================================== */

:root {
    --lag-primary: #071E3D;
    --lag-navy: #0B2545;
    --lag-dark-bg: #040D1A;
    --lag-dark-card: #0A1D37;
    
    --lag-gold: #4CAACC;
    --lag-gold-hover: #3A9AB8;
    --lag-gold-light: #E0F7FA;
    --lag-amber-accent: #4CAACC;
    
    --lag-cyan: #4CAACC;
    --lag-sky: #4CAACC;
    
    --lag-text-main: #1E293B;
    --lag-text-muted: #64748B;
    --lag-bg-light: #F8FAFC;
    --lag-card-border: #E2E8F0;
    
    --lag-whatsapp: #25D366;
    --lag-whatsapp-hover: #1EBE5D;
}

/* Base resets */
.lagoons-body {
    background-color: #FFFFFF;
    color: var(--lag-text-main);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

.lagoons-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Badges comunes */
.lag-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.lag-badge-gold {
    background: rgba(76, 170, 204, 0.14);
    color: #4CAACC;
    border: 1px solid rgba(76, 170, 204, 0.35);
}

.lag-badge-blue {
    background: rgba(76, 170, 204, 0.14);
    color: #4CAACC;
    border: 1px solid rgba(76, 170, 204, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 9999px;
    width: fit-content;
}

/* Encabezados de sección */
.lag-section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 52px;
}

.lag-section-title {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.85rem, 3.5vw, 2.45rem);
    line-height: 1.2;
    color: var(--lag-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.lag-section-desc {
    font-size: 1.05rem;
    color: var(--lag-text-muted);
    line-height: 1.6;
    margin: 0 auto;
}

/* ==========================================================
   1. HERO SECTION & PILARES DE CALIDAD
   ========================================================== */
.lag-hero {
    position: relative;
    background: 
        radial-gradient(circle at 85% 20%, rgba(76, 170, 204, 0.12) 0%, transparent 60%),
        linear-gradient(90deg, rgba(3, 16, 36, 0.65) 0%, rgba(5, 24, 50, 0.38) 55%, rgba(3, 16, 36, 0.22) 100%),
        url('../lagoons.webp?v=4.0') center center / cover no-repeat;
    color: #FFFFFF;
    padding: 135px 0 84px;
    overflow: hidden;
    isolation: isolate;
}

.lag-hero::before {
    display: none;
}

.lag-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.lag-hero-content {
    max-width: 630px;
}

.lag-hero-title {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(2.1rem, 4.3vw, 3.3rem);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.lag-hero-title span {
    color: var(--lag-gold);
    display: inline;
}

.lag-hero-subtitle {
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #4CAACC;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.lag-hero-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #F8FAFC;
    margin-bottom: 32px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.lag-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.lag-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    background: #4CAACC;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.lag-btn-primary:hover {
    background: #3A9AB8;
    transform: translateY(-2px);
}

.lag-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(10, 29, 55, 0.5);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.lag-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* Tarjeta flotante Hero: 4 Pilares (ESTÁNDAR LAGOONS) */
.lag-hero-card {
    background: rgba(2, 42, 84, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lag-hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2px;
}

.lag-hero-card-badge {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #4CAACC;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lag-pilar-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lag-pilar-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.lag-pilar-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(76, 170, 204, 0.14);
    border: 1px solid rgba(76, 170, 204, 0.3);
    color: #4CAACC;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lag-pilar-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 3px;
    line-height: 1.25;
}

.lag-pilar-desc {
    font-size: 0.82rem;
    color: #94A3B8;
    line-height: 1.45;
    margin: 0;
}

/* ==========================================================
   2. SOLUCIONES ADAPTADAS AL ESPACIO (3 CARDS)
   ========================================================== */
.lag-section-solutions {
    padding: 96px 0;
    background-color: #FFFFFF;
}

.lag-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.lag-solution-card {
    background: #FFFFFF;
    border: 1px solid var(--lag-card-border);
    border-radius: 14px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lag-solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(11, 37, 69, 0.08);
    border-color: #CBD5E1;
}

.lag-solution-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.lag-solution-icon-wrap.blue {
    background: #E0F7FA;
    color: #4CAACC;
}

.lag-solution-icon-wrap.amber {
    background: rgba(242, 167, 63, 0.14);
    color: #F2A73F;
}

.lag-solution-tag {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #4CAACC;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.lag-solution-card:nth-child(3) .lag-solution-tag {
    color: #4CAACC;
}

.lag-solution-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--lag-primary);
    line-height: 1.25;
    margin-bottom: 12px;
}

.lag-solution-desc {
    font-size: 0.88rem;
    color: var(--lag-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.lag-solution-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    border-top: 1px solid #F1F5F9;
    padding-top: 18px;
}

.lag-solution-bullets li {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.lag-solution-bullets li span.check {
    color: #059669;
    font-weight: 700;
}

/* ==========================================================
   3. CÓMO DESARROLLAMOS TU PROYECTO (METODOLOGÍA)
   ========================================================== */
.lag-section-methodology {
    padding: 96px 0;
    background: #022a54;
    color: #FFFFFF;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lag-section-methodology .lag-section-title {
    color: #FFFFFF;
}

.lag-section-methodology .lag-section-desc {
    color: #cbd5e1;
}

.lag-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.lag-step-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.lag-step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(76, 170, 204, 0.3);
}

.lag-step-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lag-gold);
    line-height: 1;
    margin-bottom: 12px;
}

.lag-step-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 10px;
    min-height: 42px;
}

.lag-step-desc {
    font-size: 0.86rem;
    color: #94A3B8;
    line-height: 1.55;
    margin: 0;
}

/* Banner de Supervisión en Obra */
.lag-supervision-box {
    background: #022a54;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 32px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.lag-supervision-img {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 230px;
    max-height: 270px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.lag-supervision-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.lag-supervision-body {
    padding: 4px 8px 4px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lag-supervision-tag {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #4CAACC;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.lag-supervision-title {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.25;
}

.lag-supervision-desc {
    font-size: 0.92rem;
    color: #CBD5E1;
    line-height: 1.6;
    margin-bottom: 24px;
}

.lag-stats-row {
    display: flex;
    gap: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.lag-stat-item h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #4CAACC;
    margin-bottom: 2px;
}

.lag-stat-item p {
    font-size: 0.76rem;
    color: #94A3B8;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ==========================================================
   4. TIPOLOGÍAS DE PISCINA (3 BLOQUES HORIZONTALES)
   ========================================================== */
.lag-section-tipologias {
    padding: 96px 0;
    background-color: #FFFFFF;
}

.lag-tipologias-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.lag-tipo-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

.lag-tipo-block.reverse {
    direction: rtl;
}

.lag-tipo-block.reverse > * {
    direction: ltr;
}

.lag-tipo-media {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    height: 340px;
    position: relative;
    background: #E2E8F0;
}

.lag-tipo-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lag-tipo-media-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(76, 170, 204, 0.9);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(76, 170, 204, 0.5);
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.lag-tipo-media-caption {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(0, 0, 0, 0.65);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.lag-tipo-block:hover .lag-tipo-media img {
    transform: scale(1.04);
}

.lag-tipo-content {
    display: flex;
    flex-direction: column;
}

.lag-tipo-tag {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #4CAACC;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.lag-tipo-title {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    color: var(--lag-primary);
    margin-bottom: 14px;
    line-height: 1.25;
}

.lag-tipo-desc {
    font-size: 0.94rem;
    color: var(--lag-text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
}

.lag-tipo-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lag-tipo-bullets li {
    font-size: 0.88rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lag-tipo-bullets li span.check {
    color: #059669;
    font-weight: 700;
}

.lag-btn-dark {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: var(--lag-primary);
    color: #FFFFFF;
    font-size: 0.86rem;
    font-weight: 800;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
}

.lag-btn-dark:hover {
    background: #0B2545;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(7, 30, 61, 0.25);
}

/* ==========================================================
   5. FORMULARIO DE CONVERSACIÓN DE PROYECTO
   ========================================================== */
.lag-section-form {
    padding: 80px 0 100px;
    background: var(--lag-bg-light);
    border-top: 1px solid var(--lag-card-border);
}

.lag-form-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid var(--lag-card-border);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    overflow: hidden;
}

.lag-form-sidebar {
    padding: 48px 40px;
    background: #F8FAFC;
    border-right: 1px solid var(--lag-card-border);
    display: flex;
    flex-direction: column;
}

.lag-form-sidebar h3 {
    font-family: 'Helvetica Neue Thai Bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 1.95rem);
    line-height: 1.25;
    color: var(--lag-primary);
    margin-bottom: 12px;
}

.lag-form-sidebar p {
    font-size: 0.95rem;
    color: var(--lag-text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.lag-field-box {
    background: #FFFFFF;
    border: 1px solid #B2DFDB;
    border-left: 4px solid #4CAACC;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 32px;
}

.lag-field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #4CAACC;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.lag-field-text {
    font-size: 0.88rem;
    color: #334155;
    margin: 0;
    line-height: 1.5;
}

.lag-contact-direct {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
    color: #475569;
}

.lag-contact-direct strong {
    color: var(--lag-primary);
}

.lag-contact-direct a {
    color: #4CAACC;
    text-decoration: none;
    font-weight: 600;
}

.lag-contact-direct a:hover {
    text-decoration: underline;
}

/* Lado del formulario */
.lag-form-body {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lag-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lag-form-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: #334155;
}

.lag-form-input,
.lag-form-select,
.lag-form-textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 8px;
    border: 1.5px solid #CBD5E1;
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--lag-text-main);
    background-color: #FFFFFF;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lag-form-input:focus,
.lag-form-select:focus,
.lag-form-textarea:focus {
    outline: none;
    border-color: #4CAACC;
    box-shadow: 0 0 0 3px rgba(76, 170, 204, 0.15);
}

.lag-form-textarea {
    resize: vertical;
    min-height: 90px;
}

.lag-form-submit {
    width: 100%;
    padding: 16px;
    background: var(--lag-primary);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(7, 30, 61, 0.3);
}

.lag-form-submit:hover {
    background: #0B2545;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(7, 30, 61, 0.4);
}

/* ==========================================================
   RESPONSIVIDAD
   ========================================================== */
@media (max-width: 1024px) {
    .lag-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .lag-hero-card {
        max-width: 540px;
        margin: 0 auto;
        width: 100%;
    }

    .lag-solutions-grid {
        grid-template-columns: 1fr;
        max-width: 580px;
        margin: 0 auto;
    }

    .lag-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lag-supervision-box {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }

    .lag-supervision-img {
        min-height: 200px;
        max-height: 280px;
    }

    .lag-supervision-body {
        padding: 0;
    }

    .lag-tipo-block,
    .lag-tipo-block.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 24px;
    }

    .lag-tipo-media {
        height: 260px;
    }

    .lag-form-card {
        grid-template-columns: 1fr;
    }

    .lag-form-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--lag-card-border);
    }
}

@media (max-width: 768px) {
    .lag-section-solutions,
    .lag-section-methodology,
    .lag-section-tipologias,
    .lag-section-form {
        padding: 64px 0;
    }

    .lag-steps-grid {
        grid-template-columns: 1fr;
    }

    .lag-stats-row {
        flex-direction: column;
        gap: 16px;
    }

    .lag-form-sidebar,
    .lag-form-body {
        padding: 28px 20px;
    }
}

/* ==========================================================
   6. SUITE DE ANIMACIONES SCROLL & MICRO-INTERACCIONES A1
   ========================================================== */

/* Keyframes de entrada del Hero */
@keyframes lagHeroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(32px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lagHeroCardIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.lag-hero-content {
    animation: lagHeroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lag-hero-card {
    animation: lagHeroCardIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@media (min-width: 992px) {
    .lag-hero-card {
        animation: lagHeroCardIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both,
                   lagFloatCard 6s ease-in-out 1.2s infinite alternate;
    }
    .lag-hero-card:hover {
        animation-play-state: paused;
        transform: translateY(-8px) scale(1.01);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
        box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.65), 0 0 24px rgba(76, 170, 204, 0.15);
    }
}

/* Sistema Scroll Reveal */
.lag-has-animations .lag-reveal {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.lag-has-animations .lag-reveal-scale {
    transform: translateY(48px) scale(0.95);
}

.lag-has-animations .lag-reveal.is-revealed {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Escalonamiento secuencial (Stagger) en grids */
.lag-has-animations .lag-solutions-grid .lag-solution-card:nth-child(1) { transition-delay: 0.05s; }
.lag-has-animations .lag-solutions-grid .lag-solution-card:nth-child(2) { transition-delay: 0.20s; }
.lag-has-animations .lag-solutions-grid .lag-solution-card:nth-child(3) { transition-delay: 0.35s; }

.lag-has-animations .lag-steps-grid .lag-step-card:nth-child(1) { transition-delay: 0.05s; }
.lag-has-animations .lag-steps-grid .lag-step-card:nth-child(2) { transition-delay: 0.18s; }
.lag-has-animations .lag-steps-grid .lag-step-card:nth-child(3) { transition-delay: 0.31s; }
.lag-has-animations .lag-steps-grid .lag-step-card:nth-child(4) { transition-delay: 0.44s; }

/* Micro-interacciones dinámicas en hover (sólo tras revelarse) */
.lag-solution-card.is-revealed {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease;
}

.lag-solution-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px -8px rgba(7, 30, 61, 0.12), 0 0 1px rgba(7, 30, 61, 0.2);
    border-color: #4CAACC;
}

.lag-solution-card:hover .lag-solution-icon-wrap {
    transform: scale(1.1) rotate(4deg);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lag-solution-icon-wrap {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover en tarjetas de metodología (sólo tras revelarse) */
.lag-step-card.is-revealed {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                background-color 0.3s ease, 
                box-shadow 0.35s ease;
}

.lag-step-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(76, 170, 204, 0.45);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 18px rgba(76, 170, 204, 0.1);
}

.lag-step-card:hover .lag-step-number {
    transform: scale(1.1);
    display: inline-block;
    transition: transform 0.3s ease;
}

.lag-step-number {
    transition: transform 0.3s ease;
}

/* Efecto en tipologías de piscina */
.lag-tipo-media {
    overflow: hidden;
}

.lag-tipo-media img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.lag-tipo-block:hover .lag-tipo-media img {
    transform: scale(1.06);
}

/* Pulsación táctil en botones */
.lag-btn-gold,
.lag-btn-outline,
.lag-btn-dark,
.lag-form-submit {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                background-color 0.2s ease, 
                color 0.2s ease;
}

.lag-btn-gold:active,
.lag-btn-outline:active,
.lag-btn-dark:active,
.lag-form-submit:active {
    transform: scale(0.97);
}

/* Efecto resplandor en inputs de formulario al foco */
.lag-form-input,
.lag-form-select,
.lag-form-textarea {
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.lag-form-input:focus,
.lag-form-select:focus,
.lag-form-textarea:focus {
    border-color: #4CAACC;
    box-shadow: 0 0 0 3px rgba(76, 170, 204, 0.15);
    background-color: #FFFFFF;
}

/* Números de estadísticas interactivos */
.lag-stat-item h4 {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.lag-stat-item:hover h4 {
    color: #3A9AB8;
    transform: scale(1.06);
}

/* ==========================================================
   RESPONSIVE MOBILE — HERO 90VH (SOLO TÍTULO Y BOTONES)
   ========================================================== */
@media (max-width: 768px) {
    .lag-hero {
        background: 
            radial-gradient(circle at 50% 20%, rgba(242, 167, 63, 0.16) 0%, transparent 60%),
            linear-gradient(180deg, rgba(3, 16, 36, 0.65) 0%, rgba(5, 24, 50, 0.35) 45%, rgba(3, 16, 36, 0.95) 100%),
            url('../lagoons-mobile.webp?v=5.0') center center / cover no-repeat;
        height: 90vh;
        min-height: 90vh;
        height: 90dvh;
        min-height: 90dvh;
        padding: 88px 0 32px;
        display: flex;
        align-items: flex-end;
        box-sizing: border-box;
    }

    .lagoons-container {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
    }

    .lag-hero-grid {
        grid-template-columns: 1fr;
        gap: 0;
        width: 100%;
    }

    .lag-hero-content {
        max-width: 100%;
        width: 100%;
    }

    /* Solo Título y Botones en Mobile para Máxima Limpieza */
    .lag-badge-gold {
        display: none;
    }

    .lag-hero-title {
        font-size: clamp(1.85rem, 7vw, 2.45rem);
        line-height: 1.08;
        margin-bottom: 20px;
        letter-spacing: -0.01em;
        text-align: left;
    }

    .lag-hero-title br {
        display: inline;
        content: ' ';
    }

    .lag-hero-subtitle {
        display: none;
    }

    .lag-hero-desc {
        display: none;
    }

    .lag-hero-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 0;
    }

    .lag-btn-primary,
    .lag-btn-outline {
        width: 100%;
        min-height: 48px;
        text-align: center;
        justify-content: center;
        padding: 13px 18px;
        font-size: 0.88rem;
        box-sizing: border-box;
    }

    /* Ocultar tarjeta lateral en mobile */
    .lag-hero-card-col {
        display: none;
    }
}
