.gallery-hero{
    min-height:100vh;

    background:
    linear-gradient(rgba(15,23,42,.6),rgba(15,23,42,.8)),
    url("/static/website/images/from_back.eeb17d006e11.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:180px 40px 120px;

    position:relative;
}

.gallery-hero-content{
    position:relative;
    z-index:2;

    text-align:center;
    max-width:1000px;
}

.gallery-badge{
    display:inline-block;

    padding:12px 20px;

    border-radius:999px;

    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.2);

    backdrop-filter:blur(20px);

    color:white;

    font-size:14px;
    font-weight:600;
    letter-spacing:2px;
}

.gallery-hero h1{
    font-size:clamp(42px, 7vw, 68px);
    line-height:1;

    color:white;

    margin:28px 0;

    font-family:'Manrope',sans-serif;
}

.gallery-hero p{
    color:rgba(255,255,255,.82);

    font-size:20px;
    line-height:1.8;
}

/* INTRO */

.gallery-intro{
    padding:120px 40px;
}

.gallery-intro-card{
    max-width:1400px;
    margin:auto;

    padding:70px;

    border-radius:34px;

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;

    background:rgba(255,255,255,.55);
    border:1px solid rgba(255,255,255,.7);

    backdrop-filter:blur(24px);

    box-shadow:0 20px 60px rgba(15,23,42,.06);
}

.gallery-intro-card h3{
    font-size:42px;
    line-height:1.1;

    margin-bottom:20px;

    color:var(--navy);

    font-family:'Manrope',sans-serif;
}

.gallery-intro-card p{
    line-height:1.9;
    font-size:18px;

    color:#64748b;
}

/* GRID */

.gallery-section{
    padding:0 40px 120px;
}

.gallery-grid{
    max-width:1400px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(3,1fr);
    grid-auto-rows:320px;

    gap:30px;
}

.gallery-item{
    overflow:hidden;

    border-radius:34px;

    position:relative;

    background:rgba(255,255,255,.55);
    border:1px solid rgba(255,255,255,.7);

    box-shadow:0 20px 60px rgba(15,23,42,.08);
}

.gallery-item img{
    width:100%;
    height:100%;

    object-fit:cover;

    transition:.6s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}

.gallery-item.large{
    grid-row:span 2;
}

.gallery-item.wide{
    grid-column:span 2;
}

/* PLANS */

.plans-section{
    padding:0 40px 120px;
    scroll-margin-top:100px;
}

.plans-header{
    max-width:760px;
    margin:0 auto 50px;
    text-align:center;
}

.plans-header > span{
    color:var(--gold);
    font-size:14px;
    font-weight:700;
    letter-spacing:2px;
}

.plans-header h2{
    margin:16px 0;
    color:var(--navy);
    font-family:'Manrope',sans-serif;
    font-size:clamp(36px,5vw,56px);
}

.plans-header p{
    margin:0;
    color:#64748b;
    font-size:18px;
    line-height:1.8;
}

.plans-grid{
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:26px;
}

.plan-card{
    min-width:0;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.8);
    border-radius:30px;
    background:#fff;
    box-shadow:0 20px 60px rgba(15,23,42,.08);
}

.plan-preview{
    position:relative;
    display:flex;
    min-height:480px;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:#f1f5f9;
    color:#fff;
    text-decoration:none;
}

.plan-preview::after{
    position:absolute;
    inset:45% 0 0;
    background:linear-gradient(transparent,rgba(15,23,42,.48));
    content:"";
    pointer-events:none;
}

.plan-preview img{
    width:100%;
    height:480px;
    object-fit:contain;
    transition:transform .5s;
}

.plan-preview:hover img{
    transform:scale(1.035);
}

.plan-preview h3{
    position:absolute;
    z-index:1;
    right:22px;
    bottom:24px;
    left:22px;
    margin:0;
    color:#fff;
    font-family:'Manrope',sans-serif;
    font-size:clamp(21px,2vw,27px);
    line-height:1.2;
    text-shadow:0 2px 12px rgba(0,0,0,.7);
}

.plan-open-label{
    position:absolute;
    z-index:2;
    top:16px;
    right:16px;
    padding:9px 13px;
    border:1px solid rgba(255,255,255,.75);
    border-radius:999px;
    background:rgba(15,23,42,.72);
    color:#fff;
    font-size:13px;
    font-weight:600;
    opacity:0;
    transition:opacity .2s;
}

.plan-preview:hover .plan-open-label,
.plan-preview:focus-visible .plan-open-label{
    opacity:1;
}

.plan-card-footer{
    display:flex;
    min-height:88px;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:16px 20px;
    background:#fff;
}

.plan-format{
    color:#64748b;
    font-size:12px;
    font-weight:700;
    letter-spacing:.4px;
    white-space:nowrap;
}

