/* Dr. Carolin Sonne – theme + Bootstrap overrides */


/* Root variables for theme */

:root {
    --bg-page: #ffffff;
    --bg-alt: #f6f7fa;
    --bg-card: #ffffff;
    --bg-footer: #0f172a;
    --bg-footer-alt: #1e2538;
    --text-main: #1a1a1a;
    --text-soft: #6b7280;
    --text-invert: #ffffff;
    --text-invert-soft: rgba(255, 255, 255, 0.7);
    --brand-main: #be1e2f;
    --brand-main-hover: #9e1826;
    --brand-footer: #8b1522;
    --brand-footer-bottom: #6b0f1a;
    --border-soft: #e5e7eb;
    --radius-lg: 1rem;
    --radius-md: .75rem;
    --radius-sm: .5rem;
    --font-body: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --container-max: 1280px;
    --container-pad-x: clamp(1rem, 2vw, 2rem);
}


/* Basic reset */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration: none;
}


/* Container: keep our max-width when used with Bootstrap */

.container {
    max-width: var(--container-max);
    padding-left: var(--container-pad-x);
    padding-right: var(--container-pad-x);
}


/* Text helpers */

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 0.4vw + 1.3rem, 2rem);
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.2;
    margin: 0 0 .5rem 0;
}

.section-desc {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-soft);
    max-width: 48ch;
    margin: 0;
}

.eyebrow {
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 600;
    color: var(--brand-main);
    letter-spacing: .05em;
    margin-bottom: .5rem;
}

.small-fade {
    font-size: .875rem;
    color: var(--text-soft);
}

.link-clean {
    color: var(--text-main);
    text-decoration: none;
}

.link-clean:hover {
    text-decoration: underline;
}

.amp {
    font-family: var(--font-display);
    font-weight: inherit;
    font-style: inherit;
}


/* Buttons */

.btn-primary,
.btn-outline,
.btn-about-secondary,
.btn-xl,
.btn-full,
.small-cta {
    display: inline-block;
    text-align: center;
    font-weight: 600;
    border-radius: var(--radius-md);
    line-height: 1.2;
    cursor: pointer;
    transition: all .17s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--brand-main);
    color: var(--text-invert);
    padding: .75rem 1rem;
    border: 1px solid var(--brand-main);
}

.btn-primary:hover {
    background-color: var(--brand-main-hover);
    border-color: var(--brand-main-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-soft);
    padding: .75rem 1rem;
}

.btn-outline:hover {
    color: var(--brand-main);
    border-color: var(--brand-main);
}

.btn-about-secondary {
    background-color: transparent;
    color: var(--brand-main);
    padding: .75rem 1rem;
    border: 1px solid var(--brand-main);
}

.btn-about-secondary:hover {
    background-color: var(--brand-main);
    color: var(--text-invert);
    border-color: var(--brand-main);
}

.btn-xl {
    font-size: 1rem;
    padding-top: .9rem;
    padding-bottom: .9rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border-radius: var(--radius-md);
}

.btn-full {
    width: 100%;
    padding-top: .9rem;
    padding-bottom: .9rem;
    border-radius: var(--radius-md);
}

.small-cta {
    font-size: .8rem;
    padding: .5rem .75rem;
}


/* ========================= */


/* HEADER                    */


/* ========================= */


/* Header: top row + nav row */

.site-header {
    background-color: #fff !important;
    position: sticky;
    top: 0;
    z-index: 1030;
    overflow-x: clip;
}

.site-header-main.navbar {
    background-color: #fff !important;
    border-bottom: 1px solid var(--border-soft);
    padding-top: 0;
    padding-bottom: 0;
}

.site-header-main-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    width: 100%;
}

.site-header-brand {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(17.5rem, calc(100% - 3.25rem));
    margin-right: 0;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    white-space: normal;
}

.site-header-brand picture {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: block;
    line-height: 0;
}

.site-header .brand-img {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    object-fit: contain;
    flex-shrink: 0;
}

.site-header .brand-text {
    min-width: 0;
    flex: 1 1 auto;
}

