/* ============================================================
   SERVICE DETAIL PAGE
   File: /static/css/service_detail.css
============================================================ */

/* ------------------------------------------------------------
   PAGE WRAPPER
------------------------------------------------------------ */
.service-detail-page{
    width:100%;
}

/* ------------------------------------------------------------
   BREADCRUMB
------------------------------------------------------------ */
.breadcrumb{
    border-bottom:1px solid rgba(255,255,255,0.06);
    background:rgba(255,255,255,0.02);
}

.breadcrumb .container{
    position:relative;
}

.breadcrumb-inner{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:14px 0;
    font-size:13px;
    color:rgba(255,255,255,0.65);
}

.breadcrumb a{
    font-weight:700;
}

.breadcrumb a:hover{
    color:var(--gold);
}

.separator{
    opacity:0.4;
}

.category-name{
    color:rgba(255,255,255,0.82);
}

/* ------------------------------------------------------------
   HERO
------------------------------------------------------------ */
.service-hero{
    position:relative;
    min-height:calc(100vh - var(--header-height));
    display:flex;
    align-items:center;
    background:var(--bg-black);
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    overflow:hidden;
}

.service-hero .container{
    position:relative;
    z-index:2;
    width:100%;
}

.service-hero-overlay{
    position:absolute;
    inset:0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.84) 0%, rgba(0,0,0,0.48) 45%, rgba(0,0,0,0.28) 100%);
}

.service-hero-content{
    max-width:760px;
    padding:56px 0;
}

@media (max-width:767px){
    .service-hero{
        min-height:auto;
    }

    .service-hero-content{
        padding:72px 0 56px;
    }
}

@media (min-width:768px){
    .service-hero{
        min-height:88vh;
    }
}

/* ------------------------------------------------------------
   CATEGORY / BADGES
------------------------------------------------------------ */
.service-category{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:34px;
    margin:0 0 12px;
    padding:6px 12px;
    border-radius:999px;
    border:1px solid var(--category-color, rgba(250,204,21,0.35));
    background:rgba(255,255,255,0.04);
    color:var(--category-color, var(--gold));
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:0.08em;
}

.category-icon{
    line-height:1;
}

.service-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:32px;
    margin:0 0 14px;
    padding:6px 12px;
    border-radius:999px;
    border:1px solid rgba(250,204,21,0.35);
    background:rgba(250,204,21,0.10);
    color:var(--gold);
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:0.08em;
}

/* ------------------------------------------------------------
   HERO TEXT
------------------------------------------------------------ */
.service-title{
    margin-bottom:16px;
    font-size:clamp(38px, 5vw, 68px);
    line-height:1.02;
    color:#fff;
}

.service-tagline{
    max-width:640px;
    font-size:clamp(16px, 2vw, 20px);
    line-height:1.75;
    color:rgba(255,255,255,0.84);
    margin-bottom:22px;
}

.service-price{
    display:flex;
    align-items:flex-end;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:24px;
}

.service-price .amount{
    font-size:30px;
    font-weight:900;
    line-height:1;
    color:var(--gold);
}

.service-price .period{
    font-size:13px;
    font-weight:700;
    color:rgba(255,255,255,0.62);
    text-transform:uppercase;
    letter-spacing:0.06em;
    margin-bottom:2px;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:22px;
}

.service-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.service-meta span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:8px 14px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.06);
    color:rgba(255,255,255,0.82);
    font-size:13px;
    font-weight:700;
}

@media (max-width:767px){
    .hero-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .hero-actions .cta-btn{
        width:100%;
    }

    .service-meta span{
        width:100%;
    }
}

/* ------------------------------------------------------------
   CONTENT WIDTH HELPERS
------------------------------------------------------------ */
.service-narrow{
    max-width:820px;
    margin:0 auto;
}

.service-wide{
    width:100%;
}

.section-alt{
    background:linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0.025) 100%);
}

/* ------------------------------------------------------------
   DESCRIPTION
------------------------------------------------------------ */
.service-description{
    font-size:15px;
    line-height:1.85;
    color:var(--text-muted);
}

/* ------------------------------------------------------------
   FEATURES
------------------------------------------------------------ */
.features-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
    margin-top:40px;
}

@media(min-width:768px){
    .features-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media(min-width:1024px){
    .features-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap:24px;
        margin-top:48px;
    }
}

.feature-card{
    display:flex;
    align-items:flex-start;
    gap:12px;
    min-height:100%;
    padding:22px;
    border-radius:22px;
    background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    border:1px solid rgba(255,255,255,0.07);
    box-shadow:var(--shadow-md);
    transition:transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover{
    transform:translateY(-4px);
    border-color:rgba(250,204,21,0.35);
    box-shadow:var(--shadow-lg);
}

.feature-card p{
    margin:0;
    color:var(--text-muted);
    line-height:1.75;
}

.check{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:26px;
    height:26px;
    min-width:26px;
    margin-top:2px;
    border-radius:999px;
    background:rgba(250,204,21,0.12);
    border:1px solid rgba(250,204,21,0.24);
    color:var(--gold);
    font-size:12px;
    font-weight:900;
}

/* ------------------------------------------------------------
   DETAILS GRID
------------------------------------------------------------ */
.details-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
    margin-top:40px;
}

@media(min-width:768px){
    .details-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media(min-width:1024px){
    .details-grid{
        gap:24px;
        margin-top:48px;
    }
}

.detail-item{
    padding:22px;
    border-radius:22px;
    background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    border:1px solid rgba(255,255,255,0.07);
    box-shadow:var(--shadow-md);
    transition:transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.detail-item:hover{
    transform:translateY(-4px);
    border-color:rgba(250,204,21,0.30);
    box-shadow:var(--shadow-lg);
}

.detail-item h3{
    margin-bottom:10px;
    font-size:20px;
    line-height:1.2;
    color:var(--text-light);
}

.detail-item p{
    margin:0;
    font-size:15px;
    line-height:1.75;
    color:var(--text-muted);
}

.details-grid .empty-state{
    margin-top:0;
}

@media (min-width:768px){
    .details-grid .empty-state{
        grid-column:1 / -1;
    }
}

/* ------------------------------------------------------------
   POLICY
------------------------------------------------------------ */
.policy-block{
    margin-bottom:16px;
    padding:22px;
    border-radius:22px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
}

.policy-block:last-child{
    margin-bottom:0;
}

.policy-block h3{
    margin-bottom:10px;
    font-size:20px;
    line-height:1.2;
    color:#fff;
}

.policy-block p{
    margin:0;
    color:var(--text-muted);
    line-height:1.8;
}

/* ------------------------------------------------------------
   FINAL CTA
------------------------------------------------------------ */
.service-final-cta{
    max-width:980px;
    margin:0 auto;
}

.cta-actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
}

@media (max-width:767px){
    .cta-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .cta-actions .cta-btn{
        width:100%;
    }
}

/* ------------------------------------------------------------
   ACCESSIBILITY
------------------------------------------------------------ */
a:focus-visible,
.cta-btn:focus-visible{
    outline:2px solid var(--gold);
    outline-offset:3px;
}

/* ------------------------------------------------------------
   REDUCED MOTION
------------------------------------------------------------ */
@media(prefers-reduced-motion:reduce){
    .feature-card,
    .detail-item,
    .cta-btn{
        transition:none !important;
    }
}