/* RESET / ZÁKLAD */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #1e293b; /* tmavší text */
    background-color: #f5f7fb; /* lehce světlé pozadí */
}

/* KONTEJNER */
.max {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

/* SECTIONS */
.section {
    width: 100%;
    padding: 70px 0;
    background-color: #ffffff;
}

.section:nth-of-type(odd) {
    background-color: #f5f7fb;
}

.center-text {
    text-align: center;
}

/* TYPOGRAFIE */
.section h1,
.section h2,
.section h3 {
    color: #0b1535;
}

.section h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.section h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.section .subtitle {
    font-size: 0.95rem;
    color: #64748b;
    max-width: 640px;
    margin: 0 auto;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    z-index: 20;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
}

header .header-right {
    margin-left: auto;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #0b1535;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b3c6f, #38bdf8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    margin-right: 10px;
    font-size: 0.9rem;
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* NAV */
.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-right: 10px;
}

.nav a {
    font-size: 0.9rem;
    color: #1e293b;
    text-decoration: none;
    padding: 6px 0;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #0b3c6f;
    transition: width 0.2s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav-highlight {
    border-radius: 999px;
    background: #0b3c6f;
    color: #ffffff !important;
    padding: 8px 14px 8px 14px !important;
}

.nav-highlight::after {
    display: none;
}

/* NAV TOGGLE (MOBILE) */

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    margin-left: 8px;
    cursor: pointer;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 0 8px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    max-width: 20px;
    height: 3px;
    background: rgb(60,60,60);
    border-radius: 25px;
    transition: all 0.25s ease;
    margin: 2px 0;
}

/* BTN */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-primary {
    background: #0b3c6f;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(11, 60, 111, 0.25);
}

.btn-primary:hover {
    background: #0f5094;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(11, 60, 111, 0.3);
}

.btn-ghost {
    border-color: #cbd5f5;
    color: #0b3c6f;
    background: #ffffff;
}

.btn-ghost:hover {
    background: #e0f2fe;
}

/* HERO */
.hero {
    padding-top: 150px; /* kvůli fixed headeru */
    background: radial-gradient(circle at top left, #e0f2fe 0, #f8fafc 60%, #ffffff 100%);
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-text {
    /*
    flex: 1 1 320px;
    */
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 12px;
    clear: both;
    display: block;
}

.hero .subtitle {
    font-size: 1rem;
    text-align: left;
    padding: 0;
    margin: 10px 0px 10px 0px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.hero-list {
    list-style: none;
    font-size: 0.9rem;
    color: #475569;
}

.hero-list li + li {
    margin-top: 4px;
}

.hero-image {
    flex: 0 1 320px;
    display: flex;
    justify-content: center;
}

/* ICON FEATURES */
.vlastnosti .section-header {
    margin-bottom: 24px;
}

.features-grid {
    margin-top: 26px;
}

.feature-icon-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 16px 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    font-size: 0.9rem;
    color: #475569;
}

.feature-icon-card h3 {
    margin-top: 10px;
    margin-bottom: 6px;
    font-size: 1rem;
    color: #0b1535;
}

.feature-icon-card p {
    font-size: 0.88rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border-radius: 16px;
    background: linear-gradient(135deg, #0b3c6f, #38bdf8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 25px rgba(11, 60, 111, 0.35);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    fill: #ffffff;
}


/* VIDEO SECTION */
.video-wrapper {
    margin-top: 30px;
}
.video-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 poměr stran */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.15);
    border: 0;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* GRIDY */
.grid {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* KARTY */
.card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
    font-size: 0.92rem;
    color: #475569;
}

.card.small {
    font-size: 0.88rem;
}

/* O SYSTÉMU / TWO COLUMNS */
.two-columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.two-columns .col {
    flex: 1 1 280px;
}

/* CHECKLIST */
.checklist {
    list-style: none;
    font-size: 0.92rem;
    color: #475569;
}

.checklist li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0b3c6f, #38bdf8);
}

/* STEPS */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 16px 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    font-size: 0.9rem;
    color: #475569;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #0b3c6f;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* --- PRO KOHO – TABS --- */

.pro-kdo-tabs {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Horní klikací boxy */
.pro-kdo-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pro-kdo-item {
    position: relative;
    width: 100%;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 10px 10px 10px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.08s ease;
    font-family: inherit;
}

.pro-kdo-item:hover {
    border-color: #0b3c6f;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.pro-kdo-item.active {
    border-color: #0b3c6f;
    background: #e0f2fe;
    box-shadow: 0 12px 30px rgba(11, 60, 111, 0.18);
}

.pro-kdo-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0b3c6f, #38bdf8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-kdo-icon svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

.pro-kdo-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0b1535;
}

/* Detailní boxy */
.pro-kdo-detail {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    padding: 18px 18px 18px;
}

.pro-kdo-detail-panel {
    display: none;
}

.pro-kdo-detail-panel.active {
    display: block;
}

.pro-kdo-detail-inner {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.pro-kdo-detail-image {
    flex: 0 0 260px;
    max-width: 260px;
    border-radius: 14px;
    overflow: hidden;
    background: #e5e7eb;
}

.pro-kdo-detail-image img {
    display: block;
    width: 100%;
    height: auto;
}

.pro-kdo-detail-text {
    flex: 1 1 260px;
    font-size: 0.9rem;
    color: #475569;
}

.pro-kdo-detail-text h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #0b1535;
}

.pro-kdo-detail-text p + p {
    margin-top: 6px;
}

/* --- SYSTÉM PLNÝ VÝHOD (4 BOXY) --- */

.vyhody .section-header {
    margin-bottom: 26px;
}

.benefits-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
}

.benefit-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: #475569;
    font-size: 0.9rem;
}