.site-header .brand-line1,
.site-header .brand-line2 {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.site-header-main .navbar-toggler {
    flex-shrink: 0;
    margin-left: auto;
}

.site-header-top {
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
    background: #fff;
}

.site-header-top-inner {
    min-height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    min-width: 0;
}

.site-header-contact-item {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.35;
    min-width: 0;
    max-width: 100%;
}

.site-header-contact-icon {
    color: var(--brand-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
}

.site-header-contact-label {
    color: var(--text-secondary);
    font-weight: 600;
    flex-shrink: 0;
}

.site-header-contact-value {
    color: var(--text-main);
    text-decoration: none;
    min-width: 0;
    overflow-wrap: anywhere;
}

.site-header-contact-value:hover {
    color: var(--brand-main);
}

.site-header .navbar-nav .nav-link {
    color: var(--text-main);
    font-weight: 500;
}

.site-header .navbar-nav .nav-link:hover {
    color: var(--brand-main);
}

.site-header .navbar-nav .nav-link.active,
.site-header .navbar-nav .nav-link.active:hover {
    color: var(--brand-main);
}

.site-header .btn-primary {
    background-color: var(--brand-main);
    border-color: var(--brand-main);
    white-space: nowrap;
    flex-shrink: 0;
}

.site-header .btn-primary:hover {
    background-color: var(--brand-main-hover);
    border-color: var(--brand-main-hover);
}

.site-header .lang-switch-wrapper {
    display: flex;
    flex-shrink: 0;
}

.site-header .lang-switch-wrapper .btn.active {
    background-color: var(--brand-main);
    border-color: var(--brand-main);
    color: #fff;
}

.site-header-actions {
    flex: 0 0 auto;
    flex-shrink: 0;
    gap: clamp(0.4rem, 1vw, 1rem);
}

.site-header-nav {
    min-width: 0;
}

.header-inner {
    min-height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.brand-logo {
    color: var(--brand-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon {
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-line1 {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-main);
}

.brand-line2 {
    font-size: .75rem;
    color: var(--text-soft);
}


/* Nav desktop */

.main-nav {
    display: none;
    gap: 1.5rem;
}

.nav-link {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-main);
}

.nav-link:hover {
    color: var(--brand-main);
}

.nav-link.active,
.nav-link.active:hover {
    color: var(--brand-main);
}


/* Header CTA hidden on small */

.header-cta {
    display: none;
}


/* Mobile menu button */

.mobile-menu-toggle {
    background: none;
    border: 0;
    padding: .5rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all .17s;
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Mobile nav panel */

.mobile-nav-panel {
    background-color: #fff;
    border-top: 1px solid var(--border-soft);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 1rem var(--container-pad-x);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.07);
}

.mobile-nav-panel.open {
    display: flex;
}

.mobile-nav-link {
    padding: .75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-soft);
}

.mobile-cta {
    margin-top: 1rem;
    font-size: .9rem;
}


/* Desktop breakpoint */

@media(min-width:768px) {
    .mobile-menu-toggle {
        display: none;
    }
    .mobile-nav-panel {
        display: none !important;
    }
    .main-nav {
        display: flex;
    }
    .header-cta {
        display: block;
    }
    .brand-line1 {
        font-size: 1rem;
    }
    .brand-line2 {
        font-size: .8rem;
    }
}

@media (max-width: 767.98px) {
    .site-header-top-inner {
        justify-content: center;
        gap: 0.5rem 0.75rem;
        flex-wrap: wrap;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }
    .site-header-contact-item {
        font-size: 0.73rem;
        justify-content: center;
        text-align: center;
    }
    .site-header-main #navbarMain > .d-flex #nav_appointments,
    .site-header-main #navbarMain > .site-header-actions #nav_appointments {
        display: none !important;
    }
    .site-header-top-inner #nav_appointments {
        display: inline-flex;
        align-items: center;
        align-self: center;
        flex-shrink: 0;
        font-size: 0.68rem;
        padding: 0.28rem 0.5rem;
        line-height: 1.25;
        white-space: nowrap;
    }
    .site-header-brand {
        max-width: calc(100% - 3.25rem);
    }
}

@media (max-width: 575.98px) {
    .site-header-top-inner {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
    }
    .site-header-contact-item {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 1200px) {
    .site-header-brand {
        max-width: min(16.5rem, 28%);
    }
    .site-header-main .navbar-toggler {
        margin-left: 0;
    }
    .site-header-main #navbarMain {
        flex: 1 1 auto;
        min-width: 0;
        display: flex !important;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        gap: clamp(0.5rem, 1.2vw, 1rem);
    }
    .site-header-nav {
        flex: 1 1 auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        column-gap: clamp(0.35rem, 1.1vw, 1rem);
        row-gap: 0.1rem;
        margin-bottom: 0 !important;
    }
    .site-header-nav .nav-link {
        white-space: nowrap;
        padding: 0.5rem 0.15rem;
        font-size: clamp(0.78rem, 0.62rem + 0.28vw, 0.9rem);
        line-height: 1.2;
    }
    .site-header-actions {
        margin-left: 0.15rem;
    }
}

@media (min-width: 1400px) {
    .site-header-brand {
        max-width: min(18rem, 30%);
    }
    .site-header-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.55rem 0.2rem;
    }
}

@media (max-width: 1199.98px) {
    body.mobile-menu-open {
        overflow: hidden;
    }
    .site-header-main .navbar-toggler {
        position: relative;
        z-index: 1061;
    }
    .site-header-main .navbar-toggler.menu-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .site-header-main #navbarMain {
        position: fixed;
        inset: 0;
        z-index: 1060;
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1rem;
        width: 100%;
        max-width: 100vw;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh;
        min-height: 100dvh;
        padding: 1.25rem var(--container-pad-x) calc(24px + env(safe-area-inset-bottom, 0px));
        padding-top: calc(1.25rem + env(safe-area-inset-top, 0px));
        background: #fff;
        border-left: 1px solid var(--border-soft);
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.12);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.28s ease, opacity 0.2s ease;
    }
    .site-header-main #navbarMain.show,
    .site-header-main #navbarMain.collapsing {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .site-header-main #navbarMain.collapsing {
        height: 100vh !important;
        height: 100dvh !important;
        transition: transform 0.28s ease, opacity 0.2s ease !important;
    }
    .site-header-main #navbarMain.drawer-closing {
        transform: translateX(100%);
        opacity: 0;
        visibility: visible;
        pointer-events: none;
    }
    .mobile-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--border-soft);
        padding-bottom: 0.75rem;
        margin-bottom: 0.25rem;
        flex-shrink: 0;
    }
    .mobile-drawer-title {
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-main);
    }
    .mobile-drawer-close {
        border: 0;
        background: transparent;
        font-size: 1.8rem;
        line-height: 1;
        color: var(--text-main);
        padding: 0.1rem 0.25rem;
    }
    .site-header-main #navbarMain .navbar-nav {
        width: 100%;
        margin: 0 !important;
        gap: 0 !important;
        flex-shrink: 0;
    }
    .site-header-main #navbarMain .navbar-nav .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
        padding: 0.9rem 0;
        border-bottom: 1px solid var(--border-soft);
        white-space: normal;
        overflow-wrap: anywhere;
    }
    .site-header-main #navbarMain > .d-flex,
    .site-header-main #navbarMain > .site-header-actions {
        margin-top: 20px;
        margin-bottom: 20px;
        width: 100%;
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.9rem !important;
        padding-top: 0;
        flex-shrink: 0;
    }
    .site-header-main #navbarMain .lang-switch-wrapper {
        position: relative;
        display: block;
        justify-content: flex-start;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
        width: 100%;
    }
    .site-header-main #navbarMain .nav-lang-list .lang-switch-wrap {
        display: block;
        width: 100%;
    }
    .site-header-main #navbarMain .lang-select-stripe--details {
        display: block;
        position: relative;
        width: 100%;
        max-width: 100%;
    }
    .site-header-main #navbarMain .lang-select-stripe__summary {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 10px 14px;
        border: 1px solid rgba(31, 41, 55, 0.12);
        border-radius: 12px;
        background: rgba(31, 41, 55, 0.04);
        font-size: 0.95rem;
        font-weight: 600;
    }
    .site-header-main #navbarMain .lang-select-stripe__code {
        display: inline-block;
        letter-spacing: 0.04em;
        line-height: 1;
    }
    .site-header-main #navbarMain .lang-select-stripe__caret {
        opacity: 1;
        width: 16px;
        height: 16px;
    }
    .site-header-main #navbarMain .lang-select-stripe__caret svg {
        width: 16px;
        height: 16px;
    }
    .site-header-main #navbarMain .lang-select-stripe__menu {
        left: 0;
        right: auto;
        top: auto;
        bottom: calc(100% + 8px);
        min-width: min(220px, calc(100vw - 32px));
        max-width: calc(100vw - 32px);
        max-height: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 8px;
        background: #fff;
        border: 1px solid rgba(31, 41, 55, 0.12);
        border-radius: 14px;
        box-shadow: 0 12px 40px rgba(31, 41, 55, 0.14), 0 4px 12px rgba(31, 41, 55, 0.06);
        z-index: 9999;
    }
    .site-header-main #navbarMain .lang-select-stripe--drop-down .lang-select-stripe__menu {
        top: calc(100% + 8px);
        bottom: auto;
    }
    .site-header-main #navbarMain .lang-select-stripe--drop-up .lang-select-stripe__menu {
        top: auto;
        bottom: calc(100% + 8px);
    }
    .site-header-main #navbarMain .lang-select-stripe__opt {
        justify-content: flex-start;
        gap: 12px;
        min-height: 44px;
        padding: 10px 12px;
        margin: 2px 0;
    }
    .site-header-main #navbarMain .lang-select-stripe__opt-text {
        display: flex;
        align-items: baseline;
        gap: 8px;
        min-width: 0;
    }
    .site-header-main #navbarMain .lang-select-stripe__opt-label {
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.2;
    }
    .site-header-main #navbarMain .lang-select-stripe__opt-code {
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        color: var(--text-soft, #6b7280);
    }
    .site-header-main #navbarMain .btn-primary {
        width: 100%;
        text-align: center;
    }
}


