/* ==========================================================
   Centrum Psychiatrii i Psychoterapii Wilanów
   Design System v2 — based on logo palette (navy, teal, sky)
   Modern, warm, therapeutic — designed to make patients feel safe
   ========================================================== */

/* ============ VARIABLES ============ */
:root {
    /* Logo-derived palette */
    --navy: #1B3A6B;
    --navy-dark: #122850;
    --navy-light: #e8edf5;
    --navy-lighter: #f3f5fa;

    --teal: #0098B5;
    --teal-dark: #007a93;
    --teal-light: #e0f4f8;
    --teal-lighter: #f0fafb;

    --sky: #A8D5E2;
    --sky-light: #d6edf4;
    --sky-lighter: #eef7fa;

    /* Primary = navy (trust, stability) */
    --primary: var(--navy);
    --primary-dark: var(--navy-dark);
    --primary-light: var(--navy-light);
    --primary-lighter: var(--navy-lighter);

    /* Accent = teal (energy, care) */
    --accent: var(--teal);
    --accent-dark: var(--teal-dark);
    --accent-light: var(--teal-light);

    /* Warm neutrals — therapeutic feel */
    --warm: #F8F6F2;
    --warm-dark: #EFEBE4;
    --cream: #FDFCFA;
    --sand: #F5F0E8;

    /* Sage green — calm, nature */
    --sage: #6BA89A;
    --sage-light: #E2F0EC;

    /* Text */
    --text: #1E2A3A;
    --text-light: #5A6978;
    --text-lighter: #7A8A99;
    --white: #FFFFFF;

    /* Shadows — softer, warmer */
    --shadow-sm: 0 1px 4px rgba(27, 58, 107, 0.06);
    --shadow-md: 0 4px 20px rgba(27, 58, 107, 0.08);
    --shadow-lg: 0 8px 32px rgba(27, 58, 107, 0.10);
    --shadow-xl: 0 20px 50px rgba(27, 58, 107, 0.12);
    --shadow-glow: 0 0 40px rgba(0, 152, 181, 0.12);

    /* Radius — softer */
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

    /* Layout */
    --max-w: 1200px;
    --section-gap: 100px;
}


/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; overflow-x: clip; }
body { overflow-x: clip; }
html, body, * { overflow-anchor: none; }
/* Global media containment — prevents images/videos/iframes from pushing
   page beyond container and breaking left/right margin symmetry. */
img, video, iframe { max-width: 100%; height: auto; }
/* SVGs keep their intrinsic dimensions (icons have explicit width/height attrs) */
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100%;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }


/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:0.4 } }
@keyframes float { 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-10px) } }
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.fade-in {
    opacity: 0; transform: translateY(24px);
    animation: fadeInUp 0.7s ease forwards;
}
.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }


/* ============ UTILITIES ============ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section { padding: var(--section-gap) 0; }
.section--warm { background: var(--warm); }
.section--light { background: var(--teal-lighter); }
.section--sand { background: var(--sand); }
.prose { line-height: 1.85; color: var(--text-light); font-size: 1.02rem; }
.prose h2 { color: var(--text); margin: 2em 0 0.6em; font-family: var(--font-display); font-size: 1.7rem; }
.prose h3 { color: var(--text); margin: 1.5em 0 0.5em; font-family: var(--font-display); font-size: 1.3rem; }
.prose p { margin-bottom: 1.1em; }
.prose ul, .prose ol { margin-left: 1.5em; margin-bottom: 1.1em; }
.prose strong { color: var(--text); }


/* ============ BADGE ============ */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px; border-radius: 50px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.badge--primary { background: var(--accent-light); color: var(--teal-dark); }
.badge--gold { background: var(--sand); color: var(--navy); }


/* ============ BUTTONS ============ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 50px; font-size: 0.88rem; font-weight: 600;
    cursor: pointer; border: none; transition: all 0.35s ease; letter-spacing: 0.01em;
    text-align: center; justify-content: center;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* mydr: plugin narzuca .btn-mydr-pp własny obrazek-przycisk (height:129px,
   max-width:317px, PNG w tle). Neutralizujemy to selektorem o wyższej
   specyficzności (0,2,0 > ich 0,1,0), żeby button wyglądał jak nasz .btn--primary.
   Klasa .btn-mydr-pp zostaje — plugin jej potrzebuje tylko do podpięcia klika. */
.btn.btn-mydr-pp {
    height: auto;
    width: auto;
    max-width: none;
    min-height: 0;
    padding: 13px 28px;
    margin: 0;
    background: var(--accent);
    background-image: none;
    background-size: auto;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1;
    color: var(--white);
}
.btn.btn-mydr-pp:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--ghost { background: rgba(255,255,255,0.12); color: var(--white); border: 2px solid rgba(255,255,255,0.25); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.4); }
.btn--large { padding: 16px 36px; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn--soft { background: var(--accent-light); color: var(--teal-dark); }
.btn--soft:hover { background: var(--accent); color: var(--white); }


/* ============ TOP BAR ============ */
.topbar {
    background: var(--navy-dark); color: var(--white); padding: 10px 0;
    font-size: 0.8rem; letter-spacing: 0.01em;
}
.topbar__inner {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--white); }
.topbar__phones { display: flex; align-items: center; gap: 18px; }
.topbar__phone { font-weight: 600; font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }
.topbar__hours { opacity: 0.7; }
.topbar__pin { margin-right: 2px; }


/* ============ HEADER ============ */
.header {
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid rgba(27, 58, 107, 0.06);
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(16px);
}
.header__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 76px;
}
.header__logo {
    display: flex; align-items: center; gap: 14px;
}
.header__logo-img { height: 50px; width: auto; }
.header__logo-icon {
    width: 48px; height: 48px; background: var(--navy); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-family: var(--font-display); font-size: 1.5rem;
}
.header__logo-text {
    font-family: var(--font-display); font-size: 1.08rem; color: var(--text);
    line-height: 1.2;
}
.header__logo-text small {
    display: block; font-family: var(--font-body); font-size: 0.64rem;
    color: var(--text-light); font-weight: 400; letter-spacing: 0.03em;
    text-transform: uppercase; margin-top: 2px;
}

.header__nav-list {
    display: flex; align-items: center; gap: 32px; list-style: none;
}
.header__nav-list a {
    font-size: 0.88rem; font-weight: 500; color: var(--text-light);
    position: relative; padding: 4px 0;
}
.header__nav-list a:hover,
.header__nav-list .current-menu-item a { color: var(--accent); }
.header__nav-list a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2.5px;
    background: var(--accent); border-radius: 2px; transition: width 0.3s ease;
}
.header__nav-list a:hover::after,
.header__nav-list .current-menu-item a::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 12px; }

/* Burger */
.header__burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.header__burger span {
    width: 24px; height: 2px; background: var(--text); border-radius: 2px;
    transition: all 0.3s ease;
}
.header__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45); z-index: 200;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
}
.mobile-overlay.active { opacity: 1; pointer-events: auto; }

/* Mobile Menu — slide-in panel from right */
.mobile-menu {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 75vw; max-width: 380px;
    background: var(--white); z-index: 201;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    display: flex; flex-direction: column;
}
.mobile-menu.active { transform: translateX(0); }

.mobile-menu__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid rgba(27,58,107,0.08);
    flex-shrink: 0;
}
.mobile-menu__title {
    font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--text-light);
}
.mobile-menu__close {
    background: none; border: none; cursor: pointer;
    color: var(--text-light); padding: 4px;
    border-radius: 6px; transition: background 0.2s;
}
.mobile-menu__close:hover { background: var(--bg-alt); }

