/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-blue: #4A6BFF; /* The blue from the screenshot */
    --hover-blue: #3A5EFF;
    --text-dark: #000000;
    --text-grey: #444444;
    --bg-light: #ffffff;
    --badge-bg: #E8EEFF;
    --notice-bg: #FFF5F5;
    --notice-text: #E53E3E;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --radius-main: 20px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 8vw, 6rem); /* Fluidní velikost */
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.1;
    text-align: center;
    color: var(--text-dark);
}


h2 {
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}



h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 2rem; /* Zvětšeno */
    text-align: center;
    margin-top: 1rem;
    font-weight: 500;
    color: var(--text-grey);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

/* Buttons & Links */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-weight: 700;
    border-radius: var(--radius-main);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1rem;
    text-align: center;
}

.btn-outline {
    border: 3px solid var(--primary-blue);
    color: #000;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 107, 255, 0.2);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.125rem;
    text-transform: uppercase;
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 34px; /* Space for Top Bar */
    width: 100%;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 0;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
    background: rgba(255, 255, 255, 0.97);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img {
    height: 64px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}
.logo img:hover { transform: scale(1.05) rotate(-4deg); }

/* Desktop links */
.nav-desktop {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-desktop li a {
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    position: relative;
    padding-bottom: 4px;
}

.nav-desktop li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-desktop li a:hover::after { width: 100%; }

/* Right side of navbar */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-tel-btn {
    font-size: 1rem;
    padding: 0.7rem 1.8rem;
}

/* ─── HAMBURGER BUTTON ───────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* ─── TOP BAR ────────────────────────────────────────────── */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 34px;
    background: var(--badge-bg); /* Jemná modrá */
    z-index: 1200;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-bar p {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .top-bar p { font-size: 0.75rem; text-align: center; }
}
.hamburger:hover { background: rgba(74, 107, 255, 0.07); }

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--primary-blue);
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger → X */
.hamburger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ─── MOBILE MENU DRAWER ─────────────────────────────────── */
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Slides in from the right */
    transform: translateX(100%);
    background: #fff;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-inner {
    padding: 7rem 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-menu-inner ul {
    list-style: none;
    flex: 1;
}

.mobile-menu-inner ul li {
    border-bottom: 1px solid #f2f2f5;
}
.mobile-menu-inner ul li:first-child {
    border-top: 1px solid #f2f2f5;
}

.mobile-link {
    display: block;
    padding: 1.2rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-link:hover {
    color: var(--primary-blue);
    padding-left: 0.5rem;
}

.mobile-tel {
    display: block;
    margin-top: 2.5rem;
    background: var(--primary-blue);
    color: #fff;
    text-align: center;
    padding: 1.1rem;
    border-radius: var(--radius-main);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, transform 0.2s ease;
}
.mobile-tel:hover {
    background: var(--hover-blue);
    transform: translateY(-2px);
}

/* Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
}

.menu-overlay.open {
    opacity: 1;
    pointer-events: all;
}



/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 114px; /* Adjusted for Top Bar + Nav */
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(74, 107, 255, 0.03) 0%, rgba(255, 255, 255, 1) 80%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: float 10s ease-in-out infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background-color: rgba(74, 107, 255, 0.15);
    top: 10%;
    left: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background-color: rgba(74, 107, 255, 0.1);
    bottom: 20%;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 1;
}

.hero-spacer {
    height: 1.5rem;
}

/* Vacation Banner (Google Sheets) */
#vacation-banner-wrapper {
    display: none; /* Skryto, dokud JS nepotvrdí "ano" */
    padding: 0 20px;
    width: 100%;
}

#vacation-banner {
    background: #fff;
    border: 1.5px solid rgba(74, 107, 255, 0.18);
    border-radius: var(--radius-main);
    padding: 2.25rem 2.5rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 860px;
    box-shadow: 0 12px 36px rgba(74, 107, 255, 0.1);
    position: relative;
    overflow: hidden;
}

#vacation-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), rgba(74,107,255,0.3));
}

#vacation-title {
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 0.6rem;
    font-size: clamp(1.2rem, 4vw, 1.6rem);
}

#vacation-subtext {
    color: var(--text-grey);
    font-size: clamp(0.95rem, 3vw, 1.05rem);
    line-height: 1.65;
}

@media (max-width: 768px) {
    #vacation-banner { padding: 1.6rem 1.25rem; margin: 1.5rem auto; }
    #vacation-title { font-size: 1.2rem; }
}


.notice-badge {
    background: var(--notice-bg);
    color: var(--notice-text);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(229, 62, 62, 0.2);
    display: inline-block;
}

/* ─── SECTION LABEL CHIP ─────────────────────────────── */
/* Malý barevný chip nad nadpisem sekce
   display: table + margin: 0 auto = centruje se jako block,
   ale shráňkne se na šíři obsahu (jako inline-block)             */
