/* ============================================================
   PORDEX / nový web
   Jediný soubor pro vzhled. Barvy a logo nastavujte zde.
   ============================================================ */
:root {
    /* Barevná paleta: modrá + bílá */
    --navy: #0b2e50;
    --navy-dark: #08233d;
    --blue: #1f63a5;
    --blue-light: #d9eafb;
    --ice: #f1f7fd;
    --cloud: #e8f1f9;
    --white: #fff;
    --text: #1c334a;
    --muted: #62778b;
    --line: #dde8f1;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 18px 54px rgba(8, 36, 65, .09);

    /* Vlastní logo: např. url('/assets/img/moje-logo.svg') */
    --logo-image: url('/assets/img/Logo_bez_pozadi.png');
    --logo-width: 75px; /* nastavte např. 58px, až dodáte logo */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: #fff; font: 16px/1.7 "Segoe UI", "Inter", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.17; letter-spacing: -.045em; }
h1 { font-size: clamp(2.8rem, 5.2vw, 5rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3.3rem); }
h3 { font-size: 1.45rem; }
p { color: var(--muted); }
.wrap { width: min(1232px, calc(100% - 64px)); margin: 0 auto; }
.narrow { max-width: 770px; }
.section { padding: clamp(70px, 8vw, 120px) 0; }
.section-light { background: var(--ice); }
.section-white { background: var(--white); }
.section-muted { background: #eaf3fb; }
.skip-link { position: fixed; top: -80px; left: 10px; z-index: 99; padding: 10px 20px; background: #fff; color: var(--navy); }
.skip-link:focus { top: 10px; }
:focus-visible { outline: 3px solid #5da6ec; outline-offset: 3px; }

/* Hlavička a navigace */
.utility-bar { background: var(--navy-dark); color: #c0d8ee; font-size: .76rem; letter-spacing: .01em; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 37px; }
.utility-bar a:hover { color: #fff; }
.dot-separator { margin: 0 14px; opacity: .5; }
.site-header { background: rgba(255,255,255,.985); position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 20px rgba(10,40,70,.045); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 40px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--navy); }
.brand-logo { display: block; background: var(--logo-image) center / contain no-repeat; width: var(--logo-width); height: 52px; }
.brand-logo:empty { flex-shrink: 0; }
.brand-wordmark { display: flex; flex-direction: column; font-size: 1.46rem; line-height: 1; font-weight: 850; letter-spacing: -.065em; }
.brand-wordmark small { font-size: .56rem; color: var(--muted); letter-spacing: .13em; text-transform: uppercase; margin-top: 7px; font-weight: 650; }
.main-nav { display: flex; align-items: center; gap: clamp(13px, 1.75vw, 28px); margin-left: auto; }
.main-nav > a { font-size: .855rem; font-weight: 650; color: #314f6b; white-space: nowrap; transition: color .2s; position: relative; }
.main-nav > a:not(.nav-cta):hover, .main-nav > a.active:not(.nav-cta) { color: var(--blue); }
.main-nav > a.nav-cta { background: var(--navy); color: #fff; padding: 12px 17px; border-radius: 7px; }
.main-nav > a.nav-cta:hover { background: var(--blue); }
.menu-button { display: none; background: transparent; border: 1px solid var(--line); color: var(--navy); border-radius: 8px; padding: 8px 12px; }

/* Tlačítka */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 23px; min-height: 54px; padding: 13px 23px; border-radius: 8px; font-weight: 700; font-size: .91rem; border: 1px solid transparent; transition: background .2s, transform .2s, border-color .2s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn span { font-size: 1.18rem; line-height: 1; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #dceefb; }
.btn-outline { background: transparent; border-color: #91afc8; color: var(--navy); }
.btn-outline:hover { background: white; }
.btn-full { width: 100%; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--blue); font-weight: 750; font-size: .93rem; color: var(--blue); padding: 3px 0 7px; }
.text-link:hover { color: var(--navy); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); font-size: .75rem; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; margin-bottom: 21px; }
.eyebrow-light { color: #aad5fb; }
.eyebrow-line { width: 25px; height: 1px; background: currentColor; }

/* Úvodní sekce */
.hero { background: linear-gradient(127deg, #0b2e50, #103e69 68%, #184f80); color: white; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: .97fr 1.03fr; min-height: 680px; align-items: center; gap: 50px; padding-top: 48px; padding-bottom: 62px; position: relative; z-index: 1; }
.hero-copy { padding: 20px 0 30px; }
.hero h1 { color: white; font-weight: 760; letter-spacing: -.058em; margin: 7px 0 27px; max-width: 620px; }
.hero-copy > p { color: #d5e4f0; font-size: 1.12rem; line-height: 1.85; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin: 36px 0 55px; }
.link-light { color: #e8f3fe; font-weight: 700; font-size: .9rem; border-bottom: 1px solid #6288aa; padding-bottom: 4px; }
.link-light:hover { color: #fff; }
.hero-proof { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-proof span { display: flex; align-items: center; gap: 10px; color: #b9d2e6; font-size: .77rem; }
.hero-proof b { color: #70b4ec; font-size: .73rem; }
.hero-visual { height: 565px; position: relative; margin: 0 0 10px 15px; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; border-radius: 140px 12px 12px 12px; background: #336c9b; }
.hero-image-outline { border: 1px solid rgba(151,203,247,.34); border-radius: 140px 12px 12px 12px; position: absolute; top: -17px; bottom: 17px; left: 18px; right: -18px; z-index: -1; }
.hero-image-caption { position: absolute; bottom: 30px; left: -35px; display: flex; align-items: center; gap: 14px; padding: 21px 23px; background: white; color: var(--navy); box-shadow: var(--shadow); border-radius: 10px; }
.hero-image-caption strong { display: block; font-size: .91rem; }
.hero-image-caption small { display: block; font-size: .75rem; color: var(--muted); }
.caption-symbol { width: 40px; height: 40px; border-radius: 7px; background: var(--ice); color: var(--blue); display: grid; place-items: center; font-size: 1.6rem; }
.hero-bottom-pattern { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: #1e6196; }
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar-grid { display: grid; grid-template-columns: repeat(3,1fr); padding: 23px 0; gap: 20px; color: #5c7589; font-size: .78rem; font-weight: 650; letter-spacing: .02em; text-align: center; }
.trustbar-grid span:not(:last-child) { border-right: 1px solid var(--line); }

/* Sekce a karty */
.section-head { margin-bottom: 40px; }
.section-head h2 { color: var(--navy); margin-bottom: 0; }
.section-head p { margin: 18px 0 0; max-width: 610px; }
.split-head { display: flex; align-items: end; justify-content: space-between; gap: 45px; }
.split-head > p { max-width: 380px; margin-bottom: 6px; }
.centered { text-align: center; display: flex; justify-content: center; }
.centered p { margin-left: auto; margin-right: auto; }
.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 25px; }
.house-card { background: white; border-radius: var(--radius); overflow: hidden; min-width: 0; box-shadow: 0 7px 35px rgba(13, 44, 74, .045); border: 1px solid #e5edf4; transition: transform .25s, box-shadow .25s; }
.house-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.house-image { position: relative; display: block; aspect-ratio: 1.38; overflow: hidden; background: #b9d2e5; }
.house-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.house-card:hover .house-image img { transform: scale(1.045); }
.image-arrow { position: absolute; right: 17px; bottom: 17px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--navy); width: 42px; height: 42px; font-size: 1.2rem; }
.house-body { padding: 26px 27px 30px; }
.house-kicker { color: var(--blue); text-transform: uppercase; font-weight: 750; font-size: .72rem; letter-spacing: .12em; }
.house-body h3 { color: var(--navy); font-size: 1.65rem; margin: 10px 0 11px; }
.house-body > p { font-size: .87rem; min-height: 49px; line-height: 1.7; }
.house-meta { display: flex; gap: 27px; border-top: 1px solid var(--line); padding: 18px 0; margin-top: 18px; color: var(--navy); font-weight: 750; font-size: .99rem; }
.house-meta span { display: flex; flex-direction: column; }
.house-meta small { color: var(--muted); font-weight: 500; font-size: .72rem; }
.house-body .text-link { margin-top: 7px; width: 100%; }
.section-bottom { text-align: center; margin-top: 39px; }

/* Firemní příběh */
.about-feature { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(60px, 7vw, 115px); align-items: center; }
.about-image-stack { height: 490px; position: relative; }
.about-image-stack img { width: 77%; height: 84%; object-fit: cover; border-radius: 11px 100px 11px 11px; background: var(--cloud); }
.about-image-stack .about-small { width: 49%; height: 49%; position: absolute; right: 0; bottom: 0; border-radius: 9px; border: 8px solid white; }
.image-label { position: absolute; bottom: 33px; left: -20px; background: var(--navy); color: white; padding: 14px 19px; border-radius: 6px; font-size: .76rem; font-weight: 700; }
.about-content h2 { color: var(--navy); }
.about-content p { font-size: 1rem; line-height: 1.95; }
.about-content .text-link { margin-top: 18px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.steps-grid article { background: #fff; border: 1px solid #dce9f3; border-radius: var(--radius); padding: 35px 33px; }
.steps-grid article > span { color: var(--blue); letter-spacing: .12em; font-size: .8rem; font-weight: 800; }
.steps-grid h3 { margin: 33px 0 12px; color: var(--navy); }
.steps-grid p { font-size: .9rem; margin: 0; }
.project-feature { background: linear-gradient(115deg, #0b2e50, #174f7e); padding: clamp(50px, 6vw, 83px); border-radius: var(--radius-lg); position: relative; overflow: hidden; color: white; }
.project-feature > div { position: relative; z-index: 1; max-width: 610px; }
.project-feature h2 { margin: 0 0 20px; }
.project-feature p { color: #d1e4f4; max-width: 515px; }
.project-feature .btn { margin-top: 19px; }
.project-outline { position: absolute; font-size: 400px; line-height: .9; color: rgba(255,255,255,.055); right: 5%; top: 7%; transform: rotate(-5deg); }
.empty-feature { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 41px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.empty-feature > div { max-width: 620px; }
.empty-feature h3 { color: var(--navy); }
.empty-feature p { margin: 0; }
.bottom-call, .half-cta { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.bottom-call h2, .half-cta h2 { max-width: 720px; color: var(--navy); }
.bottom-call p, .half-cta p { margin-bottom: 0; }

/* Podstránky */
.page-banner { background: radial-gradient(circle at 84% 28%, #245b88 0, transparent 40%), linear-gradient(126deg, #0a2c4d, #15466f); color: #fff; padding: 76px 0 86px; }
.page-banner h1 { font-size: clamp(2.7rem, 4.6vw, 4.8rem); margin: 0 0 22px; }
.page-banner p { max-width: 650px; margin: 0; font-size: 1.08rem; color: #d4e6f5; }
.note-paragraph { color: #718398; font-size: .83rem; line-height: 1.8; margin-top: 25px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; font-size: .8rem; color: #bfd5e9; margin-bottom: 42px; }
.breadcrumbs a:hover { color: white; }
.breadcrumbs span { opacity: .5; }
.type-banner { padding: 56px 0 64px; }
.type-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 54px; align-items: start; }
.type-photo { aspect-ratio: 1.44; border-radius: var(--radius); overflow: hidden; background: #d4e4f0; position: relative; }
.type-photo .photo-open { padding: 0; width: 100%; height: 100%; border: 0; background: transparent; }
.type-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-count { position: absolute; bottom: 20px; left: 22px; color: white; background: rgba(6,29,52,.76); border-radius: 5px; padding: 7px 14px; font-size: .76rem; }
.thumb-strip { display: grid; grid-template-columns: repeat(6,1fr); gap: 9px; margin-top: 12px; }
.thumb-strip button { border: 0; background: #d5e5ef; border-radius: 6px; padding: 0; overflow: hidden; aspect-ratio: 1.35; }
.thumb-strip button:hover { outline: 3px solid var(--blue); outline-offset: -3px; }
.thumb-strip img { width: 100%; height: 100%; object-fit: cover; }
.rich-section { margin-top: 65px; }
.rich-section h2 { color: var(--navy); font-size: clamp(1.9rem, 3vw, 2.7rem); }
.rich-section > p { font-size: 1rem; line-height: 2; }
.sticky-card { position: sticky; top: 113px; padding: 30px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sticky-card h2 { margin: 0 0 28px; color: var(--navy); font-size: 2rem; }
.spec-list { margin: 0; }
.spec-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--line); padding: 14px 0; }
.spec-list dt { font-size: .82rem; color: var(--muted); }
.spec-list dd { font-size: .96rem; font-weight: 750; color: var(--navy); margin: 0; text-align: right; }
.type-price { display: flex; flex-direction: column; background: var(--ice); padding: 20px; margin: 24px 0 18px; border-radius: 9px; }
.type-price small { color: var(--muted); }
.type-price strong { color: var(--navy); font-size: 1.5rem; }
.type-price > span { font-size: .75rem; color: var(--muted); line-height: 1.6; }
.side-secondary { display: block; color: var(--blue); text-align: center; margin-top: 20px; font-size: .84rem; font-weight: 700; }
.price-disclosure { border: 1px solid #cbddea; background: #fff; border-radius: 9px; margin: 22px 0; overflow: hidden; }
.price-disclosure summary { cursor: pointer; padding: 19px 21px; color: var(--navy); font-weight: 800; display: flex; justify-content: space-between; list-style: none; }
.price-disclosure summary::-webkit-details-marker { display: none; }
.price-disclosure summary span { font-size: 1.5rem; line-height: 1; font-weight: 400; }
.price-disclosure[open] summary span { transform: rotate(45deg); }
.price-disclosure > div { padding: 0 13px 18px; }
.price-table-wrap { overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 10px; }
.price-table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.price-table th { background: var(--navy); color: white; text-align: left; padding: 16px 20px; font-size: .76rem; letter-spacing: .03em; }
.price-table td { padding: 13px 20px; border-bottom: 1px solid #e6eef5; }
.price-table tr:nth-child(even) td { background: #f5f9fd; }
.price-table th:last-child, .price-table td:last-child { text-align: right; white-space: nowrap; }
.price-indicator { font-weight: 750; font-size: .79rem; }
.price-indicator.yes { color: #1b659b; }
.price-indicator.no { color: #a25156; }
.pricing-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; align-items: start; }
.pricing-layout h2 { color: var(--navy); }
.pricing-layout > div:first-child { position: sticky; top: 130px; }
.about-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-page-grid h2 { color: var(--navy); }
.long-copy { font-size: 1.07rem; line-height: 2; margin-bottom: 30px; }
.about-page-gallery { display: grid; gap: 14px; }
.about-page-gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: 14px; background: var(--cloud); }
.about-page-gallery img:last-child { width: 82%; justify-self: end; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.values-grid article { background: white; padding: 34px; border-radius: 13px; }
.value-number { font-size: 2.7rem; color: #b7d4eb; font-weight: 850; margin-bottom: 23px; }
.values-grid h3 { color: var(--navy); }
.values-grid p { font-size: .9rem; margin: 0; }
.own-project-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 85px; align-items: center; }
.own-project-grid h2 { color: var(--navy); }
.own-project-grid > div > p { line-height: 1.9; }
.mini-steps { margin-top: 38px; }
.mini-steps > div { display: flex; gap: 18px; border-top: 1px solid var(--line); padding: 18px 0; }
.mini-steps span { color: var(--blue); font-weight: 850; }
.mini-steps p { margin: 0; font-size: .89rem; }
.mini-steps strong { color: var(--navy); font-size: .99rem; }
.project-photo { position: relative; }
.project-photo img { width: 100%; height: 610px; object-fit: cover; border-radius: 130px 12px 12px 12px; background: var(--cloud); }
.project-photo div { position: absolute; bottom: 25px; left: -27px; background: var(--navy); color: white; padding: 18px 24px; border-radius: 7px; font-size: .84rem; font-weight: 700; }

/* Formuláře */
.form-layout, .contact-layout { display: grid; grid-template-columns: .66fr 1.34fr; gap: clamp(45px, 7vw, 105px); align-items: start; }
.form-side h2, .contact-info h2 { color: var(--navy); }
.form-card { background: white; box-shadow: var(--shadow); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 45px); }
.form-card-intro { margin-bottom: 28px; }
.form-card-intro h2 { color: var(--navy); font-size: 2.1rem; margin: 0 0 11px; }
.form-card-intro p { font-size: .9rem; margin: 0; }
.form-card label:not(.checkline) { display: flex; flex-direction: column; gap: 7px; font-weight: 720; color: var(--navy); font-size: .83rem; margin-bottom: 19px; }
.form-card label > span:not(.checkline span) { color: #d45757; }
.form-card input:not([type=checkbox]), .form-card textarea, .form-card select { width: 100%; padding: 13px 14px; border: 1px solid #cbdbe8; border-radius: 7px; background: #fff; color: var(--text); font-size: .92rem; font-weight: 400; outline: none; }
.form-card textarea { resize: vertical; min-height: 135px; }
.form-card input:focus, .form-card textarea:focus, .form-card select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,99,165,.1); }
.form-card .form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.form-card .checkline { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: .78rem; line-height: 1.55; margin: 7px 0 24px; }
.checkline input { margin-top: 5px; accent-color: var(--blue); }
.checkline a { color: var(--blue); text-decoration: underline; }
.form-honeypot { position: absolute; width: 1px; height: 1px; left: -10000px; opacity: 0; overflow: hidden; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-submit .btn:disabled { opacity: .6; cursor: wait; }
.form-status { font-size: .85rem; }
.form-status.error { color: #a73337; }
.form-status.success { color: #1b659b; font-weight: 750; }
.contact-detail { border-top: 1px solid var(--line); padding: 24px 0; display: flex; flex-direction: column; gap: 3px; }
.contact-detail span { color: var(--muted); font-size: .78rem; }
.contact-detail a, .contact-detail strong { color: var(--navy); font-size: 1.12rem; font-weight: 760; }
.contact-detail a:hover { color: var(--blue); }
.contact-company { background: #e3effa; border-radius: 9px; padding: 23px; font-size: .85rem; color: #516a81; margin-top: 16px; }
.contact-company strong { color: var(--navy); }

/* Nemovitosti */
.listing-badge { position: absolute; top: 15px; left: 15px; padding: 7px 11px; border-radius: 5px; background: white; color: var(--navy); font-weight: 800; font-size: .77rem; }
.listing-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.listing-footer strong { color: var(--navy); }
.listing-footer .text-link { width: auto; }
.empty-state { background: #fff; border: 1px solid var(--line); padding: 85px 35px; border-radius: 17px; text-align: center; }
.empty-state h2 { font-size: 2.3rem; color: var(--navy); max-width: 720px; margin: 0 auto 15px; }
.empty-state p { max-width: 540px; margin: 0 auto 25px; }
.empty-symbol { display: grid; place-items: center; margin: 0 auto 28px; width: 76px; height: 76px; border-radius: 18px; background: var(--ice); color: var(--blue); font-size: 2.6rem; }
.empty-state .eyebrow { display: block; }
.legal-copy h2 { color: var(--navy); font-size: 1.6rem; margin: 30px 0 12px; }
.legal-copy p { line-height: 1.9; }
.legal-copy a { color: var(--blue); text-decoration: underline; }

/* Zápatí */
.site-footer { background: #08243f; color: #d2e1ef; padding-top: 62px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding-bottom: 55px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid strong { color: white; font-size: .86rem; margin-bottom: 10px; }
.footer-brand { color: #fff; font-weight: 850; font-size: 2rem; letter-spacing: -.055em; }
.footer-grid p { color: #9bbbd5; font-size: .88rem; margin: 3px 0 0; }
.footer-grid a, .footer-grid span { color: #bad0e3; font-size: .86rem; }
.footer-grid a:hover, .footer-bottom a:hover { color: white; }
.footer-bottom { border-top: 1px solid #25455e; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; color: #90abc1; font-size: .77rem; }

/* Lightbox */
.lightbox { border: 0; padding: 0; color: white; width: min(98vw, 1360px); height: min(92vh, 900px); max-width: none; max-height: none; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(2,12,22,.93); }
.lightbox img { object-fit: contain; width: 100%; height: 100%; }
.lightbox-close, .lightbox-prev, .lightbox-next { border: 0; background: rgba(5,29,54,.75); color: white; position: absolute; border-radius: 50%; width: 44px; height: 44px; z-index: 1; font-size: 1.7rem; }
.lightbox-close { right: 10px; top: 10px; }
.lightbox-prev { left: 6px; top: calc(50% - 22px); }
.lightbox-next { right: 6px; top: calc(50% - 22px); }
.lightbox-count { position: absolute; bottom: 6px; left: 0; right: 0; color: white; text-align: center; font-size: .82rem; }

/* Tablety */
@media (max-width: 1120px) {
    .header-inner { gap: 12px; }
    .main-nav { gap: 13px; }
    .main-nav > a { font-size: .78rem; }
    .main-nav > a.nav-cta { padding: 10px; }
    .hero-grid { gap: 30px; }
    .type-grid { grid-template-columns: minmax(0,1fr) 300px; gap: 30px; }
}
@media (max-width: 920px) {
    .utility-bar { display: none; }
    .header-inner { min-height: 72px; }
    .menu-button { display: inline-flex; align-items: center; gap: 8px; }
    .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: white; box-shadow: 0 15px 30px rgba(5,35,60,.14); padding: 20px max(20px, calc((100vw - 1232px) / 2)); flex-direction: column; align-items: stretch; gap: 4px; }
    .main-nav.open { display: flex; }
    .main-nav > a { padding: 12px 18px; font-size: .9rem; }
    .main-nav > a.nav-cta { margin-top: 7px; }
    .hero-grid { min-height: initial; grid-template-columns: 1fr; padding-top: 70px; gap: 30px; }
    .hero-copy { max-width: 760px; }
    .hero-visual { margin: 0 12px 12px 30px; height: 470px; }
    .hero-image-caption { left: -20px; }
    .cards-grid { grid-template-columns: repeat(2,1fr); }
    .about-feature, .about-page-grid, .own-project-grid { gap: 45px; }
    .type-grid { grid-template-columns: 1fr; }
    .type-sidebar { grid-row: 1; }
    .sticky-card { position: static; }
    .pricing-layout { grid-template-columns: 1fr; gap: 30px; }
    .pricing-layout > div:first-child { position: static; }
    .form-layout, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
    .form-side, .contact-info { max-width: 750px; }
}
@media (max-width: 680px) {
    .wrap { width: min(100% - 34px, 1232px); }
    .section { padding: 64px 0; }
    h1 { font-size: clamp(2.3rem, 10vw, 3.5rem); }
    h2 { font-size: clamp(1.85rem, 7vw, 2.6rem); }
    .hero-grid { padding: 58px 0 52px; }
    .hero h1 { font-size: clamp(2.65rem, 11vw, 4.2rem); }
    .hero-copy > p { font-size: .99rem; }
    .hero-actions { margin: 27px 0 35px; }
    .hero-proof { gap: 12px; }
    .hero-visual { margin: 0 7px 10px 13px; height: 350px; }
    .hero-visual > img { border-radius: 75px 8px 8px 8px; }
    .hero-image-outline { border-radius: 75px 8px 8px 8px; }
    .hero-image-caption { bottom: 15px; left: -11px; padding: 11px; }
    .hero-image-caption strong { font-size: .73rem; }
    .hero-image-caption small { font-size: .68rem; }
    .trustbar-grid { grid-template-columns: 1fr; gap: 0; padding: 12px 0; }
    .trustbar-grid span { padding: 6px 0; }
    .trustbar-grid span:not(:last-child) { border-right: 0; }
    .split-head, .bottom-call, .half-cta, .empty-feature { display: block; }
    .split-head > p { margin-top: 22px; }
    .cards-grid, .steps-grid, .values-grid { grid-template-columns: 1fr; }
    .cards-grid { gap: 20px; }
    .about-feature, .about-page-grid, .own-project-grid { grid-template-columns: 1fr; gap: 45px; }
    .about-image-stack { height: 370px; margin-left: 8px; }
    .image-label { left: -8px; }
    .project-feature { padding: 38px 27px; }
    .project-outline { right: -40px; bottom: 0; top: auto; font-size: 260px; }
    .empty-feature .btn, .bottom-call .btn, .half-cta .btn { margin-top: 23px; }
    .page-banner { padding: 61px 0 65px; }
    .thumb-strip { grid-template-columns: repeat(4,1fr); }
    .type-photo { aspect-ratio: 1.22; }
    .sticky-card { padding: 26px; }
    .form-card { padding: 25px 20px; }
    .form-card .form-row { grid-template-columns: 1fr; gap: 0; }
    .project-photo img { height: 390px; }
    .project-photo div { left: 8px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .brand-wordmark { font-size: 1.34rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Volitelná lišta analytických cookies (zobrazí se až po nastavení GA4). */
.cookie-banner[hidden] { display: none; }
.cookie-banner { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 80;
    width: min(920px, calc(100% - 30px)); display: flex; align-items: center; gap: 25px;
    background: #fff; color: var(--navy); border: 1px solid var(--line); padding: 22px 26px;
    box-shadow: 0 15px 70px #0c2a4755; border-radius: 13px; }
.cookie-banner strong { font-size: 1rem; }
.cookie-banner p { margin: 6px 0 0; font-size: .8rem; line-height: 1.55; }
.cookie-banner a { color: var(--blue); text-decoration: underline; }
.cookie-actions { display: flex; flex-shrink: 0; gap: 8px; }
.cookie-actions button { padding: 11px 15px; border-radius: 6px; border: 1px solid var(--blue); color: var(--blue); background: white; font-size: .84rem; font-weight: 700; }
.cookie-actions button:last-child { background: var(--blue); color: white; }
.cookie-settings-link { background: transparent; border: 0; padding: 0; color: inherit; cursor: pointer; font-size: inherit; }
.cookie-settings-link:hover { color: white; }
@media(max-width:680px) { .cookie-banner { flex-direction: column; align-items: stretch; gap: 13px; } .cookie-actions { width: 100%; } .cookie-actions button { flex: 1; } }
