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

:root {
    --color-bg: #FAF8F5;
    --color-bg-alt: #F0EDE8;
    --color-primary: #8B7355;
    --color-primary-dark: #6B5740;
    --color-accent: #A39171;
    --color-text: #2C2824;
    --color-text-light: #6B6560;
    --color-text-muted: #9A9490;
    --color-white: #FFFFFF;
    --color-border: #E0DBD3;
    --color-sage: #8FA38B;
    --color-sage-light: #E8EDE7;
    --color-warm: #C4A882;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --section-padding: clamp(60px, 10vw, 120px);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Skip-link för tillgänglighet (visas vid Tab) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    z-index: 10000;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--color-warm);
    outline-offset: 2px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ======= NAVIGATION ======= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 40px;
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text);
}

.nav-logo-img {
    height: 44px;
    width: auto;
    display: block;
    transition: transform 0.4s ease;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text-light);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* ======= HERO ======= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-bg-alt) 50%, var(--color-sage-light) 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 1px 1px, var(--color-primary) 1px, transparent 0);
    background-size: 40px 40px;
}

.hero-decoration {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    opacity: 0.3;
}

.hero-decoration:nth-child(2) {
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
}

.hero-decoration:nth-child(3) {
    bottom: -200px;
    left: -150px;
    width: 700px;
    height: 700px;
}

.hero-content {
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-label {
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 28px;
    font-weight: 600;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-title em {
    font-style: italic;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 540px;
    margin: 0 auto 44px;
    line-height: 1.8;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-actions {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 16px 40px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
}

.hero-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(139, 115, 85, 0.25);
}

.hero-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--color-primary);
    padding: 16px 32px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid var(--color-primary);
    transition: all 0.4s ease;
}

.hero-cta-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.hero-booking-note {
    margin-top: 24px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1s;
}

/* ======= SECTION COMMON ======= */
.section {
    padding: var(--section-padding) 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.92rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 18px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1rem;
    color: var(--color-text-light);
    max-width: 580px;
    line-height: 1.8;
    font-weight: 300;
}

/* ======= ABOUT ======= */
.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    max-width: 380px;
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-sage-light), var(--color-bg-alt));
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    margin: 0 auto;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.03);
}

.about-content .section-desc {
    margin-bottom: 36px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-stat {
    padding: 20px 0;
    border-top: 1px solid var(--color-border);
}

.about-stat-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

/* ======= TREATMENTS ======= */
.treatments {
    background: var(--color-bg);
}

.treatments-header {
    text-align: center;
    margin-bottom: 64px;
}

.treatments-header .section-desc {
    margin: 0 auto;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Centrera sista kortet om det blir ensamt på sista raden (vid 7 kort i 3-kolumnslayout) */
.treatment-card:last-child:nth-child(3n - 2) {
    grid-column: 2;
}

.treatment-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 36px 32px 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: inherit;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* iOS-fixar för pålitliga taps */
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(139, 115, 85, 0.1);
    -webkit-appearance: none;
    appearance: none;
}

/* Tydlig visuell respons vid tap på touch-enheter */
.treatment-card:active {
    transform: scale(0.98);
}

/* Hover-effekter ENDAST på enheter med mus — undviker
   att stilarna "fastnar" på iOS efter tap */
@media (hover: hover) and (pointer: fine) {
    .treatment-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.08);
        border-color: var(--color-border);
    }
}

.treatment-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: var(--color-primary);
    outline: none;
}

.treatment-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-warm));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .treatment-card:hover .treatment-card-accent {
        opacity: 1;
    }
}

.treatment-card:focus-visible .treatment-card-accent {
    opacity: 1;
}

/* Säkerställ att alla barn släpper igenom klick till själva knappen */
.treatment-card > *:not(.treatment-card-accent) {
    pointer-events: none;
}

.treatment-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    transition: gap 0.3s ease;
}

.treatment-readmore svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .treatment-card:hover .treatment-readmore {
        gap: 12px;
    }

    .treatment-card:hover .treatment-readmore svg {
        transform: translateX(2px);
    }
}


.treatment-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--color-text);
}

.treatment-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
    font-weight: 300;
}

/* ======= PHILOSOPHY ======= */
.philosophy {
    background: var(--color-primary-dark);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.philosophy-bg {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
    background-size: 30px 30px;
}

.philosophy-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.philosophy .section-label {
    color: var(--color-warm);
}

.philosophy-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.95);
}

