/* =====================================
   HOME — LUXURY / PREMIUM / RESPONSIVE
   VERSION HERO PHOTO SALON
===================================== */

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

.home-hero{
    position:relative;
    overflow:hidden;
    min-height:calc(100vh - 92px);
    display:flex;
    align-items:center;
    padding:clamp(70px, 8vw, 110px) 0;
    background-image:var(--hero-bg);
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    isolation:isolate;
}

.home-hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:
        linear-gradient(90deg,
            rgba(10, 6, 8, 0.82) 0%,
            rgba(10, 6, 8, 0.52) 34%,
            rgba(255, 238, 246, 0.18) 58%,
            rgba(255, 246, 250, 0.66) 100%
        ),
        radial-gradient(circle at 47% 43%, rgba(242, 83, 152, 0.18), transparent 25%),
        radial-gradient(circle at 78% 70%, rgba(255,255,255,0.35), transparent 34%);
}

.home-hero::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.18) 100%);
}

.home-hero .container{
    position:relative;
    z-index:2;
}

.home-hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.20) 100%);
}

.hero-inner{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0, 0.95fr) minmax(420px, 0.8fr);
    gap:clamp(28px, 5vw, 70px);
    align-items:center;
}

.hero-content{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.hero-content h1{
    max-width:10.5ch;
    margin:0 0 20px;
    line-height:0.96;
    letter-spacing:-0.05em;
    font-weight:800;
    color:#fff;
    background:linear-gradient(135deg, #ffffff 0%, #ffe3f1 38%, #ff7dbc 72%, #ffffff 100%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    text-shadow:0 10px 34px rgba(255, 50, 145, 0.28);
}

.hero-slogan{
    max-width:540px;
    margin:0 0 30px;
    font-size:clamp(1rem, 1.15vw, 1.08rem);
    line-height:1.78;
    color:rgba(255,255,255,0.88);
    text-shadow:0 4px 18px rgba(0,0,0,0.35);
}

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

.hero-actions .btn{
    min-width:190px;
}

/* =====================================
   SECTION LABEL
===================================== */

.home-hero .section-label,
.home-services .section-label,
.home-advantages .section-label{
    display:inline-flex;
    width:auto;
    max-width:max-content;
    align-items:center;
    justify-content:center;
    align-self:flex-start;
    padding:10px 22px;
    border:1px solid rgba(255,255,255,0.45);
    border-radius:999px;
    background:rgba(255,255,255,0.78);
    color:#c85f94;
    font-size:0.78rem;
    font-weight:800;
    line-height:1;
    letter-spacing:0.18em;
    text-transform:uppercase;
    white-space:nowrap;
    box-shadow:0 12px 30px rgba(0,0,0,0.12);
}

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

.hero-visual{
    position:relative;
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto auto;
    gap:18px;
    align-items:stretch;
    min-height:0;
}

.hero-card{
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    padding:28px;
    border:1px solid rgba(255,255,255,0.62);
    border-radius:30px;
    background:linear-gradient(135deg, rgba(255,255,255,0.86) 0%, rgba(255,244,248,0.82) 48%, rgba(255,255,255,0.78) 100%);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255,255,255,0.88);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    transition:transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.hero-card:hover{
    transform:translateY(-5px);
    border-color:rgba(242, 143, 182, 0.55);
    box-shadow:
        0 32px 80px rgba(242, 83, 152, 0.22),
        0 16px 36px rgba(0,0,0,0.18);
}

.hero-card:first-child{
    grid-column:1 / -1;
    min-height:205px;
    justify-content:center;
}

.hero-card:nth-child(2),
.hero-card:nth-child(3){
    min-height:250px;
    height:100%;
}

.hero-card h3{
    position:relative;
    z-index:1;
    margin:0 0 10px;
    font-size:clamp(1.08rem, 1.8vw, 1.34rem);
    line-height:1.12;
    letter-spacing:-0.03em;
    color:var(--text);
}

.hero-card p{
    position:relative;
    z-index:1;
    margin:0;
    line-height:1.74;
    color:var(--text-soft);
}

/* =====================================
   SERVICES SECTION
===================================== */

.home-services{
    position:relative;
    padding:clamp(58px, 8vw, 92px) 0;
    overflow:hidden;
}

.home-services::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:min(1100px, 92%);
    height:100%;
    border-radius:38px;
    background:linear-gradient(180deg, rgba(255, 245, 249, 0.70) 0%, rgba(245, 255, 249, 0.66) 100%);
    pointer-events:none;
    z-index:0;
}

.home-services .container{
    position:relative;
    z-index:1;
}

.home-services .section-heading{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    margin-bottom:28px;
}

.services-preview{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:22px;
    margin-top:0;
}

.service-preview-card{
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    gap:12px;
    min-height:250px;
    padding:28px;
    border:1px solid rgba(255,255,255,0.68);
    border-radius:30px;
    background:linear-gradient(145deg, rgba(255,255,255,0.94) 0%, rgba(255,245,248,0.92) 50%, rgba(244,255,249,0.92) 100%);
    box-shadow:
        0 18px 40px rgba(84, 54, 65, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.80);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    transition:transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-preview-card:hover{
    transform:translateY(-5px);
    box-shadow:0 24px 48px rgba(84, 54, 65, 0.14);
    border-color:rgba(225, 160, 188, 0.65);
}

.service-preview-card h3{
    margin:0;
    font-size:clamp(1.08rem, 1.7vw, 1.32rem);
}

.service-preview-card p{
    margin:0;
    line-height:1.74;
    color:var(--text-soft);
}

.services-cta{
    display:flex;
    justify-content:center;
    margin-top:34px;
}

/* =====================================
   ADVANTAGES SECTION
===================================== */

.home-advantages{
    position:relative;
    padding:clamp(58px, 8vw, 92px) 0;
}

.home-advantages::before{
    content:"";
    position:absolute;
    inset:24px auto auto 50%;
    transform:translateX(-50%);
    width:min(1080px, 92%);
    height:calc(100% - 48px);
    border-radius:38px;
    background:linear-gradient(180deg, rgba(244,255,249,0.60) 0%, rgba(255,246,250,0.65) 100%);
    pointer-events:none;
    z-index:0;
}

.home-advantages .container{
    position:relative;
    z-index:1;
}

.home-advantages .section-heading{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.advantages-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:22px;
}

.advantage-card{
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    gap:14px;
    min-height:240px;
    padding:30px 28px;
    border:1px solid rgba(206, 224, 214, 0.75);
    border-radius:30px;
    background:linear-gradient(145deg, rgba(255,255,255,0.98) 0%, rgba(247,255,251,0.97) 48%, rgba(255,246,250,0.96) 100%);
    box-shadow:0 16px 34px rgba(67, 101, 81, 0.08);
    transition:transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.advantage-card:hover{
    transform:translateY(-5px);
    box-shadow:0 22px 42px rgba(67, 101, 81, 0.12);
    border-color:rgba(167, 206, 184, 0.95);
}

.advantage-card::before{
    content:"";
    width:48px;
    height:48px;
    border-radius:16px;
    background:linear-gradient(180deg, rgba(162, 219, 186, 0.42) 0%, rgba(255, 184, 210, 0.22) 100%);
}

.advantage-card h3{
    margin:0;
    font-size:clamp(1.08rem, 1.7vw, 1.28rem);
}

.advantage-card p{
    margin:0;
    line-height:1.74;
    color:var(--text-soft);
}

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

@media (max-width: 1180px){
    .hero-inner{
        grid-template-columns:minmax(0, 0.9fr) minmax(360px, 0.9fr);
    }
}

@media (max-width: 1080px){
    .services-preview,
    .advantages-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

    .hero-content h1{
        max-width:11.5ch;
    }
}

@media (max-width: 860px){
    .home-hero{
        min-height:auto;
        padding:64px 0 54px;
        background-position:center top;
    }

    .home-hero::before{
        background:
            linear-gradient(180deg,
                rgba(10, 6, 8, 0.72) 0%,
                rgba(10, 6, 8, 0.44) 38%,
                rgba(255, 246, 250, 0.72) 100%
            );
    }

    .hero-inner{
        grid-template-columns:1fr;
        gap:30px;
    }

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

    .hero-slogan{
        max-width:100%;
    }

    .hero-visual{
        grid-template-columns:1fr 1fr;
    }

    .home-services::before{
        width:94%;
        border-radius:30px;
    }
}

@media (max-width: 680px){
    .home-hero{
        padding:46px 0 44px;
        background-position:45% top;
    }

    .home-services,
    .home-advantages{
        padding:46px 0;
    }

    .home-services::before{
        width:100%;
        border-radius:0;
    }

    .home-hero .section-label,
    .home-services .section-label,
    .home-advantages .section-label{
        max-width:100%;
        white-space:normal;
        text-align:center;
        padding:10px 18px;
        font-size:0.72rem;
        letter-spacing:0.14em;
    }

    .hero-inner{
        gap:24px;
    }

    .hero-content h1{
        max-width:100%;
        margin-bottom:14px;
        line-height:0.98;
    }

    .hero-slogan{
        margin-bottom:22px;
        font-size:0.98rem;
        line-height:1.7;
    }

    .hero-actions{
        width:100%;
        flex-direction:column;
        align-items:stretch;
        gap:12px;
    }

    .hero-actions .btn{
        width:100%;
        min-width:0;
    }

    .hero-visual{
        grid-template-columns:1fr;
        gap:14px;
    }

    .hero-card{
        padding:22px;
        border-radius:24px;
    }

    .hero-card:first-child,
    .hero-card:nth-child(2),
    .hero-card:nth-child(3){
        grid-column:auto;
        min-height:auto;
    }

    .hero-card:hover,
    .service-preview-card:hover,
    .advantage-card:hover{
        transform:none;
    }

    .services-preview,
    .advantages-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .service-preview-card,
    .advantage-card{
        min-height:auto;
        padding:22px;
        border-radius:24px;
    }

    .services-cta{
        margin-top:24px;
    }

    .services-cta .btn{
        width:100%;
    }
}

@media (max-width: 480px){
    .home-hero{
        padding:42px 0 38px;
        background-position:46% top;
    }

    .home-services,
    .home-advantages{
        padding:40px 0;
    }

    .hero-card,
    .service-preview-card,
    .advantage-card{
        padding:20px;
        border-radius:20px;
    }

    .hero-slogan{
        font-size:0.95rem;
    }

    .hero-card h3,
    .service-preview-card h3,
    .advantage-card h3{
        line-height:1.2;
    }
}