@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    /* Core Brand Colors — Elegant Warm Identity */
    --navy:        #0f1f30;
    --navy-mid:    #1a2f45;
    --navy-dark:   #080f18;
    --gold:        #cfb9a1;   /* light warm taupe */
    --gold-mid:    #b59b7a;   /* mid caramel */
    --gold-dark:   #544236;   /* dark espresso — logo text color */
    --gold-light:  #ddd0c0;
    --gold-muted:  rgba(207,185,161,0.18);

    /* Backgrounds */
    --bg-white:    #FFFFFF;
    --bg-sand:     #f5ede4;
    --bg-warm:     #faf6f2;
    --bg-card:     #FFFFFF;
    --bg-footer:   #0f1f30;

    /* Text */
    --text-dark:   #0f1f30;
    --text-mid:    #5a5248;
    --text-light:  #FFFFFF;
    --text-muted:  rgba(255,255,255,0.72);

    /* Borders */
    --border:      #ddd0c0;
    --border-light: #f5ede4;
    --border-dark: rgba(255,255,255,0.12);

    /* Card variant colors — warm & refined */
    --card-navy:   #0f1f30;
    --card-gold:   #b59b7a;
    --card-beige:  #f5ede4;
    --card-warm:   #ddd0c0;

    /* Typography */
    --serif:  'Playfair Display', Georgia, serif;
    --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --sp-xs:  0.5rem;
    --sp-sm:  1rem;
    --sp-md:  2rem;
    --sp-lg:  3.5rem;
    --sp-xl:  6rem;

    /* Transitions */
    --ease:   all 0.38s cubic-bezier(0.25, 1, 0.5, 1);

    /* Shadows — warm tinted */
    --shadow-sm:  0 2px 12px rgba(15,31,48,0.07);
    --shadow-md:  0 8px 32px rgba(15,31,48,0.11);
    --shadow-lg:  0 20px 60px rgba(15,31,48,0.16);

    --max-w: 1300px;
    --header-h: 88px;

    /* ---- LEGACY ALIASES (backward compat for older pages) ---- */
    --color-primary-navy:       #0f1f30;
    --color-primary-navy-hover: #080f18;
    --color-bg-primary:         #FFFFFF;
    --color-bg-secondary:       #f5ede4;
    --color-bg-card:            #FFFFFF;
    --color-bg-dark:            #0f1f30;
    --color-text-primary:       #0f1f30;
    --color-text-secondary:     #5a5248;
    --color-text-light:         #FFFFFF;
    --color-accent-teal:        #cfb9a1;
    --color-accent-teal-hover:  #b59b7a;
    --color-border:             #ddd0c0;
    --color-border-dark:        #1a2f45;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-soft: 0 2px 12px rgba(15,31,48,0.07);
    --shadow-hover: 0 8px 32px rgba(15,31,48,0.11);
    --transition-smooth: all 0.38s cubic-bezier(0.25, 1, 0.5, 1);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3.5rem;
    --spacing-xl: 6rem;

    /* Teal/gold alias kept for compatibility */
    --teal:        #cfb9a1;
    --teal-hover:  #b59b7a;
}

/* ============================================================
   BILINGUAL SYSTEM
   ============================================================ */
body:not(.lang-en) :not(body).lang-en { display: none !important; }
body.lang-en :not(body).lang-no       { display: none !important; }

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

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

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-sand); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Links & Images */
a { color: inherit; text-decoration: none; transition: var(--ease); }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.01em;
    color: var(--text-dark);
}

p { color: var(--text-mid); line-height: 1.7; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.2rem, 4vw, 2.5rem);
}

.section {
    padding: var(--sp-xl) 0;
    border-bottom: 1px solid var(--border);
}

.section--sand { background: var(--bg-sand); }
.section--white { background: var(--bg-white); }
.section--navy { background: var(--navy); color: var(--text-light); }
.section--no-border { border-bottom: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 3px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.08);
    opacity: 0;
    transition: opacity 0.25s;
}
.btn:hover::before { opacity: 1; }

/* Primary – Navy filled */
.btn-navy {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.btn-navy:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15,31,48,0.28);
}

/* Outline – Navy border */
.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-1px);
}