.philosophy-author {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

/* ======= PRICING ======= */
.pricing {
    background: var(--color-white);
}

.pricing-header {
    text-align: center;
    margin-bottom: 64px;
}

.pricing-header .section-desc {
    margin: 0 auto;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-bg);
    border-radius: 16px;
    padding: 44px 36px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid var(--color-border);
}

.pricing-card.featured {
    background: var(--color-primary-dark);
    color: var(--color-white);
    border-color: transparent;
    transform: scale(1.03);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.pricing-card .pricing-badge {
    background: var(--color-sage-light);
    color: var(--color-sage);
}

.pricing-card.featured .pricing-badge {
    background: rgba(255,255,255,0.15);
    color: var(--color-warm);
}

.pricing-duration {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.pricing-price {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.6;
}

.pricing-desc {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 28px;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 0;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.pricing-card .pricing-features li svg {
    color: var(--color-sage);
}

.pricing-card.featured .pricing-features li svg {
    color: var(--color-warm);
}

.pricing-friskvard {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 720px;
    margin: 56px auto 0;
    padding: 28px 32px;
    background: var(--color-sage-light);
    border-radius: 16px;
    border-left: 3px solid var(--color-sage);
}

.pricing-friskvard-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-sage);
}

.pricing-friskvard-icon svg {
    width: 22px;
    height: 22px;
}

.pricing-friskvard-content {
    flex: 1;
}

.pricing-friskvard-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.3;
}

.pricing-friskvard-content p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 8px;
}

.pricing-friskvard-content p:last-child {
    margin-bottom: 0;
}

.pricing-friskvard-content strong {
    color: var(--color-text);
    font-weight: 500;
}

.pricing-friskvard-note {
    font-size: 0.85rem !important;
    color: var(--color-text-muted) !important;
    font-style: italic;
}

@media (max-width: 600px) {
    .pricing-friskvard {
        flex-direction: column;
        gap: 12px;
        padding: 24px 22px;
        margin: 40px 4px 0;
        border-left: none;
        border: 1px solid var(--color-sage);
        background: var(--color-sage-light);
        box-shadow: 0 4px 16px rgba(143, 163, 139, 0.12);
        text-align: center;
    }

    /* Dölj hjärt-ikonen på mobil — tar mindre plats och rutan blir
       tydligare som en sammanhållen informationsbox */
    .pricing-friskvard-icon {
        display: none;
    }

    .pricing-friskvard-title {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .pricing-friskvard-content p {
        font-size: 0.88rem;
    }
}

.pricing-booking {
    text-align: center;
    margin-top: 40px;
}

.pricing-booking-text {
    font-size: 0.82rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.pricing-booking-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    background: var(--color-bg);
}

.pricing-booking-btn svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.pricing-booking-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(139, 115, 85, 0.18);
}

.pricing-booking-btn:hover svg {
    color: var(--color-white);
}

.pricing-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.pricing-note strong {
    color: var(--color-text-light);
    font-weight: 500;
}

/* ======= CONTACT ======= */
.contact {
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-content .section-desc {
    margin-bottom: 48px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

.contact-item-label {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.contact-item-value {
    font-size: 1rem;
    color: var(--color-text);
}

.contact-item-value a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item-value a:hover {
    color: var(--color-primary);
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-bg-alt);
    position: relative;
    border: 1px solid var(--color-border);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ======= FOOTER ======= */
.footer {
    background: var(--color-text);
    color: rgba(255,255,255,0.5);
    padding: 48px 20px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
}

.footer-logo-img {
    height: 44px;
    width: auto;
    display: block;
    border-radius: 4px;
}

.footer-copy {
    font-size: 0.78rem;
}

/* ======= MODAL ======= */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 40, 36, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

.modal-container {
    position: relative;
    background: var(--color-white);
    border-radius: 20px;
    max-width: 640px;
    width: 100%;
    max-height: calc(100vh - 48px);          /* Fallback för äldre webbläsare */
    max-height: calc(100dvh - 48px);         /* Modern: exkluderar URL-fält */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    transform: translateY(24px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-text);
    border: 2px solid var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: var(--color-white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    /* iOS-fixar för pålitliga taps */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
}

@media (hover: hover) and (pointer: fine) {
    .modal-close:hover {
        background: var(--color-primary);
        border-color: var(--color-primary);
        transform: rotate(90deg);
        box-shadow: 0 6px 18px rgba(139, 115, 85, 0.4);
    }
}

.modal-close:active {
    transform: scale(0.92);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
    stroke-width: 2.5;
}

.modal-content {
    padding: 56px 48px 48px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 28px;
}

.modal-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-light);
    font-weight: 300;
}

.modal-body p {
    margin-bottom: 16px;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-body h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--color-text);
    margin: 24px 0 10px;
    font-weight: 500;
}

.modal-body ul {
    list-style: none;
    margin: 12px 0 16px;
    padding: 0;
}

.modal-body ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: var(--color-text-light);
}

