/* --- Hero pro podstránky --- */
.subpage-hero {
    background: url('https://images.unsplash.com/photo-1544197150-b99a580bbcbf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1951&q=80') center/cover no-repeat;
    height: 250px;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 0;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.subpage-hero h1 {
    position: relative;
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- SEARCH STRIP (Elegantní Interaktivní) --- */

.availability-strip {
    /* Základní barva: Tmavá (jako na původním designu) */
    background-color: #272727;
    padding: 45px 0;
    color: #fff;
    border-bottom: 4px solid var(--tkc-blue);
    position: relative;
    z-index: 5;

    /* Plynulý přechod barvy pozadí (trvá 0.4 sekundy) */
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease;
}

/* --- EFEKT PŘI NAJETÍ MYŠÍ NA PRUH --- */
.availability-strip:hover {
    /* Změna na sekundární modrou */
    background-color: var(--tkc-blue);

    /* Přidání lehkého stínu pro hloubku */
    box-shadow: 0 10px 30px rgba(36, 125, 218, 0.3);
}

.strip-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* Textová část */
.strip-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.strip-text span {
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Ikona Pinu */
.pulse-icon {
    color: #4cc9f0;
    /* Světlejší modrá, aby vynikla */
    font-size: 1.5rem;
    /* Plynulá animace zvětšení */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- EFEKT NA IKONU PŘI NAJETÍ NA PRUH --- */
.availability-strip:hover .pulse-icon {
    transform: scale(1.4);
    /* Zvětšení o 40% */
    color: #fff;
    /* Změna barvy na bílou pro lepší kontrast na modré */
}

/* Formulář (Moderní vzhled) */
.modern-form {
    display: flex;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    overflow: hidden;
    transition: transform 0.3s;
    background: #fff;
    padding: 3px;
}

.modern-form:hover {
    transform: translateY(-2px);
    /* Jemné nadzvednutí formuláře */
}

.modern-form input {
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
    background: transparent;
    color: #333;
    font-weight: 500;
}

.input-street {
    min-width: 280px;
    border-right: 1px solid #eee;
}

.input-number {
    width: 90px;
    text-align: center;
}

.modern-form button {
    background: var(--tkc-blue);
    color: #fff;
    border: none;
    padding: 0 30px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 40px;
    margin-left: 5px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Změna tlačítka při hoveru na pruh (aby splynulo nebo vyniklo) */
.availability-strip:hover .modern-form button {
    background: #0b2e59;
    /* Tmavší modrá, aby bylo tlačítko vidět na modrém pozadí */
}

.modern-form button i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.modern-form button:hover i {
    transform: translateX(5px);
}

/* Responsivita */
@media (max-width: 768px) {
    .strip-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .modern-form {
        flex-direction: column;
        border-radius: 12px;
        width: 100%;
        padding: 0;
    }

    .modern-form input {
        background: #fff;
        margin-bottom: 10px;
        border-radius: 8px;
        width: 100%;
        text-align: center;
        border-right: none;
    }

    .modern-form button {
        width: 100%;
        justify-content: center;
        padding: 15px;
        margin-left: 0;
        border-radius: 8px;
    }
}

/* --- TABS --- */
.page-tabs-wrapper {
    margin: 40px auto;
    text-align: center;
}

.page-tabs {
    display: inline-flex;
    background: #f0f0f0;
    padding: 5px;
    border-radius: 50px;
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: var(--tkc-blue);
    color: #fff;
    box-shadow: 0 4px 10px rgba(36, 125, 218, 0.3);
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    padding-bottom: 120px;
}

#bytove {
    display: block;
    opacity: 1;
}

.tab-content.active-content {
    opacity: 1;
}

/* --- Tech Info --- */
.tech-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #f9f9f9;
    padding: 30px;
    margin-bottom: 30px;
}

.tech-img {
    flex: 0 0 350px;
}

.tech-text h2 {
    color: #333;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.tech-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #555;
}

.tech-note a {
    color: var(--tkc-blue);
    text-decoration: underline;
}


/* ==================================================
   MODERN PRICING GRID (FIXED HEIGHTS)
   ================================================== */
:root {
    --h-head: 75px;
    /* Výška hlavičky */
    --h-row: 55px;
    /* Výška řádku */
    --h-large: 140px;
    /* Výška ceny */
}

.modern-pricing-grid {
    display: grid;
    gap: 15px;
    align-items: start;
    /* Důležité: start, aby se nenatahovaly */
    margin-top: 50px;
    width: 100%;
}

.modern-pricing-grid.col-3 {
    grid-template-columns: 250px 1fr 1fr;
    max-width: 100%;
}

.modern-pricing-grid.col-4 {
    grid-template-columns: 250px 1fr 1fr 1fr;
}

/* Labels (levý sloupec) */
.pricing-labels {
    text-align: right;
    padding-right: 25px;
    font-weight: 600;
    color: #555;
    display: block;
    padding-top: 25px;
    /* Posun kvůli badge */
}

/* Hlavičky */
.label-head,
.card-head {
    height: var(--h-head);
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.label-head {
    justify-content: flex-end;
    background: #444;
    color: #fff;
    padding-right: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

.card-head {
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--tkc-blue);
    background: #f8fbfd;
}

/* Řádky */
.label-item,
.card-row {
    height: var(--h-row);
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
    color: #666;
    font-size: 0.95rem;
}

.label-item {
    justify-content: flex-end;
}

.card-row {
    justify-content: center;
}

/* Velké řádky (Cena) */
.label-item.large,
.card-row.large {
    height: var(--h-large);
    border-bottom: none;
}

.card-row.large {
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.label-item.large {
    align-items: center;
}

/* V souboru styleInternet.css */

.highlight-line {
    color: var(--tkc-blue);
    /* Toto změní text na světle modrou */
    font-weight: bold;
    border-bottom: 2px solid var(--tkc-blue);
    /* I podtržení bude modré */
    display: inline-block;
    padding-bottom: 5px;
    margin-top: 10px;
}

/* KARTY */
.pricing-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: 25px;
}

/* Zvýrazněná karta */
.pricing-card.featured {
    border: 2px solid var(--tkc-blue);
    z-index: 2;
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(36, 125, 218, 0.2);
}

.pricing-card.featured .card-head {
    background: var(--tkc-blue);
    color: #fff;
    /* DŮLEŽITÉ: Stejná výška, žádné marginy navíc */
    height: var(--h-head);
    margin-top: 0;
}

.badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #23272b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 6px 0;
    z-index: 3;
}

/* Aby badge nepřekrýval hlavičku */
.pricing-card.featured {
    padding-top: 25px;
}

/* Ceny a tlačítka */
.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--tkc-blue);
    line-height: 1;
}

.period {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
}

.btn-buy {
    padding: 10px 25px;
    border: 2px solid var(--tkc-blue);
    color: var(--tkc-blue);
    font-weight: bold;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: 0.3s;
}

.btn-buy:hover,
.btn-buy.filled {
    background: var(--tkc-blue);
    color: #fff;
}

/* RESPONZIVITA */
@media (max-width: 991px) {

    .modern-pricing-grid,
    .modern-pricing-grid.col-3,
    .modern-pricing-grid.col-4 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-labels {
        display: none;
    }

    .pricing-card {
        margin-top: 0;
    }

    .pricing-card.featured {
        transform: scale(1);
        padding-top: 30px;
    }

    .card-row,
    .card-row.large,
    .card-head {
        height: auto;
        padding: 20px;
    }
}

/* Výchozí stav obsahu tabu - skrytý */
.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    /* Volitelné: pro hezký efekt */
}

