/* =========================================================
   cipek.tech v6
   Stručný technický design. Přehlednost před pozlátkem.
   ========================================================= */

/* 01. Proměnné
   ========================================================= */
:root {
    --bg: #05080e;
    --bg-2: #08111e;
    --panel: #0d1726;
    --panel-2: #111f33;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.22);
    --text: #f0f6ff;
    --muted: #a8b5c9;
    --muted-2: #7e8aa0;
    --cyan: #29d6ff;
    --blue: #4d82ff;
    --green: #46f0a6;
    --max: 1520px;
    --radius: 22px;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

/* 02. Základ
   ========================================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px),
        radial-gradient(circle at 14% 0%, rgba(41, 214, 255, 0.16), transparent 30rem),
        linear-gradient(180deg, var(--bg), #04060b 70%);
    background-size: 48px 48px, 48px 48px, auto, auto;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: min(var(--max), calc(100% - 64px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: 10px;
    left: -999px;
    z-index: 100;
    padding: 8px 12px;
    background: white;
    color: black;
}

.skip-link:focus {
    left: 10px;
}

.kicker {
    margin-bottom: 14px;
    color: var(--cyan);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.muted {
    color: var(--muted);
}

/* 03. Header
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 8, 14, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    width: 210px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    padding: 9px 11px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 750;
    text-decoration: none;
    transition: 0.16s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(255, 255, 255, 0.075);
}

.main-nav .nav-cta {
    color: #04121d;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    font-weight: 950;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 800;
}

/* 04. Tlačítka a odkazy
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-weight: 950;
    text-decoration: none;
    transition: 0.16s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    border: 0;
    color: #04121d;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    box-shadow: 0 18px 40px rgba(41, 214, 255, 0.18);
}

.btn-ghost,
.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.055);
}

.text-link {
    color: var(--cyan);
    font-weight: 900;
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* 05. Hero
   ========================================================= */
.hero-system {
    min-height: 680px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(90deg, rgba(5, 8, 14, 0.98) 0%, rgba(5, 8, 14, 0.92) 36%, rgba(5, 8, 14, 0.55) 68%, rgba(5, 8, 14, 0.25) 100%),
        url('../img/hero-bg.webp') center right / cover no-repeat;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.65fr);
    gap: 56px;
    align-items: center;
    padding: 90px 0 105px;
}

.hero-copy h1 {
    max-width: 940px;
    margin: 0 0 20px;
    font-size: clamp(4rem, 8vw, 8.4rem);
    line-height: 0.88;
    letter-spacing: -0.08em;
}

.hero-copy p {
    max-width: 620px;
    margin: 0;
    color: #c4d2ea;
    font-size: clamp(1.05rem, 1.45vw, 1.22rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.service-index {
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    background: rgba(5, 8, 14, 0.56);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.service-index a {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 10px 14px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.service-index a:last-child {
    border-bottom: 0;
}

.service-index span {
    color: var(--cyan);
    font-weight: 950;
}

.service-index strong {
    font-size: 1.15rem;
    line-height: 1.15;
}

.service-index em {
    grid-column: 2;
    color: var(--muted);
    font-style: normal;
    font-size: 0.94rem;
}

/* 06. Sekce
   ========================================================= */
.section {
    padding: 86px 0;
}

.section-tight {
    padding: 56px 0;
}

.section-tight-top {
    padding-top: 62px;
}

.section-head {
    max-width: 720px;
}

.section-head.compact {
    max-width: 560px;
}

.section-head h2,
.intro-grid h2,
.section-title-row h2,
.reference-layout h2,
.final-cta h2,
.page-hero h1,
.content-section h2 {
    margin: 0;
    font-size: clamp(2rem, 3.35vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.section-head p,
.intro-grid p,
.reference-layout p {
    margin: 18px 0 0;
    color: var(--muted);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
    gap: 44px;
    align-items: start;
}

.intro-grid p {
    font-size: 1.08rem;
}

.section-title-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.muted-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
}

/* 07. Přehled služeb
   ========================================================= */
.service-table {
    border-top: 1px solid var(--line-strong);
}

.service-row {
    display: grid;
    grid-template-columns: 64px minmax(220px, 0.48fr) 1fr;
    gap: 24px;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    transition: 0.16s ease;
}

.service-row:hover {
    padding-left: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.row-number,
.service-row .row-number {
    color: var(--cyan);
    font-weight: 950;
}

.service-row strong {
    font-size: 1.28rem;
    line-height: 1.15;
}

.service-row p {
    margin: 0;
    color: var(--muted);
}

/* 08. Pro koho
   ========================================================= */
.audience-layout {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 48px;
    align-items: start;
}

.audience-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.audience-list div {
    min-height: 145px;
    padding: 24px;
    background: var(--bg-2);
}

.audience-list strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.12rem;
}

.audience-list span {
    color: var(--muted);
}

/* 09. Proces
   ========================================================= */
.process-layout {
    display: grid;
    grid-template-columns: 0.68fr 1.32fr;
    gap: 48px;
    align-items: start;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line-strong);
}

.process-grid div {
    min-height: 190px;
    padding: 22px 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process-grid div:last-child {
    border-right: 0;
}

.process-grid span {
    color: var(--cyan);
    font-weight: 950;
}

.process-grid strong {
    display: block;
    margin: 28px 0 8px;
    font-size: 1.16rem;
}

.process-grid p {
    margin: 0;
    color: var(--muted);
}

/* 10. Reference
   ========================================================= */
.reference-strip {
    background: radial-gradient(circle at 70% 0%, rgba(41, 214, 255, 0.10), transparent 30rem);
}

.reference-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 46px;
    align-items: center;
}

.reference-cards {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    gap: 14px;
}

.reference-cards figure {
    position: relative;
    min-height: 320px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.reference-cards img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.05) brightness(0.82);
}

.reference-cards figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(5, 8, 14, 0.78);
    backdrop-filter: blur(10px);
    font-weight: 850;
}

/* 11. Finální CTA
   ========================================================= */
.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(41, 214, 255, 0.15), rgba(77, 130, 255, 0.10));
}

