/* =========================================
   1. ZÁKLADNÍ NASTAVENÍ A PROMĚNNÉ
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #FAF7F1; 
    --color-white: #ffffff;
    --color-primary: #d8c6b0; 
    --color-primary-dark: #c4b096;
    --color-signature: #a89380;
    --color-brown-bg: #dcbfa6; 
    --color-text: #4a4a4a;
    --color-dark: #1a1a1a;
    --color-dark-blue: #1f2937;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* =========================================
   2. NAVIGACE
   ========================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 247, 241, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer; 
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-dark);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: var(--color-dark);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-dark);
}

/* =========================================
   3. HERO SEKCE
   ========================================= */
section.hero {
    padding: 0;
    background-image: url('obrazky/pozadi5.png'); 
    background-size: cover;     
    background-position: center; 
    background-repeat: no-repeat;
    background-attachment: fixed; 
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    max-width: 100% !important;
}

.hero-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-image-container {
    flex: 0 0 60%;
    height: 100%;
    position: relative;
    order: 1; 
    padding: 0;
    display: flex;
    align-items: flex-end;
}

.hero-text-content {
    flex: 0 0 40%;
    padding: 0 2rem 0 3rem;
    z-index: 10;
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-img-main {
    width: 100%;
    height: auto;
    max-height: 95vh;
    object-fit: cover;
    object-position: top center; 
    display: block;
    margin-top: 0;
}

.hero-signature {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 2rem;
    color: var(--color-signature);
    margin-bottom: 0.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-buttons {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* --- TLAČÍTKA --- */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-block;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-dark);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-text-arrow {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    transition: gap 0.3s;
}
.btn-text-arrow:hover { gap: 1rem; }

.btn-secondary-outline {
    text-decoration: none;
    color: var(--color-dark);
    border: 1px solid var(--color-dark);
    font-weight: 500;
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    transition: all 0.3s;
}
.btn-secondary-outline:hover {
    background: var(--color-dark);
    color: white;
}

.btn-black {
    background: var(--color-dark);
    color: white;
    padding: 0.8rem 3rem;
}
.btn-black:hover {
    background: #333;
    transform: scale(1.05);
}

/* =========================================
   4. O MNĚ
   ========================================= */
section#about {
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 5rem;
    align-items: stretch;
}

.about-text-content .section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.about-text-content .section-subtitle {
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.signature-block { margin-top: 1rem; }
.signature-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-signature);
    font-style: italic;
}

.about-image-wrapper {
    position: relative;
    padding-left: 1rem; 
    height: 100%; 
    display: flex;
}

.about-img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    border-radius: 20px 20px 0 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.about-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 105%;
    background-color: var(--color-primary);
    border-radius: 20px 20px 0 20px;
    z-index: 1;
    opacity: 0.3;
}

.photo-badge-static {
    position: absolute;
    top: -50px;      
    left: -50px;     
    width: 180px;
    height: 180px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 10;
    padding: 5px; 
}

.photo-badge-static img {
    width: 150%;
    height: auto;
    object-fit: contain;
}

/* =========================================
   5. SLUŽBY (CENÍK - FINÁLNÍ ZAROVNÁNÍ)
   ========================================= */
section.services-section {
    background-color: var(--color-white); 
    padding: 6rem 3rem;
    width: 100%;
    max-width: 100%; 
}

.section-header { text-align: center; margin-bottom: 4rem; }
.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 3rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    /* Karty se natáhnou na stejnou výšku */
    align-items: stretch; 
}

