/* ====================================================================================
HOME PAGE — Davila Divine Nails
Targets ONLY classes used in the home page markup
==================================================================================== */

/* Page wrapper */
.page{
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
    overflow: hidden;
}

/* Soft glow backdrop */
.page::before{
    content:"";
    position:absolute;
    left: 50%;
    top: -12rem;
    transform: translateX(-50%);
    width: 1200px;
    max-width: 120%;
    height: 520px;
    background:
            radial-gradient(
                    closest-side,
                    rgba(255, 77, 227, .22),
                    rgba(0,0,0,0)
            );
    filter: blur(12px);
    pointer-events:none;
    z-index:-1;
}

/* ====================================================================================
HERO
==================================================================================== */

.hero{
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: clamp(1.25rem, 4vw, 2.5rem);
    align-items: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

@media (max-width: 900px){
    .hero{
        grid-template-columns: 1fr;
    }
}

/* Hero copy */
.hero-copy{
    max-width: 640px;
}

.hero h1{
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.05;
    margin-bottom: .75rem;
}

.lead{
    font-size: 1.05rem;
    color: var(--fg-muted);
    margin-bottom: 1.1rem;
}

/* Actions */
.actions{
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin: .75rem 0 1rem;
}

/* ====================================================================================
HERO CARD (visual block)
==================================================================================== */

.hero-card{
    background: rgba(255,255,255,.035);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.25rem;
    min-height: 260px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

/* inner glow */
.hero-card::before{
    content:"";
    position:absolute;
    inset:-50% -50%;
    background:
            radial-gradient(
                    circle at 30% 30%,
                    rgba(255, 77, 227, .28),
                    rgba(0,0,0,0) 60%
            );
    transform: rotate(10deg);
    pointer-events:none;
}

/* Color swatch */
.swatch{
    height: 120px;
    border-radius: 18px;
    background:
            linear-gradient(
                    135deg,
                    var(--brand),
                    var(--brand-2)
            );
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 14px 34px rgba(0,0,0,.28);
    margin-bottom: 1rem;
}

/* Decorative lines */
.lines .line{
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.06);
    margin: .55rem 0;
}
.lines .line.short{
    width: 60%;
}

/* ====================================================================================
SERVICES GRID
==================================================================================== */

.grid-3{
    display: grid;                 /* THIS is the missing piece */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    margin: clamp(2rem, 5vw, 3rem) 0;
}

.grid-3 .card{
    background: linear-gradient(
            180deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.02)
    );
    padding: 1.6rem 1.75rem;
}

.grid-3 .card:hover{
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(0,0,0,.30);
}

/* ====================================================================================
SPLIT SECTION
==================================================================================== */

.split{
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 1.25rem;
    align-items: start;
    margin-top: clamp(3rem, 6vw, 4rem); /* stronger separation */
}

@media (max-width: 900px){
    .split{
        grid-template-columns: 1fr;
    }

    .grid-3{
        grid-template-columns: 1fr;
    }
}

.split h2{
    margin-bottom: .5rem;
}

/* Hours card refinement */
.card.soft{
    padding: 1.1rem 1.25rem;
}
