/* --- ZÁKLADNÍ NASTAVENÍ A PROMĚNNÉ --- */
:root {
    --primary: #00d2ff;
    --primary-dark: #008eb3;
    --dark-bg: #121212;
    --section-bg: #0a0a0a;
    --card-bg: #1e1e1e;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --transition: all 0.3s ease;
    
    --padding-section: 100px;
    --padding-mobile: 60px;
}

html {
    scroll-padding-top: 110px;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; 
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    font-size: 16px; 
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul { list-style: none; }

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

.section {
    padding: var(--padding-section) 0;
    width: 100%;
    overflow: hidden; 
}

.dark-bg { background-color: var(--section-bg); }
.highlight { color: var(--primary); }

/* --- NAVIGACE --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s ease;
    height: 90px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    height: 80px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    z-index: 1001; 
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: 50%;
    transition: 0.3s;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    color: #fff;
    line-height: 1;
}

.logo-main span { color: var(--primary); }

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn-nav) {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    color: #fff;
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: auto;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-links a:not(.btn-nav):hover { color: var(--primary); }
.nav-links a:not(.btn-nav):hover::after { width: 100%; left: 0; right: auto; }

.btn-nav {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border: 2px solid var(--primary);
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
}

.btn-nav:hover {
    background: var(--primary);
    color: #000 !important;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
}
.btn-nav::after { display: none; }

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--primary);}
.hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--primary);}


/* --- HERO SEKCE (OPRAVENO) --- */
.hero {
    height: 100vh;
    min-height: 600px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    /* ZDE BYLA CHYBA - odstraněno background-color: #000 */
}

/* Z-INDEX OPRAVA */
.back-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover; 
    z-index: 0; /* Zvednuto z -1 */
    filter: brightness(0.6); 
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(18,18,18,1));
    z-index: 1; /* Zvednuto z 0 */
}

.hero-content {
    z-index: 2; /* Zvednuto z 1 */
    padding: 20px;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
    margin-top: 40px; 
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    color: #e0e0e0;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; 
}

.btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 180px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    color: rgba(255,255,255,0.6);
    font-size: 2rem;
    z-index: 3; /* Zvednuto */
    animation: bounce 2s infinite;
    padding: 20px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

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

/* --- O METODĚ --- */
.section-label {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.benefit-list {
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 500;
}

.benefit-list li i {
    color: var(--primary);
    font-size: 1.3rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.about-image {
    position: relative;
    width: 100%;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/3; 
    object-fit: cover; 
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

/* --- VLASTNOSTI A SLUŽBY --- */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    text-transform: uppercase;
    padding: 0 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; 
    margin-top: 40px;
}

@media (min-width: 600px) {
    .features-grid {
        gap: 30px;
    }
}

@media (min-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: linear-gradient(145deg, var(--card-bg), #1a1a1a);
    padding: 30px 20px; 
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.15);
}

.feature-card .icon {
    font-size: 2rem; 
    color: var(--primary);
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    background: rgba(0, 210, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    border: 1px solid rgba(0, 210, 255, 0.1);
}

.feature-card:hover .icon {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary);
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.feature-card p {
    color: #dcdcdc; 
    font-size: 1rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .feature-card { padding: 50px 30px; }
    .feature-card .icon { width: 90px; height: 90px; font-size: 2.5rem; margin-bottom: 25px; }
    .feature-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
    .feature-card p { font-size: 1rem; }
}

/* --- SLIDER PŘED A PO --- */
.subtitle-center {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.comparison-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    user-select: none; 
    -webkit-user-select: none;
    overflow: hidden; 
    padding-bottom: 20px; 
}

.comparison-slider {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: visible; 
    line-height: 0;
    aspect-ratio: 3/2; 
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.15);
    border: 3px solid #fff;
    overflow: hidden;
}

.img-back {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

#divisor {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 50%;
    height: 100%;
    overflow: hidden; 
    z-index: 1;
    border-right: 3px solid var(--primary);
    box-shadow: 5px 0 20px rgba(0,0,0,0.5);
    will-change: width;
}

.img-front {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    display: block;
    width: 100%; 
    max-width: none;
}

input[type=range] {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    top: 0; 
    left: -30px; 
    bottom: 0;
    width: calc(100% + 60px);
    height: 100%; 
    background-color: transparent;
    z-index: 2;
    margin: 0;
    cursor: col-resize;
    touch-action: none;
}

input[type=range]:focus { outline: none; }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 100%; background: transparent; }
input[type=range]::-moz-range-track { width: 100%; height: 100%; background: transparent; }

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid #fff;
    cursor: col-resize;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

input[type=range]::-moz-range-thumb {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid #fff;
    cursor: col-resize;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.gallery-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .gallery-buttons {
        flex-direction: column;
        align-items: center;
    }
    .gallery-buttons .btn {
        width: 100%;
        max-width: 350px;
    }
}

/* --- PROCES --- */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
    padding: 20px;
}

