/* ===== PAGE HERO BASE ===== */
.page-hero {
    padding: 108px 0 72px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}
.page-hero-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 20px;
}
.page-hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 36px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 32px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span[aria-current] { color: #0f172a; font-weight: 500; }

/* ===== HERO 2-COL LAYOUT ===== */
.sv-hero {
    padding-bottom: 56px;
    text-align: left;
}
.sv-hero .breadcrumb {
    justify-content: flex-start;
    margin-bottom: 40px;
}
.sv-hero .page-hero-content {
    max-width: none;
    margin: 0;
    text-align: left;
}
.sv-hero .page-hero-title { text-align: left; }
.sv-hero .page-hero-sub {
    max-width: 560px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    text-align: left;
}
.sv-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 56px;
    align-items: center;
}
.sv-hero-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Phone block */
.sv-big-phone {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 28px;
    background: rgba(245,158,11,0.07);
    border: 1.5px solid rgba(245,158,11,0.32);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(245,158,11,0.10);
    text-decoration: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s;
}
.sv-big-phone::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245,158,11,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.sv-phone-info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.sv-phone-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b45309;
}
.sv-phone-number {
    font-family: var(--font-body);
    font-size: 1.55rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #92400e;
    line-height: 1;
    white-space: nowrap;
}
.sv-phone-hint {
    font-size: 0.76rem;
    color: var(--muted);
    margin-top: 2px;
}
.sv-hint-mobile { display: none; }
.sv-phone-status {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: 0.74rem;
    font-weight: 600;
    color: #b45309;
}
.sv-phone-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d97706;
    box-shadow: 0 0 0 0 rgba(217,119,6,0.5);
    animation: sv-pulse 2.2s ease infinite;
    flex-shrink: 0;
}
@keyframes sv-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(217,119,6,0.5); }
    65%  { box-shadow: 0 0 0 10px rgba(217,119,6,0); }
    100% { box-shadow: 0 0 0 0 rgba(217,119,6,0); }
}

/* Action buttons row */
.sv-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}
.sv-hero-actions .btn-primary,
.sv-hero-actions .btn-ghost {
    min-height: 54px;
    justify-content: center;
    line-height: 1;
}
.sv-mobile-action { display: none; }

/* Desktop: phone block non-clickable */
@media (min-width: 641px) {
    .sv-big-phone {
        cursor: default;
        pointer-events: none;
    }
}

/* ===== SERVICES GRID ===== */
.sv-grid-section { padding: 0 0 72px; }
.sv-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.sv-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15,23,42,0.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.22s, transform 0.22s;
}
.sv-card:hover {
    box-shadow: 0 12px 36px rgba(15,23,42,0.13);
    transform: translateY(-3px);
}

/* Thumbnail */
.sv-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
    display: block;
}
a.sv-card-thumb { cursor: pointer; }
.sv-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.sv-card:hover .sv-card-thumb img { transform: scale(1.05); }

.sv-card-icon {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.93);
    border: 1px solid rgba(203,213,225,0.9);
    color: #1d4ed8;
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(15,23,42,0.12);
    backdrop-filter: blur(6px);
}

/* Card body */
.sv-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    flex: 1;
}
.sv-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.sv-card-name {
    font-family: var(--font-head);
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    flex: 1;
}
.sv-card-price {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(245,158,11,0.11);
    color: #92400e;
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}
.sv-card-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
}

/* Card CTA button */
.sv-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    margin-top: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(15,23,42,0.05);
    border: 1px solid rgba(15,23,42,0.14);
    color: #334155;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.sv-card-btn:hover {
    background: rgba(37,99,235,0.07);
    border-color: rgba(37,99,235,0.32);
    color: #1d4ed8;
}
.sv-card-btn-primary {
    background: rgba(37,99,235,0.08);
    border-color: rgba(37,99,235,0.28);
    color: #1d4ed8;
}
.sv-card-btn-primary:hover {
    background: rgba(37,99,235,0.14);
    border-color: rgba(37,99,235,0.50);
}

/* ===== TRUST STRIP ===== */
.sv-trust-section { padding: 0 0 64px; }
.sv-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.sv-trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.sv-trust-item svg { flex-shrink: 0; }
.sv-trust-item div { display: flex; flex-direction: column; gap: 2px; }
.sv-trust-item strong { font-size: 0.86rem; font-weight: 700; color: #0f172a; }
.sv-trust-item span  { font-size: 0.75rem; color: var(--muted); }

/* Phone display in final CTA bar */
.sv-phone-display {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 8px;
    padding: 16px 28px;
    background: rgba(245,158,11,0.08);
    border: 1.5px solid rgba(245,158,11,0.30);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #92400e;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(245,158,11,0.10);
    cursor: default;
}
.sv-cta-mobile { display: none !important; }
.sv-cta-desktop { display: inline-flex; }

/* ===== FINAL CTA ===== */
.sv-cta-section { padding: 0 0 80px; }
.sv-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.sv-cta-text h2 {
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
.sv-cta-text p { color: var(--muted); font-size: 0.92rem; }
.sv-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* ===== TABLET ===== */
@media (max-width: 1000px) {
    .sv-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .sv-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .sv-hero .breadcrumb { justify-content: center; }
    .sv-hero .page-hero-sub { max-width: 100%; }
    .sv-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sv-cta-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        gap: 20px;
    }
    .sv-cta-actions { width: 100%; flex-wrap: wrap; }
}

/* ===== MOBILE ===== */
@media (max-width: 640px) {
    .sv-services-grid { grid-template-columns: 1fr; }
    .sv-trust-grid { grid-template-columns: 1fr 1fr; }

    /* Phone block becomes tappable on mobile */
    .sv-big-phone { cursor: pointer; pointer-events: auto; }
    .sv-hint-desktop { display: none; }
    .sv-hint-mobile  { display: block; }

    /* Swap action buttons */
    .sv-desktop-action { display: none; }
    .sv-mobile-action  { display: inline-flex; }

    /* Actions: full-width primary + auto ghost */
    .sv-hero-actions {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    /* Final CTA bar: switch phone vs links */
    .sv-cta-desktop { display: none !important; }
    .sv-cta-mobile  { display: inline-flex !important; }

    .sv-cta-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .sv-cta-box { padding: 24px 20px; }
}
@media (max-width: 400px) {
    .sv-trust-grid { grid-template-columns: 1fr; }
}