.mobile-menu__inner { padding: 8px 24px 32px; flex: 1; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 0; }
.mobile-menu__list li a {
    display: block; padding: 14px 0; font-size: 1.05rem; font-weight: 500;
    border-bottom: 1px solid rgba(27,58,107,0.06); color: var(--text);
    transition: color 0.2s;
}
.mobile-menu__list li a:hover { color: var(--accent); }
.mobile-menu__list .current-menu-item > a { color: var(--accent); font-weight: 600; }
.mobile-menu__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }


/* ============ HERO ============ */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 50%, var(--teal) 100%);
    min-height: 600px; display: flex; align-items: center;
    padding: 80px 0 100px;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(0,152,181,0.15), transparent 60%);
}
.hero::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 100px;
    background: linear-gradient(to bottom, transparent, var(--cream));
}
.hero__inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
    position: relative; z-index: 1; width: 100%;
}
.hero__content { color: var(--white); }

.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
    padding: 9px 18px; border-radius: 50px;
    font-size: 0.76rem; font-weight: 500; color: rgba(255,255,255,0.9);
    margin-bottom: 28px; border: 1px solid rgba(255,255,255,0.12);
}
.hero__badge-dot {
    width: 7px; height: 7px; background: var(--sky); border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero__title {
    font-family: var(--font-display); font-size: 3.4rem; line-height: 1.12;
    margin-bottom: 24px; font-weight: 400;
}
.hero__title em { font-style: italic; color: var(--sky); }
.hero__subtitle {
    font-size: 1.12rem; line-height: 1.7; opacity: 0.85; margin-bottom: 36px;
    max-width: 500px; font-weight: 300;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__image { position: relative; }
.hero__image-card {
    background: var(--white); border-radius: var(--radius-xl); padding: 12px;
    box-shadow: var(--shadow-xl); transform: rotate(1.5deg); overflow: hidden;
}
.hero__image-photo {
    border-radius: calc(var(--radius-xl) - 4px); width: 100%;
    height: 380px; object-fit: cover; object-position: center 30%;
}
.hero__image-placeholder {
    background: linear-gradient(135deg, var(--warm) 0%, var(--sky-light) 100%);
    border-radius: var(--radius-lg); height: 380px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; color: var(--text-lighter);
}

.hero__float-card {
    position: absolute; background: var(--white); border-radius: var(--radius);
    padding: 16px 20px; box-shadow: var(--shadow-lg); z-index: 2;
    animation: float 5s ease-in-out infinite;
}
.hero__float-card--1 { top: 20px; left: -40px; animation-delay: 0s; }
.hero__float-card--2 { bottom: 50px; right: -24px; animation-delay: 2s; }
.hero__float-icon { font-size: 1.6rem; margin-bottom: 6px; }
.hero__float-text { font-size: 0.78rem; font-weight: 700; color: var(--text); }
.hero__float-sub { font-size: 0.66rem; color: var(--text-lighter); }


/* ============ TRUST BAR ============ */
.trust-bar {
    background: var(--white); border: 1px solid rgba(27,58,107,0.05);
    border-radius: var(--radius-xl); padding: 32px 48px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
    margin-top: -48px; position: relative; z-index: 2;
    box-shadow: var(--shadow-lg);
}
.trust-item { text-align: center; }
.trust-item__number { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); }
.trust-item__label { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; font-weight: 500; }


/* ============ SECTION HEADER ============ */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header__title {
    font-family: var(--font-display); font-size: 2.5rem; color: var(--text);
    margin-bottom: 16px; line-height: 1.2;
}
.section-header__subtitle { font-size: 1.05rem; color: var(--text-light); line-height: 1.7; }


/* ============ SERVICES GRID ============ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
    display: flex; flex-direction: column;
    background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px;
    border: 1px solid rgba(27,58,107,0.05);
    transition: all 0.4s ease; position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 20px;
}
.service-card__icon--blue { background: var(--navy-light); color: var(--navy); }
.service-card__icon--green { background: var(--sage-light); color: var(--sage); }
.service-card__icon--gold { background: var(--sand); color: var(--navy); }
.service-card__icon--warm { background: var(--accent-light); color: var(--teal); }
.service-card__title { font-family: var(--font-display); font-size: 1.18rem; margin-bottom: 12px; }
.service-card__desc { font-size: 0.87rem; color: var(--text-light); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.service-card__link { font-size: 0.82rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.service-card:hover .service-card__link { gap: 8px; color: var(--accent-dark); }


/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__image {
    border-radius: var(--radius-xl); height: 460px;
    overflow: hidden; position: relative;
    background: var(--warm);
}
.about__image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl); }
.about__image::after {
    content: ''; position: absolute; inset: 0;
    border-radius: var(--radius-xl);
    box-shadow: inset 0 0 0 1px rgba(27,58,107,0.08);
}
.about__title { font-family: var(--font-display); font-size: 2.3rem; margin-bottom: 20px; line-height: 1.2; color: var(--text); }
.about__text { color: var(--text-light); margin-bottom: 28px; line-height: 1.75; font-size: 1.02rem; }
.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 32px; }
.about__feature { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: var(--text); }
.about__feature-icon {
    width: 30px; height: 30px; min-width: 30px; border-radius: 50%;
    background: var(--accent-light); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 700; margin-top: 1px;
}


/* ============ TEAM ============ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-grid--compact { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card {
    display: block;
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid rgba(27,58,107,0.05); transition: all 0.35s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card__photo {
    aspect-ratio: 3 / 4; overflow: hidden;
    background: linear-gradient(135deg, var(--warm) 0%, var(--sky-lighter) 100%);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-lighter); font-size: 0.78rem;
    position: relative;
}
.team-card__photo img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center 15%;
    transition: transform 0.5s ease;
}
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__info { padding: 20px 22px; }
.team-card__name { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 5px; }
.team-card__role { font-size: 0.78rem; color: var(--accent); font-weight: 500; margin-bottom: 12px; line-height: 1.4; }
.team-card__btn { font-size: 0.78rem; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 4px; }
.team-card:hover .team-card__btn { color: var(--accent); gap: 8px; }
.team-card--small .team-card__photo { aspect-ratio: 1 / 1; }

/* Zespół: karta z przyciskiem rezerwacji mydr.
   Link do profilu i przycisk są RODZEŃSTWEM (button wewnątrz <a> to
   nieprawidłowy HTML i podwójna akcja przy kliknięciu). Karta staje się
   kolumną flex, a przycisk dokleja się do dołu — dzięki temu w rzędzie
   o różnej długości tytułów przyciski wypadają w jednej linii.
   Zakres: tylko karty z modyfikatorem --bookable, więc strona główna,
   O nas i Usługi (ta sama klasa .team-card) zostają nietknięte. */
.team-card__link { display: block; color: inherit; text-decoration: none; }
.team-card--bookable { display: flex; flex-direction: column; }
.team-card--bookable .team-card__info { padding-bottom: 14px; }
.team-card__book { margin-top: auto; padding: 0 22px 20px; }
.team-card__book .btn.btn-mydr-pp { width: 100%; padding: 10px 16px; font-size: 0.78rem; }

/* Usługa: przycisk rezerwacji mydr w karcie CTA — pełna szerokość jak
   pozostałe .btn--block w sidebarze. Wyższa specyficzność (0,3,0) bije
   override .btn.btn-mydr-pp (0,2,0), który domyślnie daje width:auto. */
.service-cta-card .btn.btn-mydr-pp { width: 100%; margin-bottom: 10px; padding: 13px 20px; }


/* ============ CTA BANNER ============ */
.cta-banner {
    background: linear-gradient(145deg, var(--navy-dark), var(--navy), var(--teal));
    border-radius: var(--radius-xl); padding: 72px 60px; color: var(--white);
    text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(168,213,226,0.15), transparent 70%);
    border-radius: 50%;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner__title { font-family: var(--font-display); font-size: 2.4rem; margin-bottom: 14px; }
.cta-banner__subtitle { font-size: 1.05rem; opacity: 0.85; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-banner__phone { margin-top: 24px; font-size: 1.7rem; font-family: var(--font-display); opacity: 0.95; }
.cta-banner__phone a { color: white; }
.cta-banner__phone a:hover { color: var(--sky); }
.cta-banner__hours { font-size: 0.82rem; opacity: 0.6; margin-top: 6px; }


/* ============ PRICING ============ */
.pricing-table {
    background: var(--white); border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(27,58,107,0.05);
    max-width: 700px; margin: 0 auto;
}
.pricing-row {
    display: grid; grid-template-columns: 1fr auto; padding: 18px 30px;
    align-items: start; column-gap: 16px; border-bottom: 1px solid rgba(27,58,107,0.04);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row:nth-child(even) { background: var(--navy-lighter); }
.pricing-row__head {
    display: block;
    background: linear-gradient(90deg, var(--navy), var(--teal));
    color: var(--white); padding: 14px 30px;
    font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-row__name { font-size: 0.9rem; font-weight: 500; }
.pricing-row__name small { color: var(--text-lighter); font-weight: 400; }
.pricing-row__price { font-family: var(--font-display); font-size: 1.05rem; color: var(--accent); white-space: nowrap; }
.pricing-row--muted { opacity: 0.65; font-style: italic; }
.pricing-row__price a { color: var(--accent); font-weight: 600; font-family: var(--font-body); font-size: 0.82rem; }

/* Pricing mobile collapse */
.pricing-toggle { display: none; }
.pricing-table--collapsible {
    position: relative; max-height: 320px; overflow: hidden;
    transition: max-height 0.4s ease;
}
.pricing-table--collapsible::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
    background: linear-gradient(to bottom, transparent, var(--bg-alt));
    pointer-events: none; transition: opacity 0.3s ease;
}
.pricing-table--expanded { max-height: 2000px; }
.pricing-table--expanded::after { opacity: 0; }


/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form {
    background: var(--white); border-radius: var(--radius-xl); padding: 44px;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(27,58,107,0.05);
}
.contact-form__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 14px 18px; border: 2px solid rgba(27,58,107,0.1);
    border-radius: var(--radius); font-family: var(--font-body); font-size: 0.9rem;
    transition: all 0.3s; background: var(--cream);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,152,181,0.15);
    background: var(--white);
}
.form-group input:focus-visible, .form-group textarea:focus-visible, .form-group select:focus-visible {
    outline: 2px solid var(--accent); outline-offset: 1px;
}
.form-group textarea { resize: vertical; min-height: 110px; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto;
    column-gap: 18px;
    row-gap: 4px;
    align-items: start;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    border: 1px solid rgba(27, 58, 107, 0.06);
    box-shadow: 0 1px 3px rgba(27, 58, 107, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(27, 58, 107, 0.08);
    border-color: rgba(0, 152, 181, 0.2);
}
.contact-info-card__icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    font-size: inherit;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.contact-info-card:hover .contact-info-card__icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.06);
}
.contact-info-card__title {
    grid-column: 2;
    grid-row: 1;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-lighter);
    margin-bottom: 2px;
}
.contact-info-card__text {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.55;
}
.contact-info-card__text {
    /* Allow breaking very long strings (e.g. long email addresses)
       at any character so they never overflow the card. */
    overflow-wrap: anywhere;
    word-break: break-word;
}
.contact-info-card__text a {
    color: var(--text);
    font-weight: 600;
    border-bottom: 1.5px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.contact-info-card__text a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
@media (max-width: 480px) {
    .contact-info-card {
        grid-template-columns: 44px 1fr;
        column-gap: 14px;
        padding: 18px 18px;
    }
    .contact-info-card__icon { width: 40px; height: 40px; border-radius: 10px; }
    .contact-info-card__text { font-size: 0.9rem; }
}

.map-placeholder, .contact-map {
    border-radius: var(--radius-lg); height: 200px; overflow: hidden;
}
.map-placeholder {
    background: linear-gradient(135deg, var(--warm), var(--sky-lighter));
    display: flex; align-items: center; justify-content: center;
    font-size: 0.82rem; color: var(--text-lighter);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }

.emergency-bar {
    background: #FFF8E1; border: 1px solid #FFE082; border-radius: var(--radius);
    padding: 16px 22px; margin-top: 20px;
    font-size: 0.84rem; color: #E65100; display: flex; align-items: flex-start; gap: 12px;
    line-height: 1.5;
}
.emergency-bar__icon { font-size: 1.2rem; min-width: 22px; color: #E65100; }


/* ============ SERVICE PAGE ============ */
.service-hero {
    background: linear-gradient(145deg, var(--navy-dark), var(--navy), var(--teal));
    color: var(--white); padding: 52px 0 72px; text-align: center;
}
.service-hero__breadcrumb {
    font-size: 0.82rem; opacity: 0.7; margin-bottom: 24px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.service-hero__breadcrumb a { color: rgba(255,255,255,0.8); }
.service-hero__breadcrumb a:hover { color: white; }
.service-hero__icon { font-size: 2.8rem; display: flex; justify-content: center; margin-bottom: 14px; color: var(--sky); }
.service-hero__icon svg { width: 48px; height: 48px; }
.service-hero__title { font-family: var(--font-display); font-size: 2.6rem; margin-bottom: 14px; }
.service-hero__subtitle { font-size: 1.1rem; opacity: 0.85; max-width: 600px; margin: 0 auto; }
.service-hero__meta { display: flex; gap: 20px; justify-content: center; margin-top: 24px; }
.service-hero__price, .service-hero__duration {
    background: rgba(255,255,255,0.12); padding: 10px 20px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; backdrop-filter: blur(4px);
}

.service-content__grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; }
.service-section { margin-bottom: 44px; }
.service-section h2 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 18px; }

.service-cta-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 32px;
    border: 1px solid rgba(27,58,107,0.05); box-shadow: var(--shadow-md);
    position: sticky; top: 100px;
}
.service-cta-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; }
.service-cta-card p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 22px; }
.service-cta-card .btn { margin-bottom: 10px; }