/* Aktivní tab - viditelný */
.active-content {
    display: block;
    /* JavaScript to sice nastavuje, ale pro jistotu */
    opacity: 1;
}

/* Výchozí stav: První tab musí být vidět hned */
#bytove {
    display: block;
}

/* --- PROFESIONÁLNÍ MODÁL (Dle obrázku) --- */

/* --- ÚPRAVA MODÁLU: SKRYTÍ POSUVNÍKU --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
    backdrop-filter: blur(3px);

    /* Skrytí posuvníku (scrollbaru), ale scrollování stále funguje */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* Skrytí posuvníku pro Chrome/Safari */
/* --- MODÁLNÍ OKNO - ZAMČENÁ VERZE --- */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    backdrop-filter: blur(3px);

    /* TOTO ZAMKNE POZADÍ (žádný scroll) */
    overflow: hidden;

    /* TOTO ZAMKNE OKNO NA STŘED */
    display: none;
    /* Přepíná se JS na 'flex' */
    align-items: center;
    justify-content: center;
}

/* Třída pro zobrazení (přidává ji JS) */
.modal-overlay.open {
    display: flex !important;
    /* Flex zarovná obsah na střed */
}

.modal-content {
    background-color: #fff;
    width: 95%;
    max-width: 1100px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 0;
    border-radius: 0;

    /* TOTO ZAJISTÍ, ŽE SE POSOUVÁ JEN VNITŘEK OKNA, KDYŽ JE MOC VELKÉ */
    max-height: 95vh;
    /* Maximálně 95% výšky obrazovky */
    overflow-y: auto;
    /* Povolit posun jen uvnitř, pokud je třeba */

    /* Skrytí posuvníku uvnitř okna (pro Chrome/Safari) */
    scrollbar-width: none;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

/* Křížek */
.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
    z-index: 20;
}