/* White – for dark backgrounds */
.btn-white {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.45);
    backdrop-filter: blur(6px);
}
.btn-white:hover {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

/* Small variant */
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.78rem; }

/* Header specific buttons */
.btn-header-navy {
    background: var(--navy);
    color: #fff;
    border: 1.5px solid var(--navy);
    padding: 0.6rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--ease);
    cursor: pointer;
    white-space: nowrap;
}
.btn-header-navy:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    transform: translateY(-1px);
}

.btn-header-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--border);
    padding: 0.6rem 1.1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--ease);
    cursor: pointer;
    white-space: nowrap;
}
.btn-header-outline:hover {
    border-color: var(--navy);
    background: rgba(15,31,48,0.04);
    transform: translateY(-1px);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--ease);
}

.header.scrolled {
    height: 72px;
    box-shadow: 0 2px 20px rgba(11,44,84,0.07);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1.2rem;
}

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo {
    height: 40px;
    width: auto;
    max-width: 280px;
    transition: var(--ease);
}
.logo:hover .site-logo { transform: scale(1.03); }
.footer-logo { height: 32px; width: auto; }

/* Mobile: shrink logo so it doesn't overflow */
/* Web logo ratio: 1235×269 = 4.59:1 → at h=40px, w≈184px */
@media (max-width: 600px) {
    .site-logo { height: 24px; width: auto; }
    .footer-logo { height: 22px; width: auto; }
}

/* Nav Menu */
.nav-bar { flex: 1; display: flex; justify-content: center; }
.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(0.9rem, 1.8vw, 1.8rem);
}

.nav-link {
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-dark);
    position: relative;
    padding: 0.4rem 0;
    white-space: nowrap;
    transition: color 0.25s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--navy);
    transition: var(--ease);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover { color: var(--navy); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--navy); }

/* Dropdown — gap-free hover */
.dropdown-trigger { position: relative; }

.dropdown-menu {
    position: absolute;
    /* Sit flush at 100% then use padding-top for visual gap */
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    min-width: 210px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    /* Top padding acts as the visual gap without losing hover */
    padding: 0.7rem 0 0.5rem;
}

/* Invisible bridge: fills the gap between trigger and menu */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.dropdown-trigger:hover .dropdown-menu,
.dropdown-trigger:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Keep menu alive when mouse is over it */
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dropdown-menu li a {
    display: block;
    padding: 0.65rem 1.4rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}
.dropdown-menu li a:hover {
    background: var(--bg-sand);
    color: var(--navy);
    padding-left: 1.7rem;
}

.dropdown-arrow {
    display: inline-block;
    transition: transform 0.25s;
    font-size: 0.72rem;
    vertical-align: middle;
    margin-left: 4px;
}
.dropdown-trigger:hover .dropdown-arrow { transform: rotate(180deg); }

/* Nav CTAs */
.nav-ctas {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

/* Language Selector */
.lang-select-wrapper { position: relative; display: inline-flex; align-items: center; }
.lang-select {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dark);
    font-family: var(--sans);
    font-size: 0.73rem;
    font-weight: 600;
    padding: 0.45rem 1.8rem 0.45rem 0.7rem;
    border-radius: 3px;
    cursor: pointer;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230f1f30' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 7px center;
    transition: var(--ease);
}
.lang-select:hover { border-color: var(--navy); }

/* Hamburger */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    position: absolute;
    left: 0;
    border-radius: 1px;
    transition: var(--ease);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 1100px) {
    .hamburger { display: block; }
    .nav-bar { display: none; }
    .nav-ctas { display: none; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(85%, 380px);
        height: 100dvh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5.5rem 2rem 3rem 2rem;
        gap: 1.6rem;
        box-shadow: -10px 0 40px rgba(0,0,0,0.10);
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .nav-menu.active { right: 0; }
    /* Gold top accent for mobile drawer */
    .nav-menu.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--gold-dark), var(--gold-mid));
        border-radius: 0 0 2px 2px;
    }
    .nav-link { font-size: 1.05rem; white-space: nowrap; }
    .nav-menu .drawer-ctas {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
        margin-top: var(--sp-sm);
        border-top: 1px solid var(--border);
        padding-top: var(--sp-sm);
    }
    .dropdown-trigger .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid var(--border) !important;
        border-radius: 0 !important;
        padding: 0.2rem 0 0.2rem 1.2rem !important;
        margin-left: 0.2rem !important;
        display: none;
        background: transparent !important;
        min-width: auto !important;
        transition: none !important;
    }
    .dropdown-trigger.open .dropdown-menu { display: block !important; }
    .dropdown-trigger.open .dropdown-arrow { transform: rotate(180deg) !important; }
    .dropdown-trigger:hover .dropdown-arrow { transform: none; }
    .dropdown-menu li a { padding: 0.4rem 0; font-size: 0.95rem; color: var(--text-mid); }
    .nav-bar { display: flex; }
    .nav-bar { position: fixed; inset: 0; right: auto; pointer-events: none; }
    .nav-bar .nav-menu { pointer-events: auto; }
}
@media (min-width: 1101px) {
    .drawer-ctas { display: none !important; }
}

