:root {
    --sp-navy: #173f66;
    --sp-navy-dark: #0f2f4d;
    --sp-orange: #f59e0b;
    --sp-orange-dark: #d97706;
    --sp-green: #10b981;
    --sp-blue: #3b82f6;
    --sp-text: #1e293b;
    --sp-muted: #64748b;
    --sp-border: #dbe5ef;
    --sp-soft: #f7fafc;
    --sp-white: #ffffff;
    --sp-shadow: 0 16px 42px rgba(15, 47, 77, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.sales-detail-page {
    margin: 0;
    background: var(--sp-white);
    color: var(--sp-text);
    font-family: "Roboto", Arial, sans-serif;
    line-height: 1.65;
}

.sales-detail-page img {
    max-width: 100%;
}

.sp-container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.sp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(219, 229, 239, .85);
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 5px 20px rgba(15, 47, 77, .05);
    backdrop-filter: blur(12px);
}

.sp-nav {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sp-logo {
    color: var(--sp-navy);
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -.7px;
    text-decoration: none;
}

.sp-nav-actions,
.sp-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.sp-back-link {
    color: var(--sp-navy);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.sp-btn {
    display: inline-flex;
    min-height: 48px;
    padding: 12px 22px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 10px;
    background: var(--sp-navy);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.sp-btn:hover {
    background: var(--sp-navy-dark);
    box-shadow: 0 10px 24px rgba(15, 47, 77, .18);
    transform: translateY(-2px);
}

.sp-btn-orange {
    background: var(--sp-orange);
    color: #1f2937;
}

.sp-btn-orange:hover {
    background: var(--sp-orange-dark);
    color: #fff;
}

.sp-btn-light {
    border: 1px solid rgba(255, 255, 255, .6);
    background: #fff;
    color: var(--sp-navy);
}

.sp-btn-light:hover {
    background: #f8fafc;
    color: var(--sp-navy);
}

.sp-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 70px;
    background:
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, .18), transparent 28%),
        linear-gradient(135deg, #173f66 0%, #0f2f4d 100%);
    color: #fff;
}

.coaching-page .sp-hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, .22), transparent 29%),
        linear-gradient(135deg, #173f66 0%, #102a43 100%);
}

.sp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 48px;
    align-items: center;
}

.sp-kicker {
    margin: 0 0 14px;
    color: #fbbf24;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.sp-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -1.6px;
}

.sp-hero-lead {
    max-width: 760px;
    margin: 22px 0 0;
    color: #e5eff8;
    font-size: 19px;
}

.sp-hero-lead strong {
    color: #fff;
}

.sp-hero .sp-actions {
    margin-top: 28px;
}

.sp-hero-visual {
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, .15);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}

.sp-hero-visual img {
    display: block;
    width: 100%;
    min-height: 340px;
    object-fit: cover;
}

.sp-audience {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.sp-audience article {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
}

.sp-audience strong,
.sp-audience span {
    display: block;
}

.sp-audience strong {
    margin-bottom: 4px;
    color: #fbbf24;
    font-size: 13px;
}

.sp-audience span {
    color: #e5eff8;
    font-size: 14px;
    line-height: 1.45;
}

.sp-section {
    padding: 82px 0;
}

.sp-section-soft {
    background: var(--sp-soft);
}

.sp-section-title {
    max-width: 900px;
    margin: 0 auto;
    color: var(--sp-navy);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.16;
    letter-spacing: -.8px;
    text-align: center;
}

.sp-section-lead {
    max-width: 820px;
    margin: 18px auto 0;
    color: var(--sp-muted);
    font-size: 18px;
    text-align: center;
}

.sp-section-kicker {
    display: flex;
    margin: 0 0 22px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--sp-orange-dark);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .9px;
    text-align: center;
    text-transform: uppercase;
}

.sp-section-kicker::before,
.sp-section-kicker::after {
    width: 44px;
    height: 3px;
    border-radius: 99px;
    background: var(--sp-orange);
    content: "";
}

