/*
Theme Name: Prenatal Theme
Theme URI: https://prenatal.cz
Description: Moderní WordPress téma pro Centrum prenatální diagnostiky, s.r.o.
Author: CPD Team
Author URI: https://prenatal.cz
Version: 2.0.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Text Domain: prenatal-theme
Tags: medical, healthcare, prenatal, responsive, custom-menu, custom-logo
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
    --color-primary:        #2760a0;
    --color-primary-dark:   #1c4a7d;
    --color-primary-light:  #eef4fb;
    --color-accent:         #e8967c;
    --color-accent-light:   #fdf0eb;
    --color-accent-warm:    #f5c7b8;
    --color-warm:           #d4856e;
    --color-text:           #2c2638;
    --color-text-muted:     #6b6280;
    --color-bg:             #fffcfa;
    --color-bg-alt:         #fdf6f2;
    --color-bg-warm:        #fef9f6;
    --color-white:          #ffffff;
    --color-border:         #ede4de;

    --font-primary:   'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;

    --spacing-xs:  0.5rem;
    --spacing-sm:  1rem;
    --spacing-md:  1.5rem;
    --spacing-lg:  2rem;
    --spacing-xl:  3rem;
    --spacing-xxl: 5rem;

    --radius-sm:   0;
    --radius-md:   0;
    --radius-lg:   0;
    --radius-full: 50%;

    --shadow-sm: 0 2px 8px rgba(44,38,56,.05), 0 1px 3px rgba(44,38,56,.04);
    --shadow-md: 0 6px 24px rgba(44,38,56,.07), 0 2px 8px rgba(232,150,124,.06);
    --shadow-lg: 0 12px 40px rgba(44,38,56,.09), 0 4px 12px rgba(232,150,124,.08);

    --transition-fast:   150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow:   500ms ease;

    --container-max: 1320px;
    --header-height: 96px;
    --mobile-header-height: 64px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -.018em;
    margin: 0 0 var(--spacing-md);
    color: var(--color-text);
}
h1 { font-weight: 600; letter-spacing: -.025em; }

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 var(--spacing-sm); }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--color-primary-dark); }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

/* Měkký vlnový přechod mezi sekcemi */
.section--wave-top::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: inherit;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V20C200 0 400 10 600 20S1000 40 1200 20V60z' fill='%23fff'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V20C200 0 400 10 600 20S1000 40 1200 20V60z' fill='%23fff'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    z-index: 2;
    pointer-events: none;
}
.section--wave-bottom::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: inherit;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0v40c200 20 400 10 600 0s400-20 600 0V0z' fill='%23fff'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0v40c200 20 400 10 600 0s400-20 600 0V0z' fill='%23fff'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    z-index: 2;
    pointer-events: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: .875rem 2rem;
    font-family: var(--font-primary);
    font-size: .95rem;
    font-weight: 600;
    border-radius: 32px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    line-height: 1;
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}
.btn--primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39,96,160,.25);
}

.btn--outline {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn--outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39,96,160,.18);
}

.btn--white {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}
.btn--white:hover {
    background-color: transparent;
    color: var(--color-white);
}

.btn--outline-light {
    background-color: transparent;
    color: rgba(255,255,255,.95);
    border-color: rgba(255,255,255,.55);
}
.btn--outline-light:hover {
    background-color: rgba(255,255,255,.15);
    color: var(--color-white);
    border-color: rgba(255,255,255,.85);
    transform: translateY(-2px);
}

.btn--link {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: .9rem;
    padding: .5rem 0;
}
.btn--link:hover { color: var(--color-primary); }

.btn--small { padding: .6rem 1.25rem; font-size: .875rem; }
.btn--large { padding: 1.125rem 2.5rem; font-size: 1.05rem; }

/* ==========================================================================
   Site Header — vždy solidní bílý, žádné glassmorphism
   ========================================================================== */

@keyframes headerFadeIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.site-header {
    position: fixed;
    /* 0 na normálním webu; uvnitř Google Translate proxy (*.translate.goog) nastaví
       JS --gt-offset na výšku vložené Google lišty, aby ji fixní hlavička nepodplouvala. */
    top: var(--gt-offset, 0px);
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 0 rgba(44,38,56,.02), 0 8px 24px -16px rgba(44,38,56,.08);
    overflow: visible;
    animation: headerFadeIn 0.6s cubic-bezier(.22,1,.36,1) both;
}

/* Mírně kompaktnější po scrollu */
.site-header.is-scrolled {
    height: 72px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--spacing-md);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

/* Logo */
.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.site-header .site-logo {
    position: relative;
    background: transparent;
    padding: 0;
    z-index: 1001;
}
.site-logo img {
    height: 80px;
    width: auto;
    transition: height 0.4s cubic-bezier(.25,.1,.25,1);
    position: relative;
    z-index: 1;
}
.site-header.is-scrolled .site-logo img { height: 60px; }

/* Header Actions (CTA + phone + hamburger) */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: .875rem;
    color: var(--color-primary);
    white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; flex-shrink: 0; }


/* Mobile menu toggle (hamburger) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition-normal);
    position: relative;
}
.menu-toggle span { margin: 0 auto; }
.menu-toggle span::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
}
.menu-toggle span::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
}
.menu-toggle.is-active span { background-color: transparent; }
.menu-toggle.is-active span::before { transform: rotate(45deg); top: 0; }
.menu-toggle.is-active span::after  { transform: rotate(-45deg); bottom: 0; }


/* Mobile overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 999;
    cursor: pointer;
}
.mobile-menu-overlay.is-active { display: block; }

/* ==========================================================================
   Main Navigation
   ========================================================================== */

.main-navbar {
    flex: 1;
    align-self: stretch;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
}

.navbar-list {
    display: flex;
    align-items: stretch;
    height: 100%;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-list > .menu-item {
    /* no position: relative – megamenu positions to .site-header */
    display: flex;
    align-items: center;
}

.navbar-list > .menu-item > a {
    display: flex;
    align-items: center;
    padding: 0 .9rem;
    height: 100%;
    font-family: var(--font-primary);
    font-size: .9rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    transition: color var(--transition-fast);
    position: relative;
}
.navbar-list > .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: .9rem;
    right: .9rem;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    transform-origin: center;
}
.navbar-list > .menu-item:hover > a,
.navbar-list > .menu-item.current-menu-item > a { color: var(--color-primary); }
.navbar-list > .menu-item:hover > a::after,
.navbar-list > .menu-item.current-menu-item > a::after { transform: scaleX(1); }