/* ========================= */


/* HERO CAROUSEL */


/* ========================= */

.hero {
    position: relative;
    background-color: #000;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    --hero-fade-duration: 1.3s;
    --hero-height: 60vh;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: var(--hero-height);
    touch-action: pan-y pinch-zoom;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--hero-fade-duration, 1.3s) cubic-bezier(0.45, 0, 0.2, 1);
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}


/* ========================================= */


/* BACKGROUND IMAGE + OVERLAY */


/* ========================================= */

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background-color: #000;
}

.hero-bg img,
.hero-bg picture,
.hero-bg-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.hero-bg picture {
    position: absolute;
    inset: 0;
}

.hero-bg picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    /* gradient removed per design */
    position: absolute;
    inset: 0;
    z-index: 1;
    background: none;
}


/* ========================================= */


/* FOREGROUND CONTENT */


/* ========================================= */

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    padding-left: clamp(1.5rem, 5vw, 3rem);
    padding-right: clamp(1.5rem, 5vw, 3rem);
    max-width: var(--container-max, 1280px);
    margin-left: 0;
    margin-right: auto;
}

@media (min-width: 900px) {
    .hero-inner {
        flex-direction: row;
        align-items: flex-end;
        gap: 2rem;
    }
}

.hero-content {
    flex: 1 1 auto;
    max-width: 40rem;
    color: #fff;
}

.hero-headline {
    font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
    font-size: clamp(1.35rem, 0.8vw + 1.1rem, 1.75rem);
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
    background-color: #000;
    margin: 0 0 0.5rem 0;
    padding: 0.35em 0.45em;
    display: inline-block;
}

.hero-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #fff;
    background-color: var(--brand-main);
    margin: 0 0 1.5rem 0;
    max-width: 48ch;
    padding: 0.4em 0.5em;
    display: inline-block;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-badges {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    row-gap: .75rem;
    color: #fff;
}

.hero-badge {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #fff;
}

.hero-badge-icon {
    line-height: 0;
    color: var(--brand-main);
}

.hero-badge-text {
    color: #fff;
}


/* ========================================= */


/* HERO CARD */


/* ========================================= */

.hero-card {
    flex: 0 0 auto;
    max-width: 360px;
    width: 100%;
    margin-left: 0;
}

@media(min-width:900px) {
    .hero-card {
        margin-left: auto;
        max-width: 320px;
    }
}

.hero-card-inner {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg, 12px);
    padding: 1.5rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.6);
}

.hero-card-header {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.hero-card-title {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}

.hero-card-sub {
    font-size: .9rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-card-body {
    display: grid;
    gap: .75rem;
    font-size: .9rem;
}

.hero-card-line {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: .25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: .5rem;
}

.hero-card-label {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
}

.hero-card-value {
    font-weight: 500;
    color: #fff;
}

.link-clean {
    color: inherit;
    text-decoration: none;
}

.btn-full {
    width: 100%;
    text-align: center;
    display: inline-block;
}


/* ========================================= */


/* CAROUSEL CONTROLS */


/* ========================================= */

.hero-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: transparent;
    color: var(--text-invert);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-color: rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-md, 8px);
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.hero-control.prev {
    left: clamp(0.75rem, 2vw, 1.25rem);
}

.hero-control.next {
    right: clamp(0.75rem, 2vw, 1.25rem);
}

.hero-control:hover {
    background: transparent;
    border-color: var(--brand-main);
    color: var(--brand-main);
}


/* Dots */

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: .5rem;
}

.hero-dot {
    width: .6rem;
    height: .6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    padding: 0;
    outline: none;
    flex-shrink: 0;
    transition: transform 0.45s ease, background-color 0.45s ease, border-color 0.45s ease;
}

.hero-dot.active {
    background-color: var(--brand-main);
    border-color: var(--brand-main);
    transform: scale(1.2);
}