/* ============ SPECIALIST PROFILE ============ */
.specialist-profile__breadcrumb {
    font-size: 0.82rem; color: var(--text-lighter); margin-bottom: 36px;
    display: flex; align-items: center; gap: 8px;
}
.specialist-profile__breadcrumb a { color: var(--accent); }
.specialist-profile__grid { display: grid; grid-template-columns: 360px 1fr; gap: 56px; }
.specialist-profile__photo {
    position: relative; overflow: hidden; border-radius: var(--radius-xl);
    aspect-ratio: 3 / 4; background: var(--warm);
}
.specialist-profile__photo img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center 15%; border-radius: var(--radius-xl);
}
.specialist-profile__photo-placeholder {
    width: 100%; height: 100%; border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--warm), var(--sky-lighter));
    display: flex; align-items: center; justify-content: center;
    color: var(--text-lighter);
}
.specialist-profile__role {
    font-size: 1.12rem; color: var(--accent); font-weight: 500; margin-bottom: 18px;
}
.specialist-profile__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.specialist-profile__content h3 {
    font-family: var(--font-display); font-size: 1.3rem; margin: 32px 0 14px;
}
.specialist-profile__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.specialist-profile__services { margin-left: 1.5em; margin-top: 8px; }
.specialist-profile__services li { margin-bottom: 8px; }
.specialist-profile__services a { color: var(--accent); font-weight: 500; }


