
:root {
    /* Brand blue from logo / main menu */
    --brand-blue: #13affc;
    --logo-bg: var(--brand-blue);
    --blue: #3e82ff;
    --blue-mid: #326bff;
    --blue-dark: #1959ff;
    --blue-deep: #1a2b3c;
    --cyan: #13affc;
    --cyan-bright: #5cc8fd;
    --cyan-overlay: rgba(19, 175, 252, 0.68);
    --cyan-overlay-soft: rgba(19, 175, 252, 0.38);
    --brand-overlay-strong: rgba(19, 175, 252, 0.72);
    --brand-overlay-mid: rgba(19, 175, 252, 0.55);
    --brand-overlay-soft: rgba(19, 175, 252, 0.28);
    --brand-wash: rgba(19, 175, 252, 0.10);
    --brand-wash-mid: rgba(19, 175, 252, 0.14);
    --sky: #e6f6fe;
    --sky-soft: #eef8fe;
    --mist: #ffffff;
    --white: #ffffff;
    --ink: #1f2a33;
    --muted: #5a6570;
    --line: rgba(31, 42, 51, 0.1);
    --radius: 6px;
    --max: 1140px;
    --header-h: 78px;
    --font: "Poppins", "Montserrat", "Segoe UI", sans-serif;
    --display: "Poppins", "Montserrat", "Segoe UI", sans-serif;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --shadow-btn: 0 8px 24px rgba(20, 50, 80, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    font-weight: 400;
    font-size: 16px;
}

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

a {
    color: var(--blue-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

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

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); margin: 0 0 0.85rem; }
h3 { font-size: 1.15rem; margin: 0 0 0.5rem; font-weight: 600; }

p { margin: 0 0 1rem; color: var(--muted); }

.container {
    width: min(100% - 2rem, var(--max));
    margin-inline: auto;
}

.narrow { width: min(100% - 2rem, 720px); }
.center { text-align: center; }
.mt { margin-top: 1.75rem; }
.muted { color: var(--muted); font-size: 0.9rem; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--white);
    padding: 0.5rem 1rem;
    z-index: 200;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header-main {
    background: var(--logo-bg, #13affc);
    border-bottom: none;
}
.header-inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.logo img {
    display: block;
    width: auto;
    height: 64px;
}
.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 1.15rem;
    align-items: center;
}
.site-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a.is-active {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.95);
}
.site-nav a.nav-cta {
    border-bottom: none;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta.is-active {
    background: #000;
    color: #fff;
    border-bottom-color: transparent;
}
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    border-radius: var(--radius);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    margin: 4px auto;
}

/* Second row: clinic picker (always visible) */
.clinic-nav-bar {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.clinic-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.65rem;
    min-height: 3.15rem;
    padding: 0.55rem 1.5rem;
    font-family: var(--font);
}
.clinic-nav a {
    color: #111;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.35rem 0.55rem;
    border-bottom: 2px solid transparent;
}
.clinic-nav a:hover,
.clinic-nav a.is-active {
    color: #111;
    border-bottom-color: var(--logo-bg, #13affc);
}
.clinic-nav-sep {
    color: #111;
    opacity: 0.45;
    font-weight: 400;
    user-select: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.95rem 1.7rem;
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(62, 130, 255, 0.28);
}
.btn-primary:hover {
    background: var(--blue-dark);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--ink);
    border-color: rgba(31, 42, 51, 0.12);
    box-shadow: var(--shadow-btn);
}
.btn-secondary:hover {
    background: var(--sky-soft);
    color: var(--ink);
}

/* Screenshot hero CTAs – white, dark text, soft radius + shadow */
.btn-hero {
    background: var(--white);
    color: #2a343c;
    border-color: transparent;
    box-shadow: var(--shadow-btn);
    min-width: 148px;
}
.btn-hero:hover {
    background: var(--sky);
    color: #111;
    box-shadow: 0 10px 28px rgba(20, 50, 80, 0.22);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); color: var(--white); }

.btn-text {
    background: transparent;
    color: var(--white);
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
}
.btn-text:hover { color: #dff4ff; }

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 1.5rem 0 0.5rem;
}
.cta-row.center { justify-content: center; }

.note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
}

/* Shared full-bleed hero (home + clinic) */
.hero,
.home-hero,
.clinic-hero {
    position: relative;
    min-height: clamp(520px, 78vh, 720px);
    display: grid;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg,
.home-hero-bg,
.clinic-hero-media {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            100deg,
            var(--brand-overlay-strong) 0%,
            var(--brand-overlay-mid) 34%,
            var(--brand-overlay-soft) 62%,
            var(--brand-wash) 100%
        ),
        var(--hero-image, url("../img/hero-bg.webp")) center/cover no-repeat;
    transform: scale(1.02);
    animation: heroDrift 18s ease-in-out infinite alternate;
}

.home-hero-bg {
    --hero-image: url("../img/hero-bg.webp");
}

