
/* ============================================
   SRDCEM PRO PEČUJÍCÍ
   SPOLEČNÝ DESIGN DETAILŮ SLUŽEB
   Soubor: css/sluzby-detail.css
============================================ */

.sp-service-detail {
    --sp-primary: #7d3239;
    --sp-accent: #957060;
    --sp-accent-light: #f5eaf5;
    --sp-ink: #332b37;
    --sp-muted: #6f6874;
    --sp-border: #eee5ee;
    --sp-background: #faf7fa;
    --sp-shadow: 0 14px 45px rgba(83, 47, 83, .08);

    color: var(--sp-ink);
    font-family: "Outfit", sans-serif;
}

.sp-service-detail *,
.sp-service-detail *::before,
.sp-service-detail *::after {
    box-sizing: border-box;
}

.sp-service-detail p {
    margin-top: 0;
}

.sp-service-detail a:focus-visible {
    outline: 3px solid var(--sp-primary);
    outline-offset: 4px;
}


/* ============================================
   SPOLEČNÉ NADPISY
============================================ */

.sp-eyebrow {
    display: inline-block;
    color: var(--sp-primary);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.sp-section-heading {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
}

.sp-section-heading h2 {
    color: var(--sp-primary);
    font-size: clamp(30px, 3.2vw, 43px);
    line-height: 1.15;
    font-weight: 700;
    margin: 12px 0 0;
}

.sp-heading-line {
    width: 62px;
    height: 4px;
    background: var(--sp-accent);
    border-radius: 5px;
    margin: 22px auto 0;
}


/* ============================================
   ÚVODNÍ PANEL
============================================ */

.sp-service-intro {
    padding: 90px 0 80px;
    background: linear-gradient(
        180deg,
        #faf7fa 0%,
        #ffffff 100%
    );
}

.sp-intro-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: 20px;
    box-shadow: var(--sp-shadow);
    overflow: hidden;
}

.sp-intro-content {
    padding: 55px 55px 50px;
    min-width: 0;
}

.sp-main-heading {
    color: var(--sp-primary);
    font-size: clamp(30px, 3vw, 43px);
    line-height: 1.16;
    font-weight: 700;
    margin: 15px 0 25px;
}

.sp-main-description {
    color: var(--sp-muted);
    font-size: 20px;
    line-height: 1.65;
    font-weight: 500;
    max-width: 760px;
    margin-bottom: 0;
}

.sp-intro-divider {
    width: 100%;
    height: 1px;
    background: var(--sp-border);
    margin: 35px 0;
}


/* Rychlé informace */

.sp-quick-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sp-fact {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.sp-fact-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sp-accent-light);
    color: var(--sp-primary);
    border-radius: 13px;
}

.sp-fact-icon svg {
    width: 23px;
    height: 23px;
}

.sp-fact-label {
    display: block;
    color: var(--sp-muted);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.sp-fact strong {
    display: block;
    color: var(--sp-primary);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}


/* Cenový panel */

.sp-intro-price {
    background: linear-gradient(
        155deg,
        #7d3239 0%,
        #765076 100%
    );
    padding: 55px 30px;
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sp-price-caption {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #f5e4f5;
}

.sp-price-value {
    color: #ffffff;
    font-size: clamp(46px, 5vw, 64px);
    line-height: 1.1;
    font-weight: 700;
    margin: 18px 0;
    white-space: nowrap;
}

.sp-price-value span {
    font-size: 28px;
}

.sp-price-line {
    width: 60px;
    height: 2px;
    background: var(--sp-accent);
    margin: 12px auto 25px;
}

.sp-price-detail {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    margin: 0 0 10px;
}

.sp-price-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 260px;
    min-height: 56px;
    padding: 15px 18px;
    margin-top: 28px;
    border-radius: 9px;
    background: #ffffff;
    color: var(--sp-primary);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: background .25s, transform .25s;
}

.sp-price-button:hover {
    background: #f5eaf5;
    color: var(--sp-primary);
    transform: translateY(-2px);
    text-decoration: none;
}

.sp-price-button span {
    font-size: 24px;
    line-height: 1;
}


/* ============================================
   OBSAH NÁVŠTĚVY – KARTY
============================================ */

.sp-service-includes {
    padding: 85px 0 90px;
    background: #ffffff;
}

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

.sp-feature-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 32px 30px;
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: 15px;
    box-shadow: 0 7px 25px rgba(83, 47, 83, .045);
    overflow: hidden;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.sp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sp-shadow);
    border-color: #e3cce3;
}

.sp-feature-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    background: var(--sp-accent-light);
    color: var(--sp-primary);
    border-radius: 13px;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
}

.sp-feature-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--sp-accent);
    opacity: .8;
}

.sp-feature-card p {
    color: #514a55;
    font-size: 19px;
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
}


/* ============================================
   ROZSAH A CENA
============================================ */

.sp-service-package {
    padding: 0 0 90px;
    background: #ffffff;
}

