/* ============================================
   ERP PARTNER — Global Styles
   Style: Asseco Solutions corporate
   Font: Roboto (same as assecosolutions.sk)
   ============================================ */

:root {
    --blue: #00a3e0;
    --blue-dark: #0077b3;
    --blue-darker: #005a8c;
    --navy: #1a2744;
    --navy-light: #253556;
    --helios: #e28d34;
    --text: #3f3f3f;
    --text-light: #777;
    --bg: #fff;
    --bg-gray: #f1f4f5;
    --border: #e0e5ea;
    --green: #27ae60;
    --red: #dd183b;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}
body {
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg-gray);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.3; color: var(--navy); }

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.ta-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    border-radius: 100px;
    font-family: inherit;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: 0 8px 24px rgba(0, 163, 224, .25);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    box-shadow: 0 12px 32px rgba(0, 163, 224, .35);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}
.btn-outline:hover {
    background: var(--blue);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}
.btn-white:hover {
    background: rgba(255,255,255,.9);
    transform: translateY(-1px);
}

.btn-outline-w {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.4);
}
.btn-outline-w:hover {
    border-color: #fff;
    background: rgba(255,255,255,.1);
}

.btn-full {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    color: var(--blue);
    transition: all .2s;
}
.link-arrow::after {
    content: '\2192';
    transition: transform .2s;
}
.link-arrow:hover { color: var(--blue-dark); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }

.nav-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.3px;
    display: flex;
    gap: 5px;
}
.nav-logo__k { color: var(--navy); }
.nav-logo__a { color: var(--blue); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    padding: 4px 0;
    transition: color .2s;
    position: relative;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--blue); }
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--blue);
}

.nav-cta {
    padding: 10px 24px;
    background: var(--red);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all .2s;
}
.nav-cta:hover {
    background: #c4152f;
}

.nav-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}
.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all .3s;
}
.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO (with form)
   ============================================ */
.hero {
    padding: 110px 0 60px;
    background: #fff;
}

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

.hero-partner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--bg-gray);
    border-radius: 6px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    max-width: 100%;
}
.hero-partner img {
    max-width: 120px;
    height: auto;
}
.hero-partner span {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--blue);
}

.hero h1 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text > p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-systems {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 560px;
    margin: 0 0 32px;
}
.hero-systems__item {
    background: rgba(83, 187, 229, .08);
    border-left: 3px solid var(--blue, #53bbe5);
    padding: 12px 14px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero-systems__item strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy, #1a2744);
    letter-spacing: .3px;
}
.hero-systems__item span {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-light);
}
@media (max-width: 640px) {
    .hero-systems { grid-template-columns: 1fr; }
}

/* QUASIDA SUMMARY BOX */
.quasida-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.quasida-summary__item {
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 10px;
    padding: 20px 22px;
    text-align: center;
}
.quasida-summary__item strong {
    display: block;
    font-size: 18px;
    color: var(--navy, #1a2744);
    margin-bottom: 6px;
    letter-spacing: .3px;
}
.quasida-summary__item span {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}
@media (max-width: 640px) {
    .quasida-summary { grid-template-columns: 1fr; }
}

/* HERO FORM */
.hero-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-form-box {
    background: var(--navy);
    border-radius: 16px;
    padding: 40px 32px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(26, 39, 68, .2);
}
.hero-form-box h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 8px;
}
.hero-form-box > p {
    color: rgba(255,255,255,.6);
    font-size: 14px;
    margin-bottom: 24px;
}

.quick-form .form-group {
    margin-bottom: 14px;
}
.quick-form .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 6px;
}
.quick-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    cursor: pointer;
    transition: all .2s;
}
.quick-form select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 163, 224, .15);
}
.quick-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    transition: all .2s;
}
.quick-form input::placeholder {
    color: #999;
}
.quick-form input:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 163, 224, .15);
}
.quick-form .btn {
    margin-top: 8px;
}