/* ==========================================================================
   Megamenu
   ========================================================================== */

.megamenu {
    /* position: absolute with .site-header (position:fixed) as containing block */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 2px solid var(--color-primary-light);
    box-shadow: 0 12px 40px rgba(39,96,160,.12);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal);
    pointer-events: none;
    overflow: hidden;
}

.megamenu::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.08;
    background-repeat: no-repeat;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 40' width='70' height='40'><g transform='rotate(20 35 20)'><path d='M5 20 Q 15 10 25 20 T 45 20 T 65 20' fill='none' stroke='%23cc7a3e' stroke-width='1.4' stroke-linecap='round'/></g></svg>"),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 40' width='90' height='40'><g transform='rotate(-15 45 20)'><path d='M5 20 Q 17 8 29 20 T 53 20 T 77 20' fill='none' stroke='%23e08a4c' stroke-width='1.4' stroke-linecap='round'/></g></svg>"),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 40' width='50' height='40'><g transform='rotate(35 25 20)'><path d='M5 20 Q 12 12 19 20 T 33 20' fill='none' stroke='%23cc7a3e' stroke-width='1.3' stroke-linecap='round'/></g></svg>"),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 36' width='80' height='36'><g transform='rotate(-25 40 18)'><path d='M5 18 Q 14 10 23 18 T 41 18 T 59 18' fill='none' stroke='%23e08a4c' stroke-width='1.3' stroke-linecap='round'/></g></svg>"),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 32' width='60' height='32'><g transform='rotate(8 30 16)'><path d='M5 16 Q 12 8 19 16 T 33 16 T 47 16' fill='none' stroke='%23cc7a3e' stroke-width='1.3' stroke-linecap='round'/></g></svg>"),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 32' width='40' height='32'><g transform='rotate(-40 20 16)'><path d='M5 16 Q 10 10 15 16 T 25 16' fill='none' stroke='%23cc7a3e' stroke-width='1.2' stroke-linecap='round'/></g></svg>"),
        radial-gradient(circle  4px at 17% 28%, #cc7a3e 100%, transparent 100%),
        radial-gradient(circle  4px at 86% 76%, #cc7a3e 100%, transparent 100%),
        radial-gradient(circle  3px at 42% 80%, #cc7a3e 100%, transparent 100%),
        radial-gradient(circle  3px at 95% 18%, #cc7a3e 100%, transparent 100%),
        radial-gradient(circle  60px at 22% 30%, #f5c19a 100%, transparent 100%),
        radial-gradient(circle  90px at 90% 75%, #e89668 100%, transparent 100%),
        radial-gradient(circle 140px at 8%  92%, #fdf2e6 100%, transparent 100%),
        radial-gradient(circle 110px at 78% 15%, #f5c19a 100%, transparent 100%),
        radial-gradient(circle  70px at 50% 105%, #e08a4c 100%, transparent 100%),
        radial-gradient(circle  46px at 38% 12%, #fdf2e6 100%, transparent 100%),
        radial-gradient(circle 180px at 102% 30%, #f5c19a 100%, transparent 100%),
        radial-gradient(circle  34px at 62% 58%, #e89668 100%, transparent 100%);
    background-position:
        14% 18%,
        82% 28%,
        38% 70%,
        66% 88%,
        52% 8%,
        24% 92%,
        0 0, 0 0, 0 0, 0 0,
        0 0, 0 0, 0 0, 0 0,
        0 0, 0 0, 0 0, 0 0;
    background-size:
        70px 40px,
        90px 40px,
        50px 40px,
        80px 36px,
        60px 32px,
        40px 32px,
        auto, auto, auto, auto,
        auto, auto, auto, auto,
        auto, auto, auto, auto;
}

.menu-item.has-megamenu.is-open .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.megamenu-inner {
    position: relative;
    z-index: 2;
    display: flex;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.megamenu-column {
    flex: 1;
    min-width: 160px;
}

.megamenu-heading {
    display: block;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-primary);
    padding-bottom: .5rem;
    margin-bottom: .75rem;
    border-bottom: 1px solid var(--color-border);
}

.megamenu-column a {
    display: block;
    padding: .35rem 0;
    font-size: .875rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.megamenu-column a:hover {
    color: var(--color-primary);
    padding-left: .4rem;
}

/* ==========================================================================
   Header CTA & Contact Items in Nav
   ========================================================================== */

.menu-item.menu-cta a {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    padding: .6rem 1.25rem;
    border-radius: 32px;
    font-weight: 600;
    font-size: .875rem;
    margin: auto .5rem;
    height: auto;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.menu-item.menu-cta a:hover {
    background-color: var(--color-primary-dark) !important;
    transform: translateY(-1px);
    color: var(--color-white) !important;
}
.menu-item.menu-cta a::after { display: none; }


.menu-item.menu-contact {
    padding: 0 .75rem;
    font-size: .78rem;
    line-height: 1.4;
    color: var(--color-text-muted);
    border-left: 1px solid var(--color-border);
    margin-left: auto;
    align-self: center;
    height: auto;
    display: flex;
    align-items: center;
}

.language-flags {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 4px;
    margin-right: var(--spacing-sm);
}
.language-flags a { display: block; opacity: .8; transition: opacity var(--transition-fast); }
.language-flags a:hover { opacity: 1; }
.language-flags img { width: 24px; height: auto; border-radius: 2px; }

.header-phone-info { color: var(--color-text-muted); font-size: .78rem; }
.header-phone-info strong { color: var(--color-text); }
.header-phone-info .header-email {
    display: block;
    margin-top: 3px;
    color: var(--color-primary);
    font-weight: 600;
}
.header-phone-info .header-email:hover { color: var(--color-primary-dark); text-decoration: underline; }


/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: clamp(380px, 52vh, 560px);
    display: flex;
    align-items: center;
    background-color: var(--color-bg);
    background-image:
        radial-gradient(ellipse 55% 60% at 12% 18%, rgba(232,150,124,.32), transparent 62%),
        radial-gradient(ellipse 70% 65% at 88% 82%, rgba(39,96,160,.16), transparent 65%),
        radial-gradient(ellipse 45% 40% at 75% 12%, rgba(245,199,184,.45), transparent 70%),
        radial-gradient(ellipse 50% 55% at 30% 90%, rgba(212,133,110,.12), transparent 70%),
        linear-gradient(180deg, #fffcfa 0%, #fdf6f2 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Subtle highlight wash on the abstract gradient mesh */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,.55), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Photo banner mode — when admin sets an inline background-image (custom hero photo),
   apply a soft dark overlay (max α .20) so the photo prosvítá but white text holds. */
.hero[style*="background-image"] {
    background-color: #1a2840;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: clamp(440px, 60vh, 640px);
}
.hero[style*="background-image"]::before {
    background:
        linear-gradient(to top, rgba(10,20,40,.20) 0%, rgba(10,20,40,.08) 50%, transparent 100%),
        linear-gradient(135deg, rgba(28,74,125,.12) 0%, transparent 60%);
}
.hero[style*="background-image"] h1 {
    color: var(--color-white);
    text-shadow: 0 2px 16px rgba(0,0,0,.30);
}
.hero[style*="background-image"] .hero-subtitle {
    color: rgba(255,255,255,.92);
    text-shadow: 0 1px 8px rgba(0,0,0,.22);
}
.hero[style*="background-image"] .scroll-indicator a { color: rgba(255,255,255,.8); opacity: 1; }
.hero[style*="background-image"] .scroll-indicator .scroll-mouse {
    border-color: rgba(255,255,255,.55);
    opacity: 1;
}
.hero[style*="background-image"] .scroll-indicator .scroll-mouse::after { background: rgba(255,255,255,.7); }

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: var(--header-height);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

.hero-text {
    max-width: 620px;
}

/* Wrapper: vertikální lišta vedle H1 */
.hero-title-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: var(--spacing-md);
}

.hero-accent-bar {
    display: none;
}

.hero h1 {
    color: var(--color-primary-dark);
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.005em;
    margin-bottom: 0;
}

.hero-subtitle {
    color: var(--color-text-muted);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
    letter-spacing: .01em;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Hero side panel */
.hero-panel {
    flex-shrink: 0;
    width: 300px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    color: var(--color-white);
}

.hero-panel h3 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.hero-panel ul { margin-bottom: 0; }

.hero-panel li {
    padding: .5rem 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-panel li:last-child { border-bottom: none; }

.hero-panel li a {
    color: rgba(255,255,255,.9);
    font-size: .9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: color var(--transition-fast), gap var(--transition-fast);
}
.hero-panel li a::before {
    content: '→';
    font-size: .8rem;
    opacity: .6;
}
.hero-panel li a:hover {
    color: var(--color-white);
    gap: .75rem;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-muted);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    gap: 10px;
    opacity: .65;
    transition: opacity var(--transition-normal);
}
.scroll-indicator a:hover { opacity: 1; }

.scroll-indicator .scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 5px;
    opacity: .5;
}
.scroll-indicator .scroll-mouse::after {
    content: '';
    width: 3px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%   { transform: translateY(0); opacity: 1; }
    50%  { transform: translateY(6px); opacity: .3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Section: Co nabízíme
   ========================================================================== */

.section--offer {
    position: relative;
    background-color: var(--color-bg-alt);
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
}

.offer-image {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 48%;
    background-image: var(--offer-img);
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.offer-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, var(--color-bg-alt) 0%, transparent 15%, transparent 85%, var(--color-bg-alt) 100%),
        linear-gradient(to right, transparent 55%, var(--color-bg-alt) 95%);
}

.offer-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    padding-left: calc(20% + var(--spacing-xl));
}

.offer-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.section-heading {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
}
.section-heading--center { text-align: center; }

.section-heading--decorated { position: relative; }
.section-heading--decorated::after { content: none; }

.offer-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}
.offer-text strong { color: var(--color-text); font-weight: 700; }
.offer-text p { margin-bottom: var(--spacing-md); }

.offer-buttons {
    margin-top: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: .75rem;
    align-items: flex-start;
}

.offer-sidebar { align-self: start; }

.sidebar-box {
    background: var(--color-white);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}
.sidebar-box h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--color-border);
}
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li { margin-bottom: 2px; }
.sidebar-links a {
    display: block;
    padding: .4rem .6rem;
    font-size: .9rem;
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
}
.sidebar-links a:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    padding-left: 1rem;
}
.sidebar-divider { height: 1px; background: var(--color-border); margin: var(--spacing-sm) 0; }

/* ==========================================================================
   Section: Kdy nás navštívit
   ========================================================================== */

.section--when {
    background-color: var(--color-bg);
    background-image: url('assets/images/section2_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: var(--spacing-xxl) 0;
    position: relative;
}
.section--when::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(253, 248, 245, .90);
    z-index: 0;
}
.section--when .container {
    position: relative;
    z-index: 1;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.info-box {
    background: var(--color-white);
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
}
.info-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.info-box h3 {
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}
.info-box p {
    color: var(--color-text-muted);
    font-size: .9rem;
    line-height: 1.75;
    margin: 0;
}
.info-box a { color: var(--color-primary); text-decoration: underline; }

/* ==========================================================================
   Section: Reference / recenze
   ========================================================================== */

.section--reviews {
    background-color: var(--color-bg);
    padding: var(--spacing-xxl) 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.review-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    padding: var(--spacing-lg);
    margin: 0;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--color-accent);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.review-stars {
    display: flex;
    gap: 2px;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}
.review-stars svg { width: 18px; height: 18px; }

.review-quote {
    margin: 0 0 var(--spacing-md);
    padding: 0;
    border: 0;
    font-size: .95rem;
    line-height: 1.7;
    color: var(--color-text);
    flex: 1 1 auto;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--color-border);
}
.review-author-name {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--color-primary);
    font-size: .95rem;
}
.review-author-src {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-text-muted);
    font-size: .82rem;
}
.review-author-src svg { width: 14px; height: 14px; color: var(--color-primary); flex: none; }

/* ==========================================================================
   Section: Nejdůležitější vyšetření
   ========================================================================== */

.section--services {
    background-color: var(--color-bg-alt);
    padding: var(--spacing-xxl) 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card-photo {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.service-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}
.service-card-photo { position: relative; }
.service-card-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,74,125,.25) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}
.service-card:hover .service-card-photo::after { opacity: 1; }
.service-card:hover .service-card-photo img { transform: scale(1.05); }

.service-card-body {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card-body h3 {
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}
.service-card-body p {
    color: var(--color-text-muted);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
    flex: 1;
}
/* Varianta: ikonové karty */
.service-card--icon {
    text-align: center;
    align-items: center;
}
.service-card--icon .service-card-body {
    border-top: none;
    padding-top: 0;
    align-items: center;
    text-align: center;
}
.service-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: var(--spacing-xl) auto var(--spacing-md);
    padding: var(--spacing-sm);
    transition: transform var(--transition-normal);
}
.service-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-normal);
}
.service-card--icon:hover .service-card-icon img {
    transform: scale(1.06);
}

.service-link {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: .875rem;
    color: var(--color-warm);
    transition: color var(--transition-fast), gap var(--transition-fast);
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.service-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}
.service-link:hover { color: var(--color-accent); }
.service-link:hover::after { transform: translateX(3px); }

/* ==========================================================================
   Section: Kontakt / Mapa
   ========================================================================== */

.section--contact { padding: 0; }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
}

.contact-info-box {
    background: linear-gradient(145deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #3d72b5 80%, #4a7fbf 100%);
    padding: var(--spacing-xxl) var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.contact-info-box::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,168,144,.2) 0%, rgba(240,168,144,.06) 60%, transparent 70%);
    pointer-events: none;
}
.contact-info-box::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 40%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
    pointer-events: none;
}
.contact-info-box h3 {
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: .25rem;
}
.contact-subtitle {
    color: rgba(255,255,255,.75);
    margin-bottom: var(--spacing-xl);
    font-size: .95rem;
}
.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}
.contact-column p {
    margin-bottom: .5rem;
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    line-height: 1.6;
}
.contact-column strong { color: var(--color-white); }
.contact-column a { color: var(--color-accent); }
.contact-column a:hover { color: var(--color-white); }
.contact-label,
.contact-hours-label { margin-top: var(--spacing-sm) !important; }