.sp-package-panel {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 40px 45px;
    background: var(--sp-background);
    border: 1px solid var(--sp-border);
    border-radius: 16px;
}

.sp-package-heading {
    border-right: 2px solid #e5d2e5;
    padding-right: 25px;
}

.sp-package-heading h2 {
    color: var(--sp-primary);
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    margin: 10px 0 0;
}

.sp-package-description p {
    color: #514a55;
    font-size: 20px;
    line-height: 1.65;
    font-weight: 600;
    margin: 0;
}


/* ============================================
   BENEFITY
============================================ */

.sp-service-benefits {
    padding: 90px 0 100px;
    background: var(--sp-background);
}

.sp-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.sp-benefit-card {
    padding: 42px 40px;
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    box-shadow: var(--sp-shadow);
    transition: transform .3s ease;
}

.sp-benefit-card:hover {
    transform: translateY(-4px);
}

.sp-benefit-primary {
    border-top: 4px solid var(--sp-accent);
}

.sp-benefit-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 28px;
}

.sp-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    background: var(--sp-accent-light);
    color: var(--sp-primary);
    border-radius: 16px;
}

.sp-benefit-icon svg {
    width: 31px;
    height: 31px;
}

.sp-benefit-tag {
    display: inline-block;
    padding: 8px 13px;
    border-radius: 30px;
    background: var(--sp-accent-light);
    color: var(--sp-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
}

.sp-benefit-card h3 {
    color: var(--sp-primary);
    font-size: 27px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 18px;
}

.sp-benefit-card p {
    color: #514a55;
    font-size: 19px;
    line-height: 1.65;
    font-weight: 500;
    margin: 0;
}


/* ============================================
   ZÁVĚREČNÉ CTA
============================================ */

.sp-service-final {
    padding: 90px 0 110px;
    background: #ffffff;
}

.sp-final-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: center;
    gap: 45px;
    padding: 55px 60px;
    background: linear-gradient(
        135deg,
        #7d3239 0%,
        #805780 100%
    );
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(83, 47, 83, .15);
}

.sp-final-eyebrow {
    display: inline-block;
    color: #f0d8f0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.sp-final-copy h2 {
    color: #ffffff;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.18;
    font-weight: 700;
    margin: 0 0 20px;
}

.sp-final-copy p {
    color: #f5eaf5;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
}

.sp-final-action {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}

.sp-final-price-label {
    color: #f5eaf5;
    font-size: 17px;
    font-weight: 600;
}

.sp-final-price {
    color: #ffffff;
    font-size: 43px;
    line-height: 1.2;
    font-weight: 700;
    margin: 8px 0 24px;
    white-space: nowrap;
}

.sp-final-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 16px 22px;
    background: #ffffff;
    color: var(--sp-primary);
    border-radius: 9px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none;
    transition: background .25s, transform .25s;
}

.sp-final-button:hover {
    color: var(--sp-primary);
    background: #f5eaf5;
    text-decoration: none;
    transform: translateY(-2px);
}

.sp-final-button span {
    font-size: 24px;
    line-height: 1;
}


/* ============================================
   TABLETY
============================================ */