.benefit-image {
    flex: 0 0 auto;
}

.benefit-image a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #e5e7eb;
}

.benefit-image img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* textová část */
.benefit-content h3 {
    font-size: 1.1rem;
    color: #0b1535;
    margin-bottom: 4px;
}

.benefit-intro {
    font-size: 0.88rem;
    font-weight: 500;
    color: #0b3c6f;
    margin-bottom: 6px;
}

.benefit-content p + p {
    margin-top: 6px;
}


/* CENÍK */
.cenik .pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 18px 16px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #475569;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.pricing-card h3 {
    margin-bottom: 4px;
}

.pricing-card .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0b3c6f;
    margin-bottom: 10px;
}

.pricing-card ul {
    list-style: none;
    padding-left: 0;
}

.pricing-card li {
    margin-bottom: 5px;
    font-weight: 600;
}

.pricing-highlight {
    border-color: #0b3c6f;
    box-shadow: 0 14px 40px rgba(11, 60, 111, 0.2);
    position: relative;
}

.pricing-cta {
    margin-top: 26px;
    font-size: 0.9rem;
}
/* --- CENÍK – DVOU SLOUPCOVÁ VERZE --- */

.pricing-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 20px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    font-size: 0.9rem;
    color: #475569;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pricing-card h3 {
    color: #0b1535;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.pricing-card .price {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0b3c6f;
    margin-bottom: 12px;
}

.pricing-desc {
    font-size: 0.9rem;
    margin-bottom: 14px;
    color: #475569;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-top: auto; /* drží seznam dole */
}

.pricing-card ul li {
    margin-bottom: 6px;
}

/* zvýraznění variant */
.pricing-profi {
    border-color: #0b3c6f;
}

.pricing-custom {
    border-color: #64748b;
}

.pricing-extra {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.pricing-extra-inner {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 32px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.pricing-extra-inner h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #0b1535;
    font-weight: 600;
}

.pricing-extra-inner p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 10px;
}

.pricing-extra-inner strong {
    color: #0b1535;
    font-weight: 600;
}

.pricing-extra-inner p.pricing-note {
    font-size: 1.025rem;
    margin-top: 25px;
    color: #475569;
    padding-top: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    color: #0b1535;
    font-weight: 500;
}

/* FORMULÁŘE */
.form {
    width: 100%;
    margin-top: 24px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 18px;
}

.form-field {
    flex: 1 1 220px;
}

.form-field.full {
    flex: 1 1 100%;
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    color: #0f172a;
    margin-bottom: 4px;
    font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #cbd5f5;
    padding: 8px 10px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #0f172a;
    background: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #0b3c6f;
    box-shadow: 0 0 0 1px rgba(11, 60, 111, 0.1);
    outline: none;
    background: #f8fafc;
}

.form-note {
    font-size: 0.75rem;
    color: #b91c1c;
    margin-top: 4px;
    display: none;
}

.form-note.visible {
    display: block;
}

.form-message {
    margin-top: -2px;
    font-size: 0.85rem;
    display: none;
}

.form-message.kontakt {
    margin-top: 10px;
}

.form-message.is-error {
    color: #b91c1c;
}

.form-message.is-success {
    color: #166534;
}

.form input.input-error,
.form textarea.input-error,
.form select.input-error {
    border-color: #b91c1c;
}


/* CHECKBOX */
.checkbox-field {
    flex: 1 1 100%;
}

.checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.checkbox input {
    display: none;
}

.checkbox-mark {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid #cbd5f5;
    background: #ffffff;
    position: relative;
    margin: 3px 10px 0px 0px;
    float: left;
}

.checkbox input:checked + .checkbox-mark {
    background: #0b3c6f;
    border-color: #0b3c6f;
}

.checkbox input:checked + .checkbox-mark::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

.checkbox-text {
    display: inline-block;
}
.checkbox-text a{
    color: #0b3c6f;
}


/* ODESLÁNÍ */
.form-row-bottom {
    align-items: center;
}

.submit-field {
    flex: 0 0 auto;
}