.contact-map { min-height: 480px; }
.contact-map iframe { width: 100%; height: 100%; display: block; border: none; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: #0f2440;
    color: rgba(255,255,255,.75);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand .site-logo {
    display: inline-flex;
    background: #ffffff;
    padding: var(--spacing-md) var(--spacing-lg);
    margin-top: calc(-1 * var(--spacing-xxl));
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 12px 32px rgba(0,0,0,.25);
    position: relative;
}
.footer-brand .site-logo img { display: block; }
.footer-brand p { color: rgba(255,255,255,.6); margin-bottom: var(--spacing-sm); font-size: .9rem; }
.footer-contact p { font-size: .875rem; color: rgba(255,255,255,.7); margin-bottom: .25rem; }
.footer-contact a { color: var(--color-accent); }
.footer-contact a:hover { color: var(--color-white); }

.footer-column h4 { color: var(--color-white); font-size: .9rem; margin-bottom: var(--spacing-md); }
.footer-menu { display: flex; flex-direction: column; gap: .35rem; }
.footer-menu a { color: rgba(255,255,255,.65); font-size: .875rem; transition: color var(--transition-fast); }
.footer-menu a:hover { color: var(--color-white); }

.footer-hours { display: flex; flex-direction: column; gap: .35rem; }
.footer-hours li { display: flex; justify-content: flex-start; gap: .5rem; font-size: .875rem; }
.footer-hours span { color: rgba(255,255,255,.6); }
.footer-hours strong { color: var(--color-white); }

.footer-address { font-size: .875rem; color: rgba(255,255,255,.6); margin-top: var(--spacing-sm); }

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { color: rgba(255,255,255,.45); font-size: .8rem; margin: 0; }
.footer-certifications { display: flex; gap: var(--spacing-md); align-items: center; }
.footer-certifications img { height: 64px; opacity: .85; }

/* ==========================================================================
   Page Templates
   ========================================================================== */

.page-header {
    position: relative;
    padding: calc(var(--header-height) + var(--spacing-xxl)) 0 var(--spacing-xxl);
    background: var(--color-accent);
    background-size: cover;
    background-position: center;
    text-align: center;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(10,20,40,.20) 0%, rgba(10,20,40,.08) 50%, transparent 100%),
        linear-gradient(135deg, rgba(28,74,125,.12) 0%, transparent 60%);
}
.page-header h1 {
    text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.page-header .breadcrumbs {
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--color-white); font-size: 2.25rem; font-weight: 700; }
.page-header .breadcrumbs { color: rgba(255,255,255,.8); }
.page-header .breadcrumbs a { color: var(--color-white); }