/* ============================================================
   HERO — 2-COLUMN SPLIT LAYOUT
   ============================================================ */
.hero {
    padding-top: calc(var(--header-h) + var(--sp-lg));
    padding-bottom: var(--sp-lg);
    background: var(--bg-sand);
    overflow: hidden;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.hero-left-col {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.hero-tagline {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-mid);
    display: block;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--navy);
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-mid);
    font-weight: 400;
    max-width: 480px;
    line-height: 1.65;
}

.hero-actions-row {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* Arched image right col */
.hero-right-col {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-arched-image-wrapper {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 4/3;
    border-radius: 200px 200px 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-arched-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: saturate(0.9) brightness(0.97);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.hero-arched-image-wrapper:hover img {
    filter: saturate(1.0) brightness(1.0);
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-md);
    }
    .hero-right-col { justify-content: center; }
    .hero-arched-image-wrapper { max-width: 380px; }
    
    #concept-grid {
        grid-template-columns: 1fr !important;
        gap: var(--sp-md) !important;
    }
    #concept-media {
        height: 260px !important;
    }
}

/* On very small screens, hide the image to give text full space */
@media (max-width: 500px) {
    .hero-right-col { display: none; }
    .hero {
        padding-top: calc(var(--header-h) + var(--sp-md));
        padding-bottom: var(--sp-md);
    }
    .hero-split-grid { gap: var(--sp-sm); }
}

/* ============================================================
   SUBPAGE HERO (lighter)
   ============================================================ */
.subpage-hero {
    padding-top: calc(var(--header-h) + var(--sp-lg));
    padding-bottom: var(--sp-lg);
    background: var(--bg-sand);
    border-bottom: 1px solid var(--border);
}

.subpage-hero .hero-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

/* ============================================================
   QUICK-ACTION ICON BAR (4 items row) — colored blocks
   ============================================================ */
.quick-bar {
    background: var(--bg-white);
    padding: 0;
    border-bottom: none;
}

.quick-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.quick-bar-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.5rem 1.8rem;
    cursor: pointer;
    transition: filter 0.22s ease, transform 0.22s ease;
    text-decoration: none;
    border-right: none;
}
.quick-bar-item:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    background: inherit;
}

/* Item 1 — Navy (darkest) */
#quick-book {
    background: var(--navy);
}
#quick-book .quick-bar-icon { color: var(--gold); }
#quick-book .quick-bar-text strong { color: #fff; }
#quick-book .quick-bar-text span { color: rgba(255,255,255,0.65); }

/* Item 2 — Mid caramel */
#quick-digital {
    background: var(--gold-mid);
}
#quick-digital .quick-bar-icon { color: #fff; }
#quick-digital .quick-bar-text strong { color: #fff; }
#quick-digital .quick-bar-text span { color: rgba(255,255,255,0.75); }

/* Item 3 — Light taupe */
#quick-recipe {
    background: var(--gold);
}
#quick-recipe .quick-bar-icon { color: var(--navy); }
#quick-recipe .quick-bar-text strong { color: var(--navy); }
#quick-recipe .quick-bar-text span { color: rgba(15,31,48,0.65); }

/* Item 4 — Espresso brown */
#quick-switch {
    background: var(--gold-dark);
}
#quick-switch .quick-bar-icon { color: var(--gold); }
#quick-switch .quick-bar-text strong { color: #fff; }
#quick-switch .quick-bar-text span { color: rgba(255,255,255,0.65); }

