.text-center {
    text-align: center;
}

/* --- ZÁKLADNÍ NASTAVENÍ --- */
html {
    /* Zajišťuje, aby navigace vždy zastavila 90px nad obsahem (kvůli fixní hlavičce) */
    scroll-padding-top: 90px;
}

* {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: padding-top 0.4s ease;
}

body.nav-open {
    overflow: hidden;
}

main {
    flex-grow: 1;
}

/* Klasický kontejner pro sekce webu (omezená šířka) */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Speciální kontejner pro hlavičku - roztažení na plnou šířku */
.header-container {
    max-width: 100%;
    padding: 0 50px;
}

/* --- ÚPRAVA TYPOGRAFIE --- */
h1,
h2,
h3,
h4 {
    color: #000;
    font-weight: bold;
    margin-top: 0;
    line-height: 1.3;
}

h1 {
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

a {
    color: #000;
    text-decoration: none;
}

/* --- JEDNOTNÉ ODSÁZOVÁNÍ VŠECH SEKCI (Optické ukotvení) --- */
section {
    padding: 55px 0 120px 0;
    position: relative;
}

/* Elegantní dělicí linka mezi sekcemi */
section:not(:last-of-type)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1000px;
    border-bottom: 1px solid #eaeaea;
}

.divider {
    margin-top: 40px;
    margin-bottom: 40px;
    border: 0;
    border-top: 1px solid #eee;
}

/* --- HLAVIČKA A NAVIGACE --- */
header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 0;
    z-index: 10;
}

.logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

/* Absolutní centrování navigace */
header nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 5;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-left: 25px;
}

header nav ul li a {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #555;
}

/* Pravá strana hlavičky */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 1.1rem;
    transition: color 0.3s;
    color: #333;
}

.social-icons a:hover {
    color: #555;
}

/* Interaktivní telefon v hlavičce */
.header-phone-interactive {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f4f4f4;
    color: #000;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    text-decoration: none;
}

.header-phone-interactive:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-color: #000;
}

.header-phone-interactive i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.header-phone-interactive:hover i {
    transform: rotate(15deg) scale(1.1);
}

.mobile-only-socials {
    display: none;
}

/* --- ÚVODNÍ SEKCE A HERO --- */
#uvod {
    text-align: center;
}

/* Zrušení linky po hero sekci */
.cro-hero::after {
    display: none !important;
}