.modal-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 1px;
    background: var(--color-primary);
}

.modal-footer {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--color-border);
}

.modal-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 32px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.modal-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(139, 115, 85, 0.25);
}

.modal-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
}

.modal-cta:hover svg {
    transform: translateX(4px);
}

/* Lås body-scroll när modal är öppen */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .modal {
        padding: 0;
        align-items: flex-end;
    }

    .modal-container {
        border-radius: 24px 24px 0 0;
        max-height: 88vh;                /* Fallback för äldre webbläsare */
        max-height: 88dvh;               /* Modern: exkluderar URL-fält */
        transform: translateY(100%);
    }

    .modal.active .modal-container {
        transform: translateY(0);
    }

    /* "Drag handle" — visuell indikator att panelen kan stängas */
    .modal-container::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 44px;
        height: 4px;
        border-radius: 2px;
        background: var(--color-border);
        z-index: 11;
    }

    /* Större kryss-knapp på mobil för bättre touch-target.
       Positioneras med säkerhetsmarginal från toppen så den
       garanterat syns även i Chrome iOS där URL-fältet kan
       överlappa toppen av modalen. */
    .modal-close {
        top: 24px;
        right: 18px;
        width: 48px;
        height: 48px;
        background: var(--color-text);
        border: 2px solid var(--color-white);
        box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    }

    .modal-close svg {
        width: 22px;
        height: 22px;
    }

    /* Extra padding-top så innehållet börjar under stäng-knappen
       och drag-handle:n */
    .modal-content {
        padding: 80px 24px 32px;
    }
}

/* Stöd för iPhone-notch / Dynamic Island på sidor under 600px */
@supports (padding: max(0px)) {
    @media (max-width: 600px) {
        .modal-close {
            top: max(24px, calc(env(safe-area-inset-top) + 8px));
        }

        .modal-content {
            padding-top: max(80px, calc(env(safe-area-inset-top) + 64px));
            padding-bottom: max(32px, env(safe-area-inset-bottom));
        }
    }
}

/* ======= TEL-LÄNKAR PÅ DESKTOP =======
   På datorer (enheter med mus) ska telefonnummer inte fungera
   som klickbara länkar — de försöker öppna onödiga appar.
   Numret syns och kan markeras/kopieras som vanligt. */
@media (hover: hover) and (pointer: fine) {
    a[href^="tel:"] {
        cursor: default;
    }

    .contact-item-value a[href^="tel:"]:hover {
        color: var(--color-text);
    }

    .pricing-booking-btn[href^="tel:"]:hover {
        background: var(--color-bg);
        color: var(--color-text);
        border-color: var(--color-border);
        transform: none;
        box-shadow: none;
    }

    .pricing-booking-btn[href^="tel:"]:hover svg {
        color: var(--color-primary);
    }
}

/* ======= ANIMATIONS ======= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======= MOBILE MENU ======= */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--color-primary);
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 40px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .mobile-menu { display: flex; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrapper {
        max-width: 320px;
        aspect-ratio: 4/5;
    }

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

    /* Återställ centreringsregeln på mobil */
    .treatment-card:last-child:nth-child(3n - 2) {
        grid-column: auto;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

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

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .nav {
        padding: 16px 20px;
    }

    .nav.scrolled {
        padding: 12px 20px;
    }

    .nav-logo-text {
        display: none;
    }

    .nav-logo-img {
        height: 38px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .treatment-card {
        padding: 28px 24px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .contact-grid {
        gap: 36px;
    }
}
