/* ZÁKLADNÉ PREMENNÉ A RESET */
:root {
    --vinova: #9e3d52;
    --tmava: #2b2b2b;
    --paticka: #8a3b50;
}

* { box-sizing: border-box; margin: 0px; padding: 0; }

/* --- UZAMKNUTIE ŠÍRKY PROTI ROZŤAHOVANIU NA MOBILOCH --- */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--tmava);
    background-color: #ffffff;
}

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

/* --- 1. HERO SEKCE --- */
.hero-wrapper {
    position: relative;
    min-height: 850px;
    padding-top: 40px;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    top: 41px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    z-index: 2;
    pointer-events: none;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Týmto zakážeme prehliadaču stlačiť odkaz, v ktorom je logo obalené */
.navbar > a {
    flex-shrink: 0; 
}

.nav-logo {
    height: 180px;
    width: auto;
    object-fit: contain; /* Absolútna poistka, aby si obrázok navždy zachoval svoj pomer strán */
    position: relative;
    z-index: 1;
}

.nav-menu {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 30px;
    padding-right: 375px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--tmava);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover { color: var(--vinova); }

.oddelovac {
    color: var(--tmava);
    font-weight: 300;
}

.hero-content {
    position: relative;
    z-index: 3;
    margin-top: 45px;
    max-width: 650px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.8rem;
    line-height: 1.05;
    margin-bottom: 25px;
    color: var(--tmava);
    font-weight: 800;
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.podpis {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    margin-top: 35px;
    padding: 16px 35px;
    background-color: var(--tmava);
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.cta-button:hover { background-color: var(--vinova); }

/* --- 2. SEKCIA KTO SOM --- */
.kto-som-sekcia { padding: 100px 0 0px 0; position: relative; }

.ks-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px; 
    align-items: start;
    margin-top: -50px;
}

.ks-left { position: relative; }

.sipka-blob-wrap {
    position: absolute;
    top: -80px;
    right: -80px;
    z-index: 10;
}

.sipka-text-blob {
    display: inline-block;
    background-color: #fcf1f0;
    padding: 18px 30px;
    border-radius: 60% 40% 50% 50% / 40% 50% 50% 60%;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--vinova);
    line-height: 1.4;
    text-align: center;
}

.sipka-img {
    position: absolute;
    bottom: -60px;
    right: -30px;
    width: 101px;
    z-index: auto;
}

.split-title {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    font-weight: 800;
    color: var(--tmava);
    margin-bottom: 40px;
    line-height: 1;
    margin-top: 70px;
}

.kto-nadpis { text-align: right; margin-right: -130px; z-index: 100; }
.som-nadpis { text-align: left; margin-left: -110px; }

.ks-text-content p {
    text-align: justify; 
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 25px;
    padding: 0 15px;
}

.ks-text-content strong { font-weight: 700; color: var(--tmava); }

.ks-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: -30px;
}

.profil-foto { width: 400px; height: 400px; object-fit: cover; border-radius: 50%; z-index: -10; }

.odznaky-arc {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    margin-top: 0px;
    z-index: 3;
}

.odznak-wrap { position: relative; width: 120px; display: flex; justify-content: center; align-items: center; }
.center-badge { margin-top: 25px; transform: scale(1.15); }
.odznak-wrap img { width: 100%; height: auto; }
.odznak-wrap span { position: absolute; font-family: 'Playfair Display', serif; font-size: 1.55rem; font-weight: 800; text-align: center; line-height: 1.2; color: var(--tmava); padding: 0px 5px; }

/* --- 3. SLUŽBY --- */
.sluzby-sekcia { padding: 55px 0 80px 0; position: relative; }
.sluzby-nadpis { font-family: 'Playfair Display', serif; font-size: 4.5rem; text-align: center; margin-bottom: 35px; color: var(--tmava); }
.sluzby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; align-items: start; }
.sluzba-karta { display: flex; flex-direction: column; align-items: center; }
.machula-ikona-wrap { position: relative; display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; }
.sluzba-machula { width: 220px; }
.machula-ikona-wrap h3 { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 800; margin-top: -95px; position: relative; z-index: 5; text-align: center;}
.sluzba-karta p { font-size: 0.95rem; line-height: 1.8; text-align: justify; padding: 0 15px; }

/* --- 4. PORTFÓLIO --- */
.portfolio-sekcia { 
    padding: 80px 0 120px 0; 
    position: relative; 
    background-color: #ffffff; 
    overflow: hidden; /* TOTO ZABRÁNI ROZŤAHOVANIU WEBU */
}

.portfolio-pozadie { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 100vw; 
    z-index: 1; 
    opacity: 0.8; 
    pointer-events: none; 
}

.portfolio-nadpis { font-family: 'Playfair Display', serif; font-size: 4.5rem; text-align: center; margin-bottom: 60px; color: var(--tmava); position: relative; z-index: 10; }