.hero-content,
.home-hero-content,
.clinic-hero-content {
    position: relative;
    z-index: 1;
    padding: clamp(3.5rem, 9vh, 6rem) 0 clamp(4.5rem, 11vh, 7rem);
    max-width: 640px;
    animation: riseIn 0.85s ease both;
}
.clinic-hero-content {
    padding: clamp(4.5rem, 11vh, 7.25rem) 0 clamp(5.5rem, 13vh, 8rem);
    max-width: 560px;
}
.clinic-hero {
    min-height: clamp(480px, 72vh, 680px);
}

.hero h1,
.home-hero h1,
.clinic-hero h1 {
    color: var(--white);
    font-weight: 700;
    max-width: 16ch;
    text-shadow: 0 2px 18px rgba(20, 70, 100, 0.18);
}

.hero .lead,
.home-hero .lead,
.clinic-hero .lead {
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 48ch;
    font-weight: 400;
}
.clinic-hero h1 {
    margin-bottom: 1.15rem;
}
.clinic-hero .lead {
    margin: 0 0 0.35rem;
}
.clinic-hero-actions {
    margin-top: 1.85rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
}
.clinic-hero-ctas {
    margin: 0;
}
.clinic-hero .hero-subcta {
    margin: 0;
    padding-top: 0.15rem;
}
.clinic-hero .hero-subcta a {
    display: inline-block;
    text-underline-offset: 0.22em;
}

/* Soft white wave at bottom of hero */
.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: clamp(56px, 9vw, 96px);
    z-index: 2;
    pointer-events: none;
    color: var(--white);
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Clinic pick as white hero CTAs on home */
.clinic-pick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
    animation: riseIn 0.9s ease 0.12s both;
}

.clinic-pick a {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-decoration: none;
    color: #2a343c;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-btn);
    padding: 0.95rem 1.45rem;
    min-width: 168px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.clinic-pick a:hover {
    transform: translateY(-2px);
    background: var(--sky);
    color: #111;
    box-shadow: 0 10px 28px rgba(20, 50, 80, 0.22);
}

.clinic-pick strong {
    display: block;
    font-size: 0.9rem;
    font-family: var(--font);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.clinic-pick span {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0.75;
}

.home-strip {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 1.15rem 0;
}

.home-strip .strip-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.6rem;
    justify-content: center;
    font-weight: 600;
}

.home-strip a { text-decoration: none; color: var(--blue-deep); }
.home-strip a:hover { color: var(--blue); }

/* Sections */
.section {
    padding: clamp(3.25rem, 6.5vw, 5rem) 0;
    background: var(--white);
}

.section-soft {
    background: var(--sky-soft);
    border-block: 1px solid var(--line);
}

.section-intro {
    max-width: 58ch;
    margin: 0 auto 1.75rem;
    text-align: center;
}

.section > .container > h2:first-child,
.section-head {
    text-align: center;
    color: var(--ink);
    margin-left: auto;
    margin-right: auto;
}

.section-cta {
    background:
        linear-gradient(135deg, rgba(19, 175, 252, 0.08), rgba(19, 175, 252, 0.14)),
        var(--white);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font);
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 0.75rem;
}

.treatment-bands {
    display: grid;
    gap: 2rem;
}

.treatment-band h2,
.treatment-band h3 {
    color: var(--ink);
    margin-bottom: 0.9rem;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid rgba(19, 175, 252, 0.55);
    text-align: left;
}

.treatment-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.35rem 1.35rem;
}

.treatment-list a {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.treatment-list a:hover {
    color: var(--blue-dark);
    padding-left: 0.25rem;
}
.treatment-list strong {
    display: block;
    font-family: var(--font);
    font-weight: 600;
    letter-spacing: 0;
    color: var(--ink);
    margin-bottom: 0.25rem;
    font-size: 1.02rem;
}
.treatment-list span {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.55;
}

.treatment-list a:has(.treat-icon) {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0.85rem;
    align-items: start;
}
.treatment-list .treat-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

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

.hours { margin: 0; }
.hours > div {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 0.5rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
}
.hours dt { font-weight: 700; color: var(--ink); }
.hours dd { margin: 0; color: var(--muted); }

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery figure:hover img { transform: scale(1.03); }

.map-wrap {
    border: 1px solid var(--line);
    background: var(--white);
    overflow: hidden;
    border-radius: var(--radius);
}
.map-wrap iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    display: block;
}

/* Forms */
.contact-form {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.contact-form label,
.contact-form fieldset {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--ink);
}

.contact-form input[type="text"],
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 0.85rem 0.95rem;
    font: inherit;
    color: var(--ink);
    border-radius: var(--radius);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(62, 130, 255, 0.35);
    border-color: var(--blue);
}

.contact-form .check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-weight: 600;
}
.contact-form .check input { margin-top: 0.25rem; }

.time-pref {
    border: 1px solid var(--line);
    padding: 0.9rem 1rem;
    background: #fafcfe;
    border-radius: var(--radius);
}
.time-pref label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-top: 0.35rem;
}

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.form-alert {
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    margin-bottom: 1rem;
    border-radius: var(--radius);
}
.form-alert.is-success {
    background: #e8f8ef;
    border-color: #9ed9b5;
    color: #14532d;
}
.form-alert.is-error {
    background: #fff1f1;
    border-color: #f0b4b4;
    color: #7f1d1d;
}