/* --- KARTA SLUŽBY --- */
.service-card {
    background: #FAF7F1;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    
    /* Flexbox pro svislé roztažení a zarovnání */
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.service-card:hover { transform: translateY(-5px); }

.service-icon {
    width: 80px; height: 80px;
    background: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    flex-shrink: 0;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
    flex-shrink: 0;
}

/* --- POPIS (Horní text) --- */
.service-desc {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    
    /* ZVÝŠENO PRO ZAROVNÁNÍ */
    /* Zvýšeno na 240px, aby se s jistotou vešel i nejdelší text a čára byla rovně */
    min-height: 240px; 
    
    display: flex;
    align-items: flex-start; /* Text začíná nahoře */
    justify-content: center;
}

/* --- SEZNAM (Prostřední část + Horní čára) --- */
.service-list {
    /* HORNÍ ČÁRA */
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    
    list-style: none;
    text-align: left;
    
    /* FLEX-GROW: 1 zajistí, že tento prvek vyplní volné místo a odtlačí cenu dolů */
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.service-list li::before { 
    content: "•"; 
    color: var(--color-primary); 
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.2; 
    flex-shrink: 0;
}

.service-list li strong {
    color: var(--color-dark);
    font-weight: 700;
    display: block; 
    margin-bottom: 0.2rem;
}

.list-desc {
    display: block; 
    color: var(--color-text);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- CENA (Dolní čára + Cena) --- */
.service-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-dark);
    font-weight: 700;
    
    /* DOLNÍ ČÁRA */
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1.5rem;
    width: 100%;
    margin-top: 0; /* Flex-grow u seznamu se postará o mezeru */
}

/* --- LEDNOVÁ NABÍDKA --- */
.january-offer-container {
    background: white;
    border: 2px solid var(--color-primary);
    border-radius: 20px;
    padding: 4rem 2rem 3rem;
    margin: 5rem auto 3rem;
    max-width: 800px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(216, 198, 176, 0.2);
}

.january-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-dark);
    color: var(--color-white);
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.january-offer-container h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.january-offer-container p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text);
}