.close-modal:hover {
    color: #ddd;
}

/* Hlavička */
.modal-header {
    background-color: #222;
    background-image: url('https://images.unsplash.com/photo-1544197150-b99a580bbcbf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1951&q=80');
    background-size: cover;
    background-position: center;
    padding: 40px 50px;
    position: sticky;
    /* Hlavička zůstane nahoře při scrollování vnitřku */
    top: 0;
    z-index: 10;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal-header h2 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

/* Formulář */
.order-form {
    padding: 40px 50px;
}

.order-form h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Grid systémy */
.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Inputy */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    font-size: 0.95rem;
    color: #333;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background-color: #fff;
    border-color: var(--tkc-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Checkboxy (Nezkopírovatelný text) */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    cursor: pointer;
    user-select: none;
    /* Zákaz označování textu */
}

.checkbox-label input {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: var(--tkc-blue);
    text-decoration: underline;
}

/* Tlačítko */
.submit-btn {
    background-color: var(--tkc-blue);
    color: #fff;
    border: none;
    padding: 12px 40px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 20px;
    text-transform: uppercase;
}

.submit-btn:hover {
    background-color: #104e8b;
}

/* Mobil */
@media (max-width: 768px) {
    .modal-content {
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .form-grid-3,
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .order-form {
        padding: 20px;
    }

    .modal-header {
        padding: 20px;
    }
}

/* --- BOČNÍ PANEL DOSTUPNOSTI (Floating Side Widget) --- */

.side-availability {
    position: fixed;
    top: 25%;
    /* Umístění odshora */
    right: -320px;
    /* Schováno za okrajem (šířka obsahu) */
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: flex-start;
    font-family: 'Open Sans', sans-serif;
}

/* Efekt vysunutí při najetí myší */
.side-availability:hover {
    right: 0;
}

/* Tlačítko (Ucho) */
.side-toggle {
    background-color: var(--tkc-blue);
    color: #fff;
    padding: 15px 10px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    text-align: center;
    box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 50px;
}

.side-toggle i {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.side-toggle span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    /* Text svisle */
    text-orientation: mixed;
    transform: rotate(180deg);
    /* Otočení textu aby se četl zdola nahoru */
}

/* Obsah formuláře */
.side-content {
    width: 320px;
    background-color: #fff;
    padding: 25px;
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--tkc-blue);
}

.side-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2rem;
}