.section-label {
    display: table;
    margin: 0 auto 0.85rem;
    background: var(--badge-bg);
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 1.1rem;
    border-radius: 50px;
    border: 1.5px solid rgba(74, 107, 255, 0.2);
}

/* V levém sloupci kontaktu zůstává vlevo */
.contact-info .section-label {
    margin-left: 0;
    margin-right: auto;
}

/* Sekce s šedavě-modrým pozadím */
.section-tinted {
    background: #f7f8ff;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #fff;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-grey);
    line-height: 1.7;
    text-align: left;
}

.about-text p {
    margin-bottom: 1.25rem;
}

.highlight-text {
    color: var(--text-dark);
    font-size: 1.15rem;
    margin-top: 2rem;
}

.about-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.about-guarantee {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--badge-bg);
    padding: 1.75rem;
    border-radius: 12px;
    border: 1px solid rgba(74, 107, 255, 0.12);
}


.about-guarantee p {
    margin: 0 !important;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.6;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    margin: 3rem auto 0;
    max-width: 1050px;
    text-align: left;
}

/* Karty pro about sekci */
.about-text-card,
.about-history-card {
    background: #fff;
    border-radius: var(--radius-main);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1.5px solid rgba(74, 107, 255, 0.1);
}

.about-history h3 {
    font-size: 1.25rem;
    margin-bottom: 1.75rem;
    color: var(--primary-blue);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.about-history h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.25rem;
    background: var(--primary-blue);
    border-radius: 2px;
}

.timeline {
    position: relative;
    padding-left: 1.75rem;
    border-left: 2px solid rgba(74, 107, 255, 0.15);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.4rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1.75rem - 5px);
    top: 7px;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.12);
}

.timeline-item .year {
    display: block;
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.timeline-item p {
    font-size: 0.95rem;
    color: var(--text-grey);
    margin: 0;
    line-height: 1.45;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 6rem 0;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
    color: var(--text-grey);
    line-height: 1.7;
}

/* ─── SERVICE ACCORDION GRID ─────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: start; /* Karty se nenatahují do výšky sousední – kritické pro accordion */
}

/* Karta – obal */
.service-card-accordion {
    background: #fff;
    border-radius: var(--radius-main);
    box-shadow: var(--shadow-soft);
    border: 1.5px solid rgba(74, 107, 255, 0.12);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.service-card-accordion:hover {
    box-shadow: 0 14px 36px rgba(74, 107, 255, 0.13);
    border-color: rgba(74, 107, 255, 0.35);
    transform: translateY(-3px);
}

/* Záhlaví – tlačítko */
.sc-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background 0.2s ease;
}

.sc-header:hover {
    background: rgba(74, 107, 255, 0.04);
}

/* Ikona v kolečku */
.sc-icon-wrap {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--badge-bg);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.3s ease;
}

.service-card-accordion:hover .sc-icon-wrap {
    background: rgba(74, 107, 255, 0.18);
    transform: scale(1.08);
}

/* Textová část */
.sc-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.sc-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sc-desc {
    font-size: 0.82rem;
    color: var(--text-grey);
    font-weight: 500;
    line-height: 1.3;
}

/* Chevron šipka */
.sc-chevron {
    flex-shrink: 0;
    color: var(--primary-blue);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sc-header[aria-expanded="true"] .sc-chevron {
    transform: rotate(180deg);
}

/* Tělo karty – accordion */
.sc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sc-body p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.93rem;
    color: var(--text-grey);
    line-height: 1.7;
    border-top: 1px solid rgba(74, 107, 255, 0.1);
    padding-top: 1rem;
    font-weight: 500;
}

/* Aktivní stav – lehce zvýrazněný rámeček */
.service-card-accordion.sc-open {
    border-color: rgba(74, 107, 255, 0.4);
    box-shadow: 0 16px 40px rgba(74, 107, 255, 0.12);
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: #f7f8ff;
}

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

.gallery-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-main);
    border: none;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    display: block;
}

.gallery-img:hover {
    transform: scale(1.025) translateY(-4px);
    box-shadow: 0 20px 44px rgba(74, 107, 255, 0.14);
}

/* ─── REVIEWS SECTION ───────────────────────────────────── */
.reviews {
    padding: 7rem 0;
    background: #fff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.review-card {
    background: #fff;
    border: 1.5px solid rgba(74, 107, 255, 0.12);
    padding: 2rem 2rem 1.75rem;
    border-radius: var(--radius-main);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), rgba(74, 107, 255, 0.3));
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(74, 107, 255, 0.12);
    border-color: rgba(74, 107, 255, 0.3);
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.07;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    left: auto;
    line-height: 1;
    font-style: normal;
}