.sp-grid-2,
.sp-grid-3,
.sp-grid-4 {
    display: grid;
    gap: 24px;
    margin-top: 42px;
}

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

.sp-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sp-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sp-card {
    padding: 28px;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 47, 77, .05);
}

.sp-card i {
    color: var(--sp-orange);
    font-size: 28px;
}

.coaching-page .sp-card i {
    color: var(--sp-blue);
}

.sp-card h3 {
    margin: 14px 0 8px;
    color: var(--sp-navy);
    font-size: 21px;
    line-height: 1.3;
}

.sp-card p {
    margin: 0;
    color: var(--sp-muted);
}

.sp-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sp-list li {
    position: relative;
    margin: 10px 0;
    padding-left: 27px;
}

.sp-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--sp-green);
    content: "✓";
    font-weight: 900;
}

.sp-quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 38px;
}

.sp-quote {
    margin: 0;
    padding: 28px;
    border-left: 5px solid var(--sp-orange);
    border-radius: 0 16px 16px 0;
    background: #fff;
    box-shadow: var(--sp-shadow);
    color: var(--sp-navy);
    font-size: 19px;
    font-weight: 700;
}

.sp-micro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 30px;
    margin-top: 34px;
    align-items: stretch;
}

.sp-sheet-mockup {
    overflow: hidden;
    border: 1px solid #b8c8d9;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--sp-shadow);
}

.sp-sheet-toolbar {
    padding: 12px 16px;
    background: #107c41;
    color: #fff;
    font-weight: 800;
}

.sp-sheet-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
}

.sp-sheet-grid span {
    min-height: 42px;
    padding: 10px;
    border-right: 1px solid #dbe5ef;
    border-bottom: 1px solid #dbe5ef;
    color: #475569;
    font-size: 13px;
}

.sp-manager-note {
    margin: 18px;
    padding: 18px;
    border-radius: 12px;
    background: #fff7ed;
    color: #7c2d12;
    font-weight: 700;
}

.sp-choice-box {
    padding: 28px;
    border-radius: 16px;
    background: var(--sp-navy);
    color: #fff;
}

.sp-choice-box h3 {
    margin: 0 0 16px;
    font-size: 23px;
}

.sp-choice {
    display: flex;
    margin: 10px 0;
    padding: 12px 14px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    cursor: pointer;
}

.sp-choice input {
    accent-color: var(--sp-orange);
}

.sp-choice-result {
    min-height: 28px;
    margin: 16px 0 0;
    color: #fbbf24;
    font-weight: 800;
}

.sp-process {
    display: flex;
    margin-top: 34px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-process span {
    padding: 11px 15px;
    border: 1px solid #f5c66f;
    border-radius: 999px;
    background: #fff8e7;
    color: #854d0e;
    font-size: 14px;
    font-weight: 900;
}

.sp-process i {
    color: var(--sp-orange);
}

.sp-process-image {
    margin: 38px 0 0;
}

.sp-process-image img {
    display: block;
    width: 100%;
    height: auto;
}

.sp-offer {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    overflow: hidden;
    margin-top: 38px;
    border: 1px solid var(--sp-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--sp-shadow);
}

.sp-offer-content,
.sp-price-panel {
    padding: 38px;
}

.sp-offer-content h3 {
    margin: 0 0 18px;
    color: var(--sp-navy);
    font-size: 30px;
}

.sp-price-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff8e7;
}