.side-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

/* Formulář v panelu */
.side-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    background: #f9f9f9;
}

.side-form input:focus {
    border-color: var(--tkc-blue);
    background: #fff;
}

.side-form button {
    background-color: var(--tkc-blue);
    color: #fff;
    border: none;
    padding: 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    transition: 0.3s;
    margin-top: 5px;
}

.side-form button:hover {
    background-color: #1a5c9e;
}

/* Responsivita pro mobil */
@media (max-width: 768px) {
    .side-availability {
        top: auto;
        bottom: 20px;
        /* Na mobilu raději dole */
        right: -300px;
    }

    .side-content {
        width: 300px;
    }

    /* Na mobilu se text na tlačítku neotáčí, je to jen ikona */
    .side-toggle span {
        display: none;
    }

    .side-toggle {
        padding: 15px;
        border-radius: 50px 0 0 50px;
    }
}

/* --- CHECK AVAILABILITY BOX (Jemnější a kulatější design) --- */
.check-availability-box {
    background: #fff;
    /* Bílé pozadí místo tmavého */
    padding: 35px 45px;
    border-radius: 12px;
    /* Jemně zaoblené rohy boxu */
    color: #333;
    /* Tmavý text */
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Velmi jemný stín místo černé */
    margin-bottom: 50px;
    flex-wrap: wrap;
    border: 1px solid #f0f0f0;
    /* Decentní rámeček */
    border-left: 5px solid var(--tkc-blue);
    /* Zachován modrý proužek pro identitu */
}

.check-icon {
    font-size: 2rem;
    color: var(--tkc-blue);
    background: #f0f7ff;
    /* Světle modré pozadí pod ikonou */
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Kulatá ikona */
    flex-shrink: 0;
}

.check-content {
    flex: 1;
    min-width: 250px;
}

.check-content h3 {
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: #333;
}

.check-content p {
    margin: 0;
    color: #666;
    /* Jemnější šedá pro text */
    font-size: 0.95rem;
}

.check-form {
    display: flex;
    gap: 15px;
    /* Vzdušnější mezery */
}

.check-form input {
    padding: 12px 25px;
    border: 1px solid #ddd;
    border-radius: 50px;
    /* ÚPLNĚ KULATÉ (Pill shape) */
    outline: none;
    font-size: 1rem;
    background-color: #f9f9f9;
    transition: all 0.3s;
}

.check-form input:focus {
    background-color: #fff;
    border-color: var(--tkc-blue);
    box-shadow: 0 0 0 4px rgba(36, 125, 218, 0.1);
}

.check-form .input-short {
    width: 100px;
    text-align: center;
}

.check-form button {
    background-color: var(--tkc-blue);
    color: #fff;
    border: none;
    padding: 0 35px;
    font-weight: bold;
    border-radius: 50px;
    /* ÚPLNĚ KULATÉ TLAČÍTKO */
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(36, 125, 218, 0.3);
    /* Modrý stín pod tlačítkem */
}

.check-form button:hover {
    background-color: #1a5c9e;
    transform: translateY(-2px);
}

/* Responsivita pro box */
@media (max-width: 991px) {
    .check-availability-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .check-form {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .check-form input,
    .check-form button,
    .check-form .input-short {
        width: 100%;
        border-radius: 50px;
        /* I na mobilu zůstanou kulaté */
    }
}

/* --- BOČNÍ PANEL DOSTUPNOSTI (Floating Side Widget) --- */

.side-availability {
    position: fixed;
    top: 25%;
    /* Umístění odshora */
    right: -320px;
    /* Schováno za okrajem (šířka obsahu) */
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: flex-start;
    font-family: 'Open Sans', sans-serif;
}

/* Efekt vysunutí při najetí myší */
.side-availability:hover {
    right: 0;
}

/* Tlačítko (Ucho) */
.side-toggle {
    background-color: var(--tkc-blue);
    color: #fff;
    padding: 15px 10px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    text-align: center;
    box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 50px;
}

.side-toggle i {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.side-toggle span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    /* Text svisle */
    text-orientation: mixed;
    transform: rotate(180deg);
    /* Otočení textu aby se četl zdola nahoru */
}

/* Obsah formuláře */
.side-content {
    width: 320px;
    background-color: #fff;
    padding: 25px;
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--tkc-blue);
}