@media (min-width: 992px) {
    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 55px;
        right: -50%;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, var(--primary), transparent);
        opacity: 0.3;
        z-index: 0;
    }
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: #000;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

/* --- KONTAKT A FORMULÁŘ --- */
.contact-layout {
    display: flex;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 30px;
}

.contact-card {
    flex: 1;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: #fff;
}

.contact-desc {
    color: var(--primary);
    margin-bottom: 40px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    text-decoration: none; 
}

.contact-row:last-of-type { margin-bottom: 40px; }

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-box { display: flex; flex-direction: column; }

.info-box .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 2px;
}

.info-box .contact-link, 
.info-box .text {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
}

/* Text "Nebo nám zavolejte" - defaultně skrytý */
.contact-label-mobile {
    display: none;
}

/* Formulář */
.contact-form {
    flex: 1.5;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.form-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(0, 210, 255, 0.05);
}

.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-wrapper input[type="file"] {
    display: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    color: var(--text-gray);
}

.file-upload-label:hover {
    border-color: var(--primary);
    color: #fff;
    background: rgba(0, 210, 255, 0.05);
}

.file-upload-label i {
    font-size: 1.5rem;
    color: var(--primary);
}

.form-btn {
    width: 100%;
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

/* MAPA */
.map-wrapper-full {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    filter: invert(90%) hue-rotate(180deg) grayscale(20%) contrast(90%);
    transform: translateZ(0); 
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* --- FOOTER --- */
footer {
    background: #000;
    padding: 40px 0;
    border-top: 1px solid #1a1a1a;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.2rem;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 50%;
}

/* Styl pro fotku majitele v kontaktech */
.owner-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%; /* Kruhový výřez */
    margin-bottom: 20px;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.contact-card {
    position: relative; /* Nutné pro absolute pozici fotky */
    padding-top: 50px;  /* Prostor shora */
}

/* Styl samotné fotky majitele */
.owner-img {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 100px; /* Zaoblené rohy ladící s designem */
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.2);
    z-index: 10;
}
/* --- CENÍK (PRICING) --- */
#pricing {
    padding-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 30px auto 40px;
}

.pricing-card {
    background: linear-gradient(145deg, var(--card-bg), #1a1a1a);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

.pricing-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
    width: 70px;
    height: 70px;
    background: rgba(0, 210, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(0, 210, 255, 0.1);
}

.pricing-card h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.4rem;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-list {
    margin: 0;
    padding: 0;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    color: var(--text-gray);
    font-size: 1rem;
}

.price-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.price-list li .price {
    color: var(--primary);
    font-weight: 700;
    font-family: var(--font-heading);
    margin-left: 15px;
    text-align: right;
    white-space: nowrap;
}

.pricing-disclaimer {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    background: rgba(0, 210, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--primary);
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.pricing-disclaimer strong {
    color: #fff;
}
#contact {
    padding-top: 70px;
}
@media (max-width: 768px) {
    #pricing {
        padding-bottom: 30px;
    }
    #contact {
        padding-top: 60px;
    }
}

/* Responzivita pro Ceník */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }

    .pricing-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* Úprava textu, aby se nepřekrýval s fotkou na desktopu */
.contact-card h3, 
.contact-card .contact-desc {
    padding-right: 130px; /* Vytvoří bezpečný prostor vpravo */
}