/* Spodní text pod službami */
.services-note-container {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.services-bottom-text { margin-bottom: 1.5rem; color: var(--color-text); }


/* =========================================
   6. LEAD MAGNET (EBOOK)
   ========================================= */
.lead-magnet-section {
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.lead-magnet-container {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 4rem; 
}

.lead-magnet-image {
    flex: 1;
    display: flex;
    justify-content: center; 
    max-width: 650px;
}

.ebook-cover-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(10px 10px 20px rgba(0,0,0,0.15));
    border-radius: 5px;
    transform: rotate(0deg); 
    transition: transform 0.3s ease;
}

.ebook-cover-img:hover {
    transform: scale(1.05); 
}

.lead-magnet-content {
    flex: 1;
    background: white;
    border: 1px solid #eee;
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center; 
    color: var(--color-dark);
    box-shadow: 0 4px 30px rgba(0,0,0,0.02);
    max-width: 600px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lead-magnet-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.lead-magnet-content p {
    margin-bottom: 2rem;
    color: var(--color-text);
}

.form-wrapper { max-width: 500px; margin: 2rem auto 0; width: 100%; }
.email-form { display: flex; flex-direction: column; gap: 1rem; }
.email-form input {
    padding: 1rem 1.5rem;
    border: 1px solid #ddd; border-radius: 50px;
    font-size: 1rem; text-align: center;
    background: #f9f9f9;
}
.gdpr-consent { display: flex; justify-content: center; margin: 0.5rem 0; font-size: 0.9rem; }
.checkbox-container { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.checkbox-container input {
    cursor: pointer;
    width: 18px; height: 18px; margin-top: 3px;
}

.email-form button {
    background: var(--color-dark-blue);
    color: white; padding: 1rem 2.5rem;
    border: none; border-radius: 50px;
    font-weight: 500; cursor: pointer;
    transition: background 0.3s;
}
.email-form button:disabled { background-color: #d1d5db; cursor: not-allowed; }
.email-form button:not(:disabled):hover { background-color: #111; }

#ebookSuccess {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px; 
    animation: fadeIn 0.5s ease;
    text-align: center;
    width: 100%;
}

#ebookSuccess h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

#ebookSuccess p {
    font-size: 1.2rem;
    color: var(--color-text);
}

/* =========================================
   7. RECENZE & SOCIAL
   ========================================= */
.reviews-section { 
    background-color: white; 
    border-radius: 30px; 
    margin: 4rem auto;
    padding: 6rem 2rem;
    width: 96%;
    max-width: 1600px;
}
.reviews-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.review-placeholder-item {
    width: 100%; min-height: 300px; background: #f8f8f8;
    border-radius: 50px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.review-placeholder-item img { width: 100%; height: 100%; object-fit: cover; }

.social-cta {
    background-color: var(--color-brown-bg);
    padding: 5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.social-pretitle { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem; color: var(--color-dark); }
.social-title { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 2rem; color: var(--color-dark); }

.social-buttons-wrapper {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   8. KONTAKT
   ========================================= */
section#contact {
    max-width: 100% !important;
    padding-left: 0; padding-right: 0;
    background-color: var(--color-bg);
    padding: 6rem 3rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1600px;
    width: 96%;
    margin: 2rem auto 0;
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: auto; 
}

.contact-item {
    background: white; 
    color: var(--color-text);
    padding: 3rem 2rem; 
    flex: 1;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    text-align: center;
    transition: transform 0.3s;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: auto; 
}
.contact-item:hover { transform: translateY(-5px); }

.contact-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.contact-item h3 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--color-dark); margin-bottom: 0.5rem; }
.contact-item a { text-decoration: none; color: blue; text-decoration: underline; font-size: 1.2rem; }

.contact-form-wrapper {
    flex: 1;
    min-width: 400px;
    background: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    min-height: 500px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}

.form-group { margin-bottom: 2rem; width: 100%; }
.form-group label { display: block; margin-bottom: 0.8rem; font-weight: 500; font-size: 1.1rem; color: var(--color-dark); text-align: left; }

#mainContactForm {
    width: 100%;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid #eee;
    background: #fafafa;
    color: var(--color-text);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.submit-btn { 
    width: auto;
    min-width: 200px;
    cursor: pointer; 
    border: none; 
    font-size: 1.1rem; 
    padding: 1rem 2rem; 
    margin-top: 1rem;
    background: #d8c6b0;
    color: var(--color-dark);
    font-weight: 500;
    border-radius: 50px;
}
.submit-btn:hover { background: #c9b59e; }

#formSuccessMessage {
    animation: fadeIn 0.5s ease;
    display: none; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
    margin: 0 auto;
}

.success-icon-large {
    font-size: 5rem; 
    color: var(--color-primary); 
    margin-bottom: 1.5rem;
    line-height: 1;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#formSuccessMessage h3 {
    font-family: var(--font-heading);
    font-size: 2.8rem; 
    color: var(--color-dark);
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#formSuccessMessage p {
    color: var(--color-text);
    font-size: 1.3rem; 
    margin-bottom: 0; 
    max-width: 100%; 
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   9. FOOTER
   ========================================= */
footer { 
    background: var(--color-dark); 
    color: white; 
    padding: 4rem 3rem 2rem; 
    margin-top: auto; 
}

.footer-content { 
    max-width: 1400px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem; 
    margin-bottom: 3rem; 
    text-align: center;
    align-items: start;
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.logo-img-footer {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
}
.logo-text-footer {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
}

.footer-section h4 { 
    font-family: var(--font-heading); 
    font-size: 1.3rem; 
    margin-bottom: 1.5rem; 
}

.footer-section p, .footer-section a { 
    color: rgba(255,255,255,0.8); 
    text-decoration: none; 
    line-height: 2; 
    display: block; 
}

.footer-section a:hover { color: white; }

.social-links { 
    display: flex; 
    gap: 15px; 
    margin-top: 1.5rem;
    justify-content: center; 
}

.social-link { 
    width: 45px;       
    height: 45px; 
    background: rgba(255,255,255,0.1); 
    border-radius: 50%; 
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-decoration: none; 
    transition: all 0.3s ease; 
    color: white; 
    padding: 0;
    margin: 0;
}

.social-link svg {
    width: 22px;
    height: 22px;
    display: block; 
    margin: 0;
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    color: white; 
}

.footer-bottom { 
    text-align: center; 
    padding-top: 2rem; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    color: rgba(255,255,255,0.6); 
    font-size: 0.9rem; 
}

/* =========================================
   10. MODALS, EXTRAS & ANIMATIONS
   ========================================= */
.logo-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); 
    z-index: 2000; 
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
    padding: 2rem;
}

.logo-modal.active {
    opacity: 1;
    pointer-events: all;
}

#modalLogoImg {
    max-width: 80vw;
    max-height: 80vh;
    object-fit: contain;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.legal-wrapper {
    max-width: 900px;
    margin: 120px auto 4rem;
    padding: 0 2rem;
    min-height: 60vh;
}

.legal-wrapper h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-dark);
    margin-bottom: 2.5rem;
    text-align: center;
}

.legal-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-wrapper p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-wrapper ul {
    margin-left: 20px;
    margin-bottom: 1.5rem;
}

.legal-wrapper li {
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; transform: translateY(50px); transition: all 1s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }


/* --- VYLEPŠENÝ COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(8px); 
    border-top: 2px solid var(--color-primary); 
    box-shadow: 0 -10px 40px rgba(0,0,0,0.15); 
    padding: 1.5rem 2rem;
    z-index: 9999;
    transition: bottom 0.6s cubic-bezier(0.19, 1, 0.22, 1); 
}

.cookie-banner.active {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--color-dark);
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--color-text);
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.cookie-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.cookie-link:hover {
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-dark);
}

.btn-cookie {
    background-color: var(--color-dark);
    color: white;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-cookie:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* =========================================
   11. MEDIA QUERIES (RESPONZIVITA)
   ========================================= */
@media (max-width: 900px) {
    section.hero { height: auto; min-height: 100vh; }
    .hero-wrapper { flex-direction: column; padding-top: 80px !important; height: auto; }
    .hero-image-container { order: 1; width: 100%; flex: none; height: 50vh; justify-content: center; }
    .hero-img-main { object-position: top center; max-height: 50vh; margin-top: 0; }
    .hero-text-content { order: 2; flex: none; width: 100%; padding: 3rem 1.5rem; text-align: center; align-items: center; }
    .hero-buttons { justify-content: center; }
    
    .about-container { grid-template-columns: 1fr; gap: 3rem; }
    .about-image-wrapper { padding: 0; max-width: 500px; margin: 0 auto; height: auto; display: block; order: 2; }
    .about-text-content { order: 1; text-align: center; }
    .about-text-content .section-title, .about-text-content .section-subtitle { text-align: center !important; }
    
    .photo-badge-static { width: 100px; height: 100px; top: -20px; left: -20px; padding: 5px; }

    .lead-magnet-container {
        flex-direction: column; 
        gap: 2rem;
    }

    .lead-magnet-image {
        max-width: 300px; 
        order: 1; 
    }
    
    .lead-magnet-content {
        width: 100%;
        padding: 3rem 1.5rem;
        order: 2; 
    }

    .footer-content {
        grid-template-columns: 1fr; 
        gap: 2.5rem;
    }
    
    /* OPRAVA PRO MOBIL - ZRUŠENÍ FIXNÍ VÝŠKY POPISU SLUŽBY */
    .service-desc {
        min-height: auto !important;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-container { padding: 0 1.5rem; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: white; flex-direction: column; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.1); text-align: center; }
    .nav-links.active { display: flex; }
    .menu-toggle { display: flex; }
    
    .contact-container { flex-direction: column; gap: 2rem; align-items: flex-start; }
    .contact-form-wrapper { padding: 2rem 1.5rem; min-width: 0; width: 100%; }
    .contact-info { min-width: 0; width: 100%; }
    .contact-item { min-height: 200px; flex: none; }
    
    .legal-wrapper {
        margin-top: 100px;
        padding: 0 1.5rem;
    }
    .legal-wrapper h1 {
        font-size: 2.2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
        margin-top: 0.5rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    /* Úprava Lednové nabídky na mobilu */
    .january-offer-container {
        padding: 3rem 1.5rem 2rem;
        margin: 4rem 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .social-buttons-wrapper {
        flex-direction: column;
        width: 100%;
    }
    .social-buttons-wrapper .btn-black {
        width: 100%;
        text-align: center;
    }
}

/* --- SKRYTÍ HONEYPOTU (PAST NA ROBOTY) --- */
.antispam-field {
    display: none !important;
}

/* =========================================
   12. STYLY PRO MODAL RECENZÍ
   ========================================= */
.review-img {
    cursor: pointer;
    transition: 0.3s;
}

.review-img:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 10001; /* Větší než menu a cookies */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 90vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.3s;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10002;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}