/* ========================================= */


/* RESPONSIVE */


/* ========================================= */

@media (min-width: 769px) and (max-width: 1199px) {
    .hero {
        --hero-height: 70vh;
    }
}

@media (min-width: 1200px) {
    .hero {
        --hero-height: clamp(620px, 78vh, 900px);
    }
}

@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        gap: 2rem;
        padding-top: 3rem;
        padding-bottom: 5rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        /* room before next section */
    }
    .hero-card {
        max-width: 100%;
        margin-left: 0;
    }
    .hero-card-inner {
        background-color: rgba(0, 0, 0, 0.75);
    }
    /* Vertically center on the hero image (avoid overlap with bottom text/dots) */
    .hero-control {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        width: 2.75rem;
        height: 2.75rem;
        line-height: 2.75rem;
        font-size: 1.35rem;
    }
    .hero-control.prev {
        left: 1rem;
    }
    .hero-control.next {
        right: 1rem;
    }
    .hero-dots {
        bottom: 1rem;
        gap: 0.65rem;
        flex-wrap: wrap;
        justify-content: center;
        max-width: calc(100% - 2rem);
        padding: 0 0.5rem;
    }
    .hero-dot {
        width: 0.72rem;
        height: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition-duration: 0.05s;
    }
    .hero-dot {
        transition: none;
    }
    .hero-dot.active {
        transform: none;
    }
}

@media (min-width:1200px) {
    .hero-headline {
        font-size: clamp(1.5rem, 0.4vw + 1.3rem, 1.85rem);
    }
}


/* ========================= */


/* WELCOME MESSAGE           */


/* ========================= */

.welcome-message {
    background: #fff;
    padding: clamp(2.25rem, 4vw, 4rem) 0 clamp(1.75rem, 3.5vw, 3rem);
}

.welcome-inner {
    max-width: min(980px, calc(100% - 2rem));
}

.welcome-header {
    text-align: center;
    max-width: 72ch;
    margin: 0 auto 1.75rem;
}

.welcome-header .eyebrow {
    color: var(--brand-main);
}

.welcome-header .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.welcome-body {
    max-width: 72ch;
    margin: 0 auto;
}

.welcome-text {
    margin: 0 0 1rem;
    color: #374151;
    font-size: clamp(1rem, 0.35vw + 0.95rem, 1.08rem);
    line-height: 1.75;
}

.welcome-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .welcome-message {
        padding: 2rem 0 1.5rem;
    }
}


/* ========================= */


/* TRUST                     */


/* ========================= */

.trust {
    background-color: var(--bg-page);
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-soft);
}

.trust-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.trust-top {
    max-width: 680px;
}

.trust-eyebrow {
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 600;
    color: var(--brand-main);
    letter-spacing: .05em;
    margin-bottom: .5rem;
}

.trust-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem 2rem;
    width: 100%;
    max-width: 800px;
    align-items: center;
    justify-items: center;
}

.trust-logo {
    max-height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: .7;
}

.trust-logo:hover {
    filter: none;
    opacity: 1;
}


/* ========================= */


/* ABOUT                     */


/* ========================= */

.about {
    background-color: var(--bg-page);
    /* padding: 3rem 0; */
    margin-bottom: 25px;
}

.about-inner {
    display: grid;
    gap: 2rem;
}

@media(min-width:900px) {
    .about-inner {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.about-inner--text-only {
    max-width: 680px;
}

@media(min-width:900px) {
    .about-inner--text-only {
        grid-template-columns: 1fr;
    }
}

.about-photo-wrapper {
    max-width: 420px;
    /* border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--border-soft);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.07); */
    /* padding: 1rem; */
    margin-left: auto;
    margin-right: auto;
}

.about-photo {
    border-radius: var(--radius-md);
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-role {
    font-size: .9rem;
    font-weight: 600;
    color: var(--brand-main);
    margin-bottom: 1rem;
}

.about-lang {
    font-size: .8rem;
    margin-top: 1rem;
}

.about-cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

@media (min-width: 900px) {
    .about-cta-row {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem;
    }
}


/* ========================= */


/* SERVICES                  */


/* ========================= */

.services {
    padding: 4rem 0;
    background-color: #fff;
    color: #1a1a1a;
}

.services-header {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.services-header .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.services-header .btn-outline {
    margin-top: .25rem;
}

.services .eyebrow {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .05em;
    color: var(--brand-main);
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.section-title {
    font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
    font-size: clamp(1.4rem, 0.4vw + 1.2rem, 1.8rem);
    line-height: 1.3;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 .75rem 0;
}

.section-desc {
    color: #444;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 50ch;
    margin: 0;
}

.btn-outline {
    display: inline-block;
    border: 1px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
    border-radius: 8px;
    font-weight: 500;
    padding: .75rem 1rem;
    text-decoration: none;
    transition: all .2s ease;
    white-space: nowrap;
}

.btn-outline:hover {
    background-color: var(--brand-main);
    color: #fff;
}


/* groups layout */

.services-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media(min-width: 900px) {
    .services-groups {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 2rem;
    }
}


/* group block */

.service-group {
    background-color: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem 1.5rem 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.service-group-head {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1rem;
}

.service-group-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background-color: var(--brand-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.service-group-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 1.8;
}

.service-group-texts {
    min-width: 0;
}

.service-group-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0 0 .25rem 0;
}

.service-group-desc {
    font-size: .9rem;
    line-height: 1.4;
    color: #4b5563;
    margin: 0;
}

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

.service-group-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

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


/* ===== SERVICES PAGE (services.php) ===== */

.services-page .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 992px) {
    .services-page .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        align-items: stretch;
    }
}

.services-page .service-category-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.services-page .service-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    height: 250px;
    flex-shrink: 0;
    background-color: #f3f4f6;
}

.services-page .service-gallery-item {
    overflow: hidden;
    height: 100%;
}

.services-page .service-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.services-page .service-category-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services-page .service-category-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.services-page .service-category-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background-color: var(--brand-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.services-page .service-category-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 1.8;
}

.services-page .service-category-texts {
    min-width: 0;
}

.services-page .service-category-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0 0 .35rem 0;
}

.services-page .service-category-desc {
    font-size: .9rem;
    line-height: 1.5;
    color: #4b5563;
    margin: 0;
}

.services-page .service-items {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e5e7eb;
}

.services-page .service-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: .75rem;
    padding: .9rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.services-page .service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.services-page .service-item-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background-color: rgba(190, 30, 47, 0.08);
    color: var(--brand-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-page .service-item-icon svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 1.8;
}

.services-page .service-item-content {
    min-width: 0;
    flex: 1 1 auto;
}

.services-page .service-item-title {
    font-size: .92rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: .2rem;
    line-height: 1.4;
}

.services-page .service-item-desc {
    font-size: .84rem;
    line-height: 1.45;
    color: #4b5563;
}

.services-page .services-cta {
    text-align: center;
    background-color: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}

.services-page .services-cta-title {
    font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
    font-size: clamp(1.25rem, 0.3vw + 1.1rem, 1.5rem);
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 .75rem 0;
    line-height: 1.3;
}

.services-page .services-cta-desc {
    font-size: .95rem;
    line-height: 1.5;
    color: #4b5563;
    max-width: 42ch;
    margin: 0 auto 1.5rem;
}

@media (max-width: 600px) {
    .services-page .service-gallery {
        height: 128px;
    }
    .services-page .service-category-body {
        padding: 1.25rem;
    }
    .services-page .services-cta {
        padding: 2rem 1.25rem;
    }
}


/* list inside block */

.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e5e7eb;
}