.prose {
    max-width: 70ch;
}
.prose h2 { margin-top: 1.75rem; }
.prose h3 {
    margin-top: 1.35rem;
    color: var(--blue-deep);
}
.prose ul {
    color: var(--muted);
    padding-left: 1.2rem;
}
.prose li { margin-bottom: 0.4rem; }

.page-hero {
    position: relative;
    padding: clamp(2.75rem, 5.5vw, 4rem) 0 1.15rem;
    background: linear-gradient(180deg, var(--brand-wash), transparent 70%);
    overflow: hidden;
}
.page-hero .lead {
    font-size: 1.08rem;
    max-width: 54ch;
}
.page-hero--media {
    min-height: 300px;
    display: grid;
    align-items: end;
    color: var(--white);
    background: var(--brand-blue);
    padding-bottom: 2.5rem;
}
.page-hero--media .eyebrow,
.page-hero--media h1,
.page-hero--media .lead {
    color: var(--white);
}
.page-hero--media .lead {
    color: rgba(255, 255, 255, 0.95);
}
.page-hero-media {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            100deg,
            var(--brand-overlay-strong) 0%,
            var(--brand-overlay-mid) 40%,
            var(--brand-overlay-soft) 100%
        ),
        var(--page-hero-image) center/cover no-repeat;
    animation: heroDrift 16s ease-in-out infinite alternate;
}
.page-hero-content {
    position: relative;
    z-index: 1;
}
.content-figure {
    margin: 0 0 1.75rem;
    overflow: hidden;
    border-radius: var(--radius);
}
.content-figure img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
.media-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
}
.media-split img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 420px;
    border-radius: var(--radius);
}
.home-video {
    margin-top: 1.5rem;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    background: #000;
    border-radius: var(--radius);
}

.partner-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1.5rem;
}
.partner-row img {
    height: 52px;
    width: auto;
    opacity: 0.9;
}

/* Footer – same blue as main menu */
.site-footer {
    background: var(--logo-bg, #13affc);
    color: #fff;
    padding: 3.25rem 0 1.5rem;
    margin-top: 0;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.18em; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2rem;
}
.footer-brand p { color: rgba(255, 255, 255, 0.92); }
.footer-brand img {
    height: 42px;
    width: auto;
    margin-bottom: 0.85rem;
    /* logo.webp is white mark on cyan – blends with footer bg */
    filter: none;
}
.footer-heading {
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 0.85rem;
}
.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-list li { margin-bottom: 0.45rem; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.9rem;
}
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.9); }

@keyframes riseIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroDrift {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to { transform: scale(1.07) translate3d(-1.2%, -0.8%, 0); }
}


/* Home - Vara Behandlingar showcase (Mike screenshot) */
.section-intro-block {
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-bottom: clamp(1.5rem, 3vw, 2rem);
}
.section-intro-block h2 {
    text-align: center;
    margin-bottom: 1rem;
}
.section-intro-block p {
    margin: 0 auto;
    max-width: 62ch;
    text-align: center;
    color: var(--muted);
    font-size: 1.02rem;
}

.treatments-showcase {
    position: relative;
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    overflow: hidden;
}
.treatments-showcase-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(19, 175, 252, 0.42) 0%, rgba(19, 175, 252, 0.36) 45%, rgba(19, 175, 252, 0.48) 100%),
        url("../img/shared/smile-closeup.webp") center 35%/cover no-repeat;
    transform: scale(1.04);
}
.treatments-showcase-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(2px);
    background: rgba(19, 175, 252, 0.18);
}
.treatments-showcase-inner {
    position: relative;
    z-index: 1;
}
.treatments-showcase-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}
.treatments-showcase-head h2 {
    color: var(--ink);
    font-size: clamp(1.85rem, 3.2vw, 2.45rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.treatments-showcase-head p {
    margin: 0 auto;
    color: #3d4a54;
    font-size: 1.02rem;
    line-height: 1.75;
    max-width: 58ch;
}

.treatment-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}
.treatment-card {
    background: #f0f0f0;
    border-radius: 14px;
    padding: 1.75rem 1.45rem 1.5rem;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100%;
}
.treatment-card-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto 1rem;
    filter: none;
}
.treatment-card h3,
.treatment-card h4 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 0.65rem;
}
.treatment-card p {
    color: #333;
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0 0 1.15rem;
    flex: 1;
}
.treatment-card-link {
    color: #0a9ee6;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    margin-top: auto;
}
.treatment-card-link:hover {
    color: #0886c7;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.treatments-showcase-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.35rem;
}
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2a343c;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.95rem 2.1rem;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(20, 30, 40, 0.28);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-pill:hover {
    background: #151b20;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(20, 30, 40, 0.32);
}