.final-cta .kicker {
    margin-bottom: 8px;
}

/* 12. Podstránky
   ========================================================= */
.page-hero {
    padding: 88px 0 44px;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(circle at 80% 0%, rgba(41, 214, 255, 0.12), transparent 32rem);
}

.breadcrumb {
    margin-bottom: 28px;
    color: var(--muted-2);
    font-size: 0.92rem;
}

.breadcrumb a {
    color: var(--cyan);
    text-decoration: none;
}

.page-hero p {
    max-width: 700px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 34px;
    align-items: start;
}

.prose,
.sidebox,
.card,
.form-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.045);
}

.prose {
    padding: 32px;
}

.prose h2 {
    margin-bottom: 18px;
}

.prose p,
.prose li {
    color: var(--muted);
}

.prose ul {
    padding-left: 1.2rem;
}

.sidebox {
    position: sticky;
    top: 104px;
    padding: 26px;
}

.sidebox h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
}

.sidebox p {
    color: var(--muted);
}

.card {
    padding: 24px;
}

.card-link {
    display: block;
    min-height: 220px;
    text-decoration: none;
}

.card-link h3 {
    margin: 0 0 10px;
}

.card-link p {
    color: var(--muted);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.gallery figcaption {
    padding: 13px 15px;
    color: var(--muted);
}

.contact-panel {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
}

.form-card {
    padding: 26px;
}

.form {
    display: grid;
    gap: 14px;
}

.form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-weight: 750;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.065);
    font: inherit;
}

.form textarea {
    min-height: 160px;
    resize: vertical;
}

.form-note {
    color: var(--muted);
    font-size: 0.92rem;
}

/* 13. Footer
   ========================================================= */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 46px 0 22px;
    color: var(--muted);
    background: #03050a;
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 30px;
}

.footer-logo {
    width: 190px;
    margin-bottom: 12px;
}

.footer-nav,
.footer-contact {
    display: grid;
    gap: 9px;
    align-content: start;
}

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

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

.footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
}

/* 14. Responsivita
   ========================================================= */
