/* ===== Design Tokens ===== */
:root {
    --color-primary: #113f53;
    --color-accent: #10bbd3;
    --color-accent-btn: #0a7889;
    --color-accent-hover: #0ea8be;
    --color-accent-btn-hover: #086a79;
    --color-label: #005c88;
    --color-bg: #fbfbff;
    --color-bg-light: #e8ecfc;
    --color-bg-card: #ffffff;
    --color-text: #113f53;
    --color-text-light: #fbfbff;
    --color-star: #ffc812;
    --color-check: #10bbd3;

    --font-body: 'Source Sans 3', sans-serif;
    --font-heading: 'Source Serif 4', serif;

    --max-width: 1200px;
    --radius: 12px;
    --radius-pill: 100px;
    --shadow-card: 0 2px 16px rgba(17, 63, 83, 0.08);
    --transition: 0.2s ease;
}

/* ===== Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== Base ===== */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-hover);
}

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

/* ===== Skip Link ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 0.5rem 1rem;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 4rem 0;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    color: var(--color-primary);
    line-height: 1.2;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 600;
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.55rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.9rem);
    font-weight: 600;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    transition: background-color var(--transition), transform var(--transition);
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background-color: var(--color-accent-btn);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-accent-btn-hover);
    color: var(--color-text-light);
}

.btn-nav {
    background-color: var(--color-accent-btn);
    color: var(--color-text-light);
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background-color: var(--color-accent-btn-hover);
    color: var(--color-text-light);
}

/* ===== Section Label ===== */
.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--color-label);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 2px;
    background-color: var(--color-primary);
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-bg);
    box-shadow: 0 1px 4px rgba(17, 63, 83, 0.06);
}

.has-hero .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    box-shadow: none;
    transform: translateY(-100%);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.has-hero .site-header.scrolled {
    transform: translateY(0);
    background-color: var(--color-bg);
    box-shadow: 0 1px 4px rgba(17, 63, 83, 0.06);
}

.has-hero .site-header.scrolled .main-nav a {
    color: var(--color-text);
}

.has-hero .site-header.scrolled .main-nav a:hover,
.has-hero .site-header.scrolled .main-nav a[aria-current="page"] {
    color: var(--color-accent);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.logo {
    text-decoration: none;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--color-accent);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: transform var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: clamp(4rem, 10vw, 10rem) clamp(1.5rem, 3.3vw, 4.5rem);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(80deg, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0.1));
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
}

.hero h1 {
    color: var(--color-text-light);
    max-width: 18ch;
}

.hero p {
    color: var(--color-text-light);
    max-width: 45ch;
    font-size: 1.1rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-rating {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.hero-rating .stars {
    display: flex;
    gap: 0.25rem;
}

.hero-rating strong {
    font-weight: 700;
}

/* ===== Benefits Cards ===== */
.benefits {
    padding: clamp(5rem, 10.8vw, 7rem) clamp(1rem, 1.5vw, 2.5rem) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: var(--color-bg-card);
    border-radius: 0.5rem;
    padding: clamp(2.5rem, 5.5vw, 3.55rem) 1.8rem;
    text-align: center;
    gap: 0.9rem;
    box-shadow:
        0px 2.4px 5.3px 0px rgba(0, 0, 0, 0.05),
        0px 8px 17.9px 0px rgba(0, 0, 0, 0.07),
        0px 36px 80px 0px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.benefit-card h3 {
    font-family: var(--font-body);
    font-size: clamp(1.4rem, calc(0.76vw + 1.29rem), 1.78rem);
    font-weight: 600;
    line-height: 1.2;
}

.benefit-card p {
    font-size: 1.1rem;
    line-height: 1.35;
}

/* ===== Treatment Cards ===== */
.treatments {
    padding: clamp(5rem, 10.8vw, 7rem) clamp(1rem, 1.5vw, 2.5rem) clamp(2.5rem, 5vw, 3.5rem);
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-top: 2rem;
}

.treatment-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    padding: 1.8rem;
    color: var(--color-text-light);
    text-decoration: none;
    transition: transform var(--transition);
    box-shadow:
        0px 2.4px 5.3px 0px rgba(0, 0, 0, 0.05),
        0px 8px 17.9px 0px rgba(0, 0, 0, 0.07),
        0px 36px 80px 0px rgba(0, 0, 0, 0.12);
}

.treatment-card:hover {
    transform: translateY(-2px);
}

.treatment-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.8) 60%);
    z-index: 0;
}

.treatment-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.treatment-card h3 {
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: clamp(1.2rem, calc(0.35vw + 1.1rem), 1.35rem);
    font-weight: 600;
}