.portfolio-slider-wrapper { position: relative; padding: 0 50px; max-width: 1620px; margin: 0 auto; z-index: 10; --swiper-navigation-size: 28px; }
.portfolio-slider { width: 100%; overflow: hidden; }
.swiper-slide { height: auto !important; }

.portfolio-img-wrap { width: 100%; aspect-ratio: 1 / 1; position: relative; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); background-color: #f9f9f9; }
.portfolio-img-wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.swiper-button-prev, .swiper-button-next { color: var(--vinova) !important; top: 50% !important; transform: translateY(-50%) !important; margin-top: 0 !important; }
.swiper-button-prev { left: 0; }
.swiper-button-next { right: 0; }

/* --- 5. SPOLUPRÁCA (Logá) --- */
.spolupraca-sekcia { padding: 80px 0; text-align: center; overflow: hidden; }
.spolupraca-nadpis { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--vinova); margin-bottom: 60px; font-weight: 700; }

.loga-slider { width: 100%; max-width: 1000px; margin: 0 auto; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%); }
.loga-track { display: flex; align-items: center; width: max-content; gap: 60px; padding-right: 60px; animation: posuvLog 50s linear infinite; }
.loga-slider:hover .loga-track { animation-play-state: paused; }
.loga-track img { max-width: 140px; max-height: 90px; object-fit: contain; opacity: 0.55; filter: grayscale(100%); transition: all 0.4s ease; cursor: pointer; }
.loga-track img:hover { opacity: 1; filter: grayscale(0%); transform: scale(1.05); }

@keyframes posuvLog {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- 6. KONTAKTNÁ SEKCIA --- */
.kontakt-sekcia { position: relative; padding: 100px 0 0 0; text-align: center; overflow: hidden; }
.kontakt-nadpis { font-family: 'Playfair Display', serif; font-size: 2.8rem; margin-bottom: 60px; font-weight: 800; color: var(--vinova); line-height: 1.2; }

.kontakt-udaje-obal { position: relative; padding: 140px 0 80px 0; display: flex; justify-content: center; align-items: center; overflow: hidden; margin-bottom: -5px; }
.kontakt-pozadie { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: bottom; z-index: -10; pointer-events: none; }
.kontakt-udaje { position: relative; z-index: 10; font-size: 1.8rem; font-weight: 700; color: #ffffff; line-height: 1.6; }
.kontakt-udaje p { margin-bottom: 15px; display: flex; align-items: center; justify-content: center; gap: 15px; }
.kontakt-ikona { color: #ffffff; }
.ikona-mail { margin-right: 6px; transform: translateY(3px); }

/* --- 7. PÄTIČKA (FOOTER) --- */
.footer { background-color: var(--paticka); color: white; padding: 70px 0 30px 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 50px; }
.footer-logo img { max-width: 280px; opacity: 0.9; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 25px; font-weight: 700; }
.footer-col a, .footer-col p { display: block; color: rgba(255, 255, 255, 0.9); text-decoration: none; margin-bottom: 12px; font-size: 0.95rem; transition: color 0.3s ease; line-height: 1.5; }
.footer-col a:hover { color: #ffffff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 25px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.footer-bottom a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.3s ease; }
.footer-bottom a:hover { color: #ffffff; text-decoration: underline; }

/* --- HOVER EFEKTY PRE ODZNAKY A SLUŽBY --- */
.odznak-wrap, 
.machula-ikona-wrap {
    transition: transform 0.3s ease-in-out;
    cursor: pointer; 
}

.odznak-wrap:hover, 
.machula-ikona-wrap:hover {
    transform: translateY(-8px);
}

.odznak-wrap.center-badge:hover {
    transform: scale(1.15) translateY(-8px);
} /* TÁTO ZÁTVORKA TU CHÝBALA! */


/* ========================================= */
/* --- PODSTRÁNKA: SAMOSPRÁVY (DOPLNKY) --- */
/* ========================================= */

/* --- ÚPRAVA HLAVIČKY (LOGO NIŽŠIE, MENU DOPRAVA) --- */
.samosprava-nav {
    padding-top: 15px; 
}

/* Posunie logo nižšie do fľaku */
.samosprava-nav > a {
    transform: translateY(45px); 
    z-index: 1; 
}

/* Zruší starú medzeru a hodí menu doprava */
.samosprava-nav .nav-menu {
    padding-right: 0 !important; 
    z-index: 10; /* Poistka, aby menu zostalo klikateľné nad fľakom */
}
.nav-menu a.back-link {
    color: var(--vinova);
    opacity: 0.8;
}
.nav-menu a.back-link:hover { opacity: 1; }

.relative-container {
    position: relative;
    padding-top: 40px;
}

/* --- HERO BUBBLE POZADIE --- */
.samosprava-bg-banner {
    position: absolute;
    top: -25px; /* Vytiahne fľak vysoko do hlavičky cez logo */
    left: 50%;
    transform: translateX(-50%);
    width: 110%;
    max-width: 1300px;
    z-index: 2; /* KÚZLO: Fľak je nad logom (z-index 1), ale pod textom a menu */
    pointer-events: none;
}

.hero-samosprava-grid {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 5;
    padding: 60px 40px 100px 40px;
}

.hero-samosprava-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    line-height: 1.1;
    color: var(--tmava);
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-samosprava-text .samosprava-perex {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    max-width: 500px; 
    margin-bottom: 20px;
}

.podpis-samosprava {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--vinova);
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
    margin-bottom: -10px;
}

.btn-samosprava {
    background-color: #8c3548; 
    padding: 12px 28px;
    font-size: 0.85rem;
}

/* Sekcia Logá na samospráve */
.samosprava-loga-sekcia {
    padding: 65px 0 60px 0;
}
.zmenseny-nadpis {
    font-size: 1.8rem;
    margin-bottom: 40px;
}

/* --- PREČO MI DÔVERUJÚ (Bubliny) --- */
.dovody-sekcia {
    padding: 40px 0 80px 0;
    background-color: #ffffff;
}

.dovody-hlavicka {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px auto;
}
.dovody-hlavicka h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--tmava);
    margin-bottom: 20px;
    font-weight: 800;
}
.dovody-hlavicka p {
    font-size: 1rem;
    color: var(--vinova);
    line-height: 1.5;
    font-weight: 600;
}

.dovody-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.dovod-karta {
    text-align: center;
}

.bublina-wrap {
    position: relative;
    display: inline-block;
    width: 260px;
    margin-bottom: 25px;
    transition: transform 0.3s ease; 
}
.bublina-wrap:hover {
    transform: translateY(-8px);
}
.bublina-wrap img {
    width: 100%;
    display: block;
}

/* TOTO VYPÍSALO TVOJ TEXT PRIAMO DO STREDU BUBLINY! */
.bublina-wrap h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 700;
    width: 90%;
    margin: 0;
    line-height: 1.2;
}

.dovod-karta p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
}

