/*
 * Účetnictví bez účetnictví
 * Design od nuly – jediná povinná barva: #079D2E (logo)
 */

:root {
    /* Jediná povinná barva – z loga */
    --green: #079D2E;
    --green-dark: #056b20;
    --green-hover: #068528;

    /* Neutrální paleta */
    --white: #fff;
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-500: #71717a;
    --gray-700: #3f3f46;
    --gray-900: #18181b;

    --text: var(--gray-900);
    --heading: #233746;
    --text-muted: var(--gray-600, #52525b);

    --radius: 10px;
    --radius-lg: 14px;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.07);
}

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

html {
    scroll-behavior: smooth;
    font-size: 18px;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

main {
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.25rem;
    box-sizing: border-box;
}

/* ========== HEADER / NAVIGACE ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 0.25rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 5px 0;
}

.logo:hover {
    opacity: 0.9;
}

.logo-img {
    width: 200px;
    height: auto;
    max-height: 48px;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-700);
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s, opacity 0.2s;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.15s;
}

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

/* ========== BUTTONS (sjednocený styl jako v hero) ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 21px 38px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 4px 14px rgba(7, 157, 46, 0.4);
}

.nav .btn-nav-cta {
    padding: 12px 24px;
    font-size: 14px;
    background: var(--green);
    color: #fff;
    box-shadow: 0 4px 14px rgba(7, 157, 46, 0.4);
}

.btn-primary:hover {
    background: #0aab38;
    color: #fff;
    box-shadow: 0 6px 20px rgba(7, 157, 46, 0.45);
}

.nav .btn-nav-cta {
    color: #fff !important;
}

.nav .btn-nav-cta:hover {
    background: #0aab38;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(7, 157, 46, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
}

.btn-secondary:hover {
    background: rgba(7, 157, 46, 0.08);
    color: var(--green-dark);
    border-color: var(--green-dark);
}

/* ========== HERO – fotka v pozadí + tmavý overlay ========== */
.hero {
    position: relative;
    padding: 7rem 0;
    background: #0c2330;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(12, 35, 48, 0.92) 0%, rgba(12, 35, 48, 0.88) 50%, rgba(12, 35, 48, 0.92) 100%),
        url('../hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 75% 40%, rgba(7, 157, 46, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    gap: 3.5rem;
    align-items: center;
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.hero-tagline {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
}

.hero-subtitle {
    margin: 0 0 1.25rem;
    font-size: 22px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    max-width: 28em;
}

.hero-benefits {
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}

.hero-benefits li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 22px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.hero-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.15em;
    height: 1.15em;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.7em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero – stejný styl jako .btn + .btn-primary / outline na tmavém */
.btn-hero-primary {
    background: var(--green);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(7, 157, 46, 0.4);
}

.btn-hero-primary:hover {
    background: #0aab38;
    color: #fff;
    box-shadow: 0 6px 20px rgba(7, 157, 46, 0.45);
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.75);
    padding: 19px 36px;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

/* Pravá strana – obrázek */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-right-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* ========== SECTIONS ========== */
.section {
    padding: 4rem 0;
}

.section-title {
    margin: 0 0 2.25rem;
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 800;
    color: var(--heading);
    text-align: center;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

/* ========== PROČ S NÁMI SPOLUPRACOVAT (O NÁS) – široké, moderní jako iÚčto ========== */
.section-about {
    background: var(--white);
}

.container--about {
    max-width: 1200px;
}

.section-title--about {
    text-align: left;
    margin-bottom: 2rem;
    font-size: clamp(1.75rem, 3.2vw, 2.25rem);
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.about-content {
    max-width: 100%;
    margin: 0;
}

.about-content h2,
.about-content h3,
.about-content h4 {
    color: var(--heading);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.25;
    margin: 2rem 0 0.75rem;
}

.about-content h2:first-child { margin-top: 0; }

.about-content h2 { font-size: 1.5rem; }
.about-content h3 { font-size: 1.25rem; }
.about-content h4 { font-size: 1.1rem; }

.about-content p {
    margin: 0 0 1.5rem;
    color: #333;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content ul {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
    color: #333;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.about-content li {
    margin-bottom: 0.75rem;
}

.about-content li:last-child {
    margin-bottom: 0;
}

/* ========== PŘECHOD K NÁM – vlastní sekce (šedé pozadí, CTA) ========== */
.section-prechod {
    position: relative;
    background: var(--gray-100);
    padding: 4rem 0;
    overflow: visible;
}

.prechod-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 100% 50%, rgba(7, 157, 46, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    pointer-events: none;
}

.prechod-inner {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 2.5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.prechod-content-wrap {
    min-width: 0;
    text-align: left;
}

.prechod-visual {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.prechod-illustration {
    width: 100%;
    height: auto;
    display: block;
}

.prechod-title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.prechod-content {
    text-align: left;
    max-width: 52em;
    margin-bottom: 2rem;
}

.prechod-content ul {
    margin: 0 0 0.5rem;
    padding-left: 0;
    list-style: none;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.prechod-content li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.25rem;
}

.prechod-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.5em;
    height: 0.5em;
    background: var(--green);
    border-radius: 50%;
}

.prechod-content li:last-child {
    margin-bottom: 0;
}

.btn-prechod-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--green);
    color: #fff;
    border: none;
    padding: 1rem 1.75rem;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 4px 14px rgba(7, 157, 46, 0.35);
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-prechod-cta:hover {
    background: var(--green-hover);
    color: #fff;
    box-shadow: 0 6px 20px rgba(7, 157, 46, 0.4);
}

.btn-prechod-cta::after {
    content: '→';
    font-weight: 700;
}

/* ========== SLUŽBY (karty jako na referenci) ========== */
.section-services {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: none;
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-card-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    flex-shrink: 0;
    color: var(--green);
    line-height: 0;
}

.service-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.service-short {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-700);
    flex-grow: 1;
}

.service-details {
    margin-top: auto;
}

.service-btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.7rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    background: var(--green);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(7, 157, 46, 0.25);
}

.service-btn-more::-webkit-details-marker {
    display: none;
}

a.service-btn-more {
    text-decoration: none;
    text-align: center;
}

.service-btn-more:hover {
    background: #056b20;
    box-shadow: 0 4px 12px rgba(7, 157, 46, 0.35);
}

.service-details[open] .service-btn-more {
    margin-bottom: 1rem;
}

.service-long {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-700);
    padding-top: 0.5rem;
}

.service-long p {
    margin: 0 0 0.5rem;
}

.service-long p:last-child {
    margin-bottom: 0;
}

/* ========== REFERENCE – přesně podle obrázku (3 karty, hvězdy 4/5, vlna, bílý kruh) ========== */
.section-refs {
    background: var(--gray-50);
}

.section-refs .ref-intro {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    color: var(--gray-700);
}

.ref-intro-desc {
    margin: 0.5rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.5;
    color: var(--gray-600);
}

.ref-intro h2, .ref-intro h3, .ref-intro h4,
.contact-intro h2, .contact-intro h3, .contact-intro h4 {
    color: var(--heading);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 1rem 0 0.5rem;
}

/* Nadpis Reference/Kontakt – stejná velikost jako ostatní section-title */
.ref-intro h2.section-title,
.contact-intro h2.section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    margin: 0 0 2.25rem;
}

.ref-intro h2.section-title {
    margin-bottom: 0.75rem;
}

.ref-intro-desc {
    margin-top: 0;
}

.ref-intro h2:not(.section-title), .contact-intro h2:not(.section-title) { font-size: 1.35rem; }
.ref-intro h3, .contact-intro h3 { font-size: 1.15rem; }
.ref-intro h4, .contact-intro h4 { font-size: 1.05rem; }

.refs-slider {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    container-type: inline-size;
    overflow-x: hidden;
}

.refs-nav-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
}