.quick-bar-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-bar-icon svg { width: 26px; height: 26px; stroke-width: 1.6; }

.quick-bar-text strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
    font-family: var(--sans);
}

.quick-bar-text span {
    font-size: 0.75rem;
}

@media (max-width: 860px) {
    .quick-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-bar-item:nth-child(2) { border-right: none; }
}

@media (max-width: 500px) {
    .quick-bar-grid { grid-template-columns: 1fr; }
    .quick-bar-item { border-right: none; }
}

/* ============================================================
   DEPARTMENT CARDS (4-column tall blocks)
   ============================================================ */
.dept-cards-section {
    padding: var(--sp-md) 0 var(--sp-lg);
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.dept-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.dept-card {
    display: flex;
    flex-direction: column;
    padding: 2.2rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.dept-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    background: rgba(255,255,255,0.08);
}
.dept-card:hover::after { opacity: 1; }

.dept-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.dept-card.navy  { background: var(--card-navy);  color: #fff; }
.dept-card.teal  { background: var(--card-gold);  color: #fff; }
.dept-card.beige { background: var(--card-beige); color: var(--navy); }
.dept-card.sage  { background: var(--card-warm);  color: var(--navy); }

.card-icon-wrapper {
    width: 72px;
    height: 72px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-wrapper svg { width: 60px; height: 60px; }

.dept-card.navy  .card-icon-wrapper { color: rgba(255,255,255,0.85); }
.dept-card.teal  .card-icon-wrapper { color: rgba(255,255,255,0.85); }
.dept-card.beige .card-icon-wrapper { color: var(--navy); }
.dept-card.sage  .card-icon-wrapper { color: var(--navy); }

/* Gold accent on card descriptions for warm cards */
.dept-card.teal  .card-description { color: rgba(255,255,255,0.82); }

.dept-card .card-title {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: inherit;
}

.dept-card .card-description {
    font-size: 0.85rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.dept-card.navy  .card-description { color: rgba(255,255,255,0.78); }
.dept-card.beige .card-description,
.dept-card.sage  .card-description { color: rgba(15,31,48,0.72); }

.card-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: auto;
    opacity: 0.85;
    transition: gap 0.25s, opacity 0.25s;
}

.dept-card:hover .card-arrow-link {
    gap: 0.7rem;
    opacity: 1;
}

@media (max-width: 1050px) { .dept-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .dept-cards-grid { grid-template-columns: 1fr; } }

/* ============================================================
   NEWS / AKTUELT BANNER
   ============================================================ */
.news-banner {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--bg-sand);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.1rem 1.6rem;
    position: relative;
    transition: box-shadow 0.25s;
}
.news-banner:hover { box-shadow: var(--shadow-sm); }

.news-badge {
    width: 42px;
    height: 42px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.news-badge svg { width: 20px; height: 20px; }

.news-headline {
    display: flex;
    align-items: center;
    gap: 0.5rem 1.5rem;
    flex-wrap: wrap;
    flex: 1;
}

.news-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.news-bullet {
    font-size: 0.82rem;
    color: var(--text-mid);
    position: relative;
    padding-left: 1rem;
}
.news-bullet::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--teal);
}

.news-banner-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.22s;
    flex-shrink: 0;
}
.news-banner-link:hover { gap: 0.6rem; }

/* ============================================================
   WHY-US GRID
   ============================================================ */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-us-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-us-icon-wrapper {
    width: 44px;
    height: 44px;
    background: var(--bg-sand);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy);
    transition: background 0.25s;
}
.why-us-item:hover .why-us-icon-wrapper { background: var(--gold-muted); }
.why-us-icon-wrapper svg { width: 22px; height: 22px; }

.why-us-content h3 {
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.why-us-content p {
    font-size: 0.82rem;
    color: var(--text-mid);
    line-height: 1.55;
}

@media (max-width: 960px) { .why-us-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .why-us-grid { grid-template-columns: 1fr; } }

/* ============================================================
   DOCTORS LIST (Fastleger page)
   ============================================================ */
.doctors-section-layout {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto auto;
    gap: 1rem 2rem;
    align-items: start;
}

/* Simplified 2-col + sidebar layout */
.fastleger-main-grid {
    display: grid;
    grid-template-columns: 1fr max-content max-content;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 1100px) { .fastleger-main-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .fastleger-main-grid { grid-template-columns: 1fr; } }

/* Doctor card */
.doctor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

@media (max-width: 600px) { .doctor-grid { grid-template-columns: 1fr; } }

.doctor-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--ease);
}