.plan-download{
    display:inline-flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:0 16px;
    border-radius:999px;
    background:var(--navy);
    color:#fff;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    transition:background .2s,transform .2s;
    white-space:nowrap;
}

.plan-download:hover{
    transform:translateY(-2px);
    background:var(--gold);
}

.plan-download span{
    font-size:19px;
    line-height:1;
}

.plan-preview:focus-visible,
.plan-download:focus-visible,
.plans-note a:focus-visible{
    outline:3px solid var(--gold);
    outline-offset:4px;
}

.plans-note{
    max-width:1100px;
    margin:34px auto 0;
    padding:22px 28px;
    border:1px solid rgba(255,255,255,.8);
    border-radius:22px;
    background:rgba(255,255,255,.6);
    color:#64748b;
    font-size:16px;
    line-height:1.8;
    text-align:center;
}

.plans-note a{
    color:#80682e;
    font-weight:700;
    text-decoration:underline;
    text-underline-offset:3px;
}

/* STATS */

.gallery-stats{
    padding:0 40px 120px;
}

.stats-card{
    max-width:1400px;
    margin:auto;

    padding:70px;

    border-radius:34px;

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;

    background:rgba(255,255,255,.55);
    border:1px solid rgba(255,255,255,.7);

    backdrop-filter:blur(24px);

    box-shadow:0 20px 60px rgba(15,23,42,.06);
}

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

.stat-item h3{
    font-size:64px;
    color:var(--gold);

    margin-bottom:14px;

    font-family:'Manrope',sans-serif;
}

.stat-item p{
    color:#64748b;

    line-height:1.8;
    font-size:17px;
}

/* CTA */

.gallery-cta{
    padding:0 40px 120px;
}

.gallery-cta-card{
    max-width:1200px;
    margin:auto;

    text-align:center;

    padding:100px 60px;

    border-radius:34px;

    background:
    linear-gradient(
    135deg,
    rgba(15,23,42,.95),
    rgba(30,41,59,.92));

    color:white;

    box-shadow:0 30px 70px rgba(15,23,42,.18);
}

.gallery-cta-card span{
    color:var(--gold);

    letter-spacing:2px;
    font-size:14px;
    font-weight:700;
}

.gallery-cta-card h2{
    font-size:60px;

    margin:25px 0;

    font-family:'Manrope',sans-serif;
}

.gallery-cta-card p{
    max-width:700px;

    margin:auto auto 40px;

    line-height:1.9;
    font-size:18px;

    color:rgba(255,255,255,.75);
}

/* LIGHTBOX */

.lightbox{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.92);

    display:flex;
    align-items:center;
    justify-content:center;

    opacity:0;
    pointer-events:none;

    transition:.35s;

    z-index:99999;

    padding:40px;
}

.lightbox.active{
    opacity:1;
    pointer-events:auto;
}

.lightbox img{
    max-width:1500px;
    width:100%;

    max-height:92vh;

    object-fit:contain;

    border-radius:30px;

    box-shadow:0 30px 80px rgba(0,0,0,.45);

    transform:scale(.92);

    transition:.35s;
}

.lightbox.active img{
    transform:scale(1);
}

/* RESPONSIVE */

@media(max-width:1100px){

    .gallery-grid,
    .gallery-intro-card,
    .stats-card{
        grid-template-columns:1fr;
    }

    .gallery-item.large,
    .gallery-item.wide{
        grid-column:auto;
        grid-row:auto;
    }

    .gallery-grid{
        grid-auto-rows:280px;
    }

}

@media(max-width:900px){

    .gallery-hero{
        padding:160px 20px 100px;
    }

    .gallery-hero h1{
        font-size:42px;
    }

    .gallery-hero p{
        font-size:17px;
    }

    .gallery-intro,
    .gallery-section,
    .plans-section,
    .gallery-stats,
    .gallery-cta{
        padding-left:20px;
        padding-right:20px;
    }

    .gallery-intro-card,
    .stats-card,
    .gallery-cta-card{
        padding:40px 30px;
    }

    .gallery-intro-card h3,
    .gallery-cta-card h2{
        font-size:38px;
    }

    .stats-card{
        gap:40px;
    }

    .stat-item h3{
        font-size:48px;
    }

    .gallery-grid{
        grid-template-columns:1fr;
        grid-auto-rows:260px;
    }

    .plans-grid{
        grid-template-columns:1fr;
        max-width:520px;
    }

    .plan-preview,
    .plan-preview img{
        min-height:420px;
        height:420px;
    }

    .plan-open-label{
        opacity:1;
    }

    .plans-header p{
        font-size:16px;
    }

    .plans-note{
        padding:20px;
    }

}