/* --- PORTFÓLIO S FILTROM --- */
.port-filter-sekcia {
    padding: 40px 0 100px 0;
    text-align: center;
}
.port-filter-nadpis {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--tmava);
    margin-bottom: 20px;
    font-weight: 800;
}

.portfolio-kategorie {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--tmava);
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    color: var(--vinova);
}
.oddelovac-port {
    color: var(--tmava);
    font-weight: 300;
}

/* --- MRIEŽKA NA 4 STĹPCE --- */
.portfolio-grid-3x3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.port-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease; 
    cursor: pointer; /* OPRAVA 1: Zaručí ručičku pri prejdení myšou */
}
.port-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.port-item:hover img {
    transform: scale(1.05); 
}

/* --- TLAČIDLO ZOBRAZIŤ VIAC --- */
.portfolio-zobrazit-viac {
    text-align: center;
    margin-top: 50px;
}

/* --- VYSKAKOVACÍ LIGHTBOX S POPISOM --- */
/* OPRAVA 2: Tento blok vráti čierne prekrytie na stred obrazovky */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 99999; /* Drží okno nad všetkým */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92); 
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-height: 75vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); 
}

.lightbox-popis {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 300;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #ffffff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    z-index: 10000;
}
.lightbox-close:hover {
    color: var(--vinova);
}

/* --- ŠÍPKY V LIGHTBOXE --- */
.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 45px;
    transition: 0.3s ease;
    user-select: none;
    z-index: 10000; 
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--vinova); 
}

/* --- PONÚKANÉ SLUŽBY SAMOSPRÁVA (3 PILIERE) --- */
.sluzby-samosprava-sekcia {
    padding: 60px 0 80px 0;
    background-color: #fbfbfb; /* Veľmi jemný šedý nádych na oddelenie sekcie */
}

.sluzby-samosprava-hlavicka {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.sluzby-samosprava-hlavicka h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--tmava);
    margin-bottom: 15px;
    font-weight: 800;
}

.sluzby-samosprava-hlavicka p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.5;
}

.sluzby-samosprava-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Dokonalé 3 stĺpce */
    gap: 30px;
}

.sluzba-samosprava-karta {
    background-color: #ffffff;
    padding: 40px 35px;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03); /* Elegantný, takmer neviditeľný tieň */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Jemný hover lift efekt, aký máme na celom webe */
.sluzba-samosprava-karta:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
}

/* Tenká elegantná vínová linka na vrchu každej karty pre úradný akcent */
.karta-vrch-linka {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--vinova);
}