.refs-slider-bar {
    flex: 1;
    min-width: 0;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.refs-slider-fill {
    display: block;
    height: 100%;
    min-width: 0;
    width: 0;
    background: var(--green);
    border-radius: 3px;
    transition: width 0.2s ease;
}

.refs-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--green);
    background: var(--white);
    color: var(--green);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.refs-arrow:hover {
    background: var(--green);
    color: var(--white);
}

/* Viewport nahoře na celou šířku, pod ním šipky a pruh – recenze může být široká */
.refs-viewport {
    width: 100%;
    max-width: 100%;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.refs-viewport::-webkit-scrollbar {
    height: 0;
    display: none;
}

.refs-track {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 0;
    flex: 1;
    min-width: 0;
}

.ref-card {
    scroll-snap-align: center;
    flex: 0 0 calc((100cqw - 3rem) / 3);
    min-width: 0;
    margin: 0;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ref-card-top {
    padding: 1.5rem 1.5rem 1.25rem;
}

.ref-card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ref-stars {
    display: inline-flex;
    gap: 2px;
}

.ref-star {
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ref-star-full {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23EAB308'%3E%3Cpath d='M12 2l3 6 6 1-4 4 1 6-6-3-6 3 1-6-4-4 6-1z'/%3E%3C/svg%3E");
}

.ref-star-empty {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EAB308' stroke-width='2'%3E%3Cpath d='M12 2l3 6 6 1-4 4 1 6-6-3-6 3 1-6-4-4 6-1z'/%3E%3C/svg%3E");
}

.ref-rating-num {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}

.ref-card-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-700);
}

.ref-card-wave {
    line-height: 0;
    margin-top: auto;
}

.ref-card-wave svg {
    display: block;
    vertical-align: top;
}

.ref-card-wave path {
    fill: var(--green);
}

.ref-card-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--green);
    color: var(--white);
}