.page-content { padding: var(--spacing-xxl) 0; }
.page-content .container { max-width: 900px; }
.page-content h2 {
    margin-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--color-accent-light);
    color: var(--color-primary-dark);
}
.page-content h3 {
    margin-top: var(--spacing-lg);
    color: var(--color-primary);
}
.page-content h4 {
    margin-top: var(--spacing-lg);
    color: var(--color-primary);
    font-size: 1.1rem;
}
.page-content p { font-size: 1.0625rem; line-height: 1.8; }
.page-content ul, .page-content ol { margin: var(--spacing-md) 0; padding-left: var(--spacing-lg); }
.page-content li { margin-bottom: var(--spacing-xs); list-style: disc; line-height: 1.7; }
.page-content ol li { list-style: decimal; }
.page-content a { color: var(--color-primary); text-decoration: underline; text-decoration-color: var(--color-accent-warm); text-underline-offset: 2px; }
.page-content a:hover { color: var(--color-accent); }

/* Tables in page content */
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-lg) 0;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.page-content thead th {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: none;
}
.page-content tbody td {
    padding: 0.75rem 1rem;
    border: none;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}
.page-content tbody tr:nth-child(even) { background: var(--color-bg-alt); }
.page-content tbody tr:hover { background: var(--color-accent-light); }