.doctor-card:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow-sm);
    transform: translateX(2px);
}

.doctor-avatar {
    width: 38px;
    height: 38px;
    background: var(--bg-sand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-mid);
}
.doctor-avatar svg { width: 22px; height: 22px; }

.doctor-info { flex: 1; min-width: 0; }
.doctor-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.doctor-specialty {
    font-size: 0.75rem;
    color: var(--text-mid);
    display: block;
}

.doctor-arrow {
    color: var(--text-mid);
    font-size: 0.85rem;
    transition: transform 0.22s, color 0.22s;
}
.doctor-card:hover .doctor-arrow { transform: translateX(3px); color: var(--navy); }

/* Doctors see-all link */
.see-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    transition: gap 0.22s;
}
.see-all-link:hover { gap: 0.6rem; }

/* ============================================================
   PRACTICAL INFO SIDEBAR CARD
   ============================================================ */
.practical-info-card {
    background: var(--bg-sand);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.6rem;
    min-width: 240px;
}

.practical-info-card h3 {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--navy);
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
}

.practical-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.practical-info-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.practical-info-item-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--navy);
    margin-top: 1px;
}
.practical-info-item-icon svg { width: 18px; height: 18px; }

.practical-info-item-content strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
    font-family: var(--sans);
}

.practical-info-item-content span,
.practical-info-item-content a {
    font-size: 0.82rem;
    color: var(--text-mid);
    line-height: 1.5;
    display: block;
}

.practical-info-item-content a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Opening Hours card (standalone) */
.hours-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.6rem;
    min-width: 200px;
}

.hours-card h3 {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hours-card h3 svg { width: 16px; height: 16px; }

.hours-card p {
    font-size: 0.82rem;
    color: var(--text-mid);
    line-height: 1.55;
}

/* Lab hours card */
.lab-card {
    background: var(--bg-sand);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.6rem;
    min-width: 200px;
}

.lab-card h3 {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.lab-card h3 svg { width: 16px; height: 16px; }
.lab-card p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.55; }

/* ============================================================
   SPECIALISTS PAGE — BENEFITS BAR
   ============================================================ */
.highlights-benefits-bar {
    display: grid;
    grid-template-columns: 1fr max-content;
    gap: 2rem;
    align-items: center;
}

.benefits-grid {
    display: flex;
    gap: 2.5rem;
}

.benefit-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    flex-shrink: 0;
}
.benefit-icon svg { width: 24px; height: 24px; }

.benefit-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
    font-family: var(--sans);
}
.benefit-desc { font-size: 0.78rem; color: var(--text-mid); line-height: 1.4; }

.mini-news-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--navy);
    border-radius: 6px;
    padding: 1rem 1.4rem;
    max-width: 320px;
    transition: box-shadow 0.25s;
}
.mini-news-banner:hover { box-shadow: var(--shadow-md); }

.mini-news-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.mini-news-icon svg { width: 18px; height: 18px; }

.mini-news-text {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
}
.mini-news-text strong { color: #fff; display: block; margin-bottom: 3px; }
.mini-news-text a {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

@media (max-width: 1000px) {
    .highlights-benefits-bar { grid-template-columns: 1fr; }
    .mini-news-banner { max-width: 100%; }
    .benefits-grid { flex-wrap: wrap; gap: 1.5rem; }
}

/* ============================================================
   SPECIALISTS GRID + LAYOUT
   ============================================================ */
.specialists-section-layout {
    display: grid;
    grid-template-columns: 1fr max-content;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 900px) { .specialists-section-layout { grid-template-columns: 1fr; } }

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

@media (max-width: 900px) { .specialists-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .specialists-grid { grid-template-columns: 1fr; } }

.specialist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.7rem;
    padding: 1.6rem 1rem;
    background: var(--bg-sand);
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: var(--ease);
    cursor: pointer;
}
.specialist-card:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.specialist-avatar-wrapper {
    width: 70px;
    height: 70px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    transition: border-color 0.25s;
}
.specialist-card:hover .specialist-avatar-wrapper { border-color: var(--navy); }
.specialist-avatar-wrapper svg { width: 32px; height: 32px; }

.specialist-name {
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
}

.specialist-title {
    font-size: 0.76rem;
    color: var(--text-mid);
    line-height: 1.4;
}

.specialist-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 0.2rem;
    transition: gap 0.22s;
}
.specialist-link:hover { gap: 0.55rem; }