.treatment-card p {
    font-size: 1.1rem;
    line-height: 1.35;
}

.treatment-card .read-more {
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== Section Header (title + description side-by-side) ===== */
.section-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: end;
    margin-bottom: 2rem;
}

.section-header p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* ===== Split Banners (IR Bastu, Presentkort, About Nancy, CTA) ===== */
.split-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--color-primary);
    box-shadow:
        0px 2.4px 5.3px 0px rgba(0, 0, 0, 0.05),
        0px 8px 17.9px 0px rgba(0, 0, 0, 0.07),
        0px 36px 80px 0px rgba(0, 0, 0, 0.12);
}

.split-banner--reversed {
    direction: rtl;
}

.split-banner--reversed > * {
    direction: ltr;
}

.split-banner-image {
    overflow: hidden;
}

.split-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split-banner-content {
    color: var(--color-text-light);
    padding: clamp(2rem, 3.5vw, 2.5rem);
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.split-banner-content h2 {
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 2.5vw, 1.78rem);
    font-weight: 600;
    line-height: 1.2;
}

.split-banner-content p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    opacity: 0.92;
}

.split-banner .check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.split-banner .check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.split-banner .check-list li svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: var(--color-accent);
}

.promo-cards {
    padding: 0 clamp(1rem, 1.5vw, 2.5rem);
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 5vw, 3.5rem);
}

.cta-booking {
    padding-top: clamp(5rem, 10.8vw, 7rem);
    padding-bottom: clamp(5rem, 10.8vw, 7rem);
}

/* ===== Partners / Friskvård Logos ===== */
.partners {
    text-align: center;
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.partners h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
}

.partners p {
    max-width: 52ch;
    margin: 0 auto 2.5rem;
    font-size: clamp(1.1rem, 1.7vw, 1.25rem);
    opacity: 0.85;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4rem);
    flex-wrap: wrap;
}

.partner-logos img {
    height: auto;
    width: auto;
    object-fit: contain;
}

.partner-logos img:first-child,
.partner-logos img:last-child {
    height: clamp(120px, 12vw, 150px);
}

.partner-logos img:nth-child(2) {
    height: clamp(120px, 12vw, 150px);
}

/* ===== About Nancy ===== */
.about-nancy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--color-primary);
    padding: 0;
    height: clamp(300px, 28vw, 450px);
    overflow: hidden;
}

.about-nancy-image {
    overflow: hidden;
}

.about-nancy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-nancy-content {
    color: var(--color-text-light);
    padding: clamp(2rem, 3.5vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    max-width: 600px;
}

.about-nancy-content h2 {
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
}

.about-nancy-content p {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.5;
    opacity: 0.92;
}

.about-nancy-content .btn {
    align-self: flex-start;
}

/* ===== Steps Cards (How to Book) ===== */
.steps {
    text-align: center;
    padding: clamp(5rem, 10.8vw, 7rem) clamp(1rem, 1.5vw, 2.5rem) 0;
}

.steps h2 {
    margin-bottom: 0.5rem;
}

.steps > p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: var(--color-bg-card);
    border-radius: 0.5rem;
    padding: clamp(2.5rem, 5.5vw, 3.55rem) 1.8rem;
    text-align: center;
    gap: 0.9rem;
    box-shadow:
        0px 2.4px 5.3px 0px rgba(0, 0, 0, 0.05),
        0px 8px 17.9px 0px rgba(0, 0, 0, 0.07),
        0px 36px 80px 0px rgba(0, 0, 0, 0.12);
}

.step-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.step-card h3 {
    font-family: var(--font-body);
    font-size: clamp(1.4rem, calc(0.76vw + 1.29rem), 1.78rem);
    font-weight: 600;
    line-height: 1.2;
}

.step-card p {
    font-size: 1.1rem;
    line-height: 1.35;
}