/* Legacy button styles (from original theme) */
.button.button1 {
    display: inline-block;
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.button.button1:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}
.button.button1 a {
    color: var(--color-white) !important;
    text-decoration: none !important;
}

/* Strong/bold in content */
.page-content strong { color: var(--color-primary-dark); }

/* Rounded images (doctor portraits) - smaller */
.page-content .wp-block-image.is-style-rounded {
    max-width: 160px;
    margin-left: auto;
    margin-right: auto;
}
.page-content .wp-block-image.is-style-rounded img {
    max-width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Gutenberg table block - override inline styles */
.page-content .wp-block-table {
    margin: var(--spacing-lg) 0;
    font-style: normal !important;
    font-weight: 400 !important;
}
.page-content .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white) !important;
    font-size: 0.95rem !important;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.page-content .wp-block-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}
.page-content .wp-block-table td[data-align="right"] {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
    color: var(--color-primary-dark);
}
/* Section header rows (colspan=2 with h4) */
.page-content .wp-block-table td[colspan="2"] {
    background: var(--color-primary) !important;
    padding: 1rem 1.25rem;
    border-bottom: none;
}
.page-content .wp-block-table td[colspan="2"] h4 {
    color: var(--color-white) !important;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.page-content .wp-block-table td[colspan="2"] strong {
    color: var(--color-white) !important;
}
.page-content .wp-block-table td[colspan="2"] h4 a {
    color: var(--color-white) !important;
    text-decoration: none;
}
/* Override Gutenberg stripes */
.page-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background: var(--color-white);
}
.page-content .wp-block-table.is-style-stripes tbody tr:nth-child(even) {
    background: var(--color-bg-alt);
}
.page-content .wp-block-table.is-style-stripes tbody tr:has(td[colspan]) {
    background: var(--color-primary) !important;
}
.page-content .wp-block-table.is-style-stripes td {
    border-bottom: 1px solid var(--color-border);
}

/* Links in table */
.page-content .wp-block-table a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}
.page-content .wp-block-table a:hover {
    text-decoration: underline;
    color: var(--color-accent);
}

/* Sidebar layout */
.page-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-xl);
}
.sidebar { position: sticky; top: calc(var(--header-height) + var(--spacing-lg)); }
.sidebar-widget {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}
.sidebar-widget h4 { font-size: 1rem; margin-bottom: var(--spacing-md); padding-bottom: .5rem; border-bottom: 2px solid var(--color-primary); }
.sidebar-widget a { display: block; padding: .35rem 0; color: var(--color-text); border-bottom: 1px solid var(--color-border); }
.sidebar-widget a:hover { color: var(--color-primary); }

/* ==========================================================================
   Scroll Animations
   ========================================================================== */

[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(.22,1,.36,1), transform 0.65s cubic-bezier(.22,1,.36,1);
}
[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid children */
[data-animate-stagger] > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s cubic-bezier(.22,1,.36,1), transform 0.55s cubic-bezier(.22,1,.36,1);
}
[data-animate-stagger].is-visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
[data-animate-stagger].is-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 100ms; }
[data-animate-stagger].is-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 200ms; }
[data-animate-stagger].is-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 300ms; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    /* 2 potomci (obsah + sidebar) – žádný fantomový 3. sloupec.
       Menší levá rezerva na obrázek, ať obsah není zbytečně úzký. */
    .offer-layout {
        grid-template-columns: 1fr 260px;
        padding-left: calc(14% + var(--spacing-lg));
    }
    .megamenu-column { min-width: 130px; }
}

@media (max-width: 1024px) {
    .header-phone { display: none; }
    .menu-item.menu-contact { display: none; }

    .offer-image { display: none; }
    .offer-layout {
        grid-template-columns: 1fr 280px;
        padding-left: var(--spacing-md);
        max-width: var(--container-max);
    }
    .offer-sidebar { position: static; }

    .services-grid { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: 1fr 1fr; }

    .info-boxes { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-map { min-height: 350px; }
    .page-with-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .hero { background-attachment: scroll; }
    .hero-panel { display: none; }
}

@media (max-width: 768px) {
    :root {
        --header-height: var(--mobile-header-height);
        --spacing-xxl: 3.5rem;
    }

    /* Collapse header to mobile height; logo no longer floats over hero */
    .site-header { height: var(--mobile-header-height); }
    .site-header.is-scrolled { height: var(--mobile-header-height); }
    .site-header .site-logo {
        position: static;
        padding: 0;
        background: transparent;
        z-index: auto;
    }
    .site-logo img { height: 44px; filter: none; }
    .site-header.is-scrolled .site-logo img { height: 44px; }

    /* Show hamburger */
    .menu-toggle { display: flex; }

    /* Hide nav on mobile - off-canvas */
    .main-navbar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--color-white);
        z-index: 1001;
        overflow-y: auto;
        transition: left var(--transition-normal);
        padding-top: var(--mobile-header-height);
        box-shadow: 4px 0 24px rgba(0,0,0,.15);
        justify-content: flex-start;
        flex-direction: column;
        align-items: stretch;
    }
    .main-navbar.is-open { left: 0; }

    .navbar-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    .navbar-list > .menu-item {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--color-border);
    }
    .navbar-list > .menu-item > a {
        width: 100%;
        padding: .875rem var(--spacing-md);
        color: var(--color-text);
        height: auto;
        font-size: .95rem;
    }
    .navbar-list > .menu-item > a::after { display: none; }

    .megamenu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--color-bg-alt);
        display: none;
        border-top: 1px solid var(--color-border);
    }
    .menu-item.has-megamenu.is-open .megamenu { display: block; }
    .menu-item.has-megamenu.is-open .megamenu { opacity: 1; visibility: visible; }

    .megamenu-inner {
        flex-direction: column;
        padding: var(--spacing-sm) var(--spacing-md);
        gap: var(--spacing-sm);
    }
    .megamenu::before { display: none; }
    .megamenu-column { min-width: auto; width: 100%; }
    .megamenu-heading { font-size: .75rem; }
    .megamenu-column a { padding: .4rem 0; font-size: .875rem; }

    .menu-item.menu-cta { width: 100%; border-bottom: 1px solid var(--color-border); }
    .menu-item.menu-cta a {
        width: calc(100% - 2rem);
        margin: .75rem var(--spacing-sm);
        justify-content: center;
        height: auto;
        border-radius: 32px;
    }
    .menu-item.menu-contact {
        display: flex;
        padding: var(--spacing-sm) var(--spacing-md);
        border-left: none;
        border-top: 1px solid var(--color-border);
        margin-left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .hero { min-height: 60vh; }
    .hero h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }

    .section-heading { font-size: 1.6rem; }

    .info-boxes { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .offer-layout { grid-template-columns: 1fr; padding-left: var(--spacing-sm); }
    .offer-content { padding: var(--spacing-lg); }

    .contact-details { grid-template-columns: 1fr; }
    .contact-info-box { padding: var(--spacing-xl) var(--spacing-lg); }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: var(--spacing-sm); text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--spacing-sm); }
    .section { padding: var(--spacing-xl) 0; }
    .hero-title-block { gap: 12px; }
    .hero-accent-bar { width: 5px; }
    .scroll-indicator { display: none; }
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */

.alignleft  { float: left;  margin: 0 var(--spacing-md) var(--spacing-md) 0; }
.alignright { float: right; margin: 0 0 var(--spacing-md) var(--spacing-md); }
.aligncenter { display: block; margin: var(--spacing-md) auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .875rem; color: var(--color-text-muted); text-align: center; padding: var(--spacing-xs); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--spacing-md); }
.gallery-item { margin: 0; }
.gallery-item img { border-radius: var(--radius-md); }

/* Gutenberg <details> / FAQ collapsible */
.wp-block-details {
    margin: 0 0 .75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-white);
    overflow: hidden;
    transition: box-shadow var(--transition-fast);
}
.wp-block-details:hover { box-shadow: 0 2px 8px rgba(39,96,160,.06); }
.wp-block-details[open] { box-shadow: 0 4px 16px rgba(39,96,160,.08); }

.wp-block-details > summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 1.25rem 1rem 2.75rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--color-text);
    position: relative;
    transition: background var(--transition-fast), color var(--transition-fast);
}
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::before {
    content: '+';
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 1.25rem;
    height: 1.25rem;
    line-height: 1.15rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    border-radius: 50%;
    transition: transform var(--transition-normal), background var(--transition-fast), color var(--transition-fast);
}
.wp-block-details[open] > summary::before {
    content: '−';
    background: var(--color-primary);
    color: var(--color-white);
}
.wp-block-details > summary:hover { background: var(--color-bg-alt); color: var(--color-primary); }

.wp-block-details > *:not(summary) {
    padding: 0 1.25rem;
}
.wp-block-details > *:not(summary):first-of-type { padding-top: .5rem; }
.wp-block-details > *:not(summary):last-child  { padding-bottom: 1rem; }
.wp-block-details > p { margin: 0 0 .75rem; padding-left: 1.25rem; padding-right: 1.25rem; }

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
}
.skip-link {
    position: absolute;
    top: -100px; left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    z-index: 10000;
}
.skip-link:focus { top: 0; }

/* ==========================================================================
   Booking / Objednavani System
   1:1 match with the original prenatal.cz/objednavani page.
   Uses the same CSS class names as the original gk_theme/order.css.
   ========================================================================== */

/* --- Booking page wrapper --- */
.booking-page {
    padding: 0 0 var(--spacing-xxl);
}

.booking-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.booking-container::after {
    content: "";
    display: table;
    clear: both;
}
.booking-container .col {
    float: left;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}
.booking-container .col.col-6 {
    width: 50%;
}

/* --- Utility classes (from original) --- */
.booking-page .hidden { display: none !important; }
.booking-page .mt-3 { margin-top: 1rem !important; }
.booking-page .mt-5 { margin-top: 2rem !important; }
.booking-page .py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.booking-page .px-6 { padding-left: 2.5rem !important; padding-right: 2.5rem !important; }
.booking-page .pb-5 { padding-bottom: 2rem !important; }
.booking-page .pb-8 { padding-bottom: 3.5rem !important; }
.booking-page .size-lg { font-size: 1.125rem; }
.booking-page .bold { font-weight: 700; }

/* --- Card --- */
.booking-page .card {
    background-color: #fff;
    border: 1px solid #f7f1ed;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #3c3838;
}
.booking-page .card.border-blue {
    border-top: 3px solid #244c99;
}

/* --- Tabular menu --- */
.booking-page .card .tabular-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}
.booking-page .card .tabular-menu ul {
    width: calc(100% + 40px);
    list-style: none;
    margin: -20px;
    padding: 0;
    display: flex;
}
.booking-page .card .tabular-menu ul li {
    flex-grow: 1;
}
.booking-page .card .tabular-menu ul li a {
    display: block;
    text-align: center;
    width: 100%;
    padding: 1rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    background-color: #f7f1ed;
    color: #3c3838;
}
.booking-page .card .tabular-menu ul li:hover a {
    text-decoration: underline;
}
.booking-page .card .tabular-menu ul li.active a {
    background-color: #fff;
    color: #244c99;
}

/* --- Link rows (router options) --- */
.booking-page .card .link {
    width: 100%;
    margin: 0.5rem 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid #f7f1ed;
    border-radius: 0.3rem;
    color: #3c3838;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer !important;
}
.booking-page .card .link .text-wrap {
    flex-grow: 1;
    padding: 1.5rem 1rem;
}
.booking-page .card .link .button-wrap {
    padding: 0.5rem;
}
.booking-page .card .link .button-wrap button {
    width: 54px;
    height: 54px;
    margin: 0;
    background-color: #244c99;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.booking-page .card .link:hover {
    border-color: #244c99;
    color: #244c99;
}