.side-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.2rem;
}

.side-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

/* Formulář v panelu */
.side-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-form input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    background: #f9f9f9;
}

.side-form input:focus {
    border-color: var(--tkc-blue);
    background: #fff;
}

.side-form button {
    background-color: var(--tkc-blue);
    color: #fff;
    border: none;
    padding: 12px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    transition: 0.3s;
    margin-top: 5px;
}

.side-form button:hover {
    background-color: #1a5c9e;
}

/* Responsivita pro mobil */
@media (max-width: 768px) {
    .side-availability {
        top: auto;
        bottom: 20px;
        /* Na mobilu raději dole */
        right: -300px;
    }

    .side-content {
        width: 300px;
    }

    /* Na mobilu se text na tlačítku neotáčí, je to jen ikona */
    .side-toggle span {
        display: none;
    }

    .side-toggle {
        padding: 15px;
        border-radius: 50px 0 0 50px;
    }
}

/* ======================================================
   KOMPLETNÍ RESPONZIVITA PRO INTERNET (MOBIL)
   (Vložte na úplný konec styleInternet.css)
   ====================================================== */

@media (max-width: 991px) {

    /* --- 1. ROZLOŽENÍ OBSAHU (GRIDY) --- */
    /* Zrušíme sloupce, vše pod sebe */
    .modern-pricing-grid,
    .modern-pricing-grid.col-3,
    .modern-pricing-grid.col-4 {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    /* Schováme popisky vlevo (na mobilu nedávají smysl) */
    .pricing-labels {
        display: none;
    }

    /* Karty tarifů */
    .pricing-card {
        width: 100%;
        margin: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    /* Popisy a obrázky technologie */
    .tech-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    .tech-img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px auto;
    }

    .tech-text {
        width: 100%;
    }

    /* Taby (přepínač Domy/Byty) */
    .page-tabs {
        width: 100%;
        flex-direction: column;
        background: transparent;
        padding: 0;
    }

    .tab-btn {
        width: 100%;
        margin-bottom: 10px;
        background: #f0f0f0;
        border-radius: 50px;
        text-align: center;
    }

    .tab-btn.active {
        background: var(--tkc-blue);
        color: #fff;
    }

    @media (max-width: 991px) {
        .side-availability {
            position: fixed !important;

            /* POSUN NAHORU - Aby nezavazela klávesnice */
            top: 15% !important;
            bottom: auto !important;
            /* Zrušíme přichycení dolů */

            right: -310px;
            /* Schováno */
            width: 300px;
            z-index: 99999;
            background: #fff;
            transition: right 0.3s ease;
            padding: 20px;
            box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.2);
            border-radius: 10px 0 0 10px;
            /* Zaoblení vlevo */
        }

        .side-availability.mobile-open {
            right: 0 !important;
            /* Vysunuto */
        }

        .side-toggle {
            position: absolute;
            left: -50px;
            top: 0;
            width: 50px;
            height: 50px;
            background: var(--tkc-blue);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px 0 0 8px;
            cursor: pointer;
            box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
        }

        .side-toggle span {
            display: none;
        }

        .side-toggle i {
            font-size: 1.5rem;
        }
    }

    /* Formulář v panelu */
    .side-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .side-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .side-form input {
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

    .side-form button {
        padding: 12px;
        background: var(--tkc-blue);
        color: #fff;
        border: none;
        border-radius: 4px;
        font-weight: bold;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}