@media (max-width: 991.98px) {

    .sp-service-intro {
        padding: 65px 0;
    }

    .sp-intro-panel {
        grid-template-columns: 1fr;
    }

    .sp-intro-content {
        padding: 40px;
    }

    .sp-intro-price {
        padding: 40px 30px;
    }

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

    .sp-service-includes,
    .sp-service-benefits {
        padding: 70px 0;
    }

    .sp-feature-card {
        padding: 25px 22px;
        gap: 15px;
    }

    .sp-feature-card p {
        font-size: 18px;
    }

    .sp-package-panel {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sp-package-heading {
        border-right: 0;
        border-bottom: 2px solid #e5d2e5;
        padding-right: 0;
        padding-bottom: 20px;
    }

    .sp-final-panel {
        grid-template-columns: 1fr;
        padding: 45px;
    }

    .sp-final-action {
        align-items: flex-start;
        text-align: left;
    }

    .sp-final-button {
        min-width: 260px;
    }

}


/* ============================================
   MOBILNÍ TELEFONY
============================================ */

@media (max-width: 575.98px) {

    .sp-service-intro {
        padding: 45px 0 55px;
    }

    .sp-intro-panel {
        border-radius: 14px;
    }

    .sp-intro-content {
        padding: 30px 23px;
    }

    .sp-eyebrow {
        font-size: 13px;
        letter-spacing: 1.3px;
    }

    .sp-main-heading {
        font-size: 29px;
        line-height: 1.2;
    }

    .sp-main-description {
        font-size: 18px;
        line-height: 1.6;
    }

    .sp-quick-facts {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .sp-intro-price {
        padding: 40px 25px;
    }

    .sp-price-value {
        font-size: 55px;
    }

    .sp-service-includes {
        padding: 55px 0 65px;
    }

    .sp-section-heading {
        margin-bottom: 35px;
    }

    .sp-section-heading h2 {
        font-size: 30px;
    }

    .sp-feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sp-feature-card {
        padding: 24px 20px;
        gap: 15px;
        border-radius: 12px;
    }

    .sp-feature-number {
        flex-basis: 45px;
        width: 45px;
        height: 45px;
        font-size: 19px;
    }

    .sp-feature-card p {
        font-size: 18px;
        line-height: 1.55;
    }

    .sp-service-package {
        padding-bottom: 65px;
    }

    .sp-package-panel {
        padding: 28px 23px;
        border-radius: 12px;
    }

    .sp-package-heading h2 {
        font-size: 28px;
    }

    .sp-package-description p {
        font-size: 18px;
    }

    .sp-service-benefits {
        padding: 65px 0;
    }

    .sp-benefit-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sp-benefit-card {
        padding: 30px 25px;
        border-radius: 14px;
    }

    .sp-benefit-card h3 {
        font-size: 25px;
    }

    .sp-benefit-card p {
        font-size: 18px;
    }

    .sp-benefit-icon {
        width: 55px;
        height: 55px;
    }

    .sp-benefit-icon svg {
        width: 27px;
        height: 27px;
    }

    .sp-service-final {
        padding: 65px 0 75px;
    }

    .sp-final-panel {
        padding: 35px 25px;
        border-radius: 14px;
        gap: 30px;
    }

    .sp-final-copy h2 {
        font-size: 29px;
    }

    .sp-final-copy p {
        font-size: 18px;
    }

    .sp-final-action {
        align-items: stretch;
        text-align: center;
    }

    .sp-final-price {
        font-size: 40px;
    }

    .sp-final-button {
        min-width: 0;
        width: 100%;
    }

}


/* ============================================
   PŘÍSTUPNOST A OMEZENÍ ANIMACÍ
============================================ */

@media (prefers-reduced-motion: reduce) {

    .sp-service-detail *,
    .sp-service-detail *::before,
    .sp-service-detail *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}



/* ============================================
   ONLINE KONZULTACE – SPECIFICKÉ ÚPRAVY
   Ostatní služby zůstávají beze změny
============================================ */

/* Tematické karty */
.sp-online-service .sp-feature-card {
    align-items: flex-start;
    gap: 22px;
}

.sp-online-service .sp-feature-content {
    flex: 1;
    min-width: 0;
}

.sp-online-service .sp-feature-content h3 {
    color: var(--sp-primary);
    font-family: "Outfit", sans-serif;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 12px;
}

.sp-online-service .sp-feature-content p {
    color: #514a55;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
}

/* Delší nadpisy informačních panelů */
.sp-online-service .sp-package-panel {
    grid-template-columns: 310px minmax(0, 1fr);
    align-items: start;
    gap: 35px;
}

.sp-online-service .sp-package-heading h2 {
    font-size: 30px;
    line-height: 1.2;
}

.sp-online-service .sp-package-description p + p {
    margin-top: 17px;
}

/* Ceník */
.sp-online-service .sp-benefit-card {
    display: flex;
    flex-direction: column;
}

.sp-online-service .sp-benefit-card > p {
    margin-bottom: 15px;
}

.sp-online-service .sp-benefit-card > p strong {
    color: var(--sp-primary);
    font-size: 27px;
    font-weight: 700;
}

.sp-online-service .sp-benefit-card .sp-price-button {
    background: var(--sp-primary);
    color: #ffffff;
    margin-top: auto;
    max-width: none;
}

.sp-online-service .sp-benefit-card .sp-price-button:hover {
    background: #805780;
    color: #ffffff;
}

/* Rozestupy navazujících sekcí */
.sp-online-service .sp-service-package + .sp-service-benefits {
    padding-top: 75px;
}

.sp-online-service .sp-service-benefits + .sp-service-package {
    padding-top: 75px;
}

/* Tablet */
@media (max-width: 991.98px) {
    .sp-online-service .sp-package-panel {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .sp-online-service .sp-package-heading {
        border-right: 0;
        border-bottom: 2px solid #e5d2e5;
        padding-right: 0;
        padding-bottom: 20px;
    }
}

/* Mobil */
@media (max-width: 575.98px) {
    .sp-online-service .sp-feature-card {
        gap: 15px;
    }

    .sp-online-service .sp-feature-content h3 {
        font-size: 22px;
        line-height: 1.25;
    }

    .sp-online-service .sp-feature-content p {
        font-size: 17px;
        line-height: 1.55;
    }

    .sp-online-service .sp-package-heading h2 {
        font-size: 27px;
    }

    .sp-online-service .sp-benefit-card > p strong {
        font-size: 25px;
    }

    .sp-online-service .sp-service-package + .sp-service-benefits,
    .sp-online-service .sp-service-benefits + .sp-service-package {
        padding-top: 55px;
    }
}