/* --- Icon: arrow-right --- */
.booking-page .icon {
    display: inline-block;
    vertical-align: middle;
}
.booking-page .icon.arrow-right {
    width: 18px;
    height: 15px;
    background: url('data:image/svg+xml,<svg width="18" height="15" viewBox="0 0 18 15" xmlns="http://www.w3.org/2000/svg"><path d="m10.63.258 7.071 6.563c.191.177.299.422.299.679a.926.926 0 0 1-.299.679l-7.07 6.562a.985.985 0 0 1-1.364-.031.918.918 0 0 1 .032-1.326l5.332-4.945H.965A.952.952 0 0 1 0 7.5c0-.518.432-.937.965-.937h13.663L9.297 1.618A.923.923 0 0 1 9.264.291c.37-.376.945-.389 1.366-.033z" fill="%2306AFEA" fill-rule="nonzero"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

/* --- Form fields with floating labels --- */
.booking-page .form-field {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.booking-page .form-field label {
    display: block;
    position: absolute;
    top: -0.875rem;
    left: 0.5rem;
    padding: 0.25rem;
    background: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3c3838;
    z-index: 1;
}
.booking-page .form-field:not(.required)::before {
    display: block;
    position: absolute;
    top: -0.875rem;
    right: 0.5rem;
    padding: 0.25rem;
    background: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3c3838;
    text-transform: uppercase;
    content: attr(data-optional-text);
    z-index: 1;
}

.booking-page .form-field input[type="text"],
.booking-page .form-field input[type="tel"],
.booking-page .form-field input[type="email"],
.booking-page .form-field input[type="date"],
.booking-page .form-field textarea,
.booking-page .form-field select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d4c0b2;
    border-radius: 0.3rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.5;
    color: #3c3838;
    background-color: #fff;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-sizing: border-box;
    outline: none;
}
.booking-page .form-field input:focus,
.booking-page .form-field textarea:focus,
.booking-page .form-field select:focus {
    border-color: #3c3838;
    box-shadow: 0 0 0 3px rgba(60, 56, 56, 0.2);
}
.booking-page .form-field input::placeholder,
.booking-page .form-field textarea::placeholder {
    color: #a7a7a7;
}
.booking-page .form-field textarea {
    resize: vertical;
}

/* --- Custom checkbox --- */
.booking-page .custom-checkbox {
    display: inline-block;
    width: 100%;
    position: relative;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
}
.booking-page .custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.booking-page .custom-checkbox .checkmark {
    position: absolute;
    top: 3px;
    left: -8px;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #d4c0b2;
    border-radius: 0.3rem;
}
.booking-page .custom-checkbox .label-text {
    padding-left: 20px;
}
.booking-page .custom-checkbox .label-text a {
    color: #244c99;
    text-decoration: underline;
}
.booking-page .custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.booking-page .custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}
.booking-page .custom-checkbox .checkmark:after {
    left: 5px;
    top: 0px;
    width: 8px;
    height: 13px;
    border: solid #ca8d5d;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
}
.booking-page .custom-checkbox input.border-red ~ .checkmark {
    border-color: #af1212;
}
.booking-page .custom-checkbox input.glow-red ~ .checkmark {
    box-shadow: 0 0 0 2px rgba(175, 18, 18, 0.2);
}

/* --- Button --- */
.booking-page .button {
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    background-color: #244c99;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
.booking-page .button:hover,
.booking-page .button:focus {
    background-color: #1a3770;
    outline: none;
    color: #fff;
    text-decoration: none;
}
.booking-page .button--with-arrow .icon.arrow-right {
    width: 18px;
    height: 15px;
    margin-left: 11px;
}

/* --- Message (form result) --- */
.booking-page .message {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.3rem;
    background: #c6c6c6;
    font-weight: 500;
}
.booking-page .message.error {
    background: #af1212;
    color: #fff;
}
.booking-page .message.success {
    background: #4caf50;
    color: #fff;
}

/* --- Error states --- */
.booking-page input.border-red,
.booking-page textarea.border-red,
.booking-page select.border-red {
    border-color: #af1212 !important;
}
.booking-page input.glow-red,
.booking-page textarea.glow-red,
.booking-page select.glow-red {
    box-shadow: 0 0 0 2px rgba(175, 18, 18, 0.2) !important;
}

/* --- Calculator toggle --- */
.booking-page .term-calculator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0px 30px 30px;
    padding: 30px 16px;
    border-top: 3px solid #ea212d;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    background: #fff;
}
.booking-page .term-calculator .icon {
    padding-right: 16px;
}
.booking-page .term-calculator .text {
    font-weight: 700;
    font-size: 1rem;
    color: #3c3838;
}

/* --- Calculator form --- */
.booking-page .calculator-form-wrap {
    margin: 30px 0px 30px 30px;
    padding: 30px 16px;
    border-top: 3px solid #ea212d;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
    display: block;
    background: #fff;
}

/* --- Calculator results --- */
.booking-page .calculator-result-terms {
    margin-top: 16px;
}
.booking-page .calculator-result-terms .term {
    display: flex;
    padding: 6px 0;
}
.booking-page .calculator-result-terms .term-title {
    display: block;
    width: 150px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* --- Success / Error messages (global) --- */
.booking-message {
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-lg);
    font-size: 1rem;
    width: 100%;
}
.booking-message strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}
.booking-message p {
    margin: 0;
}
.booking-message--success {
    background: #f0faf4;
    border: 2px solid #27ae60;
    color: #1a7a42;
}
.booking-message--success strong { color: #27ae60; }
.booking-message--error {
    background: #fef5f5;
    border: 2px solid #ea212d;
    color: #c0392b;
}
.booking-message--error strong { color: #ea212d; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .booking-container {
        flex-direction: column;
        padding: 0 8px;
    }
    .booking-container .col.col-6 {
        width: 100%;
    }
    .booking-page .card {
        padding: 10px;
    }
    .booking-page .px-6 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .booking-page .term-calculator,
    .booking-page .calculator-form-wrap {
        margin: 30px 0px 30px 0px;
    }
}