.service-list-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.service-list-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background-color: rgba(190, 30, 47, 0.08);
    color: var(--brand-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-list-icon svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 1.8;
}

.service-list-body {
    min-width: 0;
    flex: 1 1 auto;
}

.service-item-title {
    font-size: .95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: .25rem;
    line-height: 1.4;
}

.service-item-desc {
    font-size: .85rem;
    line-height: 1.4;
    color: #4b5563;
}

.services-footer-cta {
    text-align: center;
}

.btn-primary.btn-xl {
    display: inline-block;
    background-color: var(--brand-main);
    color: #fff;
    border-radius: 10px;
    border: 1px solid var(--brand-main);
    padding: .9rem 1.25rem;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-primary.btn-xl:hover {
    background-color: var(--brand-main-hover);
    border-color: var(--brand-main-hover);
}


/* ===== INDEX: SERVICE CARDS (image + previous layout) ===== */

.services-index-cards .services-header {
    margin-bottom: 2rem;
}

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

@media (max-width: 900px) {
    .index-service-cards {
        grid-template-columns: 1fr;
        max-width: 720px;
    }
}

.index-service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.index-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-main);
    color: inherit;
}

.index-service-card-img {
    aspect-ratio: 600 / 280;
    overflow: hidden;
    background: var(--bg-alt);
}

.index-service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.index-service-card:hover .index-service-card-img img {
    transform: scale(1.03);
}

.index-service-card-inner {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.index-service-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: rgba(190, 30, 47, 0.1);
    color: var(--brand-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.index-service-card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.index-service-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    line-height: 1.3;
}

.index-service-card-desc {
    font-size: .9rem;
    color: var(--text-soft);
    margin: 0;
    line-height: 1.5;
}

.index-service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .25rem 0 0 0;
}

.index-service-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 500;
    color: var(--text-main);
    background: rgba(190, 30, 47, 0.06);
    border: 1px solid rgba(190, 30, 47, 0.2);
    border-radius: 999px;
    padding: .4rem .75rem;
    white-space: nowrap;
}

.index-service-chip .service-icon {
    flex-shrink: 0;
}

.index-service-chip svg {
    width: .9rem;
    height: .9rem;
    color: var(--brand-main);
}

.index-service-card:hover .index-service-chip {
    background: rgba(190, 30, 47, 0.1);
    border-color: var(--brand-main);
}

.index-service-card-link {
    font-size: .875rem;
    font-weight: 600;
    color: var(--brand-main);
}


/* ===== ARTICLES (Άρθρα & Ενημέρωση – 3 per row) ===== */

.articles-carousel-wrap {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-soft);
}

.articles-grid-wrap.articles-carousel-wrap {
    position: relative;
}

.articles-carousel-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.articles-carousel-header .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.article-card-wrap {
    margin: 0;
    padding: 0;
}

.article-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow .2s ease, border-color .2s ease;
}

.article-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-main);
    color: inherit;
}

.article-card-img {
    aspect-ratio: 600 / 320;
    overflow: hidden;
    background: var(--bg-alt);
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.article-card:hover .article-card-img img {
    transform: scale(1.03);
}

.article-card-body {
    padding: 1.25rem 1.5rem;
}

.article-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 .5rem 0;
    line-height: 1.35;
}

.article-card-excerpt {
    font-size: .9rem;
    color: var(--text-soft);
    line-height: 1.5;
    margin: 0 0 .75rem 0;
}

.article-card-link {
    font-size: .875rem;
    font-weight: 600;
    color: var(--brand-main);
}


/* ===== VASCULAR DISEASES (Instagram-style cards) ===== */

.vascular-section {
    padding: 4rem 0;
    background-color: var(--bg-alt);
}

.vascular-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.vascular-header .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.vascular-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .vascular-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.vascular-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 0;
    transition: transform .2s ease, box-shadow .2s ease;
}

.vascular-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.vascular-card-inner {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.vascular-card-prevention-title {
    position: relative;
    background: linear-gradient(145deg, #c82335 0%, var(--brand-main) 42%, var(--brand-main-hover) 100%);
    border: none;
    color: #fff;
    box-shadow:
        0 4px 20px rgba(190, 30, 47, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.vascular-card-prevention-title::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.14) 0%, transparent 42%),
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 38%),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 18px,
            rgba(255, 255, 255, 0.03) 18px,
            rgba(255, 255, 255, 0.03) 19px
        );
    pointer-events: none;
}