/* ============================================
   CERT STRIP
   ============================================ */
.cert-strip {
    padding: 0;
    margin-top: -1px;
    background: #fff;
}
.cert-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 32px 0 48px;
    border-top: 1px solid var(--border);
}
.cert-strip__item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.cert-strip__item img {
    flex-shrink: 0;
    height: 30px;
    width: auto;
}
.cert-strip__logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--navy, #1a2744);
    border-radius: 8px;
    padding: 10px 16px;
    flex-shrink: 0;
}
.cert-strip__logo-box img {
    height: 24px;
    width: auto;
    display: block;
}

/* Dark background wrapper for white logos (e.g. QUASIDA) */
.logo-dark-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--navy, #1a2744);
    border-radius: 6px;
    padding: 8px 14px;
    vertical-align: middle;
}
.logo-dark-box img {
    display: block;
    height: 20px;
    width: auto;
}
.logo-dark-box--lg { padding: 14px 22px; border-radius: 10px; }
.logo-dark-box--lg img { height: 40px; }
.logo-dark-box--sm { padding: 4px 8px; border-radius: 4px; }
.logo-dark-box--sm img { height: 14px; }
.cert-strip__item div {
    min-width: 0;
}
.cert-strip__item strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
}
.cert-strip__item span {
    font-size: 13px;
    color: var(--text-light);
}
.cert-strip__divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 0;
}
.section--gray { background: var(--bg-gray); }
.section--blue { background: var(--navy); }

.section-head {
    text-align: center;
    margin-bottom: 48px;
}
.section-head h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
}
.section-head p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 540px;
    margin: 0 auto;
}
.section-head--white h2 { color: #fff; }
.section-head--white p { color: rgba(255,255,255,.6); }

/* PAGE HEADER */
.page-header {
    padding: 110px 0 48px;
    background: var(--navy);
    text-align: center;
}
.page-header h1 {
    font-size: 40px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
}
.page-header p {
    font-size: 16px;
    color: rgba(255,255,255,.6);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   SOLUTIONS GRID (homepage - 3 cards)
   ============================================ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.solution-card {
    background: #fff;
    border-radius: 12px;
    padding: 36px 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,.04);
    border-top: 4px solid var(--border);
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.solution-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
    transform: translateY(-3px);
}
.solution-card--green { border-top-color: var(--green); }
.solution-card--yellow { border-top-color: var(--helios); }
.solution-card--red { border-top-color: var(--red); }

.solution-card__badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-gray);
    color: var(--text-light);
    margin-bottom: 16px;
    align-self: flex-start;
}
.solution-card h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.3;
}
.solution-card > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 14px;
}
.solution-card__list {
    margin-bottom: 20px;
    flex-grow: 1;
}
.solution-card__list li {
    padding: 5px 0 5px 22px;
    position: relative;
    font-size: 14px;
    color: var(--text);
}
.solution-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}
.solution-card__note {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px solid var(--border);
}
.solution-card .btn {
    align-self: flex-start;
    padding: 12px 28px;
    font-size: 13px;
}

/* ============================================
   PROBLEMS GRID
   ============================================ */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.problem-card {
    background: #fff;
    padding: 28px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    transition: all .25s;
}
.problem-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.problem-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0, 163, 224, .1);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.problem-card h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

/* ============================================
   TARGET GRID (pre koho)
   ============================================ */
.target-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.target-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    transition: all .25s;
}
.target-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
}
.target-card__icon {
    color: var(--blue);
    margin-bottom: 16px;
}
.target-card h4 {
    font-size: 15px;
    font-weight: 700;
}

/* ============================================
   STEPS (homepage - numbered)
   ============================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step { text-align: center; }
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 20px;
}
.step__img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 4/3;
}
.step__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.step h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   BENEFITS (blue section)
   ============================================ */