@media (max-width: 1060px) {
    .hero-layout,
    .intro-grid,
    .audience-layout,
    .process-layout,
    .reference-layout,
    .content-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .service-index {
        max-width: 680px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reference-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .sidebox {
        position: static;
    }
}

@media (max-width: 900px) {
    .brand img {
        width: 170px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #07101d;
    }

    .main-nav.open {
        display: flex;
    }

    .hero-system {
        min-height: auto;
        background:
            linear-gradient(180deg, rgba(5, 8, 14, 0.98), rgba(5, 8, 14, 0.78)),
            url('../img/hero-bg-mobile.webp') center / cover no-repeat;
    }

    .hero-layout {
        padding: 70px 0 78px;
    }

    .hero-copy h1 {
        font-size: clamp(3.2rem, 16vw, 6rem);
    }

    .service-row {
        grid-template-columns: 52px 1fr;
    }

    .service-row p {
        grid-column: 2;
    }

    .audience-list,
    .grid-3,
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(var(--max), calc(100% - 22px));
    }

    .section {
        padding: 60px 0;
    }

    .hero-actions,
    .section-title-row,
    .final-cta {
        display: grid;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .service-index a {
        grid-template-columns: 36px 1fr;
        padding: 18px 0;
    }

    .audience-list,
    .grid-3,
    .gallery,
    .process-grid,
    .reference-cards {
        grid-template-columns: 1fr;
    }

    .reference-cards figure {
        min-height: 240px;
    }

    .prose,
    .sidebox,
    .form-card,
    .final-cta {
        padding: 22px;
    }
}

/* =========================================================
   v6.1 úprava homepage
   Jednoduchý hero + klikací nabídka služeb.
   ========================================================= */

.hero-simple {
    min-height: 610px;
    background:
        linear-gradient(90deg, rgba(5, 8, 14, 0.98) 0%, rgba(5, 8, 14, 0.90) 36%, rgba(5, 8, 14, 0.50) 70%, rgba(5, 8, 14, 0.28) 100%),
        url('../img/hero-bg.webp') center right / cover no-repeat;
}

.hero-layout-simple {
    grid-template-columns: 1fr;
    padding: 92px 0 108px;
}

.hero-copy-simple {
    max-width: 1120px;
}

.hero-copy-simple h1 {
    max-width: 1120px;
    font-size: clamp(3.2rem, 6.2vw, 7.2rem);
    line-height: 0.94;
    letter-spacing: -0.075em;
}

.hero-copy-simple p {
    max-width: 680px;
    font-size: clamp(1.15rem, 1.7vw, 1.42rem);
}

.offers-section {
    padding-top: 78px;
}

.offers-title-row {
    align-items: start;
    margin-bottom: 34px;
}

.offers-title-row h2 {
    max-width: 760px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.offer-card {
    display: grid;
    align-content: start;
    min-height: 360px;
    padding: 26px;
    color: var(--text);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.024));
    text-decoration: none;
    transition: 0.18s ease;
}

.offer-card:hover {
    z-index: 1;
    transform: translateY(-4px);
    background: linear-gradient(180deg, rgba(41, 214, 255, 0.12), rgba(255, 255, 255, 0.035));
    box-shadow: var(--shadow);
}

.offer-number {
    margin-bottom: 44px;
    color: var(--cyan);
    font-weight: 950;
}

.offer-card h3 {
    margin: 0 0 12px;
    font-size: 1.46rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.offer-card p {
    margin: 0 0 22px;
    color: var(--muted);
}

.offer-card ul {
    display: grid;
    gap: 8px;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
    color: #c6d2e5;
    font-size: 0.95rem;
}

.offer-card li::before {
    content: "•";
    margin-right: 8px;
    color: var(--cyan);
}

.offer-card-wide {
    grid-column: span 2;
    min-height: 260px;
}

@media (max-width: 1060px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offer-card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .hero-simple {
        min-height: auto;
        background:
            linear-gradient(180deg, rgba(5, 8, 14, 0.98), rgba(5, 8, 14, 0.78)),
            url('../img/hero-bg-mobile.webp') center / cover no-repeat;
    }

    .hero-layout-simple {
        padding: 74px 0 86px;
    }

    .hero-copy-simple h1 {
        font-size: clamp(3rem, 13vw, 5.8rem);
    }
}

@media (max-width: 620px) {
    .offer-grid,
    .offer-card-wide {
        display: grid;
        grid-template-columns: 1fr;
    }

    .offer-card,
    .offer-card-wide {
        grid-column: auto;
        min-height: 0;
        padding: 22px;
    }

    .offer-number {
        margin-bottom: 24px;
    }
}


/* =========================================================
   v6.2 ladění homepage
   - pevné pozadí celé stránky
   - nabídka jako obrázkové klikací bannery 3 + 2
   ========================================================= */

body {
    background:
        linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px),
        linear-gradient(180deg, rgba(5, 8, 14, 0.78), rgba(5, 8, 14, 0.94) 42%, rgba(4, 6, 11, 0.98) 100%),
        url('../img/hero-bg.webp') center top / cover no-repeat fixed;
    background-size: 48px 48px, 48px 48px, auto, cover;
}

.hero-system,
.hero-simple,
.page-hero {
    background: transparent;
}

.hero-system {
    border-bottom: 1px solid var(--line);
}

