@font-face {
    font-display: swap;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('/static/storage/assets/fonts/poppins-v24-latin-regular.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #80CC57;
    --primary-blue: #3F9AD7;
    --darker-blue: #18529D;
    --darker-blue-transparent: #18529D14;
    --primary-gray: #4D4D4D;
    --lighter-gray: #D9D9D9;
    --primary-white: #FFFFFF;
    --transparent-white: #FFFFFFE6;
    --bg-white: #F5F5F5;
    --border-radius: 16px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary-gray);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.container {
    max-width: 1230px;
    margin: 0 auto;
}


.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.5s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover,
.btn:focus-visible {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn:active {
    transform: translateY(0);
}

.btn.full-width {
    display: block;
    width: 100%;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}


.btn-secondary {
    background: var(--darker-blue);
    color: white;
}

.header {
    background: var(--primary-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    will-change: background-color;
}

.header.scroll {
    border-bottom: 1px solid #C7C7C7;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    gap: 2rem;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.logo img {
    height: 52px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    justify-content: flex-end;
    margin: auto 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--primary-gray);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
    color: var(--primary-blue);
}

.nav-list a.active {
    color: var(--primary-blue);
    font-weight: 700;
}

.header-content > div:has(.phone-button) {
    display: contents;
}

.phone-button {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--primary-green);
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--primary-green);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
    font-size: 1rem;
    touch-action: manipulation;
}

.phone-icon {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

.phone-button:hover,
.phone-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(128, 204, 87, 0.3);
    color: var(--primary-green);
}

.phone-button:active {
    transform: translateY(0);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-gray);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


.promo-carousel {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.promo-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.promo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.promo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.promo-background img,
.promo-background picture {
    width: 100%;
    height: 100%;
    min-width: 100vw;
}

.promo-background img {
    object-fit: cover;
    object-position: center;
}

.promo-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    padding: 4rem 0;
}

.promo-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: white;
}

.promo-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.375rem);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    max-width: 85%;
    color: white;
}

.promo-content .btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.5s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    background: var(--primary-blue, #3F9AD7);
    color: white;
}