.vascular-card-prevention-title:hover {
    color: #fff;
    transform: none;
    box-shadow:
        0 6px 24px rgba(190, 30, 47, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.vascular-card-prevention-title .vascular-card-inner {
    position: relative;
    z-index: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100%;
    padding: 1.75rem 1.5rem;
    gap: 1rem;
}

.vascular-card-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    flex-shrink: 0;
}

.vascular-card-title-icon svg {
    width: 1.65rem;
    height: 1.65rem;
    opacity: 0.95;
}

.vascular-card-heading {
    margin: 0;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .01em;
    color: #fff;
    text-align: center;
    max-width: 16ch;
}

.vascular-card-prevention-note {
    background: linear-gradient(160deg, #fff 0%, rgba(190, 30, 47, 0.04) 100%);
    border: 1px solid rgba(190, 30, 47, 0.22);
    border-left: 4px solid var(--brand-main);
    box-shadow: 0 4px 20px rgba(190, 30, 47, 0.07);
}

.vascular-card-prevention-note:hover {
    color: inherit;
    transform: none;
    box-shadow: 0 6px 24px rgba(190, 30, 47, 0.1);
}

.vascular-card-prevention-note .vascular-card-inner {
    padding: 1.5rem 1.35rem 1.65rem;
    gap: 1rem;
}

.vascular-card-note-heading {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--brand-main);
    letter-spacing: .01em;
}

.vascular-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.vascular-card-chip {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--brand-main-hover);
    background: rgba(190, 30, 47, 0.07);
    border: 1px solid rgba(190, 30, 47, 0.18);
    border-radius: 999px;
    padding: .38rem .7rem;
    white-space: nowrap;
}

.vascular-card-note-text {
    margin: 0;
    font-size: .9375rem;
    font-weight: 400;
    line-height: 1.72;
    color: var(--text-soft);
    text-align: left;
}

.vascular-card-img {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-alt);
}

.vascular-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vascular-card-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    line-height: 1.3;
    letter-spacing: .02em;
}

button.vascular-card-topic {
    width: 100%;
    text-align: left;
    font: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.vascular-card-more {
    font-size: .8rem;
    font-weight: 600;
    color: var(--brand-main);
    margin-top: .15rem;
}

.vascular-card-topic:hover .vascular-card-more {
    text-decoration: underline;
}


/* Vascular topic modal */

body.vascular-modal-open {
    overflow: hidden;
}

.vascular-modal {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    visibility: hidden;
    pointer-events: none;
}

.vascular-modal.is-open,
.vascular-modal.is-closing {
    visibility: visible;
    pointer-events: auto;
}

.vascular-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.78);
    opacity: 0;
    transition: opacity 0.32s ease;
}

.vascular-modal.is-visible .vascular-modal-backdrop,
.vascular-modal.is-closing .vascular-modal-backdrop {
    opacity: 1;
}

.vascular-modal.is-closing:not(.is-open) .vascular-modal-backdrop {
    opacity: 0;
}

.vascular-modal-dialog {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--radius-md, 8px);
    width: 100%;
    max-width: 720px;
    max-height: min(90vh, 900px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: scale(0.96) translateY(18px);
    transition:
        opacity 0.32s ease,
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.vascular-modal.is-visible .vascular-modal-dialog {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.vascular-modal.is-closing:not(.is-open) .vascular-modal-dialog {
    opacity: 0;
    transform: scale(0.98) translateY(10px);
    transition:
        opacity 0.24s ease,
        transform 0.28s cubic-bezier(0.4, 0, 0.6, 1);
}

@media (prefers-reduced-motion: reduce) {
    .vascular-modal-backdrop,
    .vascular-modal-dialog,
    .vascular-modal-panel.is-active {
        transition: none !important;
    }
}

.vascular-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border-soft);
    background: var(--bg-alt);
    flex-shrink: 0;
}

.vascular-modal-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
    flex: 1;
}

.vascular-modal-close {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm, 6px);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
}

.vascular-modal-close:hover {
    background: var(--bg-alt);
}

.vascular-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.25rem 1.5rem;
    -webkit-overflow-scrolling: touch;
    text-align: justify;
    text-justify: inter-word;
}

.vascular-modal-image {
    margin: -1.25rem -1.25rem 1.25rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-alt);
}

.vascular-modal-image picture,
.vascular-modal-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.vascular-modal-image img {
    object-fit: cover;
}

.vascular-modal-panel.is-active {
    animation: vascular-modal-panel-in 0.35s ease both;
}

@keyframes vascular-modal-panel-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vascular-modal-panel-text {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-main);
    text-align: justify;
    text-justify: inter-word;
}

.vascular-modal-panel-text:last-child {
    margin-bottom: 0;
}


/* ===== TESTIMONIALS ===== */

.testimonials-section {
    padding: 4rem 0;
    background-color: var(--bg-page);
    border-top: 1px solid var(--border-soft);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.testimonials-header .eyebrow {
    color: var(--brand-main);
}

.testimonials-header .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.testimonials-carousel-wrap {
    position: relative;
    margin: 0 -0.5rem;
    padding: 0 3.25rem;
}

.testimonials-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(190, 30, 47, 0.35) transparent;
    padding: 0.25rem 0 1rem;
    margin: 0 -0.25rem;
}

.testimonials-carousel::-webkit-scrollbar {
    height: 6px;
}

.testimonials-carousel::-webkit-scrollbar-thumb {
    background: rgba(190, 30, 47, 0.35);
    border-radius: 999px;
}

.testimonials-carousel:focus-visible {
    outline: 3px solid rgba(190, 30, 47, 0.35);
    outline-offset: 4px;
    border-radius: 4px;
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    width: max-content;
    min-width: 100%;
    padding: 0 0.25rem;
}

.testimonial-card {
    margin: 0;
    padding: 0;
    border: none;
    flex: 0 0 min(88vw, 320px);
    width: min(88vw, 320px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 340px;
        width: 340px;
    }
}

@media (min-width: 1200px) {
    .testimonial-card {
        flex: 0 0 360px;
        width: 360px;
    }
}