.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.benefit__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--blue);
}
.benefit h3 {
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
}
.benefit p {
    font-size: 14px;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--blue);
    padding: 56px 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.cta-text h2 {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}
.cta-text p {
    color: rgba(255,255,255,.75);
    font-size: 15px;
}
.cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta-section {
    background: #fff;
}
.final-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.final-cta h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
}
.final-cta > p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 28px;
}
.final-cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.final-cta__contact {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.final-cta__contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    transition: color .2s;
}
.final-cta__contact a:hover { color: var(--blue); }
.final-cta__contact svg { color: var(--blue); }
.final-cta__note {
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
    padding: 12px 20px;
    background: rgba(39, 174, 96, .08);
    border-radius: 6px;
    display: inline-block;
}

/* ============================================
   PRODUCT DETAIL (produkty.html)
   ============================================ */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 56px;
}
.product-detail--reverse { direction: rtl; }
.product-detail--reverse > * { direction: ltr; }

.product-detail__badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.product-detail__badge--helios {
    background: rgba(226, 141, 52, .12);
    color: var(--helios);
}
.product-detail__logo { margin-bottom: 8px; }
.product-detail__content h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 16px;
}
.product-detail__content p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 12px;
}
.product-detail__content .btn { margin-top: 16px; }

.product-detail__visual {
    border-radius: 12px;
    overflow: hidden;
}
.product-detail__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PRODUCT FEATURES LIST */
.product-features {
    margin: 16px 0 8px;
}
.product-features li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}
.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

/* MODULES GRID */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.module-card {
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all .25s;
}
.module-card:hover {
    border-color: var(--blue);
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.module-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(226, 141, 52, .1);
    color: var(--helios);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.module-card__icon--blue {
    background: rgba(0, 174, 232, .1);
    color: var(--blue);
}
.module-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}
.module-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   SERVICE BLOCKS (sluzby.html)
   ============================================ */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 64px;
}
.service-block:last-child { margin-bottom: 0; }
.service-block--reverse { direction: rtl; }
.service-block--reverse > * { direction: ltr; }

.service-block__img {
    border-radius: 12px;
    overflow: hidden;
}
.service-block__img img {
    width: 100%;
    display: block;
}
.service-block__num {
    font-size: 48px;
    font-weight: 900;
    color: var(--blue);
    opacity: .2;
    line-height: 1;
    margin-bottom: 8px;
}
.service-block__content h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 16px;
}
.service-block__content p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 20px;
}
.service-block__content ul {
    list-style: none;
}
.service-block__content li {
    padding: 6px 0 6px 24px;
    position: relative;
    font-size: 14px;
    color: var(--text);
}
.service-block__content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

/* ============================================
   ABOUT (o-nas.html)
   ============================================ */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-intro__text h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
}
.about-intro__text p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 14px;
}
.about-intro__img {
    border-radius: 12px;
    overflow: hidden;
}

/* VALUES */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.value-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.value-card__icon {
    color: var(--blue);
    margin-bottom: 16px;
}
.value-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.value-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* STATS */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    text-align: center;
}
.stat-item__num {
    display: block;
    font-size: 56px;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-item__label {
    font-size: 14px;
    color: rgba(255,255,255,.55);
}

/* PARTNER BLOCK */
.partner-block {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
    background: var(--bg-gray);
    border-radius: 12px;
}
.partner-block--dark {
    background: var(--navy);
}
.partner-block--dark .partner-block__text h2 {
    color: #fff;
}
.partner-block--dark .partner-block__text p {
    color: rgba(255,255,255,.6);
}
.partner-block__logos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.partner-block--dark .partner-block__logos img {
    filter: brightness(0) invert(1);
    opacity: .85;
}
.partner-block__text h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 16px;
}
.partner-block__text p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 12px;
}

