/* ── PAGE TOKENS ───────────────────────────────────── */
:root {
    --sd-primary: #2563eb;
    --sd-accent: #4f46e5;
    --sd-bg: #ffffff;
    --sd-bg-rgb: 255, 255, 255;
    --sd-blue: #2563eb;
    --sd-surface: #f8fafc;
    --sd-border: rgba(0, 0, 0, 0.08);
    --sd-text: #475569;
    --sd-text-h: #0f172a;
    --sd-r: 5px;
    --sd-glass: rgba(255, 255, 255, 0.7);
    --sd-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.dark-theme :root {
    --sd-bg: #0a0f1e;
    --sd-bg-rgb: 10, 15, 30;
    --sd-surface: #111827;
    --sd-border: rgba(255, 255, 255, 0.08);
    --sd-text: #94a3b8;
    --sd-text-h: #f8fafc;
    --sd-glass: rgba(15, 23, 42, 0.7);
    --sd-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

body.service-detail-page {
    background: var(--sd-bg);
    color: var(--sd-text);
    transition: background 0.3s ease;
}

h1,
h2,
h3,
h4,
.outfit {
    font-family: 'Outfit', sans-serif;
    color: var(--sd-text-h);
}

/* ── HERO ──────────────────────────────────────────── */
.sd-hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.sd-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.sd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, var(--sd-bg) 100%);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.dark-theme .sd-hero-overlay {
    background: linear-gradient(180deg, rgba(10, 15, 30, 0.85) 0%, var(--sd-bg) 100%);
}

.sd-hero .container {
    position: relative;
    z-index: 2;
}

/* ── BADGE ─────────────────────────────────────────── */
.sd-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--sd-primary);
    padding: 6px 16px;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 24px;
}

/* ── PRICE CARD ────────────────────────────────────── */
.sd-price-card {
    background: var(--sd-glass);
    border: 1px solid var(--sd-border);
    border-radius: 3px;
    padding: 40px;
    backdrop-filter: blur(24px);
    box-shadow: var(--sd-shadow);
    position: sticky;
    top: 100px;
    transition: all 0.3s ease;
}

.sd-price-big {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--sd-primary);
    line-height: 1.5;
    letter-spacing: -2px;
}

.sd-time-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sd-surface);
    border: 1px solid var(--sd-border);
    border-radius: 3px;
    padding: 6px 18px;
    font-size: 0.88rem;
    color: var(--sd-text);
    font-weight: 700;
    margin-top: 12px;
}

.sd-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--sd-primary), var(--sd-accent));
    color: #fff !important;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
    border: none;
}

.sd-book-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.45);
    filter: brightness(1.1);
}

/* ── SECTION ───────────────────────────────────────── */
.sd-section {
    padding: 60px 0;
    border-top: 1px solid var(--sd-border);
}

.sd-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--sd-text-h);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sd-section-title i {
    color: var(--sd-primary);
    font-size: 1.1rem;
}

/* ── WARNING ───────────────────────────────────────── */
.sd-warning {
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-left: 5px solid #f59e0b;
    border-radius: 3px;
    padding: 20px 24px;
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.sd-warning i {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-top: 3px;
}

.sd-warning p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--sd-text-h);
}

/* ── FEATURE ───────────────────────────────────────── */
.sd-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--sd-surface);
    border: 1px solid var(--sd-border);
    border-radius: 3px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.sd-feature:hover {
    transform: translateX(8px);
    border-color: var(--sd-primary);
    background: var(--sd-bg);
    box-shadow: var(--sd-shadow);
}

.sd-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--sd-primary);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sd-feature h6 {
    font-weight: 800;
    margin-bottom: 6px;
    font-size: 1rem;
    color: var(--sd-text-h);
}

.sd-feature p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* ── EMPLOYEES ─────────────────────────────────────── */
.sd-emp-card {
    background: var(--sd-surface);
    border: 1px solid var(--sd-border);
    border-radius: 3px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.sd-emp-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sd-shadow);
    border-color: var(--sd-primary);
}

.sd-emp-avatar {
    width: 64px;
    height: 64px;
    border-radius: 3px;
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sd-primary);
    color: #fff;
    font-weight: 800;
    overflow: hidden;
}

.sd-emp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-emp-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--sd-text-h);
}

.sd-emp-role {
    font-size: 0.85rem;
    color: var(--sd-text);
}