/* ===== Reviews ===== */
.reviews {
    background-color: var(--color-bg-light);
    padding: clamp(5rem, 10.8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
    overflow: hidden;
}

.reviews-header {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: clamp(1rem, 1.5vw, 2.5rem);
}

.reviews-heading {
    max-width: 37ch;
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.reviews-rating .stars {
    display: flex;
    gap: 0.2rem;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 1.8rem;
    transition: transform 0.4s ease;
    padding-left: max(clamp(1rem, 1.5vw, 2.5rem), calc((100vw - var(--max-width)) / 2 + clamp(1rem, 1.5vw, 2.5rem)));
    padding-right: 1.8rem;
}

.review-card {
    flex: 0 0 clamp(320px, 28vw, 410px);
    background: var(--color-bg-card);
    border-radius: 0.5rem;
    padding: clamp(1.5rem, 2.5vw, 1.8rem);
    box-shadow:
        0px 2.4px 5.3px 0px rgba(0, 0, 0, 0.05),
        0px 8px 17.9px 0px rgba(0, 0, 0, 0.07),
        0px 36px 80px 0px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

.review-card .stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
}

.review-card .review-title {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.review-card .review-text {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
    flex: 1;
    margin-bottom: 1.5rem;
}

.review-card .review-footer {
    margin-top: auto;
}

.review-card .reviewer {
    font-weight: 700;
    font-size: 0.95rem;
}

.review-card .reviewer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.75;
}

.reviews-controls {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: clamp(1rem, 1.5vw, 2.5rem);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.reviews-progress {
    flex: 1;
    height: 4px;
    background: #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.reviews-progress-bar {
    height: 100%;
    background: var(--color-label);
    border-radius: 8px;
    transition: width 0.4s ease;
    width: 10%;
}

.reviews-nav {
    display: flex;
    gap: 0.75rem;
}

.reviews-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    border: none;
    background: var(--color-bg-card);
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0px 2.4px 5.3px 0px rgba(0, 0, 0, 0.05),
        0px 8px 17.9px 0px rgba(0, 0, 0, 0.07);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.reviews-nav-btn:hover {
    background: var(--color-primary);
    color: var(--color-text-light);
}

.reviews-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.reviews-nav-btn:disabled:hover {
    background: var(--color-bg-card);
    color: var(--color-primary);
}

/* ===== CTA Banner ===== */
.cta-banner {
    padding: 4rem 0;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.cta-content {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-content h2 {
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Contact ===== */
.contact-section {
    padding: clamp(5rem, 10.8vw, 7rem) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-primary);
    background: #fff;
    transition: border-color var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #767676;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-counter {
    font-size: 0.85rem;
    color: #6b6b6b;
    margin-top: -0.5rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.btn-submit {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    font-size: 1.05rem;
    padding: 1rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.btn-submit:hover {
    background-color: var(--color-accent-btn);
    transform: translateY(-1px);
}

.form-alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-alert--success {
    background: #e8f5e9;
    color: #2e7d32;
}

.form-alert--error {
    background: #fce4ec;
    color: #c62828;
}

.contact-info {
    background: var(--color-bg-card);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.contact-info .contact-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contact-info .contact-detail svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* ===== Map ===== */
.map {
    padding: 0 0 4rem;
    background-color: var(--color-bg-light);
}

.map h2 {
    margin-bottom: 1.5rem;
}

.map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

/* ===== Footer ===== */
.site-footer {
    padding: 4rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.footer-col a {
    color: var(--color-text);
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-col li {
    margin-bottom: 0.35rem;
}

.footer-treatments {
    columns: 2;
    column-gap: 2rem;
}

.opening-hours div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.opening-hours dt {
    font-weight: 600;
}

.site-footer hr {
    border: none;
    border-top: 2px solid var(--color-primary);
    margin: 2.5rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-meta p {
    font-size: 0.875rem;
    color: #6b6b6b;
    margin-bottom: 0.5rem;
}

.footer-meta a {
    color: var(--color-accent-btn);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition);
}

.social-links a:hover {
    color: var(--color-accent);
}

/* ===== Background Variants ===== */
.bg-light {
    background-color: var(--color-bg-light);
}

/* ===== Page Hero (Inner Pages) ===== */
.page-hero {
    background-color: var(--color-primary);
    padding: 3rem 0 3.5rem;
}

.page-hero .section-label {
    color: var(--color-accent);
}

.page-hero .section-label::after {
    background-color: rgba(251, 251, 255, 0.3);
}

.page-hero h1 {
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: var(--color-text-light);
    opacity: 0.9;
    max-width: 600px;
    font-size: 1.05rem;
}

/* ===== Treatment Detail ===== */
.treatment-detail {
    padding: 4rem 0;
    scroll-margin-top: 80px;
}

.treatment-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.treatment-detail-grid.reverse {
    direction: rtl;
}

.treatment-detail-grid.reverse > * {
    direction: ltr;
}

.treatment-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}

.treatment-detail-content h2 {
    margin-bottom: 1rem;
}

.treatment-detail-content > p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}


/* ===== Pricing Table ===== */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.pricing-table thead {
    border-bottom: 2px solid var(--color-primary);
}

.pricing-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-label);
}

.pricing-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(17, 63, 83, 0.1);
}

.pricing-table .price {
    font-weight: 700;
    color: var(--color-primary);
}

/* ===== Partner Cards (Friskvård) ===== */
.partner-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.partner-card {
    background: var(--color-bg-card);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.partner-card img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 1.5rem;
}

.partner-card h3 {
    margin-bottom: 0.75rem;
}

.partner-card p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* ===== About Page ===== */
.about-intro {
    padding: clamp(5rem, 10.8vw, 7rem) 0;
    text-align: center;
}

.about-intro h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.about-intro p {
    max-width: 700px;
    margin-inline: auto;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.7;
    opacity: 0.85;
}

.about-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    padding: 0;
    background-color: var(--color-primary);
}

.about-banner--reversed {
    background-color: var(--color-primary);
}

.about-banner-image {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    min-height: 320px;
}

.about-banner-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-banner-content {
    color: var(--color-text-light);
    padding: clamp(3rem, 5vw, 4.5rem) clamp(2rem, 3.5vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    max-width: 600px;
}

.about-banner--reversed .about-banner-content {
    margin-left: auto;
}

.about-banner-content h2 {
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
}

.about-banner-content p {
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    line-height: 1.45;
    opacity: 0.92;
    margin: 0;
}

.presentkort-validity {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    opacity: 1;
}

.payment-badges {
    margin-top: 0.5rem;
    height: 26px;
    width: auto;
}

.presentkort-cta {
    padding-top: clamp(5rem, 10.8vw, 7rem);
    padding-bottom: clamp(5rem, 10.8vw, 7rem);
}

.about-cta {
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(5rem, 10.8vw, 7rem);
}

/* ===== Treatment Detail Page ===== */
.has-treatment .site-header {
    position: static;
}

.treatment-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: var(--color-bg);
    padding: 0;
}

.treatment-hero-content {
    padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 3.5vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    max-width: 700px;
    margin-left: auto;
}

.treatment-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--color-label);
    line-height: 1.15;
    font-weight: 600;
}

.treatment-hero-content > p {
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    line-height: 1.6;
    color: var(--color-primary);
    opacity: 0.85;
}

.treatment-benefits {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.treatment-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

.treatment-benefits li svg {
    flex-shrink: 0;
}

.treatment-hero-image {
    overflow: hidden;
    padding: 0;
    margin: 0;
    height: 100%;
}

.treatment-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.treatment-booking {
    background: var(--color-bg-light);
    padding: clamp(4rem, 8vw, 6rem) 0;
    text-align: center;
}

.treatment-booking h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.treatment-booking-intro {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.6;
    opacity: 0.85;
}

.booking-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.booking-card {
    background: var(--color-bg-card);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 2.5vw, 2rem);
    box-shadow:
        0px 2.4px 5.3px 0px rgba(0, 0, 0, 0.05),
        0px 8px 17.9px 0px rgba(0, 0, 0, 0.07),
        0px 36px 80px 0px rgba(0, 0, 0, 0.12);
    text-align: left;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.booking-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0px 4px 8px 0px rgba(0, 0, 0, 0.08),
        0px 12px 24px 0px rgba(0, 0, 0, 0.1),
        0px 48px 100px 0px rgba(0, 0, 0, 0.14);
}

.booking-card h3 {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
}

.booking-card-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.booking-card-price,
.booking-card-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-primary);
}