/* ============ PAGE HERO (subpages) ============ */
.page-hero {
    background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 50%, var(--teal) 100%);
    color: var(--white); padding: 60px 0 72px; text-align: center;
    position: relative;
}
.page-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(168,213,226,0.1), transparent 50%);
}
.page-hero::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 70px;
    background: linear-gradient(to bottom, transparent, var(--cream));
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .badge { margin-bottom: 18px; }
.page-hero__title { font-family: var(--font-display); font-size: 2.8rem; margin-bottom: 14px; line-height: 1.2; }
.page-hero__subtitle { font-size: 1.08rem; opacity: 0.85; max-width: 620px; margin: 0 auto; line-height: 1.7; }


/* ============ PAGE DEFAULT ============ */
.page-default .page-title { font-family: var(--font-display); font-size: 2.5rem; margin-bottom: 28px; }


/* ============ SECTION FOOTER ============ */
.section-footer { text-align: center; margin-top: 48px; }
.section-footer__note { font-size: 0.82rem; color: var(--text-lighter); margin-top: 16px; }


/* ============ TEAM ARCHIVE ============ */
.team-grid--archive {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    max-width: 1000px;
    margin: 0 auto;
}
.team-grid--archive .team-card { flex: 0 1 280px; max-width: 300px; }
.team-grid--archive .team-card__photo { aspect-ratio: 4 / 5; }
.team-grid--archive .team-card__info { padding: 20px 22px; }
.team-grid--archive .team-card__name { font-size: 1.02rem; }
.team-grid--archive .team-card__role { font-size: 0.78rem; margin-bottom: 10px; }
.team-grid--archive .team-card__btn { font-size: 0.78rem; }
.team-card__photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--warm) 0%, var(--sky-lighter) 100%);
}
.team-card__photo-placeholder span {
    width: 68px; height: 68px; border-radius: 50%;
    background: var(--navy); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.9rem;
}
.team-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.team-card__tag {
    font-size: 0.68rem; background: var(--accent-light); color: var(--teal-dark);
    padding: 3px 10px; border-radius: 50px; font-weight: 500;
}

/* ============ TEAM SUPPORT SECTION ============ */
.team-support {
    background: var(--warm); border-radius: var(--radius-xl);
    padding: 48px; margin-top: 64px;
}
.team-support__header { text-align: center; margin-bottom: 36px; }
.team-support__title {
    font-family: var(--font-display); font-size: 1.5rem;
    color: var(--navy); margin-bottom: 8px;
}
.team-support__subtitle {
    font-size: 0.92rem; color: var(--text-light); max-width: 480px; margin: 0 auto;
}
.team-support__grid {
    display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.team-support__card {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; transition: all 0.3s ease;
}
.team-support__card:hover { transform: translateY(-4px); }
.team-support__avatar {
    width: 100px; height: 100px; border-radius: 50%;
    overflow: hidden; margin-bottom: 14px;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--white);
    background: linear-gradient(135deg, var(--sky-lighter), var(--accent-light));
}
.team-support__avatar img {
    width: 100%; height: 100%; object-fit: cover;
}
.team-support__avatar-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 2rem;
    color: var(--navy); background: linear-gradient(135deg, var(--sky-lighter), var(--accent-light));
}
.team-support__name {
    font-family: var(--font-display); font-size: 1rem; color: var(--text);
    margin-bottom: 4px;
}
.team-support__role {
    font-size: 0.78rem; color: var(--accent); font-weight: 500;
}


/* ============ TEAM SECTIONS ============ */
.team-section { margin-bottom: 80px; }
.team-section:last-child { margin-bottom: 0; }
.team-section__title {
    font-family: var(--font-display); font-size: 1.35rem; color: var(--navy);
    margin-bottom: 32px; padding-bottom: 14px;
    border-bottom: 2px solid var(--accent-light);
    max-width: 1000px; margin-left: auto; margin-right: auto;
    letter-spacing: 0.01em;
}
.team-intro {
    background: linear-gradient(135deg, var(--navy-lighter), var(--teal-lighter));
    border-radius: var(--radius-xl);
    padding: 36px 48px; margin-top: 64px;
    font-size: 0.97rem; color: var(--text-light); line-height: 1.75;
    text-align: center;
}


/* ============ SERVICES ARCHIVE ============ */
.services-grid--archive {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
    grid-template-columns: unset;
}
.services-grid--archive .service-card {
    flex: 0 1 330px;
    max-width: 360px;
}
.service-card__meta {
    display: flex; gap: 12px; align-items: center; margin-bottom: 18px;
    font-size: 0.8rem;
}
.service-card__price {
    background: var(--accent-light); color: var(--teal-dark);
    padding: 5px 14px; border-radius: 50px; font-weight: 600;
}
.service-card__duration {
    color: var(--text-lighter); font-weight: 500;
}


/* ============ PRICING PAGE ============ */
.pricing-page { max-width: 800px; margin: 0 auto; }
.pricing-group { margin-bottom: 44px; }
.pricing-group__title {
    font-family: var(--font-display); font-size: 1.5rem;
    margin-bottom: 18px; padding-left: 4px;
    color: var(--navy);
}
.pricing-group .pricing-table { max-width: 100%; }
.pricing-group__note {
    font-size: 0.82rem; color: var(--text-lighter); padding: 14px 30px;
    font-style: italic;
}
.pricing-footnotes {
    margin-top: 36px; padding: 0 30px;
    font-size: 0.82rem; color: var(--text-lighter); line-height: 1.6;
}
.pricing-footnotes p { margin: 0 0 8px; }
.pricing-footnotes sup { font-weight: 700; color: var(--accent); }
.pricing-recepta {
    background: var(--warm); border-radius: var(--radius);
    padding: 24px 30px; margin-top: 24px;
    font-size: 0.9rem; color: var(--text); line-height: 1.7;
}
.pricing-recepta__title { font-size: 1rem; margin: 0 0 12px; color: var(--navy); }
.pricing-recepta p { margin: 0 0 10px; }
.pricing-recepta__list { margin: 0 0 4px; padding-left: 20px; }
.pricing-recepta__list li { margin-bottom: 10px; }
.pricing-recepta__warning {
    background: rgba(0,0,0,0.035); border-left: 3px solid var(--accent);
    padding: 12px 16px; border-radius: 8px; margin-top: 14px; margin-bottom: 0;
}
.pricing-recepta__warning strong { color: var(--accent); }