.review-text {
    font-style: italic;
    color: var(--text-grey);
    margin-bottom: 1.75rem;
    position: relative;
    z-index: 1;
    line-height: 1.65;
    font-size: 0.97rem;
}

.review-author {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-author::before {
    content: '';
    width: 18px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
}

/* ─── EMERGENCY SECTION ─────────────────────────────────── */
.emergency {
    padding: 8rem 0;
    background: var(--badge-bg);
}

.emergency-box {
    background: #fff;
    border-radius: var(--radius-main);
    padding: 4rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 50px rgba(74, 107, 255, 0.1);
    border: 3px solid var(--primary-blue);
}

.emergency-title {
    color: var(--notice-text);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.emergency-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.emergency-link {
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: underline;
    text-underline-offset: 6px;
    font-size: 1.25rem;
}

.emergency-link:hover {
    color: var(--hover-blue);
}

/* Contact / Footer Section */
.contact {
    padding: 6rem 0 2rem;
    background: #fff;
    border-top: 1px solid rgba(74, 107, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Kontaktní info a hodiny jako karty */
.contact-info,
.opening-hours {
    background: #fff;
    border: 1.5px solid rgba(74, 107, 255, 0.1);
    border-radius: var(--radius-main);
    padding: 2.25rem 2.5rem;
    box-shadow: var(--shadow-soft);
}

.contact-info h2, .contact-info h3, .opening-hours h3 {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info p, .opening-hours p {
    margin-bottom: 0.5rem;
    color: var(--text-grey);
    font-size: 0.97rem;
}

.accessibility {
    font-size: 0.82rem;
    color: var(--primary-blue);
    margin-top: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.accessibility::before {
    content: '♿';
    font-size: 0.85rem;
}

.phone-number {
    display: inline-block;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 1.25rem;
    text-decoration: underline;
    text-decoration-color: var(--primary-blue);
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
    transition: color 0.2s ease;
}

.phone-number:hover {
    color: var(--primary-blue);
}

.contact-notice {
    margin-top: 1.5rem;
    background: var(--badge-bg);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border-left: 3px solid var(--primary-blue);
}

.contact-notice .notice-highlight {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    font-size: 0.97rem;
}

.contact-notice .pain-notice {
    color: var(--notice-text);
}

.email-box {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(74, 107, 255, 0.12);
}

.email-link {
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.email-note {
    font-size: 0.83rem !important;
    line-height: 1.4 !important;
    color: var(--text-grey) !important;
    font-style: italic;
    margin-bottom: 0 !important;
}

.opening-hours h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.opening-hours h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.1rem;
    background: var(--primary-blue);
    border-radius: 2px;
}

.opening-hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.opening-hours-table td {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(74, 107, 255, 0.07);
    font-size: 0.95rem;
    color: var(--text-grey);
}

.opening-hours-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.opening-hours-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--text-dark);
}

.opening-hours-table tr:last-child td {
    border-bottom: none;
}

.notice {
    background: var(--notice-bg);
    padding: 1.5rem;
    border-left: 4px solid var(--notice-text);
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    color: var(--notice-text);
    margin-bottom: 2rem;
}

/* ─── MAP SECTION (V patičce u hodin) ────────────────────── */
.opening-hours {
    display: block;
}

.opening-hours-map {
    margin-top: 2rem;
    width: 100%;
    height: 320px;
    border-radius: var(--radius-main);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    border: 1.5px solid rgba(74, 107, 255, 0.12);
}

.opening-hours-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.8) contrast(1.2) opacity(0.8);
    transition: filter 0.3s ease;
}

.opening-hours-map iframe:hover {
    filter: grayscale(0) contrast(1) opacity(1);
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 2rem;
    font-size: 0.875rem;
    color: var(--text-grey);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: #f7f8ff;
}

.faq-container {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1.5px solid rgba(74, 107, 255, 0.12);
    border-radius: var(--radius-main);
    margin-bottom: 0.85rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(74, 107, 255, 0.3);
    box-shadow: 0 12px 32px rgba(74, 107, 255, 0.1);
}

.faq-item.faq-open {
    border-color: rgba(74, 107, 255, 0.35);
    box-shadow: 0 14px 36px rgba(74, 107, 255, 0.11);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.35rem 1.5rem;
    min-height: 48px;
    background: transparent;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question .icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--badge-bg);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease, background 0.2s ease;
}

.faq-question.active .icon {
    transform: rotate(45deg);
    background: var(--primary-blue);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    border-top: 1px solid rgba(74, 107, 255, 0.08);
    padding-top: 0.85rem;
    color: var(--text-grey);
    font-weight: 500;
    font-size: 0.97rem;
    line-height: 1.7;
}

/* Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.5); 
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 3rem;
    border: 1px solid rgba(74, 107, 255, 0.15);
    border-radius: var(--radius-main);
    width: 90%;
    max-width: 650px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    color: var(--text-grey);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-blue);
}

.modal-trigger {
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    font-weight: 700;
}

.modal-trigger:hover {
    color: var(--hover-blue);
}

/* Patients Section */
.patients {
    background: #f7f8ff;
    padding: 6rem 0;
}

.patients-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.patient-card {
    background: #fff;
    border: 1.5px solid rgba(74, 107, 255, 0.12);
    border-radius: var(--radius-main);
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.patient-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(74, 107, 255, 0.12);
    border-color: rgba(74, 107, 255, 0.3);
}

/* Ikona v kolečku – konzistentní s service kartami */
.card-icon {
    width: 52px;
    height: 52px;
    background: var(--badge-bg);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    border: 1.5px solid rgba(74, 107, 255, 0.18);
}

.patient-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.parking-list {
    list-style: none;
    margin: 1.25rem 0;
}

.parking-list li {
    margin-bottom: 0.7rem;
    position: relative;
    padding-left: 1.35rem;
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.5;
}

.parking-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-blue);
}