.promo-content .btn:hover,
.promo-content .btn:focus-visible {
    background: var(--primary-green, #80CC57);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.promo-arrow,
.promo-carousel .slick-prev,
.promo-carousel .slick-next {
    border: none !important;
    background: none !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white !important;
    font-size: 3.5rem;
    width: 56px;
    height: 56px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s !important;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    touch-action: manipulation;
    opacity: 1 !important;
}

.promo-arrow:hover,
.promo-arrow:focus-visible,
.promo-carousel .slick-prev:hover,
.promo-carousel .slick-prev:focus-visible,
.promo-carousel .slick-next:hover,
.promo-carousel .slick-next:focus-visible {
    transform: translateY(-50%) scale(1.2) !important;
    opacity: 1 !important;
    color: white !important;
}

.promo-arrow-left {
    left: 20px;
}

.promo-arrow-right {
    right: 20px;
}

.promo-arrow:before {
    display: none;
}

.promo-carousel .slick-slide {
    position: relative;
    min-height: 650px;
}

.promo-carousel .slick-track {
    display: flex;
}

.promo-carousel .slick-list {
    overflow: hidden;
}

/*Services*/
.services {
    position: relative;
    margin-top: -200px;
    z-index: 10;
    padding-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 28px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid #F0F0F0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.75rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.service-card h3 {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--primary-gray);
    font-weight: 600;
    line-height: 1.4;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card a {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 500;
    text-decoration: none;
}

.service-card a:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 4px;
}


/*Partner sekce*/
.partner-section {
    padding: 5rem 0;
    background: var(--primary-white);
}

.partner-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.partner-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    max-width: 600px;
    width: 100%;
    flex: 1 1 400px;
}

.partner-text h2 {
    font-size: 40px;
    color: var(--primary-blue);
    font-weight: 500;
    margin: 0;
}

.partner-text > p {
    font-size: 16px;
    color: var(--primary-gray);
    line-height: 150%;
    margin: 0;
}

.partner-text > p:last-of-type {
    line-height: 100%;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.benefits-list li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.benefits-list li img {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.benefits-list li span {
    font-size: 14px;
    color: var(--primary-gray);
    line-height: 100%;
}

.partner-image {
    max-width: 605px;
    width: 100%;
    flex: 1 1 400px;
}

.partner-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.partner-content-reverse .partner-text {
    max-width: 40%;
}

.partner-content-reverse .partner-image {
    max-width: 60%;
}

/*Benefits sekce*/
.benefits {
    padding: 5rem 0;
    background: var(--primary-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-card {
    display: grid;
    grid-template-columns: 68px 1fr;
    grid-template-rows: auto auto;
    gap: 10px 20px;
    padding: 20px;
    background: var(--primary-white);
    border: 2px solid var(--primary-green);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover,
.benefit-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.benefit-card > *:first-child {
    width: 68px;
    height: 68px;
    grid-row: 1 / 3;
    align-self: center;
}

.benefit-card > *:nth-child(2) {
    font-size: 16px;
    font-weight: 600;
    line-height: 100%;
    color: var(--primary-gray);
    margin: 0;
    align-self: end;
}

.benefit-card > *:nth-child(3) {
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
    color: var(--primary-gray);
    margin: 0;
    margin-top: 5px;
    align-self: start;
}

/*Smart Home Expert sekce*/
.smart-home-expert {
    padding: 6rem 0;
}

.smart-home-expert .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 75px;
}

.expert-image {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    flex: 0 0 auto;
}

.expert-image img {
    width: 441px;
    height: 433px;
    border-radius: 10px;
    object-fit: cover;
}

.expert-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 683px;
}

.expert-text h2 {
    font-size: 40px;
    font-weight: 500;
    line-height: 100%;
    color: var(--primary-blue);
    margin: 0;
}

.expert-text p {
    font-size: 24px;
    font-weight: 400;
    line-height: 120%;
    color: var(--primary-gray);
    margin: 0;
}

/*Smart Home Can sekce*/
.smart-home-can {
    padding: 5rem 0;
    background: var(--darker-blue-transparent);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.smart-home-can .can-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 3.5rem;
    text-align: left;
    font-weight: 500;
    color: var(--primary-blue);
}

.can-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.can-card {
    background: var(--primary-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid #F0F0F0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.can-card:hover,
.can-card:focus-within {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: #E0E0E0;
}

.can-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.can-card-header img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.can-card h3 {
    font-size: 1.25rem;
    color: var(--primary-gray);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.can-card p {
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
    color: var(--primary-gray);
    flex-grow: 1;
}

.smart-home-can .button-wrapper {
    text-align: right;
    margin-top: 2rem;
}

.smart-home-can .btn img {
    margin-left: 8px;
    vertical-align: middle;
}

/*Address sekce*/
.address-lookup {
    padding: 6rem 0;
}

.address-lookup h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.25rem;
    font-weight: 500;
    color: var(--primary-blue);
}

.address-form > p {
    text-align: left;
    color: var(--primary-gray);
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.address-text {
    text-align: left;
}

.address-content {
    display: grid;
    grid-template-columns: 58% 42% ;
    gap: 4rem;
    align-items: center;
}

.address-map img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-gray);
    font-weight: 500;
}

.availability-check-form .form-control,
.form-group input,
.form-group textarea {
    width: 100%;
    height: auto;
    padding: 1rem 1.25rem;
    border: 2px solid #E0E0E0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.availability-check-form .form-control::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--primary-gray);
}

.availability-check-form .form-control:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(63, 154, 215, 0.1);
}

/*Contact sekce*/
.contact-form-section {
    padding: 5rem 0;
    background: var(--primary-blue);
    width: 92%;
    border-radius: var(--border-radius);
    margin: 0 auto;
    margin-bottom: 5rem;
}

.contact-form-section h2,
.contact-form-section h3 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-align: left;
    font-weight: 500;
    color: var(--primary-white);
}

.contact-form-section h2 {
    margin-bottom: 3rem;
}

.contact-form-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-form-simple .form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 0;
}

.contact-form-simple .btn {
    flex: 1;
    min-width: 250px;
    border: 2px solid transparent;
}
.availability-check-form .btn {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.5s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    background: var(--primary-blue);
    color: white;
}

.availability-check-form .btn:hover,
.availability-check-form .btn:focus-visible {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.ruian-input-wrapper {
    position: relative;
}

.ruian-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-white);
    border: 2px solid var(--primary-blue);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    z-index: 1000;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
}

.ruian-suggestions:empty {
    display: none;
}

.suggestion-item {
    padding: 0.875rem 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
    color: var(--primary-gray);
    font-size: 1rem;
}

.suggestion-item:hover,
.suggestion-item:focus {
    background-color: rgba(63, 154, 215, 0.1);
}

.ruian-no-results {
    display: none;
    padding: 1rem 1.25rem;
    color: var(--primary-gray);
    font-size: 0.875rem;
}

.ruian-no-results.active {
    display: block;
}

.ruian-no-results i {
    margin-right: 0.5rem;
    color: #e74c3c;
}

.ruian-loader {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-gray);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.ruian-loader.show {
    opacity: 1;
    visibility: visible;
    animation: ruian-spin 0.8s linear infinite;
}

@keyframes ruian-spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Form note */
.form-note {
    font-size: 0.875rem !important;
    color: var(--primary-gray);
    margin-top: 1rem;
    text-align: left;
}

.form-note a {
    color: var(--primary-gray);
    text-decoration: underline;
}

.form-note a:hover {
    color: var(--primary-blue);
}

.form-note a:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Invalid feedback */
.invalid-feedback {
    display: none;
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.form-control.is-invalid {
    border-color: #e74c3c;
}

/*News-index sekce*/
.news-index {
    padding: 5rem 0;
    background: var(--darker-blue-transparent);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.news-index h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 3.5rem;
    text-align: left;
    font-weight: 500;
    color: var(--primary-blue);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.news-card {
    background: var(--primary-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid #F0F0F0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.news-card:hover,
.news-card:focus-within {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: #E0E0E0;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.news-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.news-card h3 {
    font-size: 1.25rem;
    color: var(--primary-gray);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.news-card p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
    color: var(--primary-gray);
    flex-grow: 1;
}

.news-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* News stránka */
.news.grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem 0;
}

.news-item.grid {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #F0F0F0;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    align-items: start;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.news-item.grid:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.news-item.grid > img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.news-item-title.grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.news-item-title.grid h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-gray);
    margin: 0;
    line-height: 1.4;
}

.news-item-title.grid p {
    font-size: 1rem;
    color: var(--primary-gray);
    line-height: 1.7;
    margin: 0;
}

/*Ratings sekce*/
.ratings {
    padding: 5rem 0;
}

.ratings h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 3.5rem;
    text-align: left;
    font-weight: 500;
    color: var(--primary-blue);
}

.ratings-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.rating-cards {
    display: flex;
    gap: 1.5rem;
}

.rating-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    flex: 1;
    border: 1px solid #F0F0F0;
}

.rating-logo {
    height: 44px;
    width: 88px;
    margin-bottom: 1.25rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.rating-stars {
    color: var(--darker-blue);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
    font-weight: bolder;
}

.rating-score {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--primary-gray);
}

.carousel-container {
    overflow: hidden;
}

.carousel-container .slick-list {
    overflow: visible;
}

.carousel-container .slick-track {
    display: flex;
    align-items: stretch;
}

.carousel-container .carousel-slide {
    height: auto;
}

.carousel-container .carousel-slide .testimonial {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-container .testimonial {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid #F0F0F0;
}

.carousel-container .testimonial .cite {
    font-size: 1.125rem;
    color: var(--primary-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.carousel-container .testimonial .cite-name {
    display: block;
    text-align: right;
    color: #000000;
    font-style: normal;
    font-size: 1rem;
    font-weight: bold;
}

/*Contact sekce */
.contact-form-section {
    padding: 5rem 0;
    background: var(--primary-blue);
    width: 92vw;
    border-radius: var(--border-radius);
    margin: 0 0 5rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.contact-form-section .contact-text {
    width: 100%;
}

.contact-form-section h2,
.contact-form-section h3 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-align: left;
    font-weight: 500;
    color: var(--primary-white);
}

.contact-form-section h2 {
    margin-bottom: 3rem;
}

.contact-form-section .custom-form-wrapper {
    width: 100%;
}

.contact-form-section .custom-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-form-section .custom-form > input[type="tel"],
.contact-form-section .custom-form > select,
.contact-form-section .custom-form > button {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

.contact-form-section .custom-form label {
    display: none;
}

.contact-form-section .custom-form input[type="tel"],
.contact-form-section .custom-form select {
    width: 100%;
    height: auto;
    padding: 1rem 1.25rem;
    border: 2px solid #E0E0E0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background: white;
    font-size: 1rem;
    font-family: inherit;
    color: var(--primary-gray);
    transition: all 0.3s;
}

.contact-form-section .custom-form input[type="tel"]::placeholder {
    color: var(--primary-gray);
}

.contact-form-section .custom-form input[type="tel"]:focus,
.contact-form-section .custom-form select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(63, 154, 215, 0.1);
}

.contact-form-section .custom-form button[type="submit"] {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    background: var(--darker-blue);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.5s ease;
}

.contact-form-section .custom-form button[type="submit"]:hover,
.contact-form-section .custom-form button[type="submit"]:focus-visible {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.contact-form-section .form-note {
    font-size: 0.875rem;
    color: var(--primary-white);
    margin-top: 1rem;
    text-align: left;
}

.contact-form-section .form-note a {
    color: var(--primary-white);
    text-decoration: underline;
}

.contact-form-section .form-note a:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/*Write-to-Us sekce */
.write-to-us {
    padding: 5rem 0;
    background: var(--primary-blue);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.write-to-us h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-align: left;
    font-weight: 500;
    color: var(--primary-white);
}

.write-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.write-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.write-to-us .custom-form-wrapper {
    padding: 3rem;
}

.write-to-us .custom-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.write-to-us .custom-form label {
    display: none;
}

.write-to-us .custom-form input[type="text"],
.write-to-us .custom-form textarea,
.write-to-us .custom-form .btn,
.write-to-us .custom-form .form-note {
    grid-column: 1 / -1;
}

.write-to-us .custom-form input,
.write-to-us .custom-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #E0E0E0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    margin-bottom: 0;
}

.write-to-us .custom-form input::placeholder,
.write-to-us .custom-form textarea::placeholder {
    color: var(--primary-gray);
}

.write-to-us .custom-form input:focus,
.write-to-us .custom-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(63, 154, 215, 0.1);
}

.write-to-us .custom-form .btn {
    display: block;
    width: 100%;
}

.write-to-us .custom-form .form-note {
    font-size: 0.875rem;
    color: var(--primary-white);
    margin: 0;
}

.write-to-us .custom-form .form-note a {
    color: var(--primary-white);
    text-decoration: underline;
}

.write-to-us .custom-form .form-note a:focus-visible {
    outline: 2px solid var(--primary-white);
    outline-offset: 2px;
}

/*Footer*/
.footer {
    background: var(--primary-gray);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: start;
}

.footer-logo img {
    height: 52px;
    margin-bottom: 1.25rem;
    display: block;
}

.footer-logo p {
    color: var(--primary-white);
    font-size: 0.875rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus-visible {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    text-align:left;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: easy 0.1s;
    touch-action: manipulation;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    transform: translateY(-2px);
    transform: scale(1.1);
}

/*---Sekce z dalších stránek---*/
/*internet*/
.internet-plans {
    padding: 5rem 0;
}

.internet-plans h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 3rem;
    font-weight: 500;
    color: var(--primary-blue);
}

.plans-subtitle, .smarthome-process h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 3rem 0 2rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: var(--primary-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.plan-card:hover,
.plan-card:focus-within {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.plan-card.premium {
    border-color: var(--primary-green);
}

.plan-card.maxi {
    border-color: var(--primary-blue);
}

.plan-header {
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
}

.plan-mini {
    background: var(--lighter-gray);
    color: #000000;
}

.plan-standard {
    background: #3f9ad740;
    color: #000000;
}

.plan-premium {
    background: var(--primary-green);
    color: var(--primary-white);
}

.plan-maxi {
    background: var(--primary-blue);
    color: var(--primary-white);
}

.plan-type {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.plan-speed {
    font-size: 1.75rem;
    font-weight: 700;
}

.plan-price {
    padding: 2rem 1.5rem 1rem;
    text-align: center;
}

.plan-price .price {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.25rem;
}

.plan-price .period {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-gray);
}

.plan-features {
    list-style: none;
    padding: 0 1.5rem 2rem;
}

.plan-features li {
    padding: 0.65rem 0;
    color: var(--primary-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

.plan-card .btn {
    margin: 0 1.5rem 2rem;
    width: calc(100% - 3rem);
    text-align: center;
}

.connection-steps, .smarthome-process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
    padding: 3rem 0;
}

.step-card {
    background: var(--primary-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid #E0E0E0;
    text-align: center;
}

.step-number {
    background: var(--primary-blue);
    padding: 2rem 1.5rem;
    color: var(--primary-white)!important;
    font-size: 1.5rem !important;
    font-weight: 600;
    margin: 0;
}

.step-number.online, .step-number.use-it {
    background: var(--primary-green);
    color: var(--primary-black)!important;
}

.step-card p {
    padding: 2rem 1.5rem;
    color: var(--primary-gray);
    line-height: 1.6;
    font-size: 0.9375rem;
    margin: 0;
}

.step-arrow img {
    height: auto;
}


/*televize*/
.tv-benefits {
    padding: 5rem 0;
}

.tv-benefits h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 3.5rem;
    text-align: left;
    font-weight: 500;
    color: var(--primary-blue);
}

.tv-benefits-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.tv-benefits-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    max-width: 600px;
    width: 100%;
    flex: 1 1 400px;
}

.tv-benefit-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.tv-benefit-item img {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.tv-benefit-item span {
    font-size: 14px;
    color: var(--primary-gray);
    line-height: 100%;
}

.tv-benefits-image {
    max-width: 605px;
    width: 100%;
    flex: 1 1 400px;
}

.tv-benefits-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.tv-packages {
    padding: 5rem 0;
}

.tv-packages h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 3.5rem;
    font-weight: 500;
    color: var(--primary-blue);
}

.tv-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tv-package-card {
    background: var(--primary-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.tv-package-card:hover,
.tv-package-card:focus-within {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.tv-package-header {
    padding: 2.5rem 2rem;
    text-align: center;
    color: white;
}

.tv-package-start {
    background: var(--lighter-gray);
    color: #000000;
}

.tv-package-basic {
    background: var(--primary-blue);
    color: var(--primary-white);
}

.tv-package-max {
    background: var(--primary-green);
    color: #000000;
}

.tv-package-type {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.tv-package-channels {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.tv-package-price {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
}

.tv-package-price .price {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.tv-package-price .period {
    display: block;
    font-size: 1.125rem;
    color: var(--primary-gray);
}

.tv-package-features {
    list-style: none;
    padding: 0 2rem;
    margin-bottom: auto;
}

.tv-package-features li {
    padding: 0.75rem 0;
    color: var(--primary-gray);
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid #F0F0F0;
}

.tv-package-features li:last-child {
    border-bottom: none;
}

.tv-package-card .btn {
    margin: 2rem;
    width: calc(100% - 4rem);
    text-align: center;
}


/*kontakt*/
.contact-info {
    padding: 5rem 0;
    background: var(--bg-white);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1230px;
    margin: 0 auto 5rem;
}

.contact-card {
    background: var(--primary-white);
    border-radius: var(--border-radius);
    padding: 0 0 2.5rem 0;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.contact-card:hover,
.contact-card:focus-within {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-banner {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    color: var(--primary-gray);
    margin-bottom: 1rem;
    font-weight: 600;
    padding: 0 1.5rem;
}

.contact-link {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.phone-card .contact-link {
    color: var(--primary-green);
}

.phone-card .contact-link:hover,
.phone-card .contact-link:focus-visible {
    color: #6BB042;
}

.email-card .contact-link {
    color: var(--primary-blue);
}

.email-card .contact-link:hover,
.email-card .contact-link:focus-visible {
    color: #006DDA;
}

.address-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.contact-info-section {
    max-width: 1230px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 3rem;
}

.contact-info-block h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-block p {
    font-size: 0.9375rem;
    color: var(--primary-gray);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.contact-info-block a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-block a:hover,
.contact-info-block a:focus-visible {
    color: var(--darker-blue);
    text-decoration: underline;
}

.ke-stazeni-container {
    display: block;
}

.ke-stazeni-link-container {
    display: block;
}

.ke-stazeni-link {
    display: block;
    font-size: 0.9375rem;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.ke-stazeni-link:hover,
.ke-stazeni-link:focus-visible {
    color: var(--darker-blue);
    text-decoration: underline;
}

.ke-stazeni-container .btn {
    display: inline;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 0.9375rem;
    font-weight: normal;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.8;
}

.ke-stazeni-container .btn:hover,
.ke-stazeni-container .btn:focus-visible {
    background: none;
    color: var(--darker-blue);
    text-decoration: underline;
    transform: none;
    box-shadow: none;
}


/*dostupnost výsledek*/

.coverage-banner {
    padding: 3rem 0;
}

.coverage-content {
    display: flex;
    justify-content: space-evenly;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 3rem;
    color: var(--primary-gray)
}

.coverage-icon img {
    display: block;
}

.coverage-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.coverage-subtitle {
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0;
}

.coverage-illustration img {
    display: block;
    max-width: 100%;
    height: auto;
}

/*Nezávazná poptávka v dostupnosti */
.service-request {
    padding: 5rem 0;
}

.request-box {
    background: var(--primary-blue);
    border-radius: var(--border-radius);
    padding: 5rem 3rem;
    color: var(--primary-white);
}

.request-header {
    margin-bottom: 2rem;
}

.request-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    color: var(--primary-white);
}

.request-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-white);
}

.request-box .custom-form-wrapper {
    width: 100%;
}

.request-form-grid > label:not([for^="check"]) {
    display: none;
}

.request-form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem 1.5rem;
    margin-bottom: 0;
}

.request-form-grid > input[type="text"],
.request-form-grid > input[type="email"],
.request-form-grid > input[type="tel"],
.request-form-grid > select {
    grid-column: span 4;
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #E0E0E0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
    color: var(--primary-gray);
    height: auto;
}

.request-form-grid > select {
    padding: 1rem 2.5rem 1rem 1.25rem;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234D4D4D' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 1rem center;
    background-size: 12px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.request-form-grid > input[type="checkbox"] {
    display: none;
}

.request-form-grid > label[for="check1"] {
    margin-top: 0.5rem;
}

.request-form-grid > label[for^="check"] {
    grid-column: span 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--primary-white);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--primary-gray);
    cursor: pointer;
    margin: 0;
    transition: all 0.3s ease;
    line-height: 1.4;
    white-space: nowrap;
}

.request-form-grid > label[for^="check"]::before {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid var(--lighter-gray);
    border-radius: 3px;
    flex-shrink: 0;
    background: white;
}

.request-form-grid > input[type="checkbox"]:checked + label::before {
    background: var(--darker-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
    background-size: 12px;
    border-color: var(--darker-blue);
}

.request-info-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    cursor: help;
}

.request-form-grid > button {
    grid-column: span 3;
    padding: 1rem 2rem;
    font-size: 1.0625rem;
    border-radius: var(--border-radius);
    background: var(--darker-blue);
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
}

.request-form-grid > button:hover,
.request-form-grid > button:focus-visible {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.request-form-grid > input:focus,
.request-form-grid > select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(128, 204, 87, 0.3);
}

.request-form-grid > input[type="text"]::placeholder,
.request-form-grid > input[type="email"]::placeholder,
.request-form-grid > input[type="tel"]::placeholder {
    color: var(--primary-gray);
}

.request-box .form-note {
    text-align: left;
    color: var(--primary-white);
    font-size: 0.875rem;
    margin-top: 2rem;
}

.request-box .form-note a {
    color: var(--primary-white);
    text-decoration: underline;
}

.request-box .form-note a:focus-visible {
    outline: 2px solid var(--primary-white);
    outline-offset: 2px;
}

/*Responzivni design*/
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }

    .request-form-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .request-form-grid > input[type="text"],
    .request-form-grid > input[type="email"],
    .request-form-grid > input[type="tel"],
    .request-form-grid > select {
        grid-column: span 3;
    }

    .request-form-grid > label[for^="check"] {
        grid-column: span 3;
    }

    .request-form-grid > button {
        grid-column: span 6;
    }
}

@media (max-width: 1024px) {
    .promo-carousel {
        margin-bottom: 100px;
        min-height: 550px;
    }

    .promo-carousel .slick-slide {
        min-height: 550px;
    }

    .services {
        margin-top: -120px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-content,
    .address-content,
    .ratings-content,
    .write-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .partner-image,
    .address-map,
    .write-image {
        order: -1;
    }

    .partner-content-reverse .partner-text,
    .partner-content-reverse .partner-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .connection-steps, .smarthome-process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-arrow {
        display: block;
        text-align: center;
    }

    .step-arrow img {
        transform: rotate(90deg);
        width: 60px;
        margin: 0 auto;
    }

    .tv-benefits-content {
        flex-direction: column;
        gap: 2rem;
    }

    .tv-benefits-list {
        max-width: 100%;
    }

    .tv-benefits-image {
        order: -1;
        max-width: 100%;
    }

    .tv-packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .smart-home-expert .container {
        gap: 40px;
    }

    .expert-image img {
        width: 350px;
        height: 343px;
    }

    .expert-text h2 {
        font-size: 32px;
    }

    .expert-text p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .nav.active {
        max-height: 500px;
        padding: 1rem 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 24px;
    }

    .nav.active .nav-list li {
        width: 100%;
    }

    .nav.active .nav-list li:last-child {
        border-bottom: none;
    }

    .nav.active .nav-list a {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .phone-button span:not(.phone-icon) {
        display: none;
    }

    .phone-button {
        padding: 0.75rem;
        position: absolute;
        right: 65px;
    }

    .promo-carousel {
        min-height: 480px;
        margin-bottom: 80px;
    }

    .promo-carousel .slick-slide {
        min-height: 480px;
    }

    .services {
        margin-top: -100px;
        padding-bottom: 3.5rem;
    }

    .promo-content {
        padding: 2.5rem 0;
    }

    .promo-slider {
        min-height: 480px;
    }

    .promo-subtitle {
        max-width: 100%;
    }

    .promo-arrow {
        width: 48px;
        height: 48px;
        font-size: 2rem;
    }

    .promo-arrow-left {
        left: 12px;
    }

    .promo-arrow-right {
        right: 12px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        padding: 1.75rem;
    }

    .service-card h3 {
        font-size: 1rem;
        min-height: auto;
        margin-bottom: 1.5rem;
    }

    .service-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1.25rem;
    }

    .partner-content {
        flex-direction: column;
        gap: 20px;
    }

    .partner-text {
        width: 100%;
        gap: 20px;
    }

    .partner-text h2 {
        font-size: 28px;
    }

    .partner-image {
        width: 100%;
    }

    .partner-image img {
        width: 100%;
    }

    .smart-home-expert .container {
        flex-direction: column;
        gap: 30px;
    }

    .expert-image img {
        width: 100%;
        height: auto;
        max-width: 441px;
    }

    .expert-text {
        align-items: center;
        text-align: center;
    }

    .expert-text h2 {
        font-size: 28px;
    }

    .expert-text p {
        font-size: 18px;
    }

    .can-grid {
        grid-template-columns: 1fr;
    }

    .benefits-list li img {
        width: 32px;
        height: 32px;
    }

    .button-wrapper {
        text-align: center;
        width: 100%;
    }

    .address-content {
        display: flex;
        flex-direction: column;
    }

    .address-form {
        display: contents;
    }

    .address-form h2,
    .address-form > p {
        order: 1;
    }

    .address-map {
        order: 2;
        margin-bottom: 1.5rem;
    }

    .address-form form {
        order: 3;
    }

    .address-lookup .address-form {
        display: contents;
    }

    .address-lookup .address-form h2.address-text {
        order: 1;
    }

    .address-lookup .address-form p.address-text:not(.form-note) {
        order: 2;
    }

    .address-lookup .address-map {
        order: 3;
        margin-bottom: 1.5rem;
    }

    .address-lookup .availability-check-form {
        order: 4;
    }

    .address-lookup .address-form .form-note {
        order: 5;
    }

    .benefits-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-item.grid {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .news-item.grid > img {
        width: 60px;
        height: 60px;
    }

    .news-item-title.grid h4 {
        font-size: 1.125rem;
    }

    .news-item-title.grid p {
        font-size: 0.9375rem;
    }

    .rating-cards {
        flex-direction: column;
    }

    .rating-card {
        max-width: 100%;
    }

    .carousel-container .testimonial {
        padding: 2rem;
    }

    .contact-form-section .custom-form {
        flex-direction: column;
    }

    .contact-form-section .custom-form > div {
        width: 100%;
    }

    .write-to-us .custom-form {
        grid-template-columns: 1fr;
    }

    .write-to-us .custom-form-wrapper {
        padding: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-social {
        justify-content: center;
    }

    .internet-plans {
        padding: 3rem 0;
    }

    .plans-subtitle, .smarthome-process h3 {
        font-size: 1.5rem;
        margin: 2rem 0 1.5rem;
        text-align: center;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .plan-card {
        max-width: 500px;
        width: 100%;
        margin:0 auto;
    }

    .plan-header {
        padding: 1.75rem 1.25rem;
    }

    .plan-type {
        font-size: 0.8125rem;
    }

    .plan-speed {
        font-size: 1.5rem;
    }

    .plan-price {
        padding: 1.5rem 1.25rem 0.75rem;
    }

    .plan-price .price {
        font-size: 2rem;
    }

    .plan-price .period {
        font-size: 1rem;
    }

    .plan-features {
        padding: 0 1.25rem 1.5rem;
    }

    .plan-features li {
        padding: 0.5rem 0;
        font-size: 0.9375rem;
    }

    .plan-card .btn {
        margin: 0 1.25rem 1.5rem;
        width: calc(100% - 2.5rem);
    }

    .connection-steps, .smarthome-process-steps {
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .step-number {
        padding: 1.5rem 1.25rem;
        font-size: 1.25rem;
    }

    .step-card p {
        padding: 1.5rem 1.25rem;
        font-size: 0.875rem;
    }

    .tv-benefits {
        padding: 3.5rem 0;
    }

    .tv-benefits h2 {
        margin-bottom: 2.5rem;
    }

    .tv-benefits-list {
        gap: 12px;
    }

    .tv-benefit-item {
        gap: 12px;
    }

    .tv-benefit-item img {
        width: 40px;
        height: 40px;
    }

    .tv-benefit-item span {
        font-size: 1rem;
    }

    .tv-packages {
        padding: 3.5rem 0;
    }

    .tv-packages h2 {
        margin-bottom: 2.5rem;
    }

    .tv-packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tv-package-card {
        max-width: 500px;
        width: 100%;
        margin:0 auto;
    }

    .tv-package-header {
        padding: 2rem 1.5rem;
    }

    .tv-package-type {
        font-size: 0.8125rem;
    }

    .tv-package-channels {
        font-size: 1.5rem;
    }

    .tv-package-price {
        padding: 2rem 1.5rem 1.25rem;
    }

    .tv-package-price .price {
        font-size: 2.5rem;
    }

    .tv-package-price .period {
        font-size: 1rem;
    }

    .tv-package-features {
        padding: 0 1.5rem;
    }

    .tv-package-features li {
        padding: 0.625rem 0;
        font-size: 0.9375rem;
    }

    .tv-package-card .btn {
        margin: 1.5rem;
        width: calc(100% - 3rem);
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .request-box {
        padding: 3rem 2rem;
    }

    .request-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .request-form-grid > input[type="text"],
    .request-form-grid > input[type="email"],
    .request-form-grid > input[type="tel"],
    .request-form-grid > select,
    .request-form-grid > label[for^="check"],
    .request-form-grid > button {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .promo-title {
        font-size: 1.75rem;
    }

    .promo-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    section {
        padding: 3rem 0 !important;
    }

    .partner-section,
    .tv-benefits,
    .tv-packages,
    .internet-plans,
    .address-lookup,
    .contact-form-section,
    .write-to-us,
    .news-index {
        padding: 3rem 0 !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .promo-carousel {
        min-height: 400px;
        margin-bottom: 60px;
    }

    .promo-carousel .slick-slide {
        min-height: 400px;
    }

    .promo-slider {
        min-height: 400px;
    }

    .services {
        margin-top: -80px;
    }

    .promo-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.75rem;
    }

    .service-card,
    .news-card {
        padding: 1.5rem;
    }

    .benefit-card {
        grid-template-columns: 50px 1fr;
        padding: 15px;
        gap: 8px 15px;
    }

    .benefit-card > *:first-child {
        width: 50px;
        height: 50px;
    }

    .benefits-list li {
        gap: 10px;
    }

    .benefits-list li img {
        width: 28px;
        height: 28px;
    }

    .benefits-list li span {
        font-size: 13px;
    }

    .internet-plans h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .plans-subtitle, .smarthome-process h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 1rem;
    }

    .plan-header {
        padding: 1.5rem 1rem;
    }

    .plan-type {
        font-size: 0.75rem;
        margin-bottom: 0.375rem;
    }

    .plan-speed {
        font-size: 1.375rem;
    }

    .plan-price {
        padding: 1.25rem 1rem 0.5rem;
    }

    .plan-price .price {
        font-size: 1.75rem;
        margin-bottom: 0.125rem;
    }

    .plan-price .period {
        font-size: 0.9375rem;
    }

    .plan-features {
        padding: 0 1rem 1.25rem;
    }

    .plan-features li {
        padding: 0.4rem 0;
        font-size: 0.875rem;
    }

    .plan-card .btn {
        margin: 0 1rem 1.25rem;
        width: calc(100% - 2rem);
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .connection-steps, .smarthome-process-steps {
        padding: 1.5rem 0;
        gap: 1.25rem;
    }

    .step-number {
        padding: 1.25rem 1rem;
        font-size: 1.125rem;
    }

    .step-card p {
        padding: 1.25rem 1rem;
        font-size: 0.8125rem;
        line-height: 1.5;
    }

    .tv-benefit-item {
        gap: 1rem;
    }

    .tv-benefit-item img {
        width: 36px;
        height: 36px;
    }

    .tv-package-header {
        padding: 1.75rem 1.25rem;
    }

    .tv-package-channels {
        font-size: 1.375rem;
    }

    .tv-package-price .price {
        font-size: 2.25rem;
    }

    .tv-package-features {
        padding: 0 1.25rem;
    }

    .tv-package-card .btn {
        margin: 1.25rem;
        width: calc(100% - 2.5rem);
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .request-box {
        padding: 2rem 1.5rem;
    }

    .request-title {
        font-size: 1.5rem;
    }

    .contact-form-section {
        width: 100%;
        border-radius: 0;
    }

    .carousel-container .testimonial {
        padding: 1.5rem;
    }

    .carousel-container .testimonial .cite {
        font-size: 1rem;
    }
}

@media (max-width: 375px) {
    .promo-title {
        font-size: 1.5rem;
    }

    .promo-subtitle {
        font-size: 0.9375rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .plan-price .price {
        font-size: 1.5rem;
    }

    .tv-package-price .price {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem !important;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .promo-carousel {
        min-height: 400px;
    }

    .promo-content {
        padding: 1.5rem 0;
    }

    .promo-title {
        margin-bottom: 1rem;
    }

    .promo-subtitle {
        margin-bottom: 1.5rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-list a,
    .phone-button,
    .footer-social a,
    .service-card,
    .plan-card,
    .tv-package-card {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-toggle {
        padding: 0.75rem;
        min-width: 44px;
        min-height: 44px;
    }

    .promo-arrow {
        min-width: 44px;
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

*:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* error page */
.error-page-body {
    background-color: var(--primary-white);
}

.error-page-body main {
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-page-body .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.error-page-body .error-logo {
    width: 280px;
}

.error-page-body .error-logo img {
    width: 100%;
    height: auto;
}

.error-page-body .error-icon {
    width: 320px;
}

.error-page-body .error-icon svg {
    width: 100%;
    height: auto;
}

.error-page-body .error {
    font-size: 120px;
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1;
}

.error-page-body h1 {
    font-size: 40px;
    color: var(--primary-gray);
}

.error-page-body p {
    color: var(--primary-gray);
    line-height: 1.7;
}

@media screen and (max-width: 767px) {
    .error-page-body h1 {
        font-size: 24px !important;
    }

    .error-page-body .error {
        font-size: 96px !important;
    }

    .error-page-body .error-logo {
        width: 200px;
    }

    .error-page-body .error-icon {
        width: 220px;
    }
}

/* Download page */
.download-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 650px;
    overflow: hidden;
}

.download-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100vw;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.download-hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 4rem 0;
    margin: 0;
    margin-left: max(20px, calc((100% - 1230px) / 2 + 20px));
}

.download-hero h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.download-info {
    padding: 3rem 0 2rem;
    max-width: 900px;
}

.download-info p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--primary-gray);
    text-align: left;
}

.ke-stazeni-link-container-page.grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-bottom: 5rem;
}

.ke-stazeni-link.flex {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 1rem;
    color: var(--primary-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.ke-stazeni-link.flex:hover,
.ke-stazeni-link.flex:focus-visible {
    border: none;
    box-shadow: none;
    transform: none;
    color: var(--primary-blue);
    text-decoration: underline;
    text-decoration-color: var(--primary-green);
}

.ke-stazeni-link.flex i {
    font-size: 1.25rem;
    color: var(--primary-gray);
}

@media (max-width: 1024px) {
    .download-hero {
        min-height: 550px;
    }
}

@media (max-width: 768px) {
    .download-hero {
        min-height: 480px;
    }
}

@media (max-width: 480px) {
    .download-hero {
        min-height: 400px;
    }
}

/* Internet select */
#internet-select {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

#internet-plans-select {
    width: 100%;
    max-width: 400px;
    padding: 1rem 2.5rem 1rem 1.25rem;
    border: 2px solid var(--primary-blue);
    border-radius: var(--border-radius);
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233F9AD7' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 1rem center;
    background-size: 12px;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    color: var(--primary-gray);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.3s;
}

#internet-plans-select:hover {
    border-color: var(--darker-blue);
}

#internet-plans-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(63, 154, 215, 0.2);
}

.special-place, .special-upgrade {
    text-align: center;
}

.smart-home-can .container .button-wrapper, .smart-home-expert .container .button-wrapper {
  	display: none
}

.gdpr {
    padding: 4rem 20px;
    max-width: 900px;
}

.gdpr h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-blue);
    margin: 2rem 0 1rem 0;
}

.gdpr h3:first-of-type {
    margin-top: 2.5rem;
}

.gdpr p {
    font-size: 16px;
    color: var(--primary-gray);
    line-height: 170%;
    margin: 0 0 1rem 0;
}

.gdpr ul {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.gdpr ul li {
    font-size: 16px;
    color: var(--primary-gray);
    line-height: 170%;
    margin-bottom: 0.5rem;
}

.gdpr a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.gdpr a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}