/* ============ 404 ============ */
.error-404 { max-width: 720px; margin: 0 auto; text-align: center; }
.error-404__links {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px;
}
.error-404__link {
    display: inline-flex; align-items: center; padding: 10px 20px;
    background: var(--white); border: 1px solid var(--warm);
    border-radius: var(--radius); color: var(--navy);
    font-weight: 600; font-size: 0.92rem; transition: all 0.2s ease;
}
.error-404__link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.error-404__cta {
    background: var(--warm); border-radius: var(--radius-lg);
    padding: 36px; margin-top: 8px;
}
.error-404__cta p { margin: 0 0 20px; color: var(--text-light); font-size: 1rem; }
.error-404__cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pricing-disclaimer {
    background: var(--warm); border-radius: var(--radius);
    padding: 22px 30px; margin-top: 52px;
    font-size: 0.82rem; color: var(--text-lighter); line-height: 1.7;
}
/* Social links — header top bar + footer */
.social-links { display: inline-flex; align-items: center; gap: 10px; }
.topbar__social { margin-left: 14px; }
.topbar__social .social-links__item { color: inherit; opacity: 0.85; display: inline-flex; }
.topbar__social .social-links__item:hover { opacity: 1; }
.footer__social { margin-top: 18px; gap: 12px; }
.footer__social .social-links__item {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.08); color: #fff; transition: background 0.2s ease;
}
.footer__social .social-links__item:hover { background: var(--accent); }
.pricing-note {
    background: linear-gradient(135deg, var(--navy-lighter), var(--accent-light));
    border-radius: var(--radius-xl);
    padding: 48px; text-align: center; margin-top: 28px;
}
.pricing-note p { font-size: 0.97rem; color: var(--text-light); margin-bottom: 24px; }
.pricing-note__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ============ INFO TILES (Dla pacjenta) — native <details>/<summary> ============ */
.info-tiles { display: flex; flex-direction: column; gap: 16px; max-width: 860px; margin: 0 auto; }
.info-tile {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid rgba(27,58,107,0.05);
    overflow: hidden; transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.info-tile:hover { box-shadow: var(--shadow-md); }
.info-tile[open] { box-shadow: var(--shadow-md); border-color: rgba(0,152,181,0.15); }
.info-tile__header {
    display: flex; align-items: center; gap: 20px;
    width: 100%; padding: 24px 28px;
    cursor: pointer;
    text-align: left; font-family: var(--font-body);
    transition: background 0.2s ease;
    list-style: none; /* hide native summary marker */
}
.info-tile__header::-webkit-details-marker { display: none; }
.info-tile__header::marker { display: none; content: ''; }
.info-tile__header:hover { background: var(--navy-lighter); }
.info-tile[open] .info-tile__header { background: var(--navy-lighter); }
.info-tile__icon {
    width: 52px; height: 52px; min-width: 52px; border-radius: 14px;
    background: var(--accent-light); color: var(--teal);
    display: flex; align-items: center; justify-content: center;
}
.info-tile__icon svg { width: 26px; height: 26px; }
.info-tile__text { flex: 1; }
.info-tile__title {
    font-family: var(--font-display); font-size: 1.12rem;
    color: var(--text); margin-bottom: 4px; line-height: 1.3;
}
.info-tile__desc {
    font-size: 0.82rem; color: var(--text-light); line-height: 1.5; margin: 0;
}
.info-tile__chevron {
    color: var(--text-lighter); flex-shrink: 0;
    transition: transform 0.3s ease;
}
.info-tile[open] .info-tile__chevron { transform: rotate(180deg); color: var(--accent); }
/* Native <details> toggles visibility instantly. No max-height animation
   here — native element handles show/hide reliably on all browsers and
   has zero focus-scroll side effects. Subtle fade-in below for polish. */
.info-tile__panel {
    animation: infoTilePanelIn 0.25s ease-out;
}
@keyframes infoTilePanelIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.info-tile__content {
    padding: 0 28px 28px;
    border-top: 1px solid rgba(27,58,107,0.06);
    padding-top: 24px; margin: 0 28px;
    padding-left: 0; padding-right: 0;
}
.info-tile__content h3 {
    font-family: var(--font-display); font-size: 1.1rem;
    margin: 24px 0 10px; color: var(--navy);
}
.info-tile__content h3:first-child { margin-top: 0; }
.info-tile__content ul { list-style: disc; margin-left: 1.5em; }
.info-tile__content li { margin-bottom: 8px; }


/* ============ PATIENT INFO PAGE ============ */
.patient-info .entry-content { max-width: 800px; }
.patient-info .entry-content h2 {
    font-family: var(--font-display); font-size: 1.7rem; color: var(--text);
    margin: 44px 0 18px; padding-top: 24px; border-top: 2px solid var(--accent-light);
}
.patient-info .entry-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.patient-info .entry-content h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 28px 0 12px; color: var(--navy); }
.patient-info .entry-content ul { list-style: disc; }
.patient-info .entry-content li { margin-bottom: 10px; }
.patient-info__cta { margin-top: 52px; }


/* ============ ABOUT PAGE ============ */
.about-page .entry-content { max-width: 800px; }
.about-page .entry-content h2 {
    font-family: var(--font-display); font-size: 1.7rem; color: var(--text);
    margin: 44px 0 18px; padding-top: 24px; border-top: 2px solid var(--accent-light);
}
.about-page .entry-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.about-page .entry-content h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 24px 0 10px; color: var(--accent-dark); }
.about-page .entry-content ul { list-style: disc; margin-left: 1.5em; }
.about-page .entry-content li { margin-bottom: 10px; }
.about-page .entry-content strong { color: var(--text); }

/* O NAS — Mission */
.onas-mission {
    max-width: 740px; margin: 0 auto; text-align: center;
}
.onas-mission__icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--accent-light); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.onas-mission__title {
    font-family: var(--font-display); font-size: 2rem;
    color: var(--text); margin-bottom: 20px;
}
.onas-mission__text { text-align: left; }