.coaching-page .sp-price-panel {
    border-top: 4px solid #3b82f6;
    background:
        radial-gradient(circle at 90% 10%, rgba(59, 130, 246, .18), transparent 34%),
        linear-gradient(145deg, #f8fbff 0%, #eaf3ff 100%);
}

.coaching-page .sp-offer {
    grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
}

.group-page .sp-offer {
    grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
}

.group-page .sp-price-panel {
    border-top: 4px solid var(--sp-orange);
    background: linear-gradient(145deg, #fff9e8 0%, #fff3cd 100%);
}

.sp-price-label {
    color: var(--sp-muted);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.sp-price {
    margin: 4px 0 0;
    color: #ef4444;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
}

.sp-price-row {
    display: flex;
    margin: 4px 0 0;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.sp-price-row .sp-price {
    margin: 0;
}

.sp-old-price {
    color: #94a3b8;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 800;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.sp-vat {
    margin: 5px 0 22px;
    color: #15803d;
    font-size: 14px;
    font-weight: 700;
}

.sp-class-note {
    margin: 0 0 20px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .8);
    color: var(--sp-navy);
    font-weight: 700;
}

.sp-class-countdown {
    width: 100%;
    margin: 0 0 22px;
    padding: 18px;
    border: 1px solid rgba(245, 158, 11, .32);
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
}

.sp-countdown-label {
    margin: 0;
    color: var(--sp-navy);
    font-size: 14px;
    font-weight: 800;
}

.sp-countdown-label i {
    margin-right: 6px;
    color: var(--sp-orange);
}

.sp-class-date {
    display: block;
    margin: 7px 0 14px;
    color: var(--sp-navy);
    font-size: 22px;
    font-weight: 900;
}

.sp-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.sp-countdown-grid span {
    display: grid;
    min-width: 0;
    padding: 9px 4px 8px;
    place-items: center;
    border-radius: 10px;
    background: var(--sp-navy);
    color: #fff;
}

.sp-countdown-grid strong {
    color: #fbbf24;
    font-size: 23px;
    line-height: 1;
}

.sp-countdown-grid small {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.sp-countdown-status {
    margin: 10px 0 0;
    color: var(--sp-muted);
    font-size: 12px;
    font-weight: 700;
}

.sp-timeline {
    position: relative;
    max-width: 900px;
    margin: 44px auto 0;
}

.sp-step {
    position: relative;
    margin: 0 0 20px;
    padding: 26px 28px 26px 78px;
    border: 1px solid var(--sp-border);
    border-radius: 16px;
    background: #fff;
}

.sp-step-number {
    position: absolute;
    top: 23px;
    left: 24px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: var(--sp-orange);
    color: #fff;
    font-weight: 900;
}

.coaching-page .sp-step-number {
    background: var(--sp-blue);
}

.sp-step h3 {
    margin: 0 0 7px;
    color: var(--sp-navy);
    font-size: 20px;
}

.sp-step p {
    margin: 0;
    color: var(--sp-muted);
}

.sp-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
}

.sp-proof-grid figure {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--sp-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--sp-shadow);
}

.sp-proof-grid img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.sp-proof-grid figcaption {
    padding: 14px 16px;
    color: var(--sp-muted);
    font-size: 14px;
    font-weight: 600;
}

.sp-outcomes {
    counter-reset: outcome;
}

.sp-outcome {
    position: relative;
    padding: 25px 24px 25px 68px;
    border: 1px solid var(--sp-border);
    border-radius: 15px;
    background: #fff;
}

.sp-outcome::before {
    position: absolute;
    top: 22px;
    left: 20px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #ecfdf5;
    color: #047857;
    content: counter(outcome, decimal-leading-zero);
    counter-increment: outcome;
    font-size: 12px;
    font-weight: 900;
}

.sp-outcome strong {
    display: block;
    margin-bottom: 5px;
    color: var(--sp-navy);
}

.sp-accordion {
    max-width: 900px;
    margin: 38px auto 0;
}

.sp-accordion details {
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--sp-border);
    border-radius: 13px;
    background: #fff;
}

.sp-accordion summary {
    position: relative;
    padding: 20px 54px 20px 22px;
    color: var(--sp-navy);
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    list-style: none;
}

.sp-accordion summary::-webkit-details-marker {
    display: none;
}

.sp-accordion summary::after {
    position: absolute;
    top: 50%;
    right: 22px;
    content: "+";
    color: var(--sp-orange);
    font-size: 26px;
    transform: translateY(-50%);
}

.sp-accordion details[open] summary::after {
    content: "−";
}

.sp-accordion-content {
    padding: 0 22px 22px;
    color: var(--sp-muted);
}

.sp-scope-good {
    border-top: 4px solid var(--sp-green);
}

.sp-scope-limit {
    border-top: 4px solid #ef4444;
}

.sp-premium-statement {
    margin-top: 34px;
    padding: 30px;
    border-radius: 18px;
    background: var(--sp-navy);
    color: #fff;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
}

.sp-final {
    padding: 78px 0;
    background:
        radial-gradient(circle at 15% 10%, rgba(245, 158, 11, .16), transparent 25%),
        var(--sp-navy);
    color: #fff;
    text-align: center;
}

.sp-final h2 {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.12;
}

.sp-final p {
    max-width: 800px;
    margin: 18px auto 0;
    color: #dbeafe;
    font-size: 18px;
}

.sp-final .sp-price {
    margin-top: 22px;
    color: #fbbf24;
}

.sp-final .sp-price-row {
    justify-content: center;
    margin-top: 22px;
}

.sp-final .sp-price-row .sp-price {
    margin-top: 0;
}

.sp-final .sp-old-price {
    color: rgba(255, 255, 255, .62);
}

.sp-final .sp-actions {
    margin-top: 26px;
    justify-content: center;
}

.sp-footer {
    padding: 50px 0 24px;
    background: #0d2740;
    color: #cbd5e1;
}

.sp-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
}