/* ── ADDONS ────────────────────────────────────────── */
.sd-addon-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    background: var(--sd-surface);
    border: 1px solid var(--sd-border);
    border-radius: 3px;
    margin-bottom: 12px;
}

.sd-addon-name {
    font-weight: 700;
    color: var(--sd-text-h);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.sd-addon-meta {
    font-size: 0.85rem;
    color: var(--sd-text);
}

.sd-addon-price {
    font-weight: 800;
    color: var(--sd-primary);
    font-size: 1.1rem;
}

/* ── REVIEWS ───────────────────────────────────────── */
.sd-review-card {
    background: var(--sd-surface);
    border: 1px solid var(--sd-border);
    border-radius: 3px;
    padding: 28px;
    height: 100%;
}

.sd-stars {
    color: #f59e0b;
    margin-bottom: 12px;
}

.sd-rating-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.sd-rating-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--sd-text-h);
    line-height: 1.5;
}

.sd-review-date {
    font-size: 0.8rem;
    color: var(--sd-text);
}

.sd-review-text {
    font-size: 0.95rem;
    color: var(--sd-text-h);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.sd-reviewer {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sd-text);
}

/* ── GALLERY ───────────────────────────────────────── */
.sd-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.sd-gallery img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 3px;
    transition: transform 0.5s ease;
}

.sd-gallery img:hover {
    transform: scale(1.04);
}

/* ── FAQ ───────────────────────────────────────────── */
.sd-faq-item {
    background: var(--sd-surface);
    border: 1px solid var(--sd-border);
    border-radius: 3px;
    margin-bottom: 12px;
    overflow: hidden;
}

.sd-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--sd-text-h);
    cursor: pointer;
}

.sd-faq-btn .icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    color: var(--sd-primary);
    border-radius: 3px;
    transition: transform 0.3s ease;
}

.sd-faq-body {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    color: var(--sd-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.sd-faq-item.open .sd-faq-btn .icon {
    transform: rotate(45deg);
}

.sd-faq-item.open .sd-faq-body {
    padding: 0 24px 24px;
    max-height: 300px;
    opacity: 1;
}

/* ── COMPANY BAR ───────────────────────────────────── */
.sd-company-bar {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    text-decoration: none;
    margin-bottom: 32px;
}

/* ── RELATED ───────────────────────────────────────── */
.sd-related-card {
    display: block;
    padding: 20px;
    background: var(--sd-surface);
    border: 1px solid var(--sd-border);
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.sd-related-card:hover {
    border-color: var(--sd-primary);
    transform: translateY(-4px);
    box-shadow: var(--sd-shadow);
}

.sd-related-name {
    font-weight: 800;
    color: var(--sd-text-h);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.sd-related-dur {
    font-size: 0.85rem;
    color: var(--sd-text);
}

.sd-related-price {
    font-weight: 800;
    color: var(--sd-primary);
    font-size: 1.1rem;
}

/* ── REVEAL ────────────────────────────────────────── */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: none;
}

@media (max-width: 991px) {
    .sd-price-card {
        position: static;
        margin-top: 40px;
        padding: 30px;
    }

    .sd-hero {
        padding: 100px 0 60px;
    }
}

.sd-company-bar:hover {
    border-color: rgba(37, 99, 235, 0.25);
    background: rgba(37, 99, 235, 0.05);
}

.sd-company-logo {
    width: 44px;
    height: 44px;
    border-radius: 3px;
    object-fit: cover;
    background: var(--sd-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    overflow: hidden;
    flex-shrink: 0;
}

.sd-company-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.sd-company-city {
    font-size: 0.78rem;
    color: var(--sd-text);
}

/* ── BREADCRUMB ────────────────────────────────────── */
.sd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 0.82rem;
    flex-wrap: wrap;
}

.sd-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.sd-breadcrumb a:hover {
    color: #fff;
}

.sd-breadcrumb span {
    color: rgba(255, 255, 255, 0.3);
}

.sd-breadcrumb .current {
    color: #fff;
    font-weight: 600;
}

/* ── BOOTSTRAP DARK-THEME OVERRIDES ───────────────── */
.text-muted,
.text-secondary {
    color: var(--sd-text) !important;
}

.text-dark {
    color: #e2e8f0 !important;
}

.text-body {
    color: #f8fafc !important;
}

small,
.small {
    color: inherit;
}

.border-secondary {
    border-color: rgba(255, 255, 255, 0.12) !important;
}