/* O NAS — Values Grid (flex wrap + center for variable card count,
   e.g. 5 cards no longer leave an empty slot in the last row) */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.value-card {
    flex: 0 1 300px;
    max-width: 320px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 34px 28px 30px;
    text-align: center;
    border: 1px solid rgba(27,58,107,0.06);
    box-shadow: 0 1px 3px rgba(27,58,107,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(27,58,107,0.08);
    border-color: rgba(0,152,181,0.16);
}
.value-card__icon {
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}
.value-card:hover .value-card__icon { transform: scale(1.06); }
.value-card__icon svg { width: 28px; height: 28px; }
.value-card__title {
    font-family: var(--font-display);
    font-size: 1.12rem;
    margin-bottom: 10px;
    color: var(--text);
    line-height: 1.3;
}
.value-card__desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* O NAS — History */
.onas-history { max-width: 740px; margin: 0 auto; }
.onas-history__header { text-align: center; margin-bottom: 28px; }
.onas-history__title {
    font-family: var(--font-display); font-size: 2rem;
    color: var(--text); margin-top: 12px;
}


/* ============ TESTIMONIALS / SOCIAL PROOF ============ */
.zl-badge {
    display: flex; align-items: center; justify-content: center;
    gap: 24px; flex-wrap: wrap;
    background: var(--white); border-radius: var(--radius-xl);
    padding: 24px 40px; margin-bottom: 48px;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(27,58,107,0.05);
}
.zl-badge__rating { display: flex; align-items: center; gap: 10px; }
.zl-badge__stars { display: flex; gap: 2px; color: #FFC107; }
.zl-badge__star { width: 20px; height: 20px; }
.zl-badge__score {
    font-family: var(--font-display); font-size: 1.8rem; color: var(--text);
    line-height: 1;
}
.zl-badge__info { text-align: center; line-height: 1.4; }
.zl-badge__count { display: block; font-weight: 700; font-size: 0.92rem; color: var(--text); }
.zl-badge__source { display: block; font-size: 0.78rem; color: var(--text-lighter); }
.zl-badge__link {
    font-size: 0.82rem; font-weight: 600; color: var(--accent);
    white-space: nowrap;
}
.zl-badge__link:hover { color: var(--accent-dark); }

/* Carousel */
.carousel { position: relative; max-width: 720px; margin: 0 auto; }
.carousel__track {
    position: relative;
    overflow: hidden;
    /* Fixed min-height tall enough for the longest testimonial — prevents
       page jumping every 5 seconds when auto-rotate swaps a short slide
       for a longer one (content below the carousel was shifting up/down
       with every rotation). */
    min-height: 300px;
}
@media (max-width: 768px) {
    .carousel__track { min-height: 420px; }
}
@media (max-width: 480px) {
    .carousel__track { min-height: 480px; }
}
.carousel__slide {
    position: absolute; top: 0; left: 0; right: 0;
    opacity: 0; transform: translateX(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.carousel__slide.is-active {
    position: relative; opacity: 1; transform: translateX(0);
    pointer-events: auto;
}
.carousel__slide.is-exiting {
    opacity: 0; transform: translateX(-40px);
}
.carousel__dots {
    display: flex; justify-content: center; gap: 8px; margin-top: 28px;
}
.carousel__dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--navy-light); border: none; cursor: pointer;
    transition: all 0.3s ease; padding: 0;
}
.carousel__dot.is-active { background: var(--accent); width: 28px; border-radius: 5px; }
.carousel__dot:hover { background: var(--accent); }

/* Carousel arrows */
.carousel__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--white); border: 1px solid rgba(27,58,107,0.1);
    color: var(--navy); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.25s ease; z-index: 2;
}
.carousel__arrow:hover {
    background: var(--navy); color: var(--white);
    border-color: var(--navy); box-shadow: 0 4px 16px rgba(21,96,130,0.25);
}
.carousel__arrow--prev { left: -56px; }
.carousel__arrow--next { right: -56px; }

/* Testimonial card (within carousel) */
.testimonial-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 36px 40px; position: relative;
    border: 1px solid rgba(27,58,107,0.05);
    box-shadow: var(--shadow-sm);
}
.testimonial-card__icon {
    position: absolute; top: 24px; right: 32px;
    color: var(--navy);
}
.testimonial-card__quote { margin-bottom: 24px; }
.testimonial-card__quote p {
    font-size: 1.02rem; color: var(--text-light); line-height: 1.75;
    font-style: italic;
}
.testimonial-card__footer { display: flex; align-items: center; gap: 14px; }
.testimonial-card__author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--accent-light); color: var(--teal-dark);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
    flex-shrink: 0;
}
.testimonial-card__author-name { font-weight: 700; font-size: 0.88rem; color: var(--text); }
.testimonial-card__author-context { font-size: 0.76rem; color: var(--text-lighter); }


/* ============ FOOTER ============ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 72px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand-text { font-size: 0.87rem; line-height: 1.7; margin-top: 18px; max-width: 320px; }
.footer__logo { display: flex; align-items: center; gap: 14px; }
.footer__logo-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 12px;
    background: var(--accent); color: var(--white);
    display: flex; align-items: center; justify-content: center;
}
.footer__logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    border-radius: 12px;
    flex-shrink: 0;
    box-sizing: border-box;
}
.footer__logo-text {
    font-family: var(--font-display); font-size: 1.02rem;
    color: var(--white); line-height: 1.25;
}
.footer__logo-text small {
    display: block; font-family: var(--font-body); font-size: 0.64rem;
    color: rgba(255,255,255,0.5); font-weight: 400;
    letter-spacing: 0.03em; text-transform: uppercase; margin-top: 3px;
}
.footer__title { color: var(--white); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links li { font-size: 0.87rem; }
.footer__links a { font-size: 0.87rem; }
.footer__links a:hover { color: var(--sky); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px 24px;
    font-size: 0.78rem;
    opacity: 0.5;
}
.footer__copy { justify-self: start; text-align: left; }
.footer__credits { justify-self: center; text-align: center; white-space: nowrap; }
.footer__privacy { justify-self: end; text-align: right; }
.footer__bottom a:hover { opacity: 1; color: var(--sky); }
.footer__credits a { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,0.3); transition: border-color .2s; }
.footer__credits a:hover { border-bottom-color: var(--sky); }
@media (max-width: 600px) {
    .footer__bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer__copy, .footer__credits, .footer__privacy { justify-self: center; text-align: center; }
}


/* ============ SCROLL PROGRESS BAR ============ */
.scroll-progress-track {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: transparent;
    z-index: 1;
}
.scroll-progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--navy), var(--teal), var(--sky));
    transition: width 0.05s linear;
    border-radius: 0 2px 2px 0;
}


/* ============ SCROLL TO TOP ============ */
.scroll-top {
    position: fixed; bottom: 28px; right: 28px; z-index: 190;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--navy); color: var(--white); border: none;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: all 0.35s ease;
}
.scroll-top.visible {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.scroll-top:hover {
    background: var(--accent); transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}
@media (max-width: 768px) {
    .scroll-top { bottom: 24px; right: 16px; width: 44px; height: 44px; }
}


/* ============ INLINE SVG ICONS ============ */
.icon {
    display: inline-block;
    vertical-align: -0.15em;
    flex-shrink: 0;
}


/* ============ FADE-IN ON SCROLL ============ */
.observe-fade {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.observe-fade.is-visible {
    opacity: 1; transform: translateY(0);
}


/* ============ STICKY MOBILE CTA ============ */
.sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    background: var(--white); border-top: 1px solid rgba(27,58,107,0.08);
    padding: 14px 24px; display: none;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.06);
    opacity: 0; visibility: hidden; transform: translateY(100%);
    transition: opacity .3s, transform .3s, visibility .3s;
}
.sticky-cta.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sticky-cta__inner { display: flex; gap: 10px; }
.sticky-cta__inner .btn { flex: 1; padding: 14px 16px; }


/* ============ SUBTLE SCROLL ANIMATIONS ============ */
/* Applied via data-animate attribute by JS IntersectionObserver */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease-out, transform .7s ease-out;
    will-change: opacity, transform;
}
[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger for grid children (services, team cards, testimonials) */
[data-animate-stagger] > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}
[data-animate-stagger].is-visible > *:nth-child(1) { transition-delay: .0s; opacity: 1; transform: translateY(0); }
[data-animate-stagger].is-visible > *:nth-child(2) { transition-delay: .08s; opacity: 1; transform: translateY(0); }
[data-animate-stagger].is-visible > *:nth-child(3) { transition-delay: .16s; opacity: 1; transform: translateY(0); }
[data-animate-stagger].is-visible > *:nth-child(4) { transition-delay: .24s; opacity: 1; transform: translateY(0); }
[data-animate-stagger].is-visible > *:nth-child(5) { transition-delay: .32s; opacity: 1; transform: translateY(0); }
[data-animate-stagger].is-visible > *:nth-child(6) { transition-delay: .40s; opacity: 1; transform: translateY(0); }
[data-animate-stagger].is-visible > *:nth-child(n+7) { transition-delay: .48s; opacity: 1; transform: translateY(0); }

