/* ==========================================
   STELLA PSYKIATRI
   TJÄNSTER OCH PRISER
========================================== */


/* ==========================================
   FÄRGER
========================================== */

:root {
    --tp-bg: #f8f6f2;
    --tp-bg-soft: #f0eee8;
    --tp-white: #ffffff;

    --tp-green: #465244;
    --tp-green-dark: #303a2e;
    --tp-green-soft: #e5e9df;

    --tp-orange: #d8733f;
    --tp-orange-dark: #c46231;

    --tp-text: #292b26;
    --tp-text-light: #62675f;

    --tp-border: #dddcd4;

    --tp-shadow:
        0 14px 36px rgba(48, 58, 46, 0.07);
}


/* ==========================================
   ALLMÄNT
========================================== */

html {
    scroll-behavior: smooth;
}


body {
    background-color: var(--tp-bg);
}


.page-eyebrow {
    margin: 0 0 11px;

    color: #6d7868;

    font-family: "Poppins", Arial, sans-serif;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


/* ==========================================
   HERO
========================================== */

.price-hero {
    padding: 72px 0 68px;

    background:
        linear-gradient(
            135deg,
            #f8f6f2 0%,
            #f8f6f2 60%,
            #e8ebe3 100%
        );

    border-bottom: 1px solid var(--tp-border);
}


.price-hero-simple {
    max-width: 950px;

    margin: 0 auto;

    text-align: center;
}


.price-hero-simple h1 {
    margin: 0 auto 22px;

    color: var(--tp-green-dark);

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(3.8rem, 7vw, 6.5rem);

    font-weight: 500;

    line-height: 0.98;

    letter-spacing: -0.045em;
}


.price-hero-lead {
    max-width: 760px;

    margin: 0 auto 13px;

    color: var(--tp-text);

    font-size: 1.13rem;

    font-weight: 500;

    line-height: 1.7;
}


.price-hero-small {
    max-width: 650px;

    margin: 0 auto;

    color: var(--tp-text-light);

    font-size: 0.9rem;

    line-height: 1.7;
}


/* ==========================================
   HERO KNAPPAR
========================================== */

.price-hero-buttons {
    margin-top: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}


.price-primary-button,
.price-secondary-button {
    min-height: 48px;

    padding: 12px 22px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 999px;

    font-family: "Poppins", Arial, sans-serif;

    font-size: 0.82rem;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.price-primary-button {
    color: #ffffff;

    background-color: var(--tp-green);

    border: 1px solid var(--tp-green);
}


.price-primary-button:hover {
    color: #ffffff;

    background-color: var(--tp-green-dark);

    border-color: var(--tp-green-dark);

    transform: translateY(-2px);
}


.price-secondary-button {
    color: var(--tp-green-dark);

    background-color: transparent;

    border: 1px solid var(--tp-green);
}


.price-secondary-button:hover {
    color: #ffffff;

    background-color: var(--tp-green);

    transform: translateY(-2px);
}


/* ==========================================
   GEMENSAMMA SEKTIONSRUBRIKER
========================================== */

.simple-section-heading {
    max-width: 760px;

    margin-bottom: 38px;
}


.simple-section-heading h2 {
    margin: 0 0 14px;

    color: var(--tp-green-dark);

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(2.7rem, 4.5vw, 4.1rem);

    font-weight: 500;

    line-height: 1.06;

    letter-spacing: -0.03em;
}


.simple-section-heading > p:last-child {
    max-width: 640px;

    color: var(--tp-text-light);

    font-size: 0.9rem;

    line-height: 1.7;
}


/* ==========================================
   TJÄNSTER
========================================== */

.simple-services {
    padding: 78px 0 85px;

    background-color: var(--tp-bg);
}


.simple-services-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* ==========================================
   TJÄNSTEKORT
========================================== */

.simple-service-card {
    position: relative;

    min-height: 275px;

    padding: 28px;

    display: flex;

    flex-direction: column;

    background-color: var(--tp-white);

    border: 1px solid var(--tp-border);

    border-radius: 15px;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}


.simple-service-card:hover {
    transform: translateY(-4px);

    border-color: #c8c9c0;

    box-shadow: var(--tp-shadow);
}


.service-number {
    margin-bottom: 20px;

    color: var(--tp-orange);

    font-family: "Poppins", Arial, sans-serif;

    font-size: 0.68rem;

    font-weight: 700;
}


.simple-service-card h3 {
    margin: 0 0 14px;

    color: var(--tp-green-dark);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 1.55rem;

    font-weight: 500;

    line-height: 1.2;
}


.simple-service-card > p {
    margin: 0 0 10px;

    color: var(--tp-text-light);

    font-size: 0.84rem;

    line-height: 1.7;
}


.simple-service-card .service-extra {
    color: #525950;

    font-size: 0.78rem;
}


.simple-text-link {
    margin-top: auto;

    padding-top: 17px;

    color: var(--tp-green);

    font-size: 0.77rem;

    font-weight: 700;
}


.simple-text-link:hover {
    color: var(--tp-orange-dark);
}


/* ==========================================
   PRISSEKTION
========================================== */

.simple-pricing-section {
    padding: 80px 0 88px;

    background-color: var(--tp-bg-soft);
}


/* ==========================================
   PRISLISTA
========================================== */

.simple-price-list {
    overflow: hidden;

    max-width: 1000px;

    background-color: var(--tp-white);

    border: 1px solid var(--tp-border);

    border-radius: 16px;

    box-shadow:
        0 8px 24px rgba(48, 58, 46, 0.035);
}


.simple-price-row {
    min-height: 88px;

    padding: 19px 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    border-bottom: 1px solid var(--tp-border);

    transition:
        background-color 0.2s ease;
}


.simple-price-row:last-child {
    border-bottom: none;
}


.simple-price-row:hover {
    background-color: #faf9f6;
}


.simple-price-row > div {
    min-width: 0;
}


.simple-price-row strong {
    display: block;

    margin-bottom: 4px;

    color: var(--tp-green-dark);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 1.22rem;

    font-weight: 500;

    line-height: 1.2;
}


.simple-price-row span {
    display: block;

    max-width: 580px;

    color: var(--tp-text-light);

    font-size: 0.72rem;

    line-height: 1.5;
}


.simple-price-row b {
    flex-shrink: 0;

    color: var(--tp-green-dark);

    font-family: "Playfair Display", Georgia, serif;

    font-size: 1.4rem;

    font-weight: 600;

    white-space: nowrap;
}


/* Viktig NPF-rad */

.important-price-row {
    background-color: var(--tp-green-dark);
}


.important-price-row:hover {
    background-color: var(--tp-green-dark);
}


.important-price-row strong,
.important-price-row b {
    color: #ffffff;
}


.important-price-row span {
    color: #d4d9d1;
}


/* ==========================================
   NPF NOTIS
========================================== */

.npf-price-note {
    max-width: 1000px;

    margin-top: 18px;

    padding: 21px 24px;

    display: grid;

    grid-template-columns: 38px 1fr;

    gap: 17px;

    background-color: #e3e7dd;

    border-radius: 12px;
}


.npf-note-icon {
    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #ffffff;

    background-color: var(--tp-green);

    border-radius: 50%;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 0.95rem;
}


.npf-price-note strong {
    display: block;

    margin-bottom: 7px;

    color: var(--tp-green-dark);

    font-size: 0.84rem;
}


.npf-price-note p {
    max-width: 820px;

    margin: 0 0 7px;

    color: var(--tp-text-light);

    font-size: 0.76rem;

    line-height: 1.65;
}


.npf-price-note p:last-child {
    margin-bottom: 0;
}


/* ==========================================
   LÄNK TILL INTYG
========================================== */

.price-intyg-link {
    max-width: 1000px;

    margin-top: 15px;

    padding: 16px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    background-color: #ffffff;

    border: 1px solid var(--tp-border);

    border-radius: 10px;
}


.price-intyg-link span {
    color: var(--tp-text-light);

    font-size: 0.78rem;
}


.price-intyg-link a {
    flex-shrink: 0;

    color: var(--tp-green);

    font-size: 0.77rem;

    font-weight: 700;
}


.price-intyg-link a:hover {
    color: var(--tp-orange-dark);
}


/* ==========================================
   KOMPLETTERANDE STÖD
========================================== */

.additional-services {
    padding: 78px 0;

    background-color: var(--tp-bg);
}


.additional-services-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: clamp(55px, 8vw, 110px);
}


.additional-services-grid h2 {
    margin: 0;

    color: var(--tp-green-dark);

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(2.5rem, 4.2vw, 3.8rem);

    font-weight: 500;

    line-height: 1.08;

    letter-spacing: -0.025em;
}


.additional-services-list {
    display: flex;

    flex-direction: column;
}


.additional-services-list > div {
    padding: 18px 0;

    border-bottom: 1px solid var(--tp-border);
}


.additional-services-list > div:first-child {
    padding-top: 0;
}


.additional-services-list > div:last-child {
    border-bottom: none;
}


.additional-services-list strong {
    display: block;

    margin-bottom: 6px;

    color: var(--tp-green-dark);

    font-size: 0.87rem;
}


.additional-services-list p {
    max-width: 620px;

    margin: 0;

    color: var(--tp-text-light);

    font-size: 0.8rem;

    line-height: 1.65;
}


/* ==========================================
   KONTAKT
========================================== */

.simple-contact-section {
    padding: 70px 0;

    background-color: var(--tp-green-dark);
}


.simple-contact-grid {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;
}


.simple-contact-grid > div {
    max-width: 720px;
}


.simple-contact-section .page-eyebrow {
    color: #bac4b6;
}


.simple-contact-section h2 {
    margin: 0 0 13px;

    color: #ffffff;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(2.5rem, 4vw, 3.8rem);

    font-weight: 500;

    line-height: 1.08;
}


.simple-contact-section p {
    max-width: 650px;

    margin: 0;

    color: #d1d7ce;

    font-size: 0.87rem;

    line-height: 1.7;
}


.simple-contact-button {
    flex-shrink: 0;

    min-height: 49px;

    padding: 13px 24px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: var(--tp-green-dark);

    background-color: #ffffff;

    border-radius: 999px;

    font-size: 0.8rem;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}


.simple-contact-button:hover {
    color: var(--tp-green-dark);

    background-color: #ece9e2;

    transform: translateY(-2px);
}


/* ==========================================
   MEDICINSK NOTIS
========================================== */

.medical-note-section {
    padding: 24px 0 48px;

    background-color: var(--tp-bg);
}


.medical-note-section p {
    max-width: 1000px;
    margin: 0;
    color: #070707;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.7;
}


/* ==========================================
   SURFPLATTA
========================================== */

@media screen and (max-width: 900px) {

    .simple-services-grid {
        grid-template-columns: 1fr;
    }


    .simple-service-card {
        min-height: 0;
    }


    .additional-services-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    .simple-contact-grid {
        flex-direction: column;

        align-items: flex-start;

        gap: 28px;
    }

}


/* ==========================================
   MOBIL
========================================== */

@media screen and (max-width: 650px) {

    /* HERO */

    .price-hero {
        padding: 50px 0 48px;
    }


    .price-hero-simple {
        text-align: left;
    }


    .price-hero-simple h1 {
        font-size: 3.4rem;
    }


    .price-hero-lead {
        font-size: 1rem;
    }


    .price-hero-buttons {
        justify-content: flex-start;

        flex-direction: column;

        align-items: stretch;
    }


    .price-primary-button,
    .price-secondary-button {
        width: 100%;
    }


    /* TJÄNSTER */

    .simple-services,
    .simple-pricing-section,
    .additional-services {
        padding: 58px 0 62px;
    }


    .simple-section-heading {
        margin-bottom: 28px;
    }


    .simple-section-heading h2 {
        font-size: 2.5rem;
    }


    .simple-service-card {
        padding: 23px 21px;
    }


    .simple-service-card h3 {
        font-size: 1.42rem;
    }


    /* PRISLISTA */

    .simple-price-row {
        min-height: 0;

        padding: 17px 18px;

        align-items: flex-start;

        gap: 18px;
    }


    .simple-price-row strong {
        font-size: 1.08rem;
    }


    .simple-price-row span {
        font-size: 0.68rem;
    }


    .simple-price-row b {
        font-size: 1.15rem;
    }


    /* NPF */

    .npf-price-note {
        grid-template-columns: 1fr;

        padding: 19px;
    }


    .price-intyg-link {
        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }


    /* KOMPLETTERANDE */

    .additional-services-grid h2 {
        font-size: 2.45rem;
    }


    /* KONTAKT */

    .simple-contact-section {
        padding: 58px 0;
    }


    .simple-contact-section h2 {
        font-size: 2.5rem;
    }


    .simple-contact-button {
        width: 100%;
    }

}


/* ==========================================
   MYCKET SMÅ MOBILER
========================================== */

@media screen and (max-width: 390px) {

    .price-hero-simple h1 {
        font-size: 3rem;
    }


    .simple-section-heading h2,
    .simple-contact-section h2,
    .additional-services-grid h2 {
        font-size: 2.25rem;
    }


    .simple-price-row {
        flex-direction: column;

        gap: 10px;
    }


    .simple-price-row b {
        font-size: 1.3rem;
    }

}


/* FOOTER */

.footer {
    padding: 12px 0;
    background-color: #eeeee7;
    border-top: 1px solid #dcded5;
}

.footer .footer-container {
    width: min(90%, 1300px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer strong,
.footer p,
.footer-links a {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 0.70rem;
}

.footer strong {
    color: #303a2e;
    font-weight: 700;
}

.footer p {
    margin: 0;
    color: #62675f;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.footer-links a {
    color: #62675f;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #3f4c3c;
}

@media screen and (max-width: 900px) {
    .footer .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 12px 22px;
    }
}
