/* ==========================================================================
   Oscar Studio — service detail page styles
   Shared layout (header, footer, buttons, pill, .section, .cta-band) comes
   from the global rssite.css.
   ========================================================================== */

.template-servicepage .section-head h2 {
    font-size: 30px;
}

/* Hero
   ------------------------------------------------------------------------ */
.service-hero {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    border-radius: var(--radius-lg);
    padding: 64px;
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: "";
    position: absolute;
    right: -100px;
    top: -100px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 108, 181, .40), transparent 70%);
}

.service-hero-text {
    position: relative;
    z-index: 1;
}

.service-hero h1 {
    color: #fff;
    font-size: 44px;
    font-weight: 800;
    margin: 18px 0 14px;
    line-height: 1.1;
}

.service-hero p {
    color: #A9BFDA;
    font-size: 16.5px;
    max-width: 420px;
}

.service-hero-mock {
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    position: relative;
    z-index: 1;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .25);
}

.mock-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    padding: 0 4px;
}

.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
}

.mock-body {
    background: var(--surface);
    border-radius: 10px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    font-size: 14px;
    text-align: center;
    padding: 0 20px;
}

/* Pain points
   ------------------------------------------------------------------------ */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.pain-card {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 28px 24px;
}

.pain-bar {
    width: 28px;
    height: 3px;
    background: var(--blue-500);
    margin-bottom: 16px;
    border-radius: 2px;
}

.pain-card p {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.6;
}

/* What you get (includes)
   ------------------------------------------------------------------------ */
.include-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.include-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.include-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
}

.include-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

.include-card p {
    font-size: 14.5px;
    color: var(--text-1);
    line-height: 1.6;
}

/* Capabilities (do cards)
   ------------------------------------------------------------------------ */
.do-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.do-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
}

.do-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.do-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}

.do-card h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 10px;
}

.do-card p {
    font-size: 13.5px;
    color: var(--text-2);
}

/* Calculator
   ------------------------------------------------------------------------ */
.calc-wrap {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.calc-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
}

.calc-row:last-of-type {
    border-bottom: none;
}

.calc-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid var(--line);
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    transition: border-color .15s, background .15s;
}

.calc-check.checked {
    background: var(--navy-900);
    border-color: var(--navy-900);
}

.calc-check.checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.calc-label {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
}

.calc-days {
    font-size: 13.5px;
    color: var(--text-2);
    min-width: 60px;
}

.calc-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-900);
    min-width: 90px;
    text-align: right;
}

.calc-summary {
    background: var(--navy-900);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.summary-block .label {
    font-size: 12.5px;
    color: #A9BFDA;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-weight: 700;
    margin-bottom: 8px;
}

.summary-block .value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    font-family: 'Manrope', sans-serif;
}

.calc-note {
    font-size: 13px;
    color: var(--text-3);
    max-width: 520px;
}

.calc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* Responsive
   ------------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .do-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .include-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .service-hero h1 {
        font-size: 30px;
    }

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

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

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

    .calc-summary {
        grid-template-columns: 1fr;
    }

    .calc-row {
        flex-wrap: wrap;
    }

    .calc-price {
        text-align: left;
    }
}