/* Accessibility — respect user's motion preferences (crucial for anxiety/PTSD) */
@media (prefers-reduced-motion: reduce) {
    [data-animate], [data-animate-stagger] > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    :root { --section-gap: 72px; }
    .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero__image { max-width: 420px; margin: 0 auto; }
    .hero__float-card--1 { left: -10px; }
    .hero__float-card--2 { right: -10px; }
    .hero__title { font-size: 2.6rem; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid--archive .service-card { flex: 0 1 calc(50% - 12px); max-width: none; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-bar { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .service-content__grid { grid-template-columns: 1fr; }
    .service-cta-card { position: static; }
    .specialist-profile__grid { grid-template-columns: 1fr; }
    .specialist-profile__photo { max-width: 360px; }
    .about-grid { grid-template-columns: 1fr; }
    .about__image { height: 320px; }
    .team-support { padding: 36px 28px; }
    .team-support__grid { gap: 28px; }
    .zl-badge { padding: 20px 28px; gap: 18px; }
    .values-grid { gap: 18px; }
    .value-card { flex: 0 1 calc(50% - 9px); max-width: none; padding: 28px 22px 24px; }
}

@media (max-width: 768px) {
    :root { --section-gap: 56px; }
    .header__nav { display: none; }
    .header__burger { display: flex; }
    .topbar__hours { display: none; }
    .topbar__phones { gap: 12px; }
    .topbar__phone { font-size: 0.8rem; }
    .hero__image { display: none; }
    .hero { min-height: 480px; padding: 60px 0 80px; }
    .hero__title { font-size: 2.1rem; }
    .page-hero__title { font-size: 2rem; }
    .section-header__title { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .services-grid--archive .service-card { flex: 0 1 100%; max-width: 340px; }
    .contact-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .team-grid--archive { gap: 14px; }
    .team-grid--archive .team-card { flex: 0 1 calc(50% - 7px); max-width: none; }
    .team-card__photo { aspect-ratio: 1 / 1; }
    .team-grid--archive .team-card__photo { aspect-ratio: 1 / 1; }
    .team-card__info { padding: 14px 14px 16px; }
    .team-card--bookable .team-card__info { padding-bottom: 10px; }
    .team-card__book { padding: 0 14px 16px; }
    .team-card__book .btn.btn-mydr-pp { padding: 9px 12px; font-size: 0.74rem; }
    .team-card__name { font-size: 0.95rem; margin-bottom: 3px; }
    .team-card__role { font-size: 0.72rem; margin-bottom: 8px; }
    .team-card__btn { font-size: 0.72rem; }
    .team-support__grid { gap: 20px; }
    .team-support__avatar { width: 80px; height: 80px; }
    .zl-badge { flex-direction: column; text-align: center; padding: 20px; }
    .testimonial-card { padding: 28px 24px; }
    .testimonial-card__quote p { font-size: 0.92rem; }
    .carousel__arrow { width: 36px; height: 36px; }
    .carousel__arrow--prev { left: -6px; }
    .carousel__arrow--next { right: -6px; }
    .carousel__arrow svg { width: 16px; height: 16px; }
    .pricing-toggle {
        display: flex; align-items: center; justify-content: center; gap: 6px;
        margin: 16px auto 0; padding: 10px 24px;
        background: none; border: 1px solid rgba(27,58,107,0.15); border-radius: var(--radius);
        color: var(--accent); font-size: 0.88rem; font-weight: 600;
        cursor: pointer; transition: all 0.2s ease;
    }
    .pricing-toggle:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
    .pricing-toggle__less { display: none; }
    .pricing-toggle.is-expanded .pricing-toggle__more { display: none; }
    .pricing-toggle.is-expanded .pricing-toggle__less { display: flex; align-items: center; gap: 6px; }
    .value-card { flex: 0 1 100%; max-width: 340px; }
    .info-tile__header { gap: 14px; padding: 20px 20px; }
    .info-tile__icon { width: 44px; height: 44px; min-width: 44px; }
    .info-tile__icon svg { width: 22px; height: 22px; }
    .info-tile__title { font-size: 1rem; }
    .info-tile__content { padding-top: 18px; margin: 0 20px; }

    /* Global mobile typography — long-form text is uniformly smaller & tighter
       on mobile. Applies anywhere .prose / subtitle / body-heavy section
       appears (o-nas, single-usluga, single-specjalista, dla-pacjenta, etc). */
    .prose { font-size: 0.95rem; line-height: 1.65; }
    .prose h2 { font-size: 1.3rem; margin: 1.4em 0 0.5em; }
    .prose h3 { font-size: 1.08rem; margin: 1.2em 0 0.4em; }
    .prose p { margin-bottom: 0.9em; }
    .prose ul, .prose ol { margin-left: 1.2em; margin-bottom: 0.9em; }
    .prose li { margin-bottom: 5px; }
    .about__text { font-size: 0.95rem; line-height: 1.65; }
    .about__title { font-size: 1.7rem; }
    .hero__subtitle { font-size: 1rem; line-height: 1.6; }
    .section-header__subtitle { font-size: 0.95rem; line-height: 1.6; }
    .cta-banner__subtitle { font-size: 0.95rem; line-height: 1.6; }
    .service-hero__subtitle { font-size: 0.98rem; line-height: 1.55; }
    .service-section h2 { font-size: 1.25rem; margin-bottom: 14px; }
    .onas-mission__title { font-size: 1.5rem; }
    .onas-history__title { font-size: 1.5rem; }
    .specialist-profile__content h1 { font-size: 1.7rem; }
    .specialist-profile__content h3 { font-size: 1.1rem; margin: 1.6em 0 0.5em; }
    .specialist-profile__role { font-size: 0.98rem; margin-bottom: 14px; }

    /* Mobile container + form alignment — tighter padding so content fits edge-
       to-edge on narrow screens without appearing visually off-center. */
    .container { padding: 0 18px; }
    .contact-form {
        padding: 24px 20px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .contact-info { width: 100%; }
    .contact-grid { gap: 20px; }

    /* Breadcrumbs on mobile — hide redundant "Strona główna /" and keep only
       immediate parent + current page. Google/Amazon mobile UX pattern. */
    .service-hero__breadcrumb,
    .specialist-profile__breadcrumb {
        font-size: 0.74rem;
        flex-wrap: wrap;
        row-gap: 4px;
        margin-bottom: 16px;
    }
    .service-hero__breadcrumb > *:nth-child(-n+2),
    .specialist-profile__breadcrumb > *:nth-child(-n+2) {
        display: none;
    }
    .service-hero__breadcrumb > *:last-child,
    .specialist-profile__breadcrumb > *:last-child {
        max-width: 70vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .service-card { padding: 28px 20px; }
    .trust-bar { grid-template-columns: 1fr 1fr; padding: 24px 20px; }
    /* .sticky-cta hidden on mobile per user feedback — zbyt dużo CTA */
    .footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .service-hero__title { font-size: 1.8rem; }
    .cta-banner { padding: 48px 28px; }
    .cta-banner__title { font-size: 1.8rem; }
    .pricing-note__cta { flex-direction: column; align-items: center; }
    .contact-form { padding: 28px; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .team-grid--archive { gap: 10px; }
    .team-grid--archive .team-card { flex: 0 1 calc(50% - 5px); }
    .team-card__info { padding: 12px 12px 14px; }
    .team-card__book { padding: 0 12px 14px; }
    .team-card__name { font-size: 0.88rem; line-height: 1.25; }
    .team-card__role { font-size: 0.68rem; line-height: 1.35; margin-bottom: 6px; }
    .team-card__btn { font-size: 0.68rem; }
    .team-support { padding: 28px 20px; margin-top: 40px; }
    .team-support__grid { flex-direction: column; align-items: center; gap: 24px; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .hero__title { font-size: 1.8rem; }
    .page-hero__title { font-size: 1.6rem; }
    .section-header__title { font-size: 1.7rem; }
    .trust-bar { grid-template-columns: 1fr 1fr; gap: 16px; }
    .about__features { grid-template-columns: 1fr; }
}


/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero__float-card { animation: none; }
    .hero__badge-dot { animation: none; }
    .observe-fade { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}


/* ============ FOCUS VISIBLE ============ */
*:focus { outline: none; }
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}
.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(0, 152, 181, 0.15);
}


/* ============ FLUENT FORMS OVERRIDES ============ */
.fluentform .ff-el-group { margin-bottom: 20px; }
.fluentform .ff-el-input--label label,
.fluentform label.ff_gdpr_field_label { font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 8px; display: block; }
.fluentform input[type="text"], .fluentform input[type="email"], .fluentform input[type="tel"],
.fluentform textarea, .fluentform select {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid rgba(27, 58, 107, 0.18);
    border-radius: 8px;
    font-size: 16px; /* 16px prevents iOS Safari zoom-on-focus */
    font-family: inherit;
    background: #fff;
    color: var(--text);
    box-shadow: inset 0 1px 2px rgba(27, 58, 107, 0.03);
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}
.fluentform select { min-height: 47px; } /* parzystość wysokości z inputami (audyt mobile) */
.fluentform input[type="text"]::placeholder,
.fluentform input[type="email"]::placeholder,
.fluentform input[type="tel"]::placeholder,
.fluentform textarea::placeholder { color: rgba(30, 42, 58, 0.4); }
.fluentform input:focus, .fluentform textarea:focus, .fluentform select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 152, 181, 0.12);
    outline: none;
}
.fluentform textarea { resize: vertical; min-height: 110px; }
.fluentform .ff-el-form-check label,
.fluentform .ff_gdpr_consent label,
.fluentform .ff-el-form-check-label { font-size: 0.78rem !important; font-weight: 400 !important; line-height: 1.5 !important; color: var(--text-muted, #666) !important; }
.fluentform .ff-el-form-check label a { color: var(--accent); text-decoration: underline; }
.fluentform .ff-btn-submit,
.fluentform button[type="submit"] {
    background: var(--accent); color: var(--white); padding: 14px 28px; border: none; border-radius: 10px;
    font-size: 1rem; font-weight: 600; width: 100%; cursor: pointer; transition: background .2s, transform .2s;
}
.fluentform .ff-btn-submit:hover, .fluentform button[type="submit"]:hover { background: var(--accent-dark); transform: translateY(-2px); }
/* intl-tel-input — flag prefix visibility.
   Works for both legacy (v23/v24: __flag-container, __selected-flag)
   and modern (v25+: __country-container, __selected-country) class names. */
.fluentform .iti { width: 100%; display: block; position: relative; }
.fluentform .iti__flag-container,
.fluentform .iti__country-container {
    display: flex !important;
    align-items: center;
}
.fluentform .iti__selected-flag,
.fluentform .iti__selected-country {
    display: flex !important;
    align-items: center;
    padding: 0 10px;
    background: rgba(27,58,107,0.04);
    border-right: 1px solid rgba(27,58,107,0.08);
    cursor: pointer;
}
.fluentform .iti__selected-country-inner,
.fluentform .iti__selected-dial-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.fluentform .iti__flag {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.fluentform .iti input[type="tel"] { padding-left: 72px !important; }
@media (max-width: 600px) {
    .fluentform .iti input[type="tel"] { padding-left: 64px !important; }
    .fluentform .iti__selected-flag,
    .fluentform .iti__selected-country { padding: 0 6px; }
}

/* iOS Safari fix — intl-tel-input v24/v25 mismatch uses relative URL inside CSS
   custom property (--iti-path-flags-2x) which WebKit won't resolve. Force absolute paths. */
.iti__flag {
    background-image: url('/wp-content/plugins/fluentformpro/public/libs/intl-tel-input/img/flags.webp') !important;
    background-repeat: no-repeat !important;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2x) {
    .iti__flag {
        background-image: url('/wp-content/plugins/fluentformpro/public/libs/intl-tel-input/img/flags@2x.webp') !important;
    }
}

/* RODO consent — red asterisk at start of text to signal required field */
.fluentform .ff-el-form-check.ff-el-tc .ff_t_c::before,
.fluentform .ff_gdpr_consent .ff_t_c::before {
    content: '* ';
    color: #d72e2e;
    font-weight: 700;
}

/* ============ PRINT ============ */
@media print {
    .topbar, .header, .sticky-cta, .scroll-top,
    .scroll-progress-track, .mobile-menu, .mobile-overlay,
    .cta-banner, .hero__float-card { display: none !important; }
    body { padding-bottom: 0; background: white; color: black; font-size: 12pt; }
    .hero { min-height: auto; padding: 24pt 0; background: none; color: black; }
    .hero::before, .hero::after, .page-hero::before, .page-hero::after { display: none; }
    .page-hero { background: none; color: black; padding: 18pt 0; }
    .section { padding: 24pt 0; }
    .hero__title, .page-hero__title, .section-header__title { color: black; }
    .hero__subtitle, .page-hero__subtitle { color: #333; opacity: 1; }
    .btn { border: 1px solid #999; color: black; background: none; }
    a { color: black; text-decoration: underline; }
    .pricing-table { box-shadow: none; border: 1px solid #ccc; }
    .pricing-row { border-bottom: 1px solid #ddd; }
    .team-card, .service-card, .testimonial-card, .info-tile,
    .value-card, .contact-info-card { box-shadow: none; border: 1px solid #ddd; }
}

/* ============ GO-LIVE POLISH (2026-06-25) — readability, tap targets, EN flag ============ */
/* "EN" pill marking English-language offerings inside Polish lists */
.en-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--accent-light);
    color: var(--teal-dark);
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    vertical-align: middle;
    text-transform: uppercase;
}
.pricing-row--en .pricing-row__name { color: var(--text-light); }

/* Readability: lift secondary reading text toward a 14px+ floor (base = 16px) */
.service-card__desc { font-size: 0.92rem; }
.team-card__role, .team-grid--archive .team-card__role { font-size: 0.84rem; }
.pricing-row__name { font-size: 0.94rem; }
.form-group label { font-size: 0.88rem; }
.section-footer__note { font-size: 0.875rem; }
.testimonial-card__author-context { font-size: 0.8rem; }
.footer__links li, .footer__links a { font-size: 0.9rem; }

/* Tap targets: give footer / inline list links a comfortable ≥40px hit area on touch */
.footer__links { gap: 6px; }
.footer__links a {
    display: inline-block;
    padding: 9px 0;
    line-height: 1.3;
}
.footer__social .social-links__item { min-width: 40px; min-height: 40px; }
.footer__privacy { display: inline-block; padding: 8px 0; }

/* Clickable trust-bar items (Specjaliści → /zespol/, Usługi → /oferta/) */
.trust-item--link { text-decoration: none; color: inherit; cursor: pointer; border-radius: 14px; transition: transform .15s ease, background .2s ease; }
.trust-item--link:hover { transform: translateY(-2px); background: var(--navy-lighter); }
.trust-item--link .trust-item__number { transition: color .2s ease; }
.trust-item--link:hover .trust-item__number { color: var(--accent); }