.booking-card-price svg,
.booking-card-duration svg {
    color: var(--color-label);
    flex-shrink: 0;
}

.booking-card-cta {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1rem;
    margin-top: auto;
}

.treatment-reviews {
    padding: clamp(5rem, 10.8vw, 7rem) 0;
}

.treatment-reviews .section-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--color-primary);
    opacity: 0.75;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.treatment-reviews .section-label::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--color-accent);
}

.treatment-reviews h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.treatment-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.treatment-rating strong {
    font-size: 1.1rem;
    color: var(--color-primary);
}

.treatment-rating span {
    opacity: 0.75;
}

.treatment-reviews-carousel {
    position: relative;
    overflow: hidden;
}

.treatment-reviews-track {
    display: flex;
    gap: 1.8rem;
    transition: transform 0.4s ease;
    padding-left: max(clamp(1rem, 1.5vw, 2.5rem), calc((100vw - var(--max-width)) / 2 + clamp(1rem, 1.5vw, 2.5rem)));
    padding-right: 1.8rem;
}

.treatment-reviews-controls {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: clamp(1rem, 1.5vw, 2.5rem);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
}

.treatment-reviews-progress {
    flex: 1;
    height: 4px;
    background: #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.treatment-reviews-progress-bar {
    height: 100%;
    background: var(--color-label);
    border-radius: 8px;
    transition: width 0.4s ease;
    width: 10%;
}