/* ============================================================
   CONTACT CTA BANNER (navy bar)
   ============================================================ */
.contact-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: var(--navy);
    border-radius: 8px;
    padding: 2rem 2.5rem;
}

.contact-cta-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.contact-cta-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.contact-cta-icon-wrapper svg { width: 24px; height: 24px; }

.contact-cta-text h2 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.25rem;
}
.contact-cta-text p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.78);
}

@media (max-width: 700px) {
    .contact-cta-banner { flex-direction: column; text-align: center; }
    .contact-cta-left { flex-direction: column; text-align: center; }
}

/* ============================================================
   CTA STRIP (before footer - sand tone)
   ============================================================ */
.cta-strip {
    background: var(--navy);
    padding: var(--sp-md) 0;
}

.cta-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-strip-text h2 {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.3rem;
}
.cta-strip-text p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.76);
}

.cta-strip-actions {
    display: flex;
    gap: 0.9rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.premium-footer {
    background: var(--bg-sand);
    border-top: 1px solid var(--border);
    padding: var(--sp-lg) 0 0;
}

.premium-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 3rem;
    padding-bottom: var(--sp-lg);
}

@media (max-width: 960px) { .premium-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .premium-footer-grid { grid-template-columns: 1fr; } }

.premium-footer-col h3 {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--navy);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.premium-footer-col h3 svg { width: 16px; height: 16px; }

.premium-footer-content p {
    font-size: 0.82rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin-bottom: 0.6rem;
}

.premium-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--navy);
    transition: gap 0.22s;
}
.premium-footer-link:hover { gap: 0.6rem; }

/* Footer bottom bar */
.premium-footer-bottom {
    background: var(--navy);
    padding: 1.2rem 0;
    margin-top: 0;
}

.premium-footer-bottom-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.premium-footer-logo img {
    height: 70px;
    width: auto;
    max-width: none;
    display: block;
    filter: brightness(0) invert(1);
}
@media (max-width: 768px) {
    .premium-footer-logo img { height: 52px; }
}

.premium-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.premium-footer-bottom-links li a {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.22s;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.premium-footer-bottom-links li a:hover { color: #fff; }

.premium-footer-copyright {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}
.social-icon {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    transition: var(--ease);
}
.social-icon:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-sand); }
.social-icon svg { width: 14px; height: 14px; }

/* ============================================================
   MISC / SHARED COMPONENTS
   ============================================================ */

/* Timetable */
.timetable-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}
.timetable-table th {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--navy);
    padding: 0.6rem 1rem;
    background: var(--bg-sand);
    border-bottom: 2px solid var(--border);
    text-align: left;
}
.timetable-table td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-mid);
}
.timetable-table tr:last-child td { border-bottom: none; }
.timetable-table tr:hover td { background: rgba(15,31,48,0.03); }

/* Section heading row */
.section-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.section-title-serif {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
}

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

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

.animate-in {
    animation: fadeSlideUp 0.55s cubic-bezier(0.25, 1, 0.5, 1) both;
}

.animate-in:nth-child(2) { animation-delay: 0.08s; }
.animate-in:nth-child(3) { animation-delay: 0.16s; }
.animate-in:nth-child(4) { animation-delay: 0.24s; }