.small-info {
    font-size: 0.9rem;
    color: var(--text-grey);
    font-style: italic;
    margin-top: 1rem;
}

.emergency-details {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid #ef4444;
}

.emergency-btn, .map-btn {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.emergency-btn:hover, .map-btn:hover {
    background: var(--hover-blue);
}

/* Animations - Disabled for Stability */
.section-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

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

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
    .container { padding: 0 1.5rem; }
    .subtitle { font-size: 1.5rem; }
    
    /* Services: 2 sloupce na tabletu */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* About: 1 sloupec na tabletu */
    .about-content {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        gap: 1.25rem;
    }

    .gallery-grid, 
    .reviews-grid,
    .patients-grid { 
        grid-template-columns: 1fr; 
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
    
    .review-card {
        padding: 2rem;
    }

    .gallery-img {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .highlight-number { font-size: 1.8rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; max-width: 700px; margin: 0 auto 4rem; }

    /* Show hamburger, hide desktop nav */
    .hamburger { display: flex; }
    .nav-desktop { display: none; }
    .nav-tel-btn { display: none; }
}

@media (max-width: 800px) {
    h2 { font-size: 1.9rem; }
    .subtitle { font-size: 1.1rem; margin-top: 0.5rem; }
    .logo img { height: 48px; }
    .navbar { position: sticky; top: 0; padding: 0.5rem 0; }
    .top-bar { position: relative; height: auto; padding: 0.6rem 1rem; z-index: 1201; }
    .top-bar p { font-size: 0.75rem; line-height: 1.3; margin: 0; }
    
    .hero { height: auto; min-height: 70vh; padding-top: 60px; padding-bottom: 2rem; }
    
    /* 1 sloupec pro vsechno na mobilu */
    .services-grid { grid-template-columns: 1fr; max-width: 100%; }
    .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
    .patients-grid { grid-template-columns: 1fr; max-width: 100%; }
    .gallery-img { height: 220px; }
    .badges { gap: 0.5rem; }
    .about, .services, .gallery, .faq, .patients, .reviews { padding: 4rem 0; }

    .map-section { height: 300px; }
    .about-content { gap: 1rem; }
    .timeline { padding-left: 1.5rem; }
    .timeline-item::before { left: calc(-1.5rem - 5px); }

    /* Karty v about dostane menší padding */
    .about-text-card, .about-history-card { padding: 1.75rem 1.5rem; }
    .contact-info, .opening-hours { padding: 1.75rem 1.5rem; }
    .patient-card { padding: 1.75rem; }

    /* Accordion: menší padding na mobilu */
    .sc-header { padding: 1rem 1.1rem; gap: 0.75rem; }
    .sc-icon-wrap { width: 38px; height: 38px; }
    .sc-name { font-size: 0.93rem; white-space: normal; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.4rem; }
    .subtitle { font-size: 0.95rem; letter-spacing: 0.02em; }
    .hero-spacer { height: 1.5rem; }
    .btn-large { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
    .faq-question { font-size: 1rem; padding: 1.1rem; }
    .mobile-menu-inner { padding: 6rem 1.5rem 2rem; }
    .mobile-link { font-size: 1.25rem; }
}

/* ─── ADMIN STYLES ─────────────────────────────────────────── */
.admin-modal {
    max-width: 500px;
    padding: 2.5rem;
}

.admin-form {
    margin-top: 1.5rem;
}

.admin-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.admin-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1.5px solid rgba(74, 107, 255, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s;
}

.admin-form input:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.admin-form .checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--badge-bg);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(74, 107, 255, 0.1);
}

.admin-form .checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
}

.admin-form .checkbox-group input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}