.hero-simple {
    min-height: 610px;
}

.hero-layout-simple {
    padding: 92px 0 108px;
}

.offers-section {
    padding-top: 84px;
}

.centered {
    margin-inline: auto;
    text-align: center;
}

.offers-head {
    max-width: 880px;
    margin-bottom: 34px;
}

.offers-head h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4.1vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.offers-head p {
    max-width: 640px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 1.06rem;
}

.offer-banner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    align-items: stretch;
    max-width: 1520px;
    margin-inline: auto;
}

.offer-banner {
    position: relative;
    grid-column: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(160, 190, 230, 0.24);
    border-radius: 22px;
    background: rgba(9, 15, 25, 0.82);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
    isolation: isolate;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.offer-banner-4,
.offer-banner-5 {
    grid-column: auto;
}

.offer-banner img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95) contrast(1.08) brightness(0.76);
    transition: transform 0.28s ease, filter 0.28s ease;
}

.offer-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(5, 8, 14, 0.12), rgba(5, 8, 14, 0.82) 72%, rgba(5, 8, 14, 0.94)),
        linear-gradient(90deg, rgba(5, 8, 14, 0.72), rgba(5, 8, 14, 0.18));
}

.offer-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.45;
    pointer-events: none;
}

.offer-banner-content {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 0;
    display: grid;
    align-content: end;
    padding: 20px;
}

.offer-banner-content span {
    position: absolute;
    top: 24px;
    left: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 15px;
    color: var(--cyan);
    background: rgba(10, 20, 36, 0.74);
    backdrop-filter: blur(10px);
    font-weight: 950;
}

.offer-banner h3 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.offer-banner p {
    max-width: 34ch;
    margin: 0;
    color: #d2def2;
    font-size: 1rem;
}

.offer-banner:hover {
    transform: translateY(-5px);
    border-color: rgba(41, 214, 255, 0.48);
    box-shadow: 0 34px 86px rgba(0, 0, 0, 0.42), 0 0 34px rgba(41, 214, 255, 0.12);
}

.offer-banner:hover img {
    transform: scale(1.045);
    filter: saturate(1.05) contrast(1.12) brightness(0.86);
}

@media (max-width: 1060px) {
    .offer-banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offer-banner,
    .offer-banner-4,
    .offer-banner-5 {
        grid-column: auto;
    }
}

@media (max-width: 900px) {
    body {
        background:
            linear-gradient(rgba(255,255,255,0.024) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.024) 1px, transparent 1px),
            linear-gradient(180deg, rgba(5, 8, 14, 0.88), rgba(5, 8, 14, 0.97)),
            url('../img/hero-bg-mobile.webp') center top / cover no-repeat;
        background-size: 48px 48px, 48px 48px, auto, cover;
    }

    .hero-system,
    .hero-simple {
        background: transparent;
    }
}

@media (max-width: 620px) {
    .offer-banner-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .offer-banner,
    .offer-banner-4,
    .offer-banner-5 {
    grid-column: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
}

.offer-banner-content {
    min-height: 0;
    padding: 24px;
}

    .offer-banner-content span {
        top: 20px;
        left: 24px;
    }
}

.hero h1 {
    white-space: nowrap;
    text-wrap: nowrap;
    max-width: none;
    font-size: clamp(2.6rem, 4.6vw, 5.2rem);
}

/* Ladění sekce Co nabízíme */

/* Nadpis sekce na jeden řádek na desktopu */
@media (min-width: 1200px) {
    .offer-section h2,
    .section-offer h2,
    .offer-head h2 {
        white-space: nowrap;
        text-wrap: nowrap;
        max-width: none;
        font-size: clamp(2.4rem, 3.4vw, 4rem);
    }
}

/* Text v bannerech na střed */
.offer-banner-content {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px;
    text-align: center;
}

/* Zrušení čísel 01, 02, 03... */
.offer-banner-content span {
    display: none;
}

/* Nadpisy a popisy uvnitř bannerů */
.offer-banner-content h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    line-height: 1.12;
    text-align: center;
}

.offer-banner-content p {
    margin: 0;
    max-width: 90%;
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: center;
}

.services-offer h2,
.offer-title,
.services-title {
    white-space: nowrap;
    text-wrap: nowrap;
    max-width: none;
}


/* =========================================================
   Finální ladění homepage
   - hero nadpis na jeden řádek na desktopu
   - bannery sjednocené napříč sekcemi
   - texty ve spodní části karet ve stejné úrovni
   ========================================================= */