.ref-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--green);
    color: var(--green);
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-card-author {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.ref-card cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
}

.ref-obor {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
    /* Track široký na 5 karet; každá karta = 20% tracku = 100% šířky viewportu */
    .refs-track {
        width: 500%;
    }

    .ref-card {
        flex: 0 0 20%;
        min-width: 0;
        max-width: none;
        box-sizing: border-box;
    }

    .ref-card-text,
    .ref-card-author {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    /* Na telefonu pruh průběhu neukazujeme (problémy s poslední pozicí); šipky roztáhneme vlevo–vpravo */
    .refs-slider-bar {
        display: none;
    }

    .refs-nav-row {
        justify-content: space-between;
    }
}

/* ========== KONTAKT ========== */
.section-contact {
    background: var(--gray-100);
    overflow-x: hidden;
}

.section-contact .container {
    max-width: 1200px;
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    min-width: 0;
}

/* Levý panel – fotka jako v hero, šedý overlay */
.contact-panel {
    position: relative;
    color: var(--white);
    padding: 2.75rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    overflow: hidden;
}

/* Obrázek v pozadí – načítá se jako <img> s $base, nezávisle na hero */
.contact-panel-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.contact-panel-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(135deg, rgba(55, 65, 75, 0.92) 0%, rgba(45, 55, 65, 0.95) 50%, rgba(55, 65, 75, 0.92) 100%);
}

.contact-panel-bg-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 75% 40%, rgba(7, 157, 46, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

.contact-panel > *:not(.contact-panel-bg-img):not(.contact-panel-bg-overlay) {
    position: relative;
    z-index: 1;
}

.contact-panel-headline {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: var(--white);
}

.contact-panel-accent {
    color: var(--green);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-person {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-person-qr {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-qr-generated {
    display: block;
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 8px;
    padding: 4px;
    box-sizing: border-box;
    object-fit: contain;
}


.contact-person-name {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 1.0625rem;
    color: var(--white);
    font-weight: 700;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0 0;
    font-size: 0.9375rem;
}

.contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.contact-person-data a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.contact-person-data a:hover {
    color: var(--green);
    text-decoration: none;
}

.contact-facturace {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-facturace h3 {
    margin: 0 0 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--white);
}

.facturace-text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--white);
}

.facturace-text p {
    margin: 0.35rem 0;
}

/* Pravá karta – formulář */
.contact-form-card {
    background: var(--white);
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    display: block;
    margin: 1rem 0 0.35rem;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text);
}

/* Honeypot – kontejner nulové šířky/výšky, input uvnitř nemůže způsobit scroll */
.contact-form .hp-wrap {
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(100%);
    white-space: nowrap;
    border: 0;
    pointer-events: none;
}

.contact-form .hp-wrap label,
.contact-form .hp-wrap input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.contact-form--card input[type="text"],
.contact-form--card input[type="email"],
.contact-form--card input[type="tel"] {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    font: inherit;
    font-size: 1rem;
    margin-top: 0.35rem;
    background: var(--white);
}

.contact-form--card input::placeholder {
    color: var(--gray-400);
}

.contact-form--card input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(7, 157, 46, 0.12);
}

.contact-form--card textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    font: inherit;
    font-size: 1rem;
    margin-top: 0.35rem;
    resize: vertical;
}

.contact-form--card textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(7, 157, 46, 0.12);
}