/* ==========================================================================
   v2.1 — Sticky CTA, click-to-call, trust bar, editorial service cards,
          mobile action bar, hero text reveal
   ========================================================================== */


/* --- Hero text reveal ----------------------------------------------------- */
@keyframes heroRise {
    from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.hero .hero-text { animation: heroRise .9s cubic-bezier(.22,1,.36,1) both .15s; }
.hero .hero-text > * { animation: heroRise .9s cubic-bezier(.22,1,.36,1) both; }
.hero .hero-title-block { animation-delay: .25s; }
.hero .hero-subtitle    { animation-delay: .42s; }
.hero .hero-buttons     { animation-delay: .58s; }

@media (prefers-reduced-motion: reduce) {
    .hero .hero-text,
    .hero .hero-text > * { animation: none; }
}

/* --- Trust bar ------------------------------------------------------------ */
.trust-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md) 0;
    position: relative;
    z-index: 3;
}
.trust-bar-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1.6fr;
    gap: var(--spacing-md);
    align-items: center;
    margin: 0;
    padding: 0;
}
.trust-bar-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--color-text);
    font-family: var(--font-secondary);
    font-size: .92rem;
    line-height: 1.3;
    position: relative;
    padding-left: var(--spacing-md);
}
.trust-bar-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: var(--color-border);
}
.trust-bar-item--stat {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .15rem;
    padding-left: var(--spacing-lg);
}
.trust-bar-num {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    color: var(--color-primary-dark);
    letter-spacing: -.01em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.trust-bar-label {
    color: var(--color-text-muted);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 500;
}
.trust-bar-item--badge svg {
    width: 24px;
    height: 24px;
    color: var(--color-warm);
    flex-shrink: 0;
}
.trust-bar-item--badge span {
    font-weight: 600;
    color: var(--color-text);
}

/* Sloučený certifikační slot — dva řádky textu, jedna ikona */
.trust-bar-item--certs {
    align-items: center;
    justify-content: center;
    gap: .85rem;
    padding-left: var(--spacing-lg);
}
.trust-bar-item--certs .trust-bar-cert-text { text-align: left; }
.trust-bar-cert-icon {
    width: 30px;
    height: 30px;
    color: var(--color-warm);
    flex-shrink: 0;
}
.trust-bar-cert-text {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
    line-height: 1.3;
}
.trust-bar-cert-primary {
    font-weight: 700;
    color: var(--color-text);
    font-size: .92rem;
}
.trust-bar-cert-secondary {
    font-weight: 500;
    color: var(--color-text-muted);
    font-size: .82rem;
}

@media (max-width: 900px) {
    .trust-bar-list { grid-template-columns: 1fr 1fr; gap: var(--spacing-sm) var(--spacing-md); }
    .trust-bar-item { padding-left: var(--spacing-sm); font-size: .85rem; }
    .trust-bar-item--stat { padding-left: var(--spacing-md); }
    .trust-bar-item--certs {
        grid-column: 1 / -1; /* certifikace přes celou šířku pod stat páskem */
        padding-left: var(--spacing-md);
        padding-top: var(--spacing-sm);
        border-top: 1px solid var(--color-border);
        margin-top: var(--spacing-xs);
    }
    .trust-bar-item--certs::before { display: none !important; }
    .trust-bar-item:nth-child(odd)::before { display: none; }
    .trust-bar-num { font-size: 1.4rem; }
}
@media (max-width: 480px) {
    .trust-bar-cert-primary { font-size: .85rem; }
    .trust-bar-cert-secondary { font-size: .76rem; }
    .trust-bar-cert-icon { width: 24px; height: 24px; }
}

/* --- Service cards: větší ikony, plně centrované ------------------------- */
.services-grid--icons .service-card--icon {
    text-align: center;
    align-items: center;
}
.services-grid--icons .service-card--icon .service-card-icon {
    width: 160px;
    height: 160px;
    margin: var(--spacing-xl) auto var(--spacing-md);
}
.services-grid--icons .service-card--icon .service-card-body {
    align-items: center;
    text-align: center;
}
.services-grid--icons .service-card--icon .service-link {
    align-self: center;
}

@media (max-width: 768px) {
    .services-grid--icons .service-card--icon .service-card-icon {
        width: 130px;
        height: 130px;
    }
}

/* --- Mobile bottom action bar -------------------------------------------- */
.mobile-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 24px rgba(44,38,56,.08);
    padding: .35rem max(env(safe-area-inset-left), 0px) calc(.4rem + env(safe-area-inset-bottom)) max(env(safe-area-inset-right), 0px);
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.mobile-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    padding: .55rem .25rem;
    font-family: var(--font-secondary);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--color-text);
    text-decoration: none;
    border: none;
    background: transparent;
    transition: color var(--transition-fast);
}
.mobile-bar-item svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary-dark);
    transition: color var(--transition-fast);
}
.mobile-bar-item:active { color: var(--color-primary); }
.mobile-bar-item:active svg { color: var(--color-primary); }

.mobile-bar-item--cta {
    color: var(--color-white);
    background: var(--color-warm);
    margin: .15rem;
}
.mobile-bar-item--cta svg { color: var(--color-white); }
.mobile-bar-item--cta:active { color: var(--color-white); background: var(--color-accent); }

/* Show mobile bar only on touch-sized screens */
@media (max-width: 768px) {
    .mobile-bar { display: grid; }
    /* Reserve space at the bottom of the page for the bar */
    body { padding-bottom: 64px; }
    /* And make sure the footer's bottom-most content isn't hidden */
    .site-footer { margin-bottom: 0; }
}

/* --- Hide the (now redundant) hero CTA on mobile in favor of the bar
       — keep it on desktop where the bottom bar is hidden. ----------------- */
/* (no-op: hero buttons remain on all sizes; bottom bar is supplementary) */

/* --- Subtle accents on offer-content / info-box (cleaner, less WP-feel) -- */
.offer-content {
    border-top: 3px solid var(--color-warm);
}
.info-box {
    border-left: 2px solid transparent;
    transition: border-color var(--transition-normal),
                transform var(--transition-normal),
                box-shadow var(--transition-normal);
}
.info-box:hover {
    border-left-color: var(--color-warm);
}