/* --- RESPONZIVITA PRO MOBILY (do 768px) --- */
@media (max-width: 768px) {
    .owner-img {
        width: 80px;  /* Zmenšení na mobilu */
        height: 80px;
        top: 75px;
        right: 20px;
    }

    .contact-card h3, 
    .contact-card .contact-desc {
        padding-right: 90px; /* Menší padding pro menší fotku */
        text-align: left;    /* Zarovnání vlevo je pro tento layout jistější */
    }
    
    .contact-label-mobile {
        text-align: left;
        margin-left: 0;
    }
}

/* Extra malé displeje */
@media (max-width: 480px) {
    .owner-img {
        width: 65px;
        height: 65px;
    }
    .contact-card h3 {
        font-size: 1.4rem; /* Menší písmo, aby se jméno vešlo vedle fotky */
    }
}

/* =========================================
   MEDIA QUERIES (RESPONZIVNÍ)
   ========================================= */

/* Tablet (do 992px) */
@media (max-width: 992px) {
    .section { padding: var(--padding-mobile) 0; }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text { order: 1; }
    
    .about-image {
        order: 2;
        margin-top: 20px;
    }
    
    /* OPRAVA: Na tabletu a mobilu poměr 3:2 (širší) */
    .about-image img {
        aspect-ratio: 3/2; 
        object-fit: cover;
    }
    
    .contact-layout {
        flex-direction: column;
    }
}

/* MOBIL (do 768px) */
@media (max-width: 768px) {
    
    /* KONTAKT - ZMĚNA POŘADÍ A ZAROVNÁNÍ */
    .contact-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* FORMULÁŘ PRVNÍ - order -1 je atomovka */
    .contact-form {
        order: -1; 
        width: 100%;
        margin-bottom: 40px;
        padding: 30px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: center; /* Nadpisy na střed */
    }

    .contact-form h3, 
    .contact-form .form-desc {
        text-align: center;
    }
    .form-group { text-align: left; } /* Inputy vlevo */

    /* KARTA DRUHÁ */
    .contact-card {
        padding: 30px 20px;
        width: 100%;
        text-align: center;
    }

    /* Zobrazíme nadpis "Nebo nám zavolejte" */
    .contact-label-mobile {
        display: block;
        color: var(--text-gray);
        text-transform: uppercase;
        font-size: 0.9rem;
        margin-bottom: 20px;
        text-align: center;
        letter-spacing: 1px;
    }

    /* Ostatní mobilní styly */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    .hero-buttons .btn { width: 100%; }

    .contact-row { flex-direction: row; text-align: left; }
    
    .footer-content { flex-direction: column; gap: 30px; }

    /* --- OPRAVA "UTAHANÝCH" KARET (FEATURES) --- */
    .features-grid {
        gap: 10px; /* Menší mezera */
    }

    .feature-card {
        padding: 20px 15px; /* Výrazně menší padding (z 50px na 20px) */
        border-radius: 15px;
    }

    .feature-card .icon {
        width: 45px; /* Menší ikona */
        height: 45px;
        font-size: 1.4rem;
        margin-bottom: 10px; /* Méně místa pod ikonou */
    }

    .feature-card h3 {
        font-size: 1rem; /* Menší nadpis */
        margin-bottom: 5px;
    }

    .feature-card p {
        font-size: 0.85rem; /* Menší text */
        line-height: 1.3;
    }

    /* --- KOMPAKTNĚJŠÍ PROCES --- */
    .process-steps {
        gap: 20px;
    }
    
    .step {
        padding: 10px;
        min-width: 100%;
    }
    
    .step h3 { font-size: 1.2rem; }
}

/* MENU PRO MOBIL (do 900px) */
@media (max-width: 900px) {
    .hamburger { display: block; }

    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: var(--section-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-links a:not(.btn-nav) {
        font-size: 1.8rem;
        font-weight: 700;
    }
    
    .btn-nav {
        font-size: 1.1rem;
        padding: 15px 40px;
        margin-top: 20px;
    }
    
    .navbar { height: 80px; }
    .logo-img { height: 35px; }
    .logo-main { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.2rem; }
    .contact-card h3 { font-size: 1.6rem; }
    .info-box .contact-link { font-size: 1rem; }
    .step { padding: 10px; }
    
    .logo-sub { display: none; }
}