.testimonials-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 0;
    line-height: 1;
    text-indent: 0;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.testimonials-control > span {
    font-size: 1.75rem;
    line-height: 1;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    pointer-events: none;
}

.testimonials-control:hover:not(:disabled) {
    border-color: var(--brand-main);
    color: var(--brand-main);
    box-shadow: 0 6px 20px rgba(190, 30, 47, 0.12);
}

.testimonials-control:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.testimonials-control.prev {
    left: 6px;
    right: auto;
}

.testimonials-control.next {
    right: 6px;
    left: auto;
}

@media (max-width: 575px) {
    .testimonials-carousel-wrap {
        padding: 0 2.75rem;
    }

    .testimonials-control {
        width: 34px;
        height: 34px;
    }

    .testimonials-control > span {
        font-size: 1.5rem;
    }

    .testimonials-control.prev {
        left: 4px;
    }

    .testimonials-control.next {
        right: 4px;
    }
}

.testimonial-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.testimonial-card-link:focus-visible .testimonial-card-inner {
    outline: 3px solid rgba(190, 30, 47, 0.45);
    outline-offset: 2px;
}

.testimonial-card-inner {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.testimonial-card-link:hover .testimonial-card-inner {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(190, 30, 47, 0.2);
    transform: translateY(-2px);
}

.testimonial-stars {
    display: flex;
    gap: .1rem;
    line-height: 1;
}

.testimonial-star {
    color: #f4b400;
    font-size: 1.05rem;
}

.testimonial-quote {
    font-size: .92rem;
    line-height: 1.6;
    color: var(--text-main);
    margin: 0;
    flex: 1 1 auto;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0;
    padding-top: .5rem;
    border-top: 1px solid var(--border-soft);
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--brand-main);
    background: rgba(190, 30, 47, 0.08);
    border: 1px solid rgba(190, 30, 47, 0.15);
}

.testimonial-name {
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-main);
    font-style: normal;
    display: block;
}

.testimonial-meta {
    font-size: .8rem;
    color: var(--text-soft);
    display: block;
    margin-top: .15rem;
}

.testimonials-cta-wrap {
    text-align: center;
    margin: 2rem 0 0;
}

.testimonials-google-cta {
    display: inline-block;
    font-size: .95rem;
    font-weight: 600;
    color: var(--brand-main);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, color .2s ease;
}