.contact-form-gdpr {
    margin: 1rem 0 0;
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.45;
}

.contact-form-gdpr a {
    color: var(--green);
    text-decoration: underline;
}

.contact-form-gdpr a:hover {
    color: var(--green);
    text-decoration: none;
}

.btn-contact-submit {
    margin-top: 1rem;
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
}

.form-success,
.form-error {
    padding: 1rem;
    border-radius: var(--radius);
}

.form-success {
    background: rgba(7, 157, 46, 0.1);
    color: var(--green-dark);
}

.form-error {
    background: #fef2f2;
    color: #b91c1c;
}

/* ========== FOOTER ========== */
.footer {
    background: #0c2330;
    color: rgba(255, 255, 255, 0.9);
    padding: 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 2.5rem 3rem;
    padding: 2.5rem 0 2rem;
}

.footer-col-brand {
    max-width: 480px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-logo {
    display: block;
    margin-bottom: 0;
}

.footer-logo-img {
    display: block;
    height: auto;
    max-height: 48px;
    width: auto;
    max-width: 180px;
}

.footer-facturace {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-facturace-line {
    margin: 0.2rem 0 0;
}

.footer-facturace-line:first-child {
    margin-top: 0;
}

.footer-desc {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.footer-col-title {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--green);
}

.footer-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-copy {
    margin: 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-copy a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-copy a:hover {
    color: var(--green);
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 1.5rem;
}

.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-contact-item:hover {
    color: var(--green);
}

.footer-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
}

.footer a {
    color: var(--white);
    text-decoration: none;
}

.footer a:hover {
    color: var(--green);
}

/* ========== LP SLUŽBY – článek (bez boxu, jako článek) ========== */
.lp-service {
    padding: 3rem 0 4.5rem;
    background: var(--white);
}

.lp-service-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    margin-bottom: 50px;
}

.lp-service-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--green);
    text-decoration: none;
}

.lp-service-back:hover {
    color: var(--green-dark);
    text-decoration: underline;
}

.lp-service h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--heading);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.lp-service h1::after {
    content: '';
    display: block;
    width: 3rem;
    height: 4px;
    background: var(--green);
    border-radius: 2px;
    margin-top: 1rem;
}

.lp-service-lead {
    font-size: 1.2rem;
    line-height: 1.65;
    color: var(--gray-700);
    margin: 1.5rem 0 2rem;
}

.lp-service-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text);
}

.lp-service-content p {
    margin: 0 0 1.25rem;
}

.lp-service-content p:last-child {
    margin-bottom: 0;
}

.lp-service-cta {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.lp-service-cta .btn {
    display: inline-flex;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.25rem;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    }

    .nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 1.25rem 0 2rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 64px);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero h1 {
        text-align: left;
    }

    .hero-tagline {
        text-align: left;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-benefits {
        max-width: 22em;
        margin-left: 0;
        margin-right: auto;
        text-align: left;
    }

    .hero-benefits li {
        font-size: 18px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-right-img {
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
    }

    .logo-img {
        width: 180px;
        max-height: 44px;
    }

    .section {
        padding: 3rem 0;
    }

    .section-prechod {
        padding: 3rem 0;
    }

    .prechod-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .prechod-visual {
        display: none;
    }

    .prechod-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .contact-form-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .contact-form label {
        margin: 0.6rem 0 0.15rem;
    }

    .contact-form--card input[type="text"],
    .contact-form--card input[type="email"],
    .contact-form--card input[type="tel"] {
        padding: 0.5rem 1rem;
        margin-top: 0.15rem;
    }

    .contact-form--card textarea {
        padding: 0.5rem 1rem;
        margin-top: 0.15rem;
    }

    .contact-person {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-person-qr {
        margin-bottom: 0.25rem;
    }

    .contact-person-data {
        min-width: 0;
        width: 100%;
    }

    .contact-person-data a,
    .contact-row {
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: left;
        padding: 2rem 0 1.5rem;
    }

    .footer-col-brand {
        max-width: none;
    }

    .footer-nav {
        align-items: flex-start;
    }

    .footer-bar {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }

    .footer-contact {
        justify-content: flex-start;
    }

}

@media (max-width: 480px) {
    .logo-img {
        width: 150px;
        max-width: 72vw;
        max-height: 40px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn-hero-primary,
    .hero-cta .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }

    .btn-prechod-cta {
        width: 100%;
        justify-content: center;
    }
}