.cro-hero {
    min-height: calc(100vh - 75px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 60px;
}

.main-heading {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.lead-text {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 25px auto;
    color: #555;
}

.hero-bullets {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 0.95rem;
}

.hero-bullets i {
    color: #10b981;
    margin-right: 5px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* --- TLAČÍTKA --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff !important;
    padding: 12px 25px;
    text-align: center;
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid #000;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-outline {
    background: transparent;
    color: #000 !important;
}

.btn-outline:hover {
    background: #f5f5f5;
    color: #000 !important;
}

/* --- GOOGLE SOCIAL PROOF BADGE --- */
.hero-social-proof {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.proof-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.proof-rating:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-color: #ddd;
    text-decoration: none;
}

.proof-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #FBBC05;
    font-size: 0.9rem;
}

.proof-stars svg {
    margin-right: 5px;
}

.proof-text {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.proof-text strong {
    color: #000;
    font-weight: 800;
}

/* --- CRO GRIDS A KARTY --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.cro-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.cro-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.cro-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

/* 1. Karta "Pro koho jsme" */
.target-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.target-icon {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #000;
}

.target-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.target-card .problem {
    color: #555;
    margin-bottom: 15px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.target-card .problem strong {
    color: #000;
}

.target-card .solution {
    color: #111;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
}

/* 2. Karta "Jak to funguje" */
.step-card {
    position: relative;
    padding: 30px 20px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #000;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 35px;
    height: 35px;
    background: #000;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

/* 3. Karta "Proč my" */
.why-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #000;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.why-card h4 {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.why-icon {
    font-size: 1.2rem;
    color: #000;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #000;
    margin-right: 15px;
    flex-shrink: 0;
}

.why-card p {
    color: #555;
    padding-left: 0;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* PASTELOVÉ BARVY PRO IKONY */
.icon-yellow {
    background-color: #fffacd;
}

.icon-purple {
    background-color: #e6e6fa;
}

.icon-blue {
    background-color: #add8e6;
}

/* --- LEAD GEN FORMULÁŘ --- */
.lead-gen-form {
    max-width: 650px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #000;
    text-align: left;
}

.lead-gen-form h3 {
    text-align: center;
    margin-bottom: 25px;
}

.cro-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.cro-form input,
.cro-form select,
.cro-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.cro-form .form-row input {
    margin-bottom: 0;
}

.cro-form input:focus,
.cro-form select:focus,
.cro-form textarea:focus {
    border-color: #000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.micro-copy {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: 15px;
}

.micro-copy i {
    margin-right: 5px;
    color: #10b981;
}

@media (max-width: 900px) {
    section {
        padding: 40px 0 80px 0;
    }
    .cro-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    .main-heading {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    .lead-text {
        font-size: 1rem;
    }
    .btn-large {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    .cro-hero {
        min-height: auto;
        padding-top: 40px;
    }
}

@media screen and (max-width: 768px) {
    .proof-rating {
        flex-direction: column;
        gap: 6px;
        padding: 10px 15px;
        border-radius: 12px;
        text-align: center;
    }
    .proof-stars svg {
        margin-right: 4px;
    }
}

/* =====================================================
    INFORMAČNÍ LIŠTA A FAQ
===================================================== */
.info-bar-wrapper {
    background-color: #fffacd;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    overflow: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-bar-wrapper.closing {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.info-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 20px;
    min-height: 40px;
    position: relative;
}

.info-bar-text {
    font-size: 0.9rem;
    text-align: center;
    color: #333;
    line-height: 1.4;
    flex-grow: 1;
}

.info-bar-text strong {
    color: #000;
    font-weight: 700;
}

.info-tag {
    background-color: #000;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
    text-transform: uppercase;
    display: inline-block;
    transform: translateY(-1px);
}

.info-cta-link {
    display: inline-block;
    margin-left: 8px;
    text-decoration: underline;
    font-weight: bold;
    color: #000;
    white-space: nowrap;
}

.info-cta-link:hover {
    text-decoration: none;
    color: #555;
}

.info-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #555;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-close-btn:hover {
    color: #000;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .info-bar-content {
        padding-right: 15px;
        padding-left: 15px;
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 10px;
    }
    .info-bar-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 450px) {
    .info-cta-link {
        margin-left: 0;
        margin-top: 5px;
    }
    .info-tag {
        margin-bottom: 5px;
    }
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.custom-list li {
    margin-bottom: 10px;
}

.faq-section {
    max-width: 900px;
    margin: 40px auto;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    border-color: #ccc;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item[open] {
    border-color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    background-color: #fff;
    transition: background-color 0.2s;
}

.faq-item summary:hover {
    background-color: #fcfcfc;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1;
    color: #777;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: #000;
}

.faq-item p {
    margin: 0;
    padding: 0 20px 20px 20px;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid transparent;
    animation: fadeIn 0.4s ease-in-out;
}

.faq-item[open] p {
    padding-top: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   PŮVODNÍ KARTY SLUŽEB A PODSTRÁNKY
===================================================== */
.category-block {
    margin-bottom: 80px;
}

.category-block:last-child {
    margin-bottom: 0;
}

.category-subtitle {
    text-transform: uppercase;
    color: #888;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-size: 1.1rem;
    text-align: left;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    padding: 30px;
    border: 1px solid #000;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
}

.service-card p {
    flex-grow: 1;
    font-size: 0.95rem;
}

.service-card .btn {
    margin-top: 20px;
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.service-card:hover .btn {
    background: #333;
    border-color: #333;
    transform: translateY(-2px);
}

.service-card.yellow {
    background-color: #fffacd;
    border-color: #f5e49f;
}

.service-card.purple {
    background-color: #e6e6fa;
    border-color: #d1d1f0;
}

.service-card.blue {
    background-color: #add8e6;
    border-color: #9acbe0;
}

/* PODSTRÁNKY STYLY */
/* ODSTRANĚN RÁMEČEK Z FOTOGRAFIE V MEDIACI/PODSTRÁNKÁCH */
.subpage-banner {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
    border: none;
    box-shadow: none;
}

.subpage-banner img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.subpage-content {
    padding-top: 40px;
    padding-bottom: 40px;
}

.subpage-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.subpage-content h3 {
    text-align: left;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.subpage-content ul {
    list-style: disc;
    padding-left: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-top: 40px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border: 1px solid #000;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.cenik {
    margin-top: 50px;
}

.cenik-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed #ccc;
}

.cenik-item:last-child {
    border-bottom: none;
}

.cenik-item span:first-child {
    font-weight: bold;
}

.highlight-box {
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
    background-color: #fff;
    text-align: left;
    border: 1px solid #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.highlight-box.yellow {
    background-color: #fffacd;
}

.highlight-box.blue {
    background-color: #add8e6;
}

.highlight-box p {
    margin-bottom: 10px;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* KONTAKTY STRÁNKA */
#kontakty {
    background-color: #ffffff;
}

.contact-details {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-info,
.contact-address {
    flex: 1;
    min-width: 300px;
}

.contact-info hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.contact-info p,
.address-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i,
.address-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
    text-align: center;
    color: #555;
}

.address-item div {
    flex: 1;
}

.address-link {
    color: inherit;
    text-decoration: none;
}

.address-item {
    transition: background-color 0.3s, border 0.3s, box-shadow 0.3s;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.address-link:hover .address-item {
    background-color: #fff;
    border: 1px solid #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.map-container {
    border: 1px solid #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* OBYČEJNÉ FORMULÁŘE NA PODSTRÁNKÁCH */
.booking-form {
    max-width: 700px;
    margin: 50px auto 20px auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #000;
}

.booking-form h2,
.booking-form h3 {
    text-align: center;
    margin-bottom: 25px;
    margin-top: 0;
}

.booking-form form {
    display: flex;
    flex-direction: column;
}

.booking-form label {
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    border-color: #000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.btn-submit {
    margin-top: 20px;
    padding: 14px 28px;
    background-color: #000;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-start;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* TÝMOVÁ STRÁNKA */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
    margin-top: 30px;
}

.team-member img {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
}

.team-member h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-member .role {
    margin-top: 0;
    margin-bottom: 10px;
    color: #666;
    font-style: italic;
}

.team-member .email {
    font-size: 0.9rem;
    color: #333;
    text-decoration: underline;
}

/* STRÁNKA AKTUALITY (Odstraněn rámeček, nahrazeno jemným stínem) */
.aktuality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.aktuality-card {
    display: block;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.aktuality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.aktuality-card img {
    width: 100%;
    height: auto;
    display: block;
}

.aktuality-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    backdrop-filter: blur(5px);
    border-top: 1px solid #eee;
}

.aktuality-card-title h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.aktuality-card-title p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
}

/* ZPRÁVY FORMULÁŘE */
.form-status-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    font-size: 0.95rem;
}

.form-status-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* TLAČÍTKO NAHORU */
#scrollTopBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#scrollTopBtn.visible {
    opacity: 1;
    visibility: visible;
}

#scrollTopBtn:hover {
    background-color: #000;
    color: #fff;
    border-color: #000;
    transform: translateY(-3px);
}

/* =====================================================
    ROZŠÍŘENÁ FUNKČNÍ PATIČKA (FOOTER)
===================================================== */
.main-footer {
    background-color: #f9f9f9;
    border-top: 1px solid #eaeaea;
    margin-top: 60px;
    color: #444;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 50px 20px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-id {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 16px;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.5;
    color: #6f6f6f;
    text-align: left;
}

.footer-id span {
    display: block;
}

.footer-heading {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.footer-contact-list i {
    font-size: 1.05rem;
    color: #000;
    width: 25px;
    margin-top: 4px;
}

.footer-contact-list a {
    color: #444;
    transition: color 0.3s;
}

.footer-contact-list a:hover {
    color: #000;
    text-decoration: underline;
}

.footer-socials {
    margin-top: 15px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #eee;
    color: #000;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-3px);
}

.footer-form-group {
    margin-bottom: 10px;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    background-color: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.footer-form input:focus,
.footer-form textarea:focus {
    border-color: #000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.btn-submit-footer {
    width: 100%;
    padding: 10px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-footer:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.footer-legal {
    padding: 15px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.footer-legal a {
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-legal a i {
    margin-right: 5px;
}

.footer-legal a:hover {
    color: #000;
}

.footer-bottom {
    border-top: 1px solid #eaeaea;
    padding: 20px 0;
    background-color: #f4f4f4;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    color: #666;
    font-size: 0.85rem;
}

.made-by-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    text-decoration: none;
    color: #444;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    background: #fff;
}

.made-by-btn i {
    margin-right: 8px;
    font-size: 1rem;
    color: #333;
}

.made-by-btn:hover {
    background: #f8f9fa;
    border-color: #ccc;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-grid {
        gap: 30px;
        padding: 40px 20px;
    }
}

/* =====================================================
    DROPDOWN A MEGA MENU (DESKTOP)
===================================================== */
.burger {
    display: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    min-width: 650px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeaea;
    border-radius: 8px;
    z-index: 1001;
    padding: 25px;
    flex-direction: row;
    justify-content: space-between;
    gap: 25px;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.mega-column {
    flex: 1;
    min-width: 180px;
}

.mega-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
    letter-spacing: 1px;
    text-align: left;
    margin-top: 0;
}

.dropdown-content a {
    color: #333;
    padding: 8px 0;
    display: block;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: none;
    transition: color 0.2s;
}

.dropdown-content a:hover {
    color: #000;
    background-color: transparent;
    text-decoration: underline;
}

/* RESPONZIVITA (MOBILY) */
@media (max-width: 900px) {
    .header-container {
        padding: 0 20px;
    }
    header nav {
        position: static;
        transform: none;
    }
    .header-phone-interactive span {
        display: none;
    }
    .header-phone-interactive {
        padding: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
    .social-icons {
        display: none;
    }
    header nav .nav-list {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        width: 100%;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e0e0e0;
        overflow-y: auto;
        padding-bottom: 150px;
        z-index: 999;
    }
    header nav .nav-list.open {
        display: flex;
    }
    header nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    header nav ul li a {
        display: block;
        padding: 18px;
    }
    .mobile-only-socials {
        display: flex;
        justify-content: center;
        gap: 20px;
        padding: 20px 0;
        border-bottom: none;
    }
    .mobile-only-socials a {
        display: inline-block;
        padding: 10px;
        font-size: 1.5rem;
        color: #333;
    }
    .burger {
        display: block;
        position: relative;
        width: 30px;
        height: 24px;
        cursor: pointer;
        z-index: 1001;
    }
    .burger span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #000;
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transition: .25s ease-in-out;
    }
    .burger span:nth-child(1) {
        top: 0px;
    }
    .burger span:nth-child(2) {
        top: 10px;
    }
    .burger span:nth-child(3) {
        top: 20px;
    }
    .burger.toggle span:nth-child(1) {
        top: 10px;
        transform: rotate(135deg);
    }
    .burger.toggle span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }
    .burger.toggle span:nth-child(3) {
        top: 10px;
        transform: rotate(-135deg);
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        width: 100%;
        min-width: auto;
        transform: none;
        display: none;
        padding: 0;
        flex-direction: column;
        gap: 0;
    }
    .dropdown:hover .dropdown-content {
        display: none;
    }
    .dropdown.open .dropdown-content {
        display: flex;
    }
    .mega-column {
        padding: 0;
        border-bottom: 1px solid #eee;
    }
    .mega-column:last-child {
        border-bottom: none;
    }
    .mega-title {
        background-color: #f9f9f9;
        color: #333;
        font-weight: 500;
        text-transform: uppercase;
        font-size: 0.85rem;
        margin: 0;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    .mega-title::after {
        content: '\25BE';
        font-size: 1.2em;
        transition: transform 0.3s ease;
        position: relative;
    }
    .mega-column.active .mega-title::after {
        transform: rotate(180deg);
    }
    .mega-column a {
        display: none;
        background-color: #fff;
        padding: 12px 20px;
        border-top: 1px solid #fcfcfc;
        font-size: 0.85rem;
        color: #555;
        text-align: center;
    }
    .mega-column.active a {
        display: block;
    }
}