.testimonials-google-cta:hover {
    color: var(--brand-dark, #9a1826);
    border-bottom-color: currentColor;
}


/* Lucide SVG defaults */

.service-icon {
    display: inline-block;
}

.service-icon svg {
    width: 1em;
    height: 1em;
    stroke-width: 1.6;
}


/* ========================= */


/* FAQ                       */


/* ========================= */

.faq {
    background-color: var(--bg-page);
    padding: 3rem 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.faq-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-head {
    max-width: 680px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media(min-width:900px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.faq-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 .5rem 0;
}

.faq-answer {
    font-size: .9rem;
    line-height: 1.5;
    color: var(--text-soft);
    margin: 0;
}


/* ========================= */


/* CONTACT PAGE TOP IMAGES   */


/* ========================= */

.contact-top-images {
    width: 100%;
}

.contact-top-images__head {
    max-width: 680px;
    margin-bottom: 1.25rem;
}

.contact-top-images__head .section-desc {
    margin: 0;
}

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

.contact-top-images__item {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    background-color: var(--bg-alt);
}

.contact-top-images__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

@media (hover: hover) {
    .contact-top-images__item:hover .contact-top-images__img {
        transform: scale(1.04);
    }
}

@media (max-width: 640px) {
    .contact-top-images__grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .contact-top-images__item {
        aspect-ratio: 16 / 10;
    }
}


/* CONTACT                   */


/* ========================= */

.contact {
    background-color: var(--bg-alt);
    padding: 3rem 0;
}

.contact-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-head {
    max-width: 680px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: minmax(320px, 1fr) minmax(260px, 1fr);
        gap: 2rem;
        align-items: stretch;
    }
}

.contact-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    padding: 1.25rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-block {
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: .75rem;
    margin-bottom: .75rem;
}

.contact-label {
    font-size: .8rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-soft);
    letter-spacing: .05em;
    margin-bottom: .25rem;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.3;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.form-label {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-soft);
    letter-spacing: .05em;
}

.form-input,
.form-textarea {
    width: 100%;
    font-family: inherit;
    font-size: .9rem;
    line-height: 1.4;
    color: var(--text-main);
    background-color: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: .7rem .75rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.form-input:focus,
.form-textarea:focus {
    outline: 2px solid rgba(199, 34, 51, 0.25);
    border-color: var(--brand-main);
}

.form-message {
    font-size: .85rem;
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
}

.d-none {
    display: none;
}

.map-wrapper {
    width: 100%;
    min-height: 300px;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

@media(min-width:768px) {
    .map-wrapper {
        min-height: 400px;
    }
}


/* ========================= */


/* FOOTER                    */


/* ========================= */

.site-footer {
    background-color: var(--brand-footer);
    color: #fff;
    padding-top: 2.5rem;
    padding-bottom: 0;
    font-size: .9rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem 2rem;
    padding-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-col {
    min-width: 0;
    /* allow content to shrink in grid */
}

@media (min-width: 800px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 2rem 3rem;
    }
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-brand-logo {
    color: #fff;
}

.footer-line1 {
    font-weight: 600;
    font-size: .95rem;
    color: #fff;
}

.footer-line2 {
    font-size: .8rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: .9rem;
    max-width: 45ch;
}

.footer-language-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.footer-language-selector a {
    display: inline-flex;
    transition: opacity .2s ease, transform .2s ease;
}

.footer-language-selector a:hover {
    opacity: .85;
    transform: translateY(-1px);
}

.footer-language-selector img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .footer-language-selector {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .footer-language-selector img {
        width: 26px;
        height: 26px;
    }
}

.footer-heading {
    font-weight: 600;
    color: #fff;
    margin-bottom: .75rem;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: .9rem;
    line-height: 1.5;
    margin-bottom: .5rem;
}

.footer-link:hover {
    color: #fff;
}

.footer-contact-line {
    margin-bottom: .75rem;
}

.footer-contact-label {
    font-size: .7rem;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: .05em;
}

.footer-contact-value {
    color: #fff;
    font-size: .9rem;
    font-weight: 500;
    display: block;
}

.footer-contact-value:hover {
    text-decoration: underline;
}


/* bottom bar */

.footer-bottom {
    background-color: var(--brand-footer-bottom);
    color: rgba(255, 255, 255, 0.9);
    font-size: .75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem var(--container-pad-x);
}

@media (min-width: 600px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-legal-link:hover {
    color: #fff;
}

.site-footer .text-secondary,
.footer-bottom .text-secondary {
    color: rgba(255, 255, 255, 0.9) !important;
}


/* -------------- TOP BAR -----------------*/


/* ========================= */


/* TOP INFO BAR (language / contact / socials) */


/* ========================= */

.top-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #dddddd;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-main);
}

.top-bar .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    /* default mobile layout: vertical stack */
    flex-direction: column;
    gap: 0.75rem;
}


/* contact row (left side) */

.top-bar .contact-cluster {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.top-bar .contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

.top-bar .contact-label {
    color: var(--brand-main);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}


/* language switch */

.top-bar .lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.8rem;
    white-space: nowrap;
}

.top-bar .lang-switch a {
    color: var(--text-main);
    text-decoration: none;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    border: 1px solid transparent;
    line-height: 1.2;
}

.top-bar .lang-switch a:hover {
    border-color: var(--brand-main);
    color: var(--brand-main);
}


/* socials */

.top-bar .socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1;
}

.top-bar .socials a {
    color: var(--text-soft);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.top-bar .socials a:hover {
    color: var(--brand-main);
}


/* icons in contact row (the <i class="bi ..."> you used) */

.top-bar .contact-icon {
    color: var(--brand-main);
    font-size: 0.9rem;
    line-height: 1;
    display: inline-flex;
}


/* RESPONSIVE BEHAVIOR */

@media (min-width: 768px) {
    .top-bar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        min-height: 2.5rem;
    }
    .top-bar .contact-cluster {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
        justify-content: flex-start;
        text-align: left;
    }
    .top-bar .socials {
        font-size: 1rem;
    }
}


/* ========================= */


/* MINI UTILITY CLASSES to replace Bootstrap in this bar */


/* ========================= */


/* layout helpers */

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

@media (min-width:768px) {
    .flex-md-row {
        flex-direction: row;
    }
}

.align-items-center {
    align-items: center;
}

.gap-3 {
    gap: 0.75rem;
}

.justify-content-between {
    justify-content: space-between;
}


/* spacing helpers */

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

@media(min-width:768px) {
    .mt-md-0 {
        margin-top: 0;
    }
}


/* text alignment helpers */

.text-center {
    text-align: center;
}

.text-md-start {
    text-align: center;
}

@media(min-width:768px) {
    .text-md-start {
        text-align: left;
    }
}


/* color helpers */

.text-primary {
    color: var(--brand-main);
}

.text-muted {
    color: var(--text-soft);
}


/* spacing you used inline (me-1 / me-3 etc.) */

.me-1 {
    margin-right: 0.25rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.me-3 {
    margin-right: 0.75rem;
}


/* position helper for the language block you had */

.lang-switch-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    right: 0;
}

/* Language selector (adapted from Akrotiri) */
.lang-select-stripe--details {
    position: relative;
    display: inline-block;
    margin-left: 0;
}

.nav-lang-list {
    list-style: none;
}

.nav-lang-list .lang-switch-wrap {
    display: flex;
    align-items: center;
    list-style: none;
}

.lang-select-stripe__summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main, #1f2937);
    background: transparent;
    border: none;
    border-radius: 999px;
    padding: 6px 8px;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.lang-select-stripe__summary::-webkit-details-marker { display: none; }
.lang-select-stripe__summary::marker { content: ''; }

.lang-select-stripe__code {
    display: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--text-main, #1f2937);
}

.lang-select-stripe__opt-text {
    display: none;
}

.lang-select-stripe__caret {
    display: flex;
    flex-shrink: 0;
    color: var(--text-soft, #6b7280);
    opacity: 0.75;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.lang-select-stripe--details[open] .lang-select-stripe__caret {
    transform: rotate(180deg);
    opacity: 1;
}

.lang-select-stripe__summary:hover {
    background: rgba(31, 41, 55, 0.06);
}

.lang-select-stripe__summary:focus { outline: none; }
.lang-select-stripe__summary:focus-visible { box-shadow: 0 0 0 2px rgba(190, 30, 47, 0.35); }

.lang-select-stripe--details[open] > .lang-select-stripe__summary {
    background: rgba(31, 41, 55, 0.06);
}

.lang-select-stripe__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 0;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid rgba(31, 41, 55, 0.12);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(31, 41, 55, 0.14), 0 4px 12px rgba(31, 41, 55, 0.06);
    z-index: 1100;
}

.lang-select-stripe__menu li { margin: 0; padding: 0; }

.lang-select-stripe__opt {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin: 2px 0;
    color: var(--text-main, #1f2937);
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.12s ease;
}

.lang-select-stripe__opt:hover {
    background: rgba(31, 41, 55, 0.04);
}

.lang-select-stripe__opt--current {
    background: rgba(190, 30, 47, 0.1);
    color: var(--text-main, #1f2937);
}

.lang-select-flag-slot {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
    box-shadow: 0 0 0 1px rgba(31, 41, 55, 0.08), 0 1px 2px rgba(31, 41, 55, 0.05);
}

.lang-select-flag-slot--trigger {
    width: 28px;
    height: 28px;
}

.lang-select-flag {
    display: block;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 0 0 1px rgba(31, 41, 55, 0.1);
}

.lang-select-flag--trigger {
    width: 20px;
    height: 20px;
}

.lang-select-flag--menu {
    width: 24px;
    height: 24px;
    box-shadow: 0 0 0 1px rgba(31, 41, 55, 0.06);
}