.sluzba-samosprava-karta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    color: var(--tmava);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.karta-perex {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--vinova);
    font-weight: 600;
    margin-bottom: 25px;
    text-align: left;
}

.sluzby-zoznam-bodov {
    list-style: none; /* Odstráni obyčajné bodky */
    padding: 0;
    text-align: left;
}

.sluzby-zoznam-bodov li {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

/* Elegantná minimalistická bodka pred každým bodom */
.sluzby-zoznam-bodov li::before {
    content: "•";
    color: var(--vinova);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.sluzby-zoznam-bodov li strong {
    color: var(--tmava);
    font-weight: 600;
}

/* --- 8. MEDZISTUPEŇ: TABLETY A MENŠIE PC --- */
@media (max-width: 1024px) {
    .nav-menu { padding-right: 20px; } 
    .hero-content { margin-top: 60px; max-width: 500px; position: relative; z-index: 5;}
    .hero-content h1 { font-size: 3.5rem; }
    .hero-blob { width: 140%; left: auto; right: -40%; transform: none; } 
    .kto-nadpis { margin-right: 0; text-align: center; }
    .som-nadpis { margin-left: 0; text-align: center; }
    
    .hero-samosprava-text h1 { font-size: 2.5rem; }
    .hero-samosprava-grid { padding: 40px 20px; }
    .dovody-grid, .portfolio-grid-3x3 { grid-template-columns: 1fr; gap: 30px; }
    .bublina-wrap { width: 100%; max-width: 280px; }
}

/* --- 9. MOBILNÁ VERZIA (Responzivita) --- */
@media (max-width: 768px) {
    .navbar { padding: 10px 0; align-items: center; justify-content: space-between; }
    .nav-logo { height: 90px; z-index: 0; } 
    .nav-menu { padding-right: 0 !important; }
    
    .menu-toggle { display: flex; flex-direction: column; gap: 6px; cursor: pointer; z-index: 100; margin-right: 10px; }
    .menu-toggle span { width: 30px; height: 3px; background-color: var(--tmava); transition: 0.3s; }

    .nav-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: #ffffff; flex-direction: column; justify-content: center; align-items: center; gap: 30px; transition: 0.4s ease; z-index: 90; padding: 0; }
    .nav-menu.active { right: 0; }
    .nav-menu a { font-size: 1.6rem; border-bottom: none; color: var(--vinova); font-weight: 800; }
    .oddelovac { display: none; }

    .hero-wrapper { min-height: 750px; padding-top: 10px; overflow: hidden; }
    .hero-blob { top: 20px; width: 250%; left: 50%; transform: translateX(-69%); }
    
    .hero-content { margin-top: 480px; text-align: center; position: relative; z-index: 5; }
    .hero-content h1 { font-size: 2.2rem; margin-bottom: 10px; }
    .hero-content p { font-size: 1.1rem; }
    .podpis { color: var(--vinova); display: inline-block; margin-top: 15px; }    
    .cta-button { margin-top: 65px; margin-bottom: 20px; }

    .ks-grid { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: -20px; }
    .ks-left, .ks-right, .ks-center { display: contents; } 
    
    .kto-nadpis { order: 1; text-align: center !important; margin: 0 0 30px 0 !important; width: 100%; font-size: 2.6rem !important; }
    .kto-nadpis::after { content: " som?"; } 
    .som-nadpis { display: none !important; } 
    
    .sipka-blob-wrap { order: 2; position: relative; top: 0; right: 0; margin: 0 auto 15px auto; transform: scale(0.9); display: block !important; }
    .sipka-img { display: none; } 
    
    .ks-center { order: 3; }
    .profil-foto { width: 250px; height: 250px; order: 3; margin-bottom: 20px;}
    .odznaky-arc { order: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; margin-top: 0; margin-bottom: 40px; }
    .odznak-wrap { width: 95px; }
    .odznak-wrap span { font-size: 0.75rem; }
    .center-badge { transform: scale(1); }
    
    .ks-left .ks-text-content { order: 5; text-align: center; padding: 0 15px; margin-bottom: 10px; }
    .ks-right .ks-text-content { order: 6; text-align: center; padding: 0 15px; }

    .sluzby-nadpis, .portfolio-nadpis, .spolupraca-nadpis, .kontakt-nadpis { font-size: 1.8rem !important; line-height: 1.3; padding: 0 15px; }
    .sluzby-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .portfolio-pozadie { width: 400%; max-width: none; top: 55%; }
    
    .kontakt-udaje { font-size: 1.1rem; }
    .kontakt-ikona { width: 22px; height: 22px; }
    .kontakt-udaje-obal { padding: 190px 0 40px 0; }
    
    .footer-grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; margin-bottom: 20px; }
    .footer-col h4 { margin-bottom: 10px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; padding-bottom: 20px; }
}

.sluzby-samosprava-grid { grid-template-columns: 1fr; gap: 25px; }