/* Hero: jeden řádek pouze tam, kde je na to prostor */
@media (min-width: 1280px) {
    .hero-copy-simple {
        max-width: none;
        width: 100%;
    }

    .hero-copy-simple h1 {
        max-width: none;
        white-space: nowrap;
        text-wrap: nowrap;
        font-size: clamp(3.4rem, 4.9vw, 5.9rem);
        line-height: 0.94;
        letter-spacing: -0.07em;
    }
}

@media (min-width: 1600px) {
    .hero-copy-simple h1 {
        font-size: clamp(4rem, 5.2vw, 6.7rem);
    }
}

/* Všechny homepage nadpisy sekcí stejným systémem */
.offers-head {
    max-width: none;
    width: 100%;
    margin-inline: auto;
    margin-bottom: 34px;
    text-align: center;
}

.offers-head h2 {
    margin: 0;
    font-size: clamp(2.25rem, 3.2vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

@media (min-width: 1280px) {
    .offers-head h2 {
        white-space: nowrap;
        text-wrap: nowrap;
    }
}

.offers-head p {
    max-width: 680px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 1.06rem;
}

/* Společné rozložení pro karty */
.offer-banner-grid,
.info-banner-grid,
.reference-banner-grid {
    display: grid;
    gap: 18px;
    align-items: stretch;
    margin-inline: auto;
}

.offer-banner-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 1520px;
}

.info-banner-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1220px;
}

.reference-banner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 940px;
}

/* Jeden vzhled pro klikací i neklikací karty */
.offer-banner,
.offer-banner-4,
.offer-banner-5,
.info-banner,
.reference-banner {
    position: relative;
    grid-column: auto;
    aspect-ratio: 1 / 1;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(160, 190, 230, 0.24);
    border-radius: 22px;
    background: rgba(9, 15, 25, 0.82);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
    isolation: isolate;
}

.offer-banner img,
.info-banner img,
.reference-banner img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95) contrast(1.08) brightness(0.72);
    transition: transform 0.28s ease, filter 0.28s ease;
}

.offer-banner::before,
.info-banner::before,
.reference-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(5, 8, 14, 0.12), rgba(5, 8, 14, 0.50) 50%, rgba(5, 8, 14, 0.93) 100%),
        linear-gradient(90deg, rgba(5, 8, 14, 0.30), rgba(5, 8, 14, 0.18));
}

.offer-banner::after,
.info-banner::after,
.reference-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.45;
    pointer-events: none;
}

/* Text v kartách: centrovaný, ale ukotvený dole; h3 ve stejné úrovni */
.offer-banner-content {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 22px 34px;
    text-align: center;
}

.offer-banner-content span,
.offer-number {
    display: none;
}

.offer-banner h3,
.info-banner h3,
.reference-banner h3 {
    min-height: 2.45em;
    margin: 0 0 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: var(--text);
    font-size: clamp(1.22rem, 1.45vw, 1.5rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-align: center;
}

.offer-banner p,
.info-banner p,
.reference-banner p {
    min-height: 2.9em;
    max-width: 92%;
    margin: 0;
    color: #d2def2;
    font-size: 0.94rem;
    line-height: 1.42;
    text-align: center;
}

.offer-banner:hover,
.reference-banner:hover {
    transform: translateY(-5px);
    border-color: rgba(41, 214, 255, 0.48);
    box-shadow: 0 34px 86px rgba(0, 0, 0, 0.42), 0 0 34px rgba(41, 214, 255, 0.12);
}

.offer-banner:hover img,
.reference-banner:hover img {
    transform: scale(1.045);
    filter: saturate(1.05) contrast(1.12) brightness(0.84);
}

/* Sekce sjednoceně */
.audience-section,
.reference-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: transparent;
}

/* Staré layouty na homepage nepoužíváme */
.audience-layout,
.audience-list,
.reference-layout,
.reference-cards {
    display: initial;
}

/* Responzivita nových gridů */
@media (max-width: 1180px) {
    .offer-banner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 940px;
    }

    .info-banner-grid,
    .reference-banner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 660px;
    }
}

@media (max-width: 760px) {
    .offer-banner-grid,
    .info-banner-grid,
    .reference-banner-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .offer-banner-content {
        padding: 0 22px 30px;
    }

    .offer-banner h3,
    .info-banner h3,
    .reference-banner h3 {
        min-height: auto;
    }

    .offer-banner p,
    .info-banner p,
    .reference-banner p {
        min-height: auto;
    }
}
