/* Vyřešíme – web v5 (13. 10. 2026): v4 + reference. Vzhled = brand kit (brand.css), zde jen rozvržení. */
:root { --max: 1160px; --gap: 20px; }
body { line-height: 1.5; }
a { color: var(--navy); text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Hlavička: logo + menu na jednom řádku, rozbalovací Služby, mobil hamburger */
header { position: sticky; top: 0; background: rgba(245,247,250,.92); backdrop-filter: blur(10px); z-index: 10; border-bottom: 1px solid rgba(36,64,143,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav img { height: 40px; display: block; }
.logo-link { display: inline-flex; flex-shrink: 0; }
.nav ul.menu { display: flex; gap: 30px; list-style: none; font-weight: 600; font-size: 15px; align-items: center; margin-left: auto; }
.nav .menu > li > a { white-space: nowrap; display: inline-block; padding: 26px 0; }
.nav .dd { position: relative; }
.nav .sub { display: none; position: absolute; top: 66px; left: -16px; min-width: 290px; list-style: none; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(36,64,143,.18); padding: 8px; }
.nav .dd:hover .sub, .nav .dd:focus-within .sub { display: block; }
.nav .sub a { display: block; padding: 10px 14px; border-radius: 10px; white-space: nowrap; font-weight: 600; }
.nav .sub a:hover { background: #eef3fb; }
.nav .sub li.sep { border-top: 1px solid #E6EAF2; margin: 6px 8px; }
.nav .caret { font-size: 11px; }
.nav-cta { white-space: nowrap; flex-shrink: 0; }
.mmenu { display: none; position: relative; }
.mmenu summary { list-style: none; cursor: pointer; font-size: 24px; padding: 6px 12px; color: var(--navy); }
.mmenu summary::-webkit-details-marker { display: none; }
.mpanel { position: absolute; right: 0; top: 52px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(36,64,143,.18); padding: 8px; min-width: 260px; display: flex; flex-direction: column; }
.mpanel a { padding: 12px 14px; font-weight: 600; border-radius: 10px; white-space: nowrap; }
.mpanel a.small { font-size: 14px; font-weight: 500; padding-top: 6px; padding-bottom: 6px; }

.btn { display: inline-block; padding: 14px 22px; border-radius: 999px; font-family: var(--font-head); font-weight: 800; font-size: 15px; background: var(--navy); color: #fff; box-shadow: 0 10px 30px rgba(36,64,143,.25); }
.btn.lime { background: var(--lime); color: var(--navy); box-shadow: 0 10px 30px rgba(179,235,81,.35); }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: none; border: 2px solid rgba(36,64,143,.25); }

/* Hero */
.hero { padding: 72px 0 48px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 54px; margin: 18px 0 20px; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.cta-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 14px; color: var(--muted); }
.hero-card { padding: 32px; position: relative; }
.hero-card .tag { position: absolute; top: -14px; left: 32px; }
.ticket { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid #E6EAF2; font-size: 14px; }
.ticket:first-of-type { border-top: 0; }
.ticket b { font-family: var(--font-head); font-weight: 700; }
.ticket .ok { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 14px; }

/* Pás důvěry */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding: 10px 0 50px; }
.trust div { background: #fff; border-radius: 20px; padding: 22px 24px; box-shadow: 0 10px 30px rgba(36,64,143,.07); }
.trust b { display: block; font-family: var(--font-head); font-size: 32px; color: var(--navy); line-height: 1.1; margin-bottom: 6px; }
.trust span { color: var(--muted); font-size: 14px; }

/* Sekce a jednotná mřížka: každá řada karet zaplní celou šířku */
section { padding: 64px 0; }
.eyebrow { font-family: var(--font-head); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--green); }
h2 { font-size: 40px; margin: 10px 0 16px; }
.sub { color: var(--muted); font-size: 18px; max-width: 760px; }
.grid { display: grid; gap: var(--gap); margin-top: 36px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.svc { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.svc h3 { font-size: 22px; }
.svc h3.s { font-size: 18px; }
.svc p { color: var(--muted); font-size: 15px; }
.svc ul { padding-left: 18px; color: var(--ink); font-size: 15px; display: grid; gap: 6px; }
.svc .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 22px; }
.i1 { background: linear-gradient(160deg, var(--sky-2), var(--navy)); } .i2 { background: linear-gradient(160deg, var(--lime), var(--green)); } .i3 { background: var(--navy); } .i4 { background: linear-gradient(160deg, var(--navy), var(--sky-2)); }
.svc .more { margin-top: auto; font-weight: 700; }
.h3row { font-size: 24px; margin-top: 52px; color: var(--navy); }
.strip { margin-top: var(--gap); padding: 26px 28px; display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: center; }
.strip h3 { font-size: 20px; }
.strip p { color: var(--muted); font-size: 15px; }

/* Kroky */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 36px; counter-reset: s; }
.step { background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 10px 30px rgba(36,64,143,.07); }
.step::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lime); color: var(--navy); font-family: var(--font-head); font-weight: 800; margin-bottom: 14px; }
.step h4 { font-family: var(--font-head); font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* Tmavý pás */
.band { background: var(--navy); color: #fff; border-radius: 36px; padding: 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.band h2 { color: #fff; } .band p { color: rgba(255,255,255,.78); font-size: 17px; }
.band .quote { background: rgba(255,255,255,.08); border-radius: 24px; padding: 28px; font-size: 17px; line-height: 1.55; margin: 0; }
.band .quote blockquote { margin: 0; }
.band .quote figcaption { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.78); }
.band .quote b { display: block; color: var(--lime); font-family: var(--font-head); font-size: 16px; margin-bottom: 2px; }
.band .quote .src { display: block; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.6); }

/* Reference: citace u sekcí (pull), pás pěti referencí (refs), drobná citace u kontaktu (mini) */
.pull { margin: var(--gap) 0 0; padding: 24px 28px 24px 24px; border-left: 6px solid var(--lime); display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center; }
.pull blockquote { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.45; color: var(--navy); }
.pull figcaption { font-size: 14px; color: var(--muted); white-space: nowrap; }
.pull figcaption b { color: var(--ink); font-family: var(--font-head); }
.refs { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); margin-top: 36px; }
.ref { grid-column: span 2; margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.ref.wide { grid-column: span 3; }
.ref blockquote { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); flex: 1; }
.ref blockquote::before { content: "„"; display: block; font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: .6; color: var(--lime); margin-bottom: 12px; }
.ref figcaption { font-size: 14px; color: var(--muted); border-top: 1px solid #E6EAF2; padding-top: 14px; }
.ref figcaption b { display: block; color: var(--navy); font-family: var(--font-head); font-size: 15px; }
.ref figcaption span { display: block; margin-top: 4px; color: var(--green); font-weight: 600; }
.mini { margin: 22px 0 0; padding-left: 16px; border-left: 4px solid var(--lime); }
.mini blockquote { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--navy); }
.mini figcaption { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Ceník */
.price { padding: 30px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.price.hi { outline: 3px solid var(--lime); }
.price .tag { position: absolute; top: -14px; right: 24px; }
.price h3 { font-size: 22px; }
.price .amt { font-family: var(--font-head); font-weight: 800; font-size: 36px; color: var(--navy); }
.price .amt small { font-size: 15px; color: var(--muted); font-weight: 600; }
.price p { color: var(--muted); font-size: 14px; }
.price ul { padding-left: 18px; font-size: 15px; color: var(--ink); display: grid; gap: 6px; }
.price .btn { margin-top: auto; text-align: center; }
.fine { color: var(--muted); font-size: 13px; margin-top: 18px; }
.plist { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: var(--gap); }
.plist div { background: #fff; border-radius: 20px; padding: 22px 24px; box-shadow: 0 10px 30px rgba(36,64,143,.06); }
.plist h4 { font-family: var(--font-head); font-size: 16px; margin-bottom: 10px; color: var(--navy); }
.plist dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; font-size: 14px; }
.plist dt { color: var(--ink); } .plist dd { color: var(--navy); font-weight: 700; white-space: nowrap; font-family: var(--font-head); }

/* Placeholder pro údaje, které doplní Ondřej */
.todo { border: 2px dashed #C96A1E; color: #C96A1E; border-radius: 10px; padding: 4px 10px; font-weight: 700; font-size: 13px; background: #FFF6EE; display: inline-block; }

/* Časté dotazy */
details.faq { background: #fff; border-radius: 18px; padding: 18px 22px; margin-top: 12px; box-shadow: 0 10px 30px rgba(36,64,143,.06); }
details.faq summary { font-family: var(--font-head); font-weight: 700; font-size: 17px; cursor: pointer; }
details.faq p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.faq2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); align-items: start; }

/* O nás, kontakt, patička */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.about .photo { aspect-ratio: 3/4; border-radius: 28px; background: linear-gradient(160deg, #E8F7FF, #DFF4C4); display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 20px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
form.card { padding: 30px; display: grid; gap: 12px; }
form input, form textarea, form select { width: 100%; padding: 14px 16px; border: 1.5px solid #D9DFEA; border-radius: 14px; font: inherit; font-size: 15px; background: #fff; }
form label { font-size: 13px; font-weight: 600; color: var(--muted); }
footer { padding: 40px 0 60px; color: var(--muted); font-size: 14px; border-top: 1px solid rgba(36,64,143,.08); margin-top: 40px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
footer b { color: var(--ink); display: block; margin-bottom: 8px; font-family: var(--font-head); }
footer a { display: block; }

/* Podstránky (článek) */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); }
.article { padding: 28px 0 40px; }
.article h1 { font-size: 46px; margin: 12px 0 18px; }
.article .lead { font-size: 20px; color: var(--muted); max-width: 820px; }
.article h2 { font-size: 30px; margin: 48px 0 12px; }
.article h3 { font-size: 19px; margin: 22px 0 8px; }
.article p, .article li { font-size: 16px; color: var(--ink); }
.article p { margin: 10px 0; max-width: 820px; }
.article ul, .article ol { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; max-width: 820px; }
.article .two { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: start; }
.article figure { margin: 0; }
.article figure img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 18px 50px rgba(36,64,143,.14); display: block; }
.article figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.article table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(36,64,143,.06); font-size: 15px; margin-top: 14px; }
.article th, .article td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #E6EAF2; vertical-align: top; }
.article th { font-family: var(--font-head); color: var(--navy); font-size: 14px; }
.related { margin-top: 48px; }

@media (max-width: 860px) {
  .grid.c4, .grid.c3, .grid.c2, .plist, .trust, .steps { grid-template-columns: 1fr 1fr; }
  .hero, .band, .about, .contact, .strip, .faq2, .article .two, .pull { grid-template-columns: 1fr; }
  .pull figcaption { white-space: normal; }
  .refs .ref, .refs .ref.wide { grid-column: span 3; }
  .refs .ref:last-child { grid-column: span 6; }
  .hero h1 { font-size: 40px; } h2 { font-size: 30px; } .article h1 { font-size: 36px; }
  .nav ul.menu { display: none; } .mmenu { display: block; margin-left: auto; } .nav-cta { display: none; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .band { padding: 32px; }
}
@media (max-width: 520px) { .grid.c4, .grid.c3, .grid.c2, .plist, .trust, .steps, footer .cols { grid-template-columns: 1fr; } .refs { grid-template-columns: 1fr; } .refs .ref, .refs .ref.wide, .refs .ref:last-child { grid-column: auto; } .hero h1 { font-size: 34px; } }
