/* NECHTE TO NA MNĚ – styly */
:root {
  --navy: #16283b;
  --navy-deep: #0e1d2d;
  --ink: #182532;
  --muted: #4f5d6a;
  --yellow: #f7b719;
  --yellow-deep: #e9a200;
  --orange-text: #d98a00;
  --cream: #fff8e6;
  --cream-2: #fdf1d2;
  --line: #e2e6ea;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(22, 40, 59, .06), 0 8px 24px rgba(22, 40, 59, .07);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.5; font-size: 16px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.12; margin: 0; color: var(--navy); }
a { color: inherit; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid transparent; font: inherit; font-weight: 800; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s, box-shadow .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 3px 0 var(--yellow-deep); }
.btn-primary:hover { background: #ffc531; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--yellow-deep); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-whatsapp { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-whatsapp:hover { background: var(--navy); color: #fff; }
.btn-whatsapp svg { color: #25d366; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.nav-bar { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--yellow); text-decoration: none; flex: none; }
.brand-ico { width: 30px; height: 30px; }
.brand-text { display: none; color: #fff; font-weight: 900; letter-spacing: .02em; font-size: 15px; }
.brand-text b { color: var(--yellow); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a { position: relative; color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 700; font-size: 14.5px; letter-spacing: .03em; padding: 10px 16px; white-space: nowrap; }
.main-nav a:not(.nav-cta) + a:not(.nav-cta)::before { content: ""; position: absolute; left: 0; top: 50%; height: 22px; margin-top: -11px; width: 1px; background: rgba(255,255,255,.22); }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 3px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transition: transform .2s; }
.main-nav a:not(.nav-cta):hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--yellow); }
.main-nav .nav-cta { margin-left: 14px; background: var(--yellow); color: var(--navy); border-radius: 9px; padding: 10px 18px; box-shadow: 0 2px 0 var(--yellow-deep); }
.main-nav .nav-cta:hover { background: #ffc531; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; place-items: center; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 1080px) {
  .brand-text { display: inline; }
  .nav-toggle { display: grid; }
  .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 16px 24px rgba(0,0,0,.25); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav a::before, .main-nav a::after { display: none; }
  .main-nav .nav-cta { margin: 14px 0 0; text-align: center; border-bottom: 0; padding: 14px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 48px 0 110px;
  background:
    radial-gradient(60% 70% at 18% 40%, #fff 0%, rgba(255,255,255,0) 70%),
    radial-gradient(50% 60% at 95% 10%, rgba(247,183,25,.20) 0%, rgba(247,183,25,0) 70%),
    linear-gradient(160deg, #fffaf0 0%, var(--cream) 55%, var(--cream-2) 100%); }
.hero::after { content: ""; position: absolute; right: -60px; bottom: 40px; width: 420px; height: 420px; opacity: .05; pointer-events: none;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316283b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m14 12-8.4 8.4a1.9 1.9 0 0 1-2.7-2.7L11.3 9.3'/%3E%3Cpath d='M21 14 12.6 5.6A5 5 0 0 0 9 4.1H7.5l1.2 1A5 5 0 0 1 10.5 9v.6l3 3'/%3E%3Cpath d='M15.5 13.5 18 11l3 3'/%3E%3C/svg%3E"); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-logo { position: relative; }
.hero-logo::before { content: ""; position: absolute; inset: 6% 6% 4% 6%; border-radius: 50%; background: #fff; box-shadow: 0 20px 50px rgba(22,40,59,.12); }
.hero-logo img { position: relative; width: 100%; height: auto; }
.claim { margin: 0 0 22px; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; font-weight: 900; color: var(--navy); letter-spacing: -.01em; }
.claim em { font-style: normal; color: var(--yellow-deep); }
.hero-copy > p:not(.claim):not(.brush) { margin: 0 0 14px; max-width: 54ch; font-size: 17.5px; color: #2c3b49; }
.brush { position: relative; display: inline-block; margin: 14px 0 26px; padding: 10px 26px 12px 22px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; font-style: italic; color: var(--navy); transform: rotate(-2.5deg); isolation: isolate; }
.brush::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); border-radius: 4px 14px 6px 18px / 18px 6px 14px 4px; clip-path: polygon(1% 12%, 6% 2%, 40% 6%, 72% 0, 99% 8%, 97% 46%, 100% 90%, 70% 97%, 38% 92%, 4% 100%, 0 60%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Services ---------- */
.services { position: relative; z-index: 2; margin-top: -64px; padding: 44px 0 40px; background: var(--white); border-radius: 36px 36px 0 0; }
.section-head { display: flex; align-items: flex-end; gap: 20px 36px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); }
.panel h2 { font-size: clamp(26px, 2.5vw, 36px); }
.section-head h2, .panel h2 { font-weight: 900; letter-spacing: -.01em; }
.section-head h2 { position: relative; padding-bottom: 10px; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 5px; border-radius: 3px; background: var(--yellow); }
.section-head p { margin: 0 0 10px; color: var(--muted); font-size: 17px; max-width: 62ch; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { display: flex; gap: 18px; padding: 24px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: #f2d58b; box-shadow: 0 2px 4px rgba(22,40,59,.06), 0 14px 32px rgba(22,40,59,.10); }
.badge { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--navy); box-shadow: inset 0 -3px 0 rgba(0,0,0,.08); }
.badge svg { width: 34px; height: 34px; }
.card h3 { font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; margin: 6px 0 10px; }
.card ul { margin: 0; padding: 0; list-style: none; color: #34424f; }
.card li { position: relative; padding-left: 18px; margin: 4px 0; }
.card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.card-wide { grid-column: 1 / -1; align-items: center; }
.card-wide > div { flex: 1; }
.card-wide ul { columns: 2; column-gap: 32px; }
.card-wide li { break-inside: avoid; }
.house-art { flex: none; width: 260px; height: auto; padding-left: 28px; border-left: 3px solid var(--yellow); }

/* ---------- Trio: ceník / a hlavně / formulář ---------- */
.trio { padding: 24px 0 64px; background: linear-gradient(180deg, #fff 0%, #fffaf0 100%); }
.trio-grid { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 18px; align-items: stretch; }
.panel { background: var(--cream); border: 1px solid #f3e3b6; border-radius: 20px; padding: 24px 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-ico { width: 44px; height: 44px; color: var(--yellow); flex: none; }
.panel-form .panel-ico { transform: rotate(8deg); }

.price { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 12px; overflow: hidden; font-size: 14px; box-shadow: 0 1px 0 #f0e2bd; }
.price th { text-align: left; background: #fdf3d6; font-weight: 800; color: var(--navy); padding: 9px 12px; }
.price td { padding: 8px 12px; border-top: 1px solid #f1ead8; vertical-align: top; }
.price td:first-child { width: 54%; }
.price td:last-child { font-weight: 700; color: var(--navy); }
.price tr:nth-child(-n+2) td:last-child { color: var(--orange-text); }

.kicker { margin: 6px 0 18px; color: var(--yellow-deep); font-weight: 900; text-transform: uppercase; letter-spacing: .03em; font-size: 17px; }
.pillars { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.pillars li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 0 6px; font-size: 13px; line-height: 1.35; color: #2c3b49; }
.pillars li + li { border-left: 1px solid #ecd9a4; }
.pillars svg { width: 38px; height: 38px; color: var(--yellow-deep); }
.checks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--yellow-deep); margin-top: 1px; }
.banner { position: relative; margin: 0 -8px 18px; padding: 16px 20px; text-align: center; font-weight: 900; color: var(--navy); font-size: 17px; line-height: 1.35; transform: rotate(-1deg); isolation: isolate; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); clip-path: polygon(0 10%, 4% 0, 50% 5%, 96% 0, 100% 14%, 98% 52%, 100% 88%, 95% 100%, 52% 94%, 5% 100%, 1% 84%, 2% 48%); }
.signoff { margin: 0; text-align: center; display: grid; gap: 4px; }
.signoff strong { color: var(--yellow-deep); font-size: 22px; letter-spacing: .02em; }
.signoff span { font-style: italic; font-weight: 800; color: var(--navy); }

/* ---------- Form ---------- */
.panel-form { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.form-intro { margin: -6px 0 16px; color: var(--muted); }
.field { margin-bottom: 14px; }
.field label, .field .label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; color: var(--navy); }
.req { color: #d1361b; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fbfcfd; border: 1.5px solid #cfd7de; border-radius: 10px; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--yellow-deep); background: #fff; box-shadow: 0 0 0 4px rgba(247,183,25,.25); }
.field input::placeholder, .field textarea::placeholder { color: #94a0ab; }
.field.has-error input, .field.has-error textarea { border-color: #d1361b; background: #fff8f6; }
.err { margin: 6px 0 0; color: #c0301a; font-size: 13.5px; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.files-row { display: flex; gap: 14px; align-items: flex-start; }
.file-btn { flex: none; display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 10px 14px; border: 1.5px dashed #b9c4cd; border-radius: 10px; background: #f6f8fa; cursor: pointer; font-weight: 700 !important; font-size: 14px !important; }
.file-btn:hover { border-color: var(--yellow-deep); background: #fffaf0; }
.file-btn svg { width: 18px; height: 18px; }
.field-files input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.field-files input[type="file"]:focus-visible + .help, .field-files:focus-within .file-btn { outline: 3px solid var(--yellow); outline-offset: 2px; }
.help { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
.help .muted { display: block; margin-top: 4px; color: #7a8692; }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 4px 8px 4px 4px; background: #f3f6f8; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.file-list img { width: 36px; height: 36px; object-fit: cover; border-radius: 5px; background: #dde3e8; }
.file-list .fname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.file-list button { border: 0; background: none; padding: 2px 4px; cursor: pointer; color: var(--muted); font-size: 18px; line-height: 1; }
.file-list button:hover { color: #c0301a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; font-size: 13.5px !important; line-height: 1.45; color: #34424f !important; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--yellow-deep); }
.btn-submit { width: 100%; font-size: 17px; text-transform: uppercase; min-height: 54px; }
.btn-submit[disabled] { opacity: .7; cursor: progress; }
.btn-submit.is-loading svg { animation: fly .9s ease-in-out infinite; }
@keyframes fly { 50% { transform: translate(4px, -4px); } }
.form-status { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: #c0301a; }
.form-status:empty { display: none; }
.form-foot { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.form-success { display: flex; gap: 14px; align-items: flex-start; padding: 20px; margin-bottom: 8px; background: #effaf1; border: 1.5px solid #9fd8ab; border-radius: 14px; color: #1d4d2a; }
.form-success svg { width: 32px; height: 32px; flex: none; color: #2e9a48; }
.form-success p { margin: 0; }
.form-success:focus { outline: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 30px 0 0; }
.contact-bar { display: grid; grid-template-columns: auto auto auto 1fr; align-items: center; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 8px 28px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; line-height: 1.25; }
.contact-item:first-child { padding-left: 0; }
.contact-item + .contact-item { border-left: 1px solid rgba(255,255,255,.18); }
a.contact-item span { white-space: nowrap; }
.contact-item > svg, .wa svg { width: 34px; height: 34px; flex: none; color: var(--yellow); }
a.contact-item:hover span { color: var(--yellow); text-decoration: underline; text-underline-offset: 4px; }
.contact-pref { padding-right: 0; font-weight: 400; font-size: 14px; }
.contact-pref p { margin: 0; color: #d7dee5; }
.contact-pref strong { display: block; color: #fff; font-size: 16px; margin-bottom: 2px; }
.contact-pref strong a { color: var(--yellow); }
.wa { flex: none; display: grid; place-items: center; }
.wa svg { width: 42px; height: 42px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 26px; padding: 16px 0 22px; border-top: 1px solid rgba(255,255,255,.12); color: #aebbc7; font-size: 13.5px; }
.footer-legal a { color: #d7dee5; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .trio-grid { grid-template-columns: 1fr 1fr; }
  .panel-form { grid-column: 1 / -1; }
  .panel-form form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .panel-form .field:nth-child(n+3), .panel-form .btn-submit, .panel-form .form-status, .panel-form .form-foot { grid-column: 1 / -1; }
  .contact-bar { grid-template-columns: repeat(3, auto); row-gap: 18px; justify-content: start; }
  .contact-pref { grid-column: 1 / -1; padding-left: 0; border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
}
@media (max-width: 960px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .house-art { width: 200px; }
}
@media (max-width: 860px) {
  .hero { padding: 28px 0 96px; }
  .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero-logo { width: min(300px, 78vw); }
  .hero-copy > p:not(.claim):not(.brush) { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .trio-grid { grid-template-columns: 1fr; }
  .card-wide ul { columns: 1; }
  .house-art { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 58px; }
  body { font-size: 15.5px; }
  .services { border-radius: 26px 26px 0 0; padding-top: 34px; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 20px 18px; gap: 16px; }
  .badge { width: 54px; height: 54px; }
  .badge svg { width: 28px; height: 28px; }
  .card h3 { font-size: 16.5px; }
  .panel { padding: 22px 16px; border-radius: 18px; }
  .price { font-size: 14px; }
  .price td, .price th { padding: 9px 10px; }
  .pillars { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .pillars li:nth-child(3) { border-left: 0; }
  .panel-form form { display: block; }
  .files-row { flex-direction: column; gap: 8px; }
  .contact-bar { grid-template-columns: 1fr; row-gap: 4px; }
  .contact-item { padding: 12px 0; font-size: 17px; }
  .contact-item + .contact-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .contact-pref { padding-top: 14px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand-text { font-size: 14px; }
}
@media (max-width: 360px) {
  .brand-text { display: none; }
}

@media print {
  .site-header, .hero::after, .panel-form, .hero-actions { display: none !important; }
  .services { margin-top: 0; }
}