.treatment-reviews-nav {
    display: flex;
    gap: 0.75rem;
}

/* ===== Qualifications Carousel ===== */
.qualifications {
    background: var(--color-bg-light);
    padding: clamp(5rem, 10.8vw, 7rem) 0;
}

.qualifications .section-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--color-primary);
    opacity: 0.65;
    margin-bottom: 0.5rem;
}

.qualifications h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.quals-carousel {
    position: relative;
    overflow: hidden;
}

.quals-track {
    display: flex;
    gap: 1.8rem;
    transition: transform 0.4s ease;
    padding-left: max(clamp(1rem, 1.5vw, 2.5rem), calc((100vw - var(--max-width)) / 2 + clamp(1rem, 1.5vw, 2.5rem)));
    padding-right: 1.8rem;
}

.qual-card {
    flex: 0 0 clamp(260px, 24vw, 340px);
    background: var(--color-bg-card);
    border-radius: 0.5rem;
    padding: clamp(1.5rem, 2.5vw, 2rem);
    box-shadow:
        0px 2.4px 5.3px 0px rgba(0, 0, 0, 0.05),
        0px 8px 17.9px 0px rgba(0, 0, 0, 0.07),
        0px 36px 80px 0px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.qual-type {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    opacity: 0.5;
}

.qual-card h3 {
    font-size: clamp(1.05rem, 1.5vw, 1.15rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
}

.qual-date {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.qual-school {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    opacity: 0.5;
    font-weight: 600;
}

.quals-controls {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: clamp(1rem, 1.5vw, 2.5rem);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.quals-progress {
    flex: 1;
    height: 4px;
    background: #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.quals-progress-bar {
    height: 100%;
    background: var(--color-label);
    border-radius: 8px;
    transition: width 0.4s ease;
    width: 10%;
}

.quals-nav {
    display: flex;
    gap: 0.75rem;
}

.quals-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    border: none;
    background: var(--color-bg-card);
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0px 2.4px 5.3px 0px rgba(0, 0, 0, 0.05),
        0px 8px 17.9px 0px rgba(0, 0, 0, 0.07);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.quals-nav-btn:hover {
    background: var(--color-primary);
    color: var(--color-text-light);
}

.quals-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quals-nav-btn:disabled:hover {
    background: var(--color-bg-card);
    color: var(--color-primary);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .has-treatment .site-header {
        position: relative;
        z-index: 100;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        box-shadow: 0 4px 8px rgba(17, 63, 83, 0.1);
        padding: 1rem 1.5rem;
        z-index: 200;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.75rem;
    }

    .section-header {
        grid-template-columns: 1fr;
    }

    .split-banner,
    .cta-card {
        grid-template-columns: 1fr;
    }

    .split-banner--reversed {
        direction: ltr;
    }

    .split-banner-image {
        max-height: 300px;
        overflow: hidden;
    }

    .partner-logos img:nth-child(2) {
        order: 2;
    }

    .partner-logos img:last-child {
        order: 1;
    }

    .about-nancy {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .about-banner {
        grid-template-columns: 1fr;
    }

    .about-banner-image {
        min-height: 260px;
        max-height: 320px;
        height: 300px;
    }

    .about-banner--reversed .about-banner-content {
        margin-left: 0;
    }

    .about-nancy-image {
        max-height: 300px;
    }

    .benefits-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-treatments {
        columns: 1;
    }

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

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 100vh;
        padding: 4rem 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .treatment-detail-grid,
    .treatment-detail-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .treatment-detail-image img {
        height: 250px;
    }

    .partner-cards {
        grid-template-columns: 1fr;
    }

    .review-card {
        flex: 0 0 85vw;
    }

    .reviews-track {
        padding-left: 1.25rem;
    }

    .qual-card {
        flex: 0 0 85vw;
    }

    .quals-track {
        padding-left: 1.25rem;
    }

    .treatment-hero {
        grid-template-columns: 1fr;
    }

    .treatment-hero-content {
        margin-left: 0;
        padding: clamp(2rem, 4vw, 3rem) 1.25rem;
    }

    .treatment-hero-image {
        height: 300px;
        order: -1;
    }

    .booking-cards-grid {
        grid-template-columns: 1fr;
    }

    .treatment-reviews-track {
        padding-left: 1.25rem;
    }
}