/* Intersection observer triggered */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 768px) {
    :root { --sp-lg: 2.5rem; --sp-xl: 4rem; }
    .hero-actions-row { flex-direction: column; align-items: flex-start; }
    .cta-strip-inner { flex-direction: column; text-align: center; }
    .cta-strip-actions { justify-content: center; }
    
    /* Responsive News Banner */
    .news-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 1.1rem 1.4rem;
    }
    .news-badge {
        display: none;
    }
    .news-headline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        width: 100%;
    }
    .news-bullet {
        padding-left: 0.8rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 580px) {
    .hero-actions-row {
        width: 100%;
        flex-direction: column;
        gap: 0.6rem;
    }
    .hero-actions-row .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Fix: ensure section headings inside body look good */
.section-h2 {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 400;
    color: var(--navy);
    margin-bottom: var(--sp-md);
}

/* Inline icon sizes for footer */
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ============================================================ */

/* --- Small mobile header --- */
@media (max-width: 480px) {
    :root { --header-h: 68px; }
    .header.scrolled { height: 60px; }
    .nav-wrapper { gap: 0.8rem; }
}

/* --- Buttons full-width on mobile --- */
@media (max-width: 580px) {
    .hero-actions-row {
        width: 100%;
        flex-direction: column;
        gap: 0.7rem;
    }
    .hero-actions-row .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Quick bar 1-col on very small screens --- */
@media (max-width: 420px) {
    .quick-bar-grid { grid-template-columns: 1fr; }
    .quick-bar-item { border-right: none; border-bottom: 1px solid var(--border); }
    .quick-bar-item:last-child { border-bottom: none; }
    .quick-bar-item:nth-child(2) { border-right: none; }
    .quick-bar-item:nth-child(3) { border-top: none; }
}

/* --- Department cards single col on mobile --- */
@media (max-width: 580px) {
    .dept-cards-grid { grid-template-columns: 1fr; }
    .dept-card { padding: 1.8rem 1.4rem; }
}

/* --- Why Us: 1 col on mobile --- */
@media (max-width: 480px) {
    .why-us-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* --- Specialists grid: 2-col stays, but tighten on very small --- */
@media (max-width: 380px) {
    .specialists-grid { grid-template-columns: 1fr; }
    .specialist-card { padding: 1.2rem 0.8rem; }
}

/* --- CTA banner stack on mobile --- */
@media (max-width: 640px) {
    .contact-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.6rem 1.4rem;
        gap: 1.2rem;
    }
    .contact-cta-left { flex-direction: column; align-items: center; }
    .contact-cta-icon-wrapper { width: 44px; height: 44px; }
}

/* --- CTA strip: stack on mobile --- */
@media (max-width: 640px) {
    .cta-strip-inner { flex-direction: column; text-align: center; gap: 1.2rem; }
    .cta-strip-actions { justify-content: center; flex-wrap: wrap; }
    .cta-strip-actions .btn { flex: 1; min-width: 140px; justify-content: center; }
}

/* --- Footer fixes on mobile --- */
@media (max-width: 640px) {
    .premium-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .premium-footer-bottom-wrapper { flex-direction: column; text-align: center; gap: 1rem; }
    .premium-footer-bottom-links { justify-content: center; gap: 1rem; }
}

/* --- News banner tighten --- */
@media (max-width: 768px) {
    :root { --sp-lg: 2.5rem; --sp-xl: 4rem; }
    .news-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 1.1rem 1.2rem;
    }
    .news-badge { display: none; }
    .news-headline { flex-direction: column; align-items: flex-start; gap: 0.4rem; width: 100%; }
    .news-bullet { padding-left: 0.8rem; font-size: 0.82rem; }
}

/* --- Highlights benefits bar mobile --- */
@media (max-width: 640px) {
    .highlights-benefits-bar { grid-template-columns: 1fr; }
    .benefits-grid { flex-direction: column; gap: 1.2rem; }
    .mini-news-banner { max-width: 100%; }
}

/* --- Doctor grid 1-col on small mobile --- */
@media (max-width: 480px) {
    .doctor-grid { grid-template-columns: 1fr; }
    .fastleger-main-grid { grid-template-columns: 1fr; }
}

/* --- Section heading row stack on mobile --- */
@media (max-width: 500px) {
    .section-heading-row { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}

/* --- Subpage hero: tighten spacing on mobile --- */
@media (max-width: 600px) {
    .subpage-hero { padding-top: calc(var(--header-h) + var(--sp-md)); padding-bottom: var(--sp-md); }
    .subpage-hero .hero-title { font-size: clamp(1.7rem, 7vw, 2.5rem); }
}

/* --- Container padding tighter on very small screens --- */
@media (max-width: 380px) {
    .container { padding: 0 1rem; }
}