.sp-footer h3,
.sp-footer h4 {
    margin: 0 0 12px;
    color: #fff;
}

.sp-footer p,
.sp-footer li {
    color: #cbd5e1;
    font-size: 14px;
}

.sp-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sp-footer a {
    color: #e2e8f0;
    text-decoration: none;
}

.sp-footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    text-align: center;
}

.sp-fixed-cta {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1100;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

@media (max-width: 900px) {
    .sp-hero-grid,
    .sp-micro,
    .sp-offer {
        grid-template-columns: 1fr;
    }

    .group-page .sp-offer {
        grid-template-columns: 1fr;
    }

    .coaching-page .sp-offer {
        grid-template-columns: 1fr;
    }

    .sp-hero-visual {
        max-width: 680px;
    }

    .sp-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .sp-container {
        width: min(100% - 28px, 1140px);
    }

    .sp-nav {
        min-height: 64px;
    }

    .sp-nav-actions .sp-back-link {
        display: none;
    }

    .sp-nav .sp-btn {
        min-height: 42px;
        padding: 10px 14px;
        font-size: 14px;
    }

    .sp-hero {
        padding: 52px 0 46px;
    }

    .sp-hero-grid,
    .sp-audience,
    .sp-grid-2,
    .sp-grid-3,
    .sp-grid-4,
    .sp-quote-grid,
    .sp-proof-grid,
    .sp-footer-grid {
        grid-template-columns: 1fr;
    }

    .sp-hero h1 {
        font-size: 38px;
    }

    .sp-hero-lead {
        font-size: 17px;
    }

    .sp-hero-visual img {
        min-height: 230px;
    }

    .sp-section {
        padding: 62px 0;
    }

    .sp-section-kicker::before,
    .sp-section-kicker::after {
        width: 26px;
    }

    .sp-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .sp-actions .sp-btn {
        width: 100%;
    }

    .sp-sheet-grid {
        grid-template-columns: 1.2fr repeat(3, 1fr);
    }

    .sp-sheet-grid span {
        min-height: 36px;
        padding: 7px 5px;
        font-size: 10px;
    }

    .sp-process {
        align-items: stretch;
        flex-direction: column;
    }

    .sp-process i {
        transform: rotate(90deg);
        text-align: center;
    }

    .sp-offer-content,
    .sp-price-panel {
        padding: 26px;
    }

    .sp-step {
        padding: 72px 22px 24px;
    }

    .sp-step-number {
        top: 20px;
        left: 22px;
    }

    .sp-proof-grid img {
        height: auto;
    }

    .sp-fixed-cta {
        right: 12px;
        bottom: 12px;
        min-height: 44px;
        padding: 10px 15px;
        font-size: 14px;
    }
}