@media (max-width: 1020px) {
    .treatment-cards,
    .treatment-cards--three {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .treatment-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .nav-toggle { display: inline-block; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: var(--header-h);
        background: var(--logo-bg, #13affc);
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        padding: 1rem 1.25rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        z-index: 101;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a.nav-cta { align-self: stretch; text-align: center; }
    .split,
    .footer-grid,
    .gallery,
    .media-split {
        grid-template-columns: 1fr;
    }
    .treatment-list a:has(.treat-icon) {
        grid-template-columns: 40px 1fr;
    }
    .home-hero,
    .clinic-hero,
    .hero {
        min-height: auto;
        align-items: end;
    }
    .home-hero-content,
    .clinic-hero-content,
    .hero-content {
        padding-top: 4.5rem;
        max-width: none;
    }
    .hero h1,
    .home-hero h1,
    .clinic-hero h1 {
        max-width: none;
    }
}


/* Demo-like header CTA */
/* .nav-cta styles live under .site-nav a.nav-cta */

.hero-subcta {
    margin: 0;
    font-size: 1rem;
}
.hero-subcta a {
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    text-decoration: underline;
}

.btn-hero-dark {
    background: #2a343c;
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-btn);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 999px;
}
.btn-hero-dark:hover { background: #151b20; color: #fff; }

/* Partners strip (demo footer logos) */
.partners-strip {
    background: var(--sky-soft);
    border-top: 1px solid var(--line);
    padding: 1.75rem 0;
}
.partners-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}
.partners-brand strong {
    display: block;
    font-size: 1.05rem;
    color: var(--ink);
}
.partners-brand span {
    color: var(--muted);
    font-size: 0.92rem;
}
.partners-logos {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.partners-logos img {
    height: 48px;
    width: auto;
    opacity: 0.92;
}

/* Location cards on home */
.section-location {
    background: linear-gradient(180deg, var(--sky) 0%, #fff 100%);
}
.section-head {
    text-align: center;
    margin-bottom: 2rem;
}
.location-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.location-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 10px 28px rgba(30, 70, 100, 0.08);
}
.location-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}
.location-card p {
    margin-bottom: 1.25rem;
}

/* Treatment catalog grid */
.treatment-group { margin-bottom: 2.75rem; }
.treatment-group-title {
    font-size: 1.55rem;
    color: var(--ink);
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1.5rem;
}
.treatment-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}
.treatment-card--icon {
    background: #f0f0f0;
    border-radius: 14px;
    padding: 1.85rem 1.4rem 1.5rem;
    box-shadow: none;
}
.treatment-card--icon .treatment-card-link {
    align-self: center;
}
.treatment-cards--3 {
    grid-template-columns: repeat(3, 1fr);
}
/* Home showcase cards stay white over photo bg */
.treatments-showcase .treatment-card {
    background: #fff;
    box-shadow: 0 10px 28px rgba(30, 70, 100, 0.1);
}
.treatment-group + .treatment-group {
    margin-top: 0.5rem;
}
.treatment-group-title {
    text-align: center;
    border-bottom: none;
    font-size: 1.55rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}
.center-block { margin-inline: auto; text-align: center; }
.center-block.prose { max-width: 62ch; }

.page-hero--media {
    position: relative;
    padding-bottom: 3.5rem;
}
.page-hero--media .hero-wave {
    color: #fff;
}

@media (max-width: 920px) {
    .location-cards,
    .treatment-card-grid,
    .partners-strip-inner {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
    .treatment-card-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

.treatment-card--icon {
    background: #f0f0f0;
}
.treatment-cards--three {
    grid-template-columns: repeat(3, 1fr);
}
.treatment-card-thumb { display: none; }

/* Clinic photo gallery – logo background + brand mark */
.section-gallery {
    background: var(--logo-bg);
    border: none;
    padding: clamp(3.25rem, 6.5vw, 5rem) 0;
}
.section-gallery .gallery-brand {
    text-align: center;
    margin-bottom: 1.75rem;
}
.section-gallery .gallery-logo {
    width: 112px;
    height: auto;
    margin: 0 auto 1rem;
}
.section-gallery h2 {
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.section-gallery .section-intro {
    color: rgba(255, 255, 255, 0.92);
    max-width: 52ch;
}
.section-gallery .gallery figure {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 28px rgba(10, 60, 100, 0.18);
}

/* Homepage Erbjudande band (demo yellow/gold) */
.erbjudande-band {
    position: relative;
    background: linear-gradient(90deg, #ffd84d 0%, #fbbc01 42%, #f0a000 100%);
    padding: clamp(3.25rem, 7vw, 5.25rem) 1.25rem;
    text-align: center;
    border-block: 2px dashed rgba(255, 255, 255, 0.92);
}
.erbjudande-band-inner {
    max-width: 44rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}
.erbjudande-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    color: #1a1a1a;
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.erbjudande-title {
    margin: 0.15rem 0 0;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(2.15rem, 5vw, 3.35rem);
    line-height: 1.1;
    color: #111;
    letter-spacing: -0.02em;
    text-transform: none;
}
.erbjudande-percent {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(4.5rem, 12vw, 7.5rem);
    line-height: 0.95;
    color: #111;
    letter-spacing: -0.03em;
}
.erbjudande-sub {
    margin: 0 0 0.55rem;
    font-family: var(--font);
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 500;
    color: #1a1a1a;
}
.erbjudande-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.35rem;
    padding: 0.95rem 2.1rem;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(120, 70, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.erbjudande-cta:hover {
    background: #fffef8;
    color: #111;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(120, 70, 0, 0.22);
}
@media (max-width: 640px) {
    .erbjudande-band { padding: 2.75rem 1rem; }
    .erbjudande-badge { font-size: 0.64rem; letter-spacing: 0.08em; padding: 0.4rem 0.9rem; }
}


/* Clinic info block – clearer grouping, less empty middle */
.clinic-info {
    padding-top: clamp(2.75rem, 5vw, 3.75rem);
    padding-bottom: clamp(2.75rem, 5vw, 3.75rem);
}
.clinic-info .clinic-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
    gap: clamp(1.75rem, 4vw, 3rem) clamp(2rem, 5vw, 3.5rem);
    align-items: start;
    max-width: 880px;
    margin-inline: 0;
}
.clinic-info-col--place {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.clinic-info-group h2 {
    margin-bottom: 0.75rem;
}
.clinic-info-address {
    margin: 0 0 1rem;
    line-height: 1.7;
}
.clinic-info-contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.clinic-info-contacts a {
    font-weight: 600;
}
.clinic-info-group--parking {
    padding-top: 0.35rem;
    border-top: 1px solid var(--line);
}
.clinic-info-group--parking h2 {
    margin-top: 0.85rem;
}
.clinic-info-col--hours {
    max-width: 22rem;
}
.clinic-info-col--hours .hours {
    margin-top: 0.35rem;
}
.clinic-info-col--hours .hours > div {
    grid-template-columns: minmax(5.5rem, auto) 1fr;
    gap: 1rem 1.5rem;
    padding: 0.7rem 0;
}
@media (max-width: 920px) {
    .clinic-info .clinic-info-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }
    .clinic-info-col--hours {
        max-width: none;
    }
}


/* Booking picker – clear target under sticky header */
#valj-klinik {
    scroll-margin-top: calc(var(--header-h) + 3.5rem);
}
#valj-klinik.is-highlight a {
    outline: 3px solid var(--brand-blue);
    outline-offset: 4px;
    transition: outline-color 0.3s ease;
}
.treatments-showcase-bg {
    pointer-events: none;
}

/* Demo content design. Scoped to main to preserve navigation and footer. */
main {
    --content-ink: #1a1a1a;
    --content-cyan: #00bfe8;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 500;
    line-height: 1.75;
    color: var(--content-ink);
}
main .container { width: min(80%, 1140px); }
main p, main .prose ul { color: var(--content-ink); }
main h1, main h2, main h3, main h4 { color: var(--content-ink); }
main h2 {
    font-size: clamp(1.8rem, 3.15vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1.75rem;
}
main .section { padding: clamp(3rem, 4.1vw, 4.5rem) 0; }
main .section-soft, main .section-location {
    background: linear-gradient(180deg, #fff, #f1f1f1);
    border: 0;
}
main .prose { max-width: 80ch; }
main .prose h2 { margin-top: 2.5rem; }
main .prose h2:first-child { margin-top: 0; }
main .narrow { max-width: 900px; }
main .media-split { gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
main .content-figure, main .media-split img, main .gallery figure { border-radius: 16px; }
main .content-figure { margin: 0; }
main .section-intro { max-width: 78ch; }

/* Large, left-aligned type over a still photograph, as on the demo. */
main .home-hero, main .clinic-hero {
    min-height: 690px;
    align-items: center;
}
main .home-hero-content, main .clinic-hero-content, main .hero-content {
    max-width: 1140px;
    padding: 70px 0 90px;
    animation: none;
}
main .home-hero h1, main .clinic-hero h1, main .page-hero h1 {
    font-size: clamp(2.75rem, 5.625vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    max-width: 610px;
    margin-bottom: 2.75rem;
    text-shadow: none;
    overflow-wrap: break-word;
}
main .home-hero .lead, main .clinic-hero .lead, main .page-hero .lead {
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.75;
    color: #fff;
}
main .home-hero-bg {
    background: linear-gradient(90deg, rgba(72,195,228,.56) 46%, transparent 76%),
        url("../img/home-hero-bg.webp") center/cover no-repeat;
    transform: none;
    animation: none;
}
main .clinic-hero-media, main .page-hero-media {
    background: linear-gradient(90deg, rgba(1,204,255,.8), transparent 85%),
        var(--page-hero-image, var(--hero-image)) center/cover no-repeat;
    transform: none;
    animation: none;
}
main .page-hero--media {
    min-height: 540px;
    align-items: center;
    padding: 70px 0 90px;
}
main .page-hero--media h1 { color: #fff; }
/* Keep the veneer portraits in the open space beside the copy. */
@media (min-width: 900px) {
    main .page-hero--smile-right .page-hero-media {
        background: #19bce4;
    }
    main .page-hero--smile-right .page-hero-media::before {
        content: "";
        position: absolute;
        inset: 0 0 0 35%;
        background: var(--page-hero-image) center 42% / cover no-repeat;
    }
    main .page-hero--smile-right .page-hero-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, #19bce4 30%, rgba(25,188,228,.94) 39%, rgba(25,188,228,.55) 52%, transparent 72%);
    }
    main .page-hero--smile-right h1,
    main .page-hero--smile-right .lead { max-width: 48%; }
}
/* Original Divi divider: solid white foreground with translucent overlaps. */
main .hero-wave {
    height: 64px;
    background: url("../img/hero-waves.svg") center bottom / 100% 100% no-repeat;
}
main .clinic-pick { margin-top: 2.75rem; animation: none; }
main .clinic-pick a { border-radius: 16px; padding: .85rem 1.5rem; }
main .clinic-pick strong {
    font-family: "Oswald", sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0;
}
main .clinic-pick span { font-family: "Roboto", sans-serif; font-weight: 400; }
main .btn, main .erbjudande-cta {
    font-family: "Oswald", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0;
    border-radius: 16px;
    padding: .45rem 1.5rem;
}
main .btn-pill, main .btn-hero-dark { background: #1a1a1a; box-shadow: none; }
main .btn-primary { background: var(--content-cyan); box-shadow: none; }
main .btn-secondary { box-shadow: none; }
main .cta-row { gap: 1rem; margin-top: 2rem; }

/* Full-width introduction and photo-backed treatment cards. */
main .section-intro-block .container { max-width: 1140px; text-align: left; }
main .section-intro-block .container > h2:first-child {
    font-size: clamp(2rem, 4.375vw, 3.5rem);
    text-align: left;
    margin-bottom: 2rem;
}
main .section-intro-block p { max-width: none; text-align: left; font-size: 1rem; }
main .treatments-showcase { padding: clamp(3rem, 4.1vw, 4.5rem) 0; }
main .treatments-showcase-bg {
    background: linear-gradient(180deg, rgba(146,211,222,.65), rgba(76,189,211,.75)),
        url("../img/shared/smile-closeup.webp") center/cover no-repeat;
    transform: none;
}
main .treatments-showcase-bg::after { display: none; }
main .treatments-showcase-head { max-width: none; margin-bottom: 3rem; }
main .treatments-showcase-head h2 {
    font-size: clamp(2rem, 4.375vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 2.5rem;
}
main .treatments-showcase-head p { max-width: none; font-size: 1rem; }
main .treatment-cards { gap: 1rem; }
main .treatment-card {
    align-items: flex-start;
    text-align: left;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: none;
}
main .treatment-card-icon { margin: 0 0 1.75rem; }
main .treatment-card h3, main .treatment-card h4 {
    font-family: "Roboto", sans-serif;
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: 700;
}
main .treatment-card p { font-size: 1rem; line-height: 1.7; }
main .treatment-card-link { color: #007f9c; align-self: flex-start; }
main .treatments-showcase-cta { margin-top: 3rem; }
main .treatment-group-title { font-size: 1.75rem; font-weight: 400; margin: 0 0 2rem; }
main .location-card { box-shadow: none; border: 1px solid #e5e5e5; border-radius: 16px; padding: 2rem; }
main .clinic-info .clinic-info-grid { max-width: 1140px; margin-inline: auto; }
main .erbjudande-band { background: linear-gradient(180deg, #e1f7fc, #c4edf5); border: 0; }
main .erbjudande-title, main .erbjudande-percent { font-family: var(--display); font-weight: 400; }

/* Clinic visit information: contact, booking, directions, then the photo gallery. */
main .clinic-info .clinic-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}
main .clinic-panel {
    max-width: none;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: #f1f1f1;
    border-radius: 16px;
}
main .clinic-panel h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); margin: 0 0 1.5rem; }
main .clinic-info-contacts { margin-top: 1.25rem; gap: .65rem; }
main .clinic-info-contacts a { color: #007f9c; overflow-wrap: anywhere; }
main .clinic-panel .hours > div { grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; }
main .clinic-panel .hours > div:first-child { padding-top: 0; }
main .clinic-panel .hours > div:last-child { border-bottom: 0; padding-bottom: 0; }
main .clinic-booking { background: #fff; padding-block: clamp(2.5rem, 5vw, 4rem) 1rem; }
main .clinic-booking-inner { display: block; }
main .clinic-booking-copy { max-width: 46rem; }
main .clinic-booking h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); margin: 0 0 .75rem; }
main .clinic-booking p { margin: 0; }
main .clinic-booking p + p { margin-top: .75rem; }
main .clinic-booking .cta-row { margin: 0; flex-shrink: 0; }
main .clinic-booking .btn { font-size: 1.2rem; padding: .65rem 1.1rem; }
main .clinic-directions-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 3rem; align-items: start; }
main .clinic-directions h2 { font-size: clamp(1.6rem, 2.5vw, 2rem); margin: 0 0 1rem; }
main .clinic-directions .section-intro { text-align: left; margin: 0 0 2rem; }
main .clinic-directions .clinic-info-group--parking { margin-top: 2rem; padding-top: 1.5rem; }
main .clinic-directions .clinic-info-group--parking h2 { font-size: 1.4rem; margin-top: 0; }
main .clinic-directions .map-wrap { border-radius: 16px; }
main .clinic-directions iframe { min-height: 350px; }
main .clinic-gallery { background: var(--logo-bg); }
main .clinic-gallery .gallery-logo { width: 112px; height: auto; margin: 0 0 1rem; }
main .clinic-section-head { margin-bottom: 2rem; }
main .clinic-section-head h2 { margin-bottom: .75rem; }
main .clinic-section-head .section-intro { text-align: left; margin: 0; }
main .clinic-gallery .gallery { gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
main .clinic-gallery .gallery img { aspect-ratio: 4 / 3; }
main .clinic-more { background: #fff; }
main .clinic-more > .container > h2:first-child { text-align: left; margin-bottom: .75rem; }
main .clinic-more-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
main .clinic-more-link { padding: 1rem 0; border-top: 1px solid #d3d3d3; color: #007f9c; font-weight: 700; text-underline-offset: .25em; }
main .clinic-info, main .clinic-directions, main .clinic-booking { scroll-margin-top: calc(var(--header-h) + 4.5rem); }
@media (max-width: 1100px) {
    main .clinic-booking-inner { flex-direction: column; align-items: flex-start; }
    main .clinic-booking .cta-row { flex-shrink: 1; }
}
@media (max-width: 760px) {
    main .clinic-info .clinic-info-grid, main .clinic-directions-grid,
    main .clinic-gallery .gallery, main .clinic-more-links { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    main .clinic-booking .cta-row { width: 100%; }
    main .clinic-booking .btn { flex: 1 1 auto; }
    main .clinic-directions iframe { min-height: 300px; }
    main .clinic-more-links { gap: 0; }
}

/* Treatment breadcrumbs, matching the original divider below the hero. */
main .breadcrumbs {
    padding-block: 1.75rem;
    border-bottom: 1px solid #aaa;
    font-size: .95rem;
}
main .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
main .breadcrumbs li { display: flex; gap: .5rem; min-width: 0; }
main .breadcrumbs [aria-current] { overflow-wrap: anywhere; }
main .breadcrumbs a { color: #007f9c; text-decoration: none; }
main .breadcrumbs a:hover { text-decoration: underline; }
main .breadcrumbs a:focus-visible { outline: 2px solid #007f9c; outline-offset: 4px; }
main .breadcrumb-separator { color: #666; }

/* Editorial layouts from the original: columns, grey topics and a separate FAQ. */
main .editorial-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 5.5%;
    align-items: start;
}
main .editorial-columns > *, main .editorial-grid > * { min-width: 0; }
main .editorial-copy { text-align: left; }
main .editorial-copy h2 { margin-top: 0; text-align: left; }
main .section > .editorial-copy > h2:first-child { text-align: left; margin-inline: 0; }
main .editorial-copy p:last-child { margin-bottom: 0; }
main .editorial-intro { padding-bottom: 1.5rem; }
main .editorial-intro .editorial-copy { max-width: 1140px; }
main .editorial-intro .container > h2:first-child { max-width: 28ch; text-align: left; margin-inline: 0; }
main .editorial-intro p { max-width: 90ch; }
main .editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}
main .editorial-card {
    padding: 2rem;
    border-radius: 16px;
    background: #efefef;
}
main .editorial-card h2 {
    font-size: 1.65rem;
    line-height: 1.15;
    margin: 0 0 1.25rem;
    text-align: left;
    overflow-wrap: break-word;
}
main .editorial-card h3 { margin: 1.5rem 0 .75rem; }
main .editorial-card ul, main .editorial-copy ul {
    padding-left: 1.25rem;
    margin: 0 0 1rem;
}
main .editorial-card li { margin-bottom: .5rem; }
main .editorial-card > :last-child { margin-bottom: 0; }
main .editorial-card--wide { grid-column: span 2; }
main .editorial-muted { background: #efefef; }
main .editorial-media .content-figure { box-shadow: 0 12px 18px rgba(0,0,0,.14); }
main .editorial-media img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
main .editorial-partners .partner-row { justify-content: center; gap: clamp(3rem, 12vw, 10rem); margin-top: 3rem; }
main .editorial-partners .partner-row img { height: 80px; opacity: 1; }
main .editorial-booking {
    background: linear-gradient(rgba(72,195,228,.7), rgba(72,195,228,.7)),
        url("../img/shared/smile-closeup.webp") center / cover;
    padding-block: 2.5rem;
}
main .editorial-booking .cta-row { margin: 0; }
main .editorial-faq > .container > h2 { text-align: center; margin: 0 0 2.5rem; }
main .faq-list { display: grid; gap: .65rem; }
main .faq-item { background: #f1f1f1; border: 1px solid #d3d3d3; }
main .faq-item[open] { background: #fff; }
main .faq-item summary {
    padding: 1.25rem;
    cursor: pointer;
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 400;
}
main .faq-item summary::marker { color: #0088a5; }
main .faq-item summary:focus-visible { outline: 2px solid #0088a5; outline-offset: 3px; }
main .faq-answer { padding: 0 1.25rem 1.25rem; }
main .faq-answer > :last-child { margin-bottom: 0; }
main .editorial-span { grid-column: 1 / -1; }
@media (max-width: 1100px) {
    main .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    main .editorial-card--wide { grid-column: auto; }
    main .editorial-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    main .editorial-columns, main .editorial-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    main .editorial-card { padding: 1.5rem; }
    main .editorial-media img { aspect-ratio: 1.5; }
}

@media (max-width: 1020px) {
    main .container { width: min(88%, 1140px); }
    main .treatment-cards, main .treatment-cards--three, main .treatment-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    main .home-hero h1, main .clinic-hero h1, main .page-hero h1 { max-width: 560px; }
}
@media (max-width: 640px) {
    main .container { width: calc(100% - 2.5rem); }
    main .home-hero, main .clinic-hero { min-height: auto; }
    main .home-hero-content, main .clinic-hero-content, main .hero-content { padding: 3.5rem 0 5rem; }
    main .home-hero h1, main .clinic-hero h1, main .page-hero h1 {
        font-size: clamp(2.25rem, 9vw, 3rem);
        line-height: 1.08;
        margin-bottom: 1.75rem;
        max-width: 100%;
    }
    main .home-hero-bg, main .clinic-hero-media, main .page-hero-media { background-position: 60% center; }
    main .home-hero-bg::after, main .clinic-hero-media::after, main .page-hero-media::after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 91, 116, .35);
    }
    main .page-hero--media { min-height: 380px; padding: 3.5rem 0 5rem; }
    main .treatment-cards, main .treatment-cards--three, main .treatment-card-grid { grid-template-columns: minmax(0, 1fr); }
    main .clinic-pick { gap: .75rem; margin-top: 2rem; }
    main .clinic-pick a { min-width: 0; flex: 1 1 145px; padding: .8rem 1rem; }
    main .btn, main .erbjudande-cta { font-size: 1.25rem; max-width: 100%; text-align: center; }
    main .treatment-card, main .location-card { padding: 1.75rem; }
    main .treatments-showcase-head h2 { margin-bottom: 1.75rem; }
    main .section-intro-block h2 { line-height: 1.2; }
}
/* Clinic enquiries */
.clinic-contact .editorial-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,5vw,80px)}
.contact-form{display:grid;gap:16px;background:#f1f8fa;padding:clamp(20px,3vw,36px);border-radius:20px}
.contact-form label{display:grid;gap:6px;font-weight:600}.contact-form input:not([type=checkbox]),.contact-form textarea,.contact-form select{width:100%;min-width:0;font:inherit;color:#183442;background:white;border:1px solid #819ba8;border-radius:8px;padding:12px}.contact-form .check-label{display:flex;align-items:flex-start;gap:10px;font-weight:400}.check-label input{margin-top:5px;flex:none}.form-note{font-size:.9rem}.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-errors,.form-success{padding:20px;margin-bottom:20px;border:2px solid #286276;border-radius:12px}.form-errors{border-color:#a73732}.offer-terms{max-width:660px;margin:20px auto;line-height:1.6}.contact-form :focus-visible{outline:3px solid #087394;outline-offset:3px}
@media(max-width:760px){.clinic-contact .editorial-columns{grid-template-columns:1fr}}
/* Consent controls: equal-weight accept/reject, optional services off by default. */
[hidden]{display:none!important}.cookie-panel{position:fixed;z-index:10000;bottom:18px;left:50%;transform:translateX(-50%);width:min(100% - 32px,960px);max-height:85vh;overflow:auto;padding:24px;background:#fff;color:#183442;border:1px solid #78939e;border-radius:16px;box-shadow:0 8px 40px #0003;font:15px/1.6 Arial,sans-serif}.cookie-panel h2{font:600 23px/1.3 Arial,sans-serif;margin:0 0 10px}.cookie-panel p{margin:8px 0}.cookie-panel a{color:#00647c;text-decoration:underline}.cookie-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.cookie-actions button,.cookie-reopen{font:600 15px/1.3 Arial,sans-serif;padding:12px 18px;border:1px solid #12637a;border-radius:7px;background:#fff;color:#164557;cursor:pointer}.cookie-actions button:hover{background:#e5f6fa}.cookie-options{padding:16px 0}.cookie-options label{display:block;margin:10px 0}.cookie-options input{margin-right:8px}.cookie-reopen{position:fixed;bottom:12px;left:12px;z-index:9998;display:grid;place-items:center;width:52px;height:52px;padding:0;border:2px solid #fff;border-radius:50%;background:var(--logo-bg, #13affc);color:#fff;box-shadow:0 3px 12px #0003}.cookie-reopen:hover{box-shadow:0 4px 16px #0005}.cookie-reopen svg{display:block}.cookie-link{border:0;padding:0;background:none;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}.cookie-panel :focus-visible,.cookie-reopen:focus-visible{outline:3px solid #007b9a;outline-offset:3px}.map-consent{min-height:350px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:28px;text-align:center;background:#f1f8fa}.map-consent p{max-width:32rem}
@media(max-width:600px){.cookie-panel{padding:18px;bottom:10px}.cookie-actions button{flex:1 1 140px}.cookie-panel h2{font-size:20px}}

.section-languages{background:var(--light, #e6f5f9)}.clinic-languages{margin-top:1.75rem}.clinic-languages p{margin-bottom:0}

.contact-captcha{margin:1.25rem 0;min-width:0}.contact-captcha [data-captcha-widget]{margin-top:.75rem}.contact-captcha [data-captcha-status]:empty{display:none}