/* ============================================
   CONTACT (kontakt.html)
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}
.contact-info h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 28px;
}
.contact-info__item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-info__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(0, 163, 224, .1);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info__item strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 2px;
}
.contact-info__item span {
    display: block;
    font-size: 15px;
    color: var(--navy);
    line-height: 1.5;
}
.contact-info__item a {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
    transition: color .2s;
}
.contact-info__item a:hover { color: var(--blue); }

.contact-info__partner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-gray);
    border-radius: 8px;
    margin: 32px 0 20px;
}
.contact-info__partner span {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
}

/* Dark variant for better Asseco logo visibility */
.contact-info__partner--dark {
    background: var(--navy);
    padding: 20px;
}
.contact-info__partner--dark span {
    color: #fff;
}
.contact-info__partner--dark img {
    filter: brightness(0) invert(1);
}

.contact-info__certs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-info__cert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
}
.contact-info__cert--dark {
    background: var(--navy);
    border-color: var(--navy);
}
.contact-info__cert--dark span {
    color: rgba(255,255,255,.7);
}
.contact-info__cert span {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

/* FORM */
.contact-form-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.contact-form-wrap h2 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 6px;
}
.contact-form-wrap > p {
    color: var(--text-light);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: var(--bg-gray);
    transition: all .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 163, 224, .1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }

.form-group--check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.form-group--check input {
    width: auto;
    margin-top: 3px;
}
.form-group--check label {
    font-weight: 400;
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy);
    padding: 56px 0 0;
    color: rgba(255,255,255,.6);
}
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col--brand p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 14px;
}
.footer-logos {
    margin-top: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
}
.footer-logos img { opacity: .5; height: 18px !important; width: auto !important; max-width: 120px; }

.footer-col h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,.5);
    margin-bottom: 8px;
    transition: color .2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-form-wrap { max-width: 500px; }
    .hero h1 { font-size: 34px; }
    .solutions-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .problems-grid { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .benefits { grid-template-columns: repeat(2, 1fr); }
    .target-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail { grid-template-columns: 1fr; gap: 32px; }
    .product-detail--reverse { direction: ltr; }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .service-block { grid-template-columns: 1fr; gap: 32px; }
    .service-block--reverse { direction: ltr; }
    .about-intro { grid-template-columns: 1fr; gap: 32px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-block { grid-template-columns: 1fr; }
    .partner-block__logos { flex-direction: row; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .cta-inner { flex-direction: column; text-align: center; }
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        gap: 0;
    }
    .nav-menu.active { display: flex; }
    .nav-menu li { border-bottom: 1px solid var(--border); }
    .nav-menu a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
    }
    .nav-menu a.active::after { display: none; }
    .nav-cta { display: none; }
    .nav-burger { display: flex; }

    .hero { padding: 90px 0 48px; }
    .hero h1 { font-size: 28px; }
    .hero-partner img { max-width: 80px; }
    .hero-partner span { font-size: 10px; }
    .hero-form-box { padding: 28px 24px; }
    .cert-strip__inner { flex-direction: column; gap: 20px; align-items: stretch; }
    .cert-strip__divider { width: 100%; height: 1px; }
    .cert-strip__item { gap: 12px; }
    .cert-strip__item img { height: 24px; }
    .problems-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr 1fr; }
    .benefits { grid-template-columns: 1fr; }
    .target-grid { grid-template-columns: 1fr 1fr; }
    .modules-grid { grid-template-columns: 1fr; }
    .stats-row { flex-direction: column; gap: 32px; }
    .stat-item__num { font-size: 44px; }
    .values-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 24px; }
    .page-header h1 { font-size: 32px; }
    .section-head h2 { font-size: 26px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 24px; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { text-align: center; justify-content: center; }
    .problems-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .target-grid { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { text-align: center; justify-content: center; }
    .contact-form-wrap { padding: 24px; }
    .final-cta__actions { flex-direction: column; }
    .final-cta__actions .btn { justify-content: center; }
    .final-cta__contact { flex-direction: column; gap: 12px; }
}