/* KONTAKT */
.contact-info img {
    max-width: 135px;
}

.contact-info p {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 8px;
}

.contact-info a {
    color: #0b3c6f;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* FOOTER */
.footer {
    background: #0b1535;
    color: #cbd5f5;
    padding: 18px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo {
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #e5f3ff;
    margin-bottom: 4px;
}

.footer-text {
    font-size: 0.85rem;
    max-width: 460px;
}

.footer-links {
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.footer-links a {
    color: #e5f3ff;
    text-decoration: none;
    margin-left: 14px;
}

.footer-links a:first-child {
    margin-left: 0;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* TEXTOVÁ STRÁNKA / OBCHODNÍ PODMÍNKY */

.text-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 50px 0px 0px 0px;
}

.podminky h1 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #0b1535;
    text-align: left;
}

.text-lead {
    font-size: 0.98rem;
    color: #475569;
    margin-bottom: 26px;
}

.terms-block + .terms-block {
    margin-top: 22px;
}

.terms-block h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #0b1535;
}

.terms-block p {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 8px;
}

.terms-block ul {
    margin: 0 0 4px 1.1em;
    padding: 0;
    font-size: 0.9rem;
    color: #475569;
}

.terms-block ul li {
    margin-bottom: 4px;
}

.terms-block a {
    color: #0b3c6f;
    text-decoration: underline;
}
/* === ZÁKAZNÍCI === */

.zakaznici {
    padding: 60px 0;
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.customer-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 18px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: 0.25s ease;
}

.customer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 6px 18px rgba(0,0,0,0.06);
}

.customer-image {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.customer-image img {
    max-height: 70px;
    max-width: 150px;
    object-fit: contain;
}

.customer-card h3 {
    font-size: 1rem;
    color: #0b1535;
    font-weight: 600;
    margin-top: 6px;
}

/* === SYSTÉMY NA MÍRU – KOMPAKTNÍ LIŠTA === */

.custom-systems {
    padding: 28px 0;
    background: transparent !important;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.custom-systems-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.custom-systems-bar p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.35;
    flex: 1;
}

.custom-systems-bar .btn {
    white-space: nowrap;
    padding: 10px 18px;
}


/* UPGRADE */

.hero {
    position: relative;
    overflow: hidden;
}

/* lehké pulsování radial gradientu */
@keyframes heroGlow {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.hero {
    background-size: 200% 200%;
    animation: heroGlow 16s ease-in-out infinite;
}

/* vstupní animace textu a obrázku po načtení */
@keyframes fadeUpSoft {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    animation: fadeUpSoft 0.8s ease-out forwards;
}

.hero-image {
    animation: fadeUpSoft 0.9s ease-out forwards;
}
.card,
.feature-icon-card,
.step,
.pricing-card,
.benefit-card,
.customer-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.feature-icon-card:hover,
.step:hover,
.pricing-card:hover,
.benefit-card:hover,
.customer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .pro-kdo-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cenik .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .customers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-inner {
        height: 60px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        position: fixed;
        inset: 60px 0 auto 0;
        background: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px 16px;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
        z-index: 19;
    }

    body.nav-open .nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav a {
        padding: 4px 0;
    }

    
}
@media (max-width: 768px) {
    .vlastnosti .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pricing-2col {
        grid-template-columns: minmax(0, 1fr);
    }
    .pro-kdo-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pro-kdo-detail-inner {
        flex-direction: column;
    }

    .pro-kdo-detail-image {
        max-width: 100%;
        flex: 1 1 100%;
    }
    
    section.hero
    {
        padding-top: 90px;
    }

    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        
        display: block;
    }
    .benefits-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .cenik .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-row {
        flex-direction: column;
    }
    
    .pricing-extra-inner {
        padding: 22px 20px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-field
    {
        flex: none;
    }
    
    .custom-systems-bar {
        flex-direction: column;
        text-align: center;
        padding: 16px 0px;
    }

    .custom-systems-bar p {
        font-size: 0.95rem;
    }

    .custom-systems-bar .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .podminky .section-header {
        text-align: left;
    }

    .podminky h1 {
        font-size: 1.7rem;
    }
}


@media (max-width: 640px) {
    .benefit-card {
        flex-direction: column !important;
        align-items: flex-start;
    }

    .benefit-image {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 12px;
    }

    .benefit-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }

    .benefit-content {
        width: 100% !important;
    }
    
    .two-columns .col
    {
        width: 100%;
        flex: none;
    }
}
@media (max-width: 520px) {
    .customers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 55px 0;
    }
    .custom-systems {
        padding: 25px 0px 25px 0px;
    }
    .vlastnosti .grid-4 {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero h1 {
        font-size: 2rem;
    }
    .benefit-image img {
        height: 120px;
    }
    .pro-kdo-list {
        grid-template-columns: minmax(0, 1fr);
    }
}