/* Stylstav stavebniny — červená a modrá z loga, šikmé tvary podle znaku (rovnoběžníky), písmo Archivo (lokálně). */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/archivo-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/archivo-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --red: #ed1c24; --red-d: #c4121a; --blue: #0063af; --blue-d: #004a85; --navy: #0b2540;
  --brand: #0063af; --brand-d: #004a85; --accent: #ed1c24; --ink: #1c2638; --muted: #566377; --bg: #eef1f5; --card: #fff; --line: #dce2ea; --soft: #f5f7fa;
  --hdr-bg: #fff; --hdr-ink: #0b2540; --ftr-bg: #0b2540; --ftr-ink: #a9bdd3;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; --display: var(--font);
  --wrap: 1180px; --r: 16px; --shadow: 0 1px 2px rgba(11, 37, 64, .08), 0 12px 30px rgba(11, 37, 64, .1); --header-h: 84px;
}
body { font-size: 17px; line-height: 1.6; }
h1, h2, h3, h4 { color: var(--navy); letter-spacing: 0; }
a { color: var(--blue); } a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.btn { background: var(--red); color: #fff; border-radius: 10px; font: 800 15.5px/1.1 var(--font); letter-spacing: .02em; text-transform: uppercase; padding: 14px 24px; box-shadow: 0 8px 18px rgba(237, 28, 36, .28); }
.btn:hover { background: var(--red-d); color: #fff; }
.btn.alt { background: transparent; color: var(--navy); border-color: var(--navy); box-shadow: none; } .btn.alt:hover { background: var(--navy); color: #fff; }

/* horní lišta: stav prodejny a kontakty */
.strip { background: var(--navy); color: #cfe0f3; font-size: 13.5px; }
.strip-in { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 22px; min-height: 40px; padding-block: 4px; }
.strip a, .strip-addr { display: inline-flex; gap: 7px; align-items: center; color: #fff; text-decoration: none; font-weight: 600; } .strip a:hover { color: #ffc9cc; } .strip .ic { width: 1em; height: 1em; opacity: .9; }
.strip-addr { margin-left: auto; color: #cfe0f3; font-weight: 500; }
.stavy-sign { display: inline-flex; align-items: center; gap: 8px; font: 700 13.5px/1.25 var(--font); }
.stavy-sign::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(237, 28, 36, .28); }
.stavy-sign.is-open::before { background: #2bc065; box-shadow: 0 0 0 4px rgba(43, 192, 101, .3); animation: puls 2.4s ease-out infinite; }
.stavy-sign.is-soon::before { background: #f5a623; box-shadow: 0 0 0 4px rgba(245, 166, 35, .3); }
.stavy-label { font-weight: 800; letter-spacing: .02em; text-transform: uppercase; } .stavy-sub { font-weight: 500; opacity: .85; } .stavy-note { display: none; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(43, 192, 101, .5); } 80%, 100% { box-shadow: 0 0 0 9px rgba(43, 192, 101, 0); } }

/* hlavička */
.top { position: sticky; background: #fff; border-bottom: 0; box-shadow: 0 3px 0 var(--red), 0 10px 24px rgba(11, 37, 64, .12); }
.top-in { gap: 26px; }
.brand img { height: 52px; width: auto; max-width: none; }
.nav-link { font: 800 14.5px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--navy); padding: 13px 14px; border-radius: 8px; }
.nav-link:hover { background: var(--soft); color: var(--red); } .nav-link.is-on, .nav-link[aria-current="page"] { color: var(--red); box-shadow: inset 0 -4px 0 var(--red); border-radius: 8px 8px 0 0; background: transparent; }
.nav-cta { display: inline-flex; align-items: center; gap: 9px; margin-left: 16px; padding: 13px 18px; border-radius: 10px; background: var(--red); color: #fff; font: 800 15.5px/1 var(--font); text-decoration: none; white-space: nowrap; box-shadow: 0 6px 14px rgba(237, 28, 36, .28); } .nav-cta:hover { background: var(--red-d); color: #fff; }
.nav { align-items: center; }

/* úvod: hero s koláží fotek */
.hero { --hero-overlay: none; padding: clamp(34px, 5vw, 64px) 0 clamp(84px, 10vw, 130px); color: var(--ink); overflow: hidden;
  background: linear-gradient(100deg, #fff 0%, rgba(255, 255, 255, .95) 33%, rgba(255, 255, 255, .6) 62%, rgba(255, 255, 255, .2) 100%), url(../img/bg.webp) center / cover, #eef1f5; }
.hero::before { display: none; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(34px, 5.5vw, 78px); background: var(--bg); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.hero-in > * { min-width: 0; }
.hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); position: relative; z-index: 1; }
.hero h1 { color: var(--navy); text-shadow: none; text-transform: uppercase; font-weight: 800; line-height: 1; font-size: clamp(36px, 5.6vw, 66px); letter-spacing: -.005em; }
.hero h1 span { color: var(--red); display: block; }
.eyebrow { color: var(--blue); font: 800 14px/1 var(--font); letter-spacing: .14em; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; } .eyebrow::before { content: ''; width: 34px; height: 7px; background: var(--red); transform: skewX(-24deg); border-radius: 2px; }
.hero .lead { color: #33445c; text-shadow: none; font-size: clamp(17px, 1.7vw, 20px); max-width: 46ch; margin-top: 22px; }
.hero-cta { gap: 14px; margin-top: 30px; } .hero-cta .btn .ic { margin-left: 2px; }
.collage { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1.12; isolation: isolate; margin-bottom: 18px; }
.collage::before { content: ''; position: absolute; z-index: -1; right: -5%; top: -7%; width: 44%; height: 74%; background: var(--red); transform: skewX(-14deg); border-radius: 8px; }
.collage::after { content: ''; position: absolute; z-index: -1; left: -4%; bottom: -8%; width: 38%; height: 34%; background: var(--blue); transform: skewX(-14deg); border-radius: 8px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 4px solid #fff; box-shadow: 0 16px 36px rgba(11, 37, 64, .28); background: var(--soft); }
.collage .c1 { grid-row: 1 / 3; } .collage .c2 { grid-column: 2; } .collage .c3 { grid-column: 2; }
.hero-status { position: absolute; left: -18px; bottom: -22px; z-index: 3; padding: 12px 20px 12px 18px; background: #fff; border-radius: 14px; border-left: 6px solid var(--red); box-shadow: 0 16px 36px rgba(11, 37, 64, .3); color: var(--navy); }
.hero-status .stavy-sign { font-size: 19px; } .hero-status p { margin: 4px 0 0 18px; font-size: 14.5px; color: var(--muted); } .hero-status b { color: var(--navy); }

/* pruh s výhodami */
.facts { position: relative; z-index: 2; margin-top: calc(-1 * clamp(40px, 5.5vw, 70px)); }
.facts ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; width: min(var(--wrap), 100% - 32px); }
.facts li { border-right: 1px solid var(--line); } .facts li:last-child { border: 0; }
.facts li > * { display: flex; gap: 14px; align-items: center; height: 100%; padding: 20px 22px; color: var(--ink); text-decoration: none; }
.fi { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #e6f0fa; color: var(--blue); transition: .15s; } .fi .ic { width: 25px; height: 25px; }
.facts b { display: block; font: 800 16px/1.2 var(--font); color: var(--navy); } .facts small { display: block; margin-top: 3px; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.facts a:hover .fi { background: var(--red); color: #fff; }

/* sekce */
.sec { padding: clamp(40px, 6vw, 76px) 0; } .sec-tint { background: #fff; border-block: 1px solid var(--line); }
.sec-t { margin: 0 0 22px; text-transform: uppercase; font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; line-height: 1.05; }
.sec-t::after { content: ''; display: block; width: 68px; height: 7px; margin-top: 13px; background: var(--red); transform: skewX(-24deg); border-radius: 2px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin: 0 0 26px; } .sec-h .sec-t { margin: 0; }
.more-link { display: inline-flex; align-items: center; gap: 7px; font: 800 14.5px/1 var(--font); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; color: var(--blue); } .more-link:hover { color: var(--red); } .more-link .ic { transition: transform .15s; } .more-link:hover .ic { transform: translateX(4px); }
.sub-t { margin: 36px 0 14px; font-size: 15px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
.news-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; } .news-h .sec-t { margin: 0; }
.about .card-box { margin: 0; }

/* karty (sekce stránky rozdělené nadpisy) */
.split-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; align-items: start; }
.split-cards.compact { grid-template-columns: 1fr; gap: 14px; }
.blk { min-width: 0; padding: 22px 26px 24px; background: #fff; border-radius: var(--r); border-top: 5px solid var(--red); box-shadow: var(--shadow); }
.blk:nth-of-type(even) { border-top-color: var(--blue); }
.blk > h2 { margin: 0 0 10px; font-size: 21px; font-weight: 800; text-transform: uppercase; line-height: 1.2; }
.blk > :last-child { margin-bottom: 0; } .blk-wide, .blk-intro { grid-column: 1 / -1; } .blk-intro { padding: 18px 26px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); font-size: 18px; color: var(--ink); } .blk-intro > :last-child { margin-bottom: 0; }
.blk .tiles, .blk .pills { margin-bottom: 18px; } .blk .tiles:last-child, .blk .pills:last-child { margin-bottom: 0; }
.blk-wide:has(.zf) { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); column-gap: clamp(24px, 4vw, 48px); align-items: start; }
.blk-wide:has(.zf) > h2, .blk-wide:has(.zf) > p { grid-column: 1; } .blk-wide:has(.zf) > form { grid-column: 2; grid-row: 1 / span 3; max-width: none; margin: 0; }
.prose .stavy-sign { flex-wrap: wrap; }
.compact .blk { padding: 16px 20px 18px; } .compact .blk > h2 { font-size: 16.5px; margin-bottom: 6px; } .compact .blk p { margin-bottom: .6em; font-size: 16px; }

/* sortiment: dlaždice a značky */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.tiles li, .prose .tiles li { display: flex; align-items: center; gap: 13px; margin: 0; padding: 13px 16px 13px 13px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font: 800 16px/1.2 var(--font); color: var(--navy); transition: transform .15s, border-color .15s, box-shadow .15s; }
.tiles li:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: 0 12px 26px rgba(11, 37, 64, .14); }
.ti { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #e6f0fa; color: var(--blue); transition: .15s; } .ti .ic { width: 25px; height: 25px; stroke-width: 1.7; } .tiles li:hover .ti { background: var(--red); color: #fff; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li, .prose .pills li { margin: 0; padding: 9px 15px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: 10px; font: 800 15.5px/1.2 var(--font); color: var(--navy); transition: border-color .15s; } .pills li:hover { border-left-color: var(--red); }
.sec-tint .pills li { background: var(--soft); }
.home-gal { margin: 0; }

/* kontaktní pás */
.band { position: relative; overflow: hidden; margin-top: clamp(20px, 4vw, 50px); padding: clamp(40px, 6vw, 72px) 0; background: linear-gradient(120deg, var(--navy) 0%, #0f467f 100%); color: #dbe7f5; }
.band::before { content: ''; position: absolute; right: -3%; top: -20%; width: 10%; height: 150%; background: var(--red); transform: skewX(-14deg); }
.band::after { content: ''; position: absolute; right: 8%; top: -20%; width: 3%; height: 150%; background: rgba(255, 255, 255, .16); transform: skewX(-14deg); }
.band-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 50px); align-items: start; }
.band h2 { margin: 0 0 18px; color: #fff; text-transform: uppercase; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.05; } .band h3 { margin: 0 0 12px; color: #fff; text-transform: uppercase; font-size: 17px; letter-spacing: .08em; }
.band address { font-style: normal; font-size: 19px; line-height: 1.5; color: #fff; margin-bottom: 14px; }
.band-links { display: flex; flex-direction: column; gap: 8px; margin: 0 0 22px; } .band-links a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; } .band-links a:hover { color: #ffc9cc; }
.band-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; } .band .btn.alt { color: #fff; border-color: rgba(255, 255, 255, .7); } .band .btn.alt:hover { background: #fff; color: var(--navy); }
.band-r { padding: 20px 24px 18px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r); backdrop-filter: blur(3px); }

/* tabulka otevírací doby (modul Stavy) */
.stavy-hours { width: 100%; border-collapse: collapse; font-size: 16px; margin: 0; }
.stavy-hours th, .stavy-hours td, .prose .stavy-hours th, .prose .stavy-hours td { padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font-weight: 400; vertical-align: baseline; }
.stavy-hours th, .prose .stavy-hours th { width: 42%; font-weight: 700; color: var(--navy); } .stavy-hours tr:last-child th, .stavy-hours tr:last-child td { border-bottom: 0; }
.stavy-hours tr.is-today th, .stavy-hours tr.is-today td { font-weight: 800; color: var(--red); } .stavy-hours tr.is-closed td { color: var(--muted); } .stavy-hours small { color: var(--muted); font-size: 13px; }
.stavy-exceptions, .prose .stavy-exceptions { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 2px solid var(--line); font-size: 15.5px; } .stavy-exceptions li, .prose .stavy-exceptions li { margin: 4px 0; } .stavy-exceptions b { color: var(--red); } .stavy-exceptions small { color: var(--muted); }
.band .stavy-hours th, .band .stavy-hours td { color: #e7f0fa; border-color: rgba(255, 255, 255, .18); } .band .stavy-hours th { color: #fff; } .band .stavy-hours tr.is-today th, .band .stavy-hours tr.is-today td { color: #fff; background: rgba(255, 255, 255, .14); } .band .stavy-hours tr.is-today th { padding-left: 10px; } .band .stavy-hours small, .band .stavy-exceptions small { color: #b7cbe2; } .band .stavy-exceptions { border-color: rgba(255, 255, 255, .25); } .band .stavy-exceptions b { color: #ffb3b6; }
.prose .stavy-sign { padding: 8px 15px; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; font-size: 16px; color: var(--navy); }

/* vnitřní stránky */
.phead { position: relative; overflow: hidden; padding: 38px 0 62px; background: linear-gradient(115deg, var(--navy), #0f4376); }
.phead::before { content: ''; position: absolute; right: calc(7% + 110px); top: -20%; width: 34px; height: 150%; background: rgba(255, 255, 255, .16); transform: skewX(-18deg); }
.phead::after { content: ''; position: absolute; right: 7%; top: -20%; width: 90px; height: 150%; background: var(--red); transform: skewX(-18deg); }
.phead .wrap { position: relative; z-index: 1; } .phead h1 { text-transform: uppercase; letter-spacing: .005em; font-weight: 800; }
.page-wrap { padding-bottom: 14px; } .foot { margin-top: 46px; } .is-home .foot { margin-top: 0; }
.prose a { color: var(--blue); } .prose a:hover { color: var(--red); } .prose ul li::marker { color: var(--red); }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.doclinks { list-style: none; padding: 0 !important; display: grid; gap: 10px; margin: .6em 0 1em; } .doclinks li { margin: 0 !important; }
.prose .doclinks a, .doclinks a { display: flex; align-items: center; gap: 14px; padding: 13px 18px 13px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--navy); font-weight: 700; text-decoration: none; transition: border-color .15s, transform .15s; }
.doclinks a::before { content: 'PDF'; flex: none; display: grid; place-items: center; width: 46px; height: 54px; border-radius: 6px; background: var(--red); color: #fff; font: 800 12px/1 var(--font); letter-spacing: .08em; }
.doclinks a[href^="http"]::before { content: 'WEB'; background: var(--blue); }
.doclinks a:hover { border-color: var(--red); transform: translateX(4px); color: var(--navy); }
.adm-gal-i { border-radius: 10px; }

/* patička */
.foot { padding: 52px 0 24px; background: var(--navy); }
.foot-in { grid-template-columns: 1.3fr 1fr .8fr; gap: 28px clamp(24px, 5vw, 60px); }
.foot-logo { display: inline-block; margin-bottom: 14px; padding: 12px 16px; background: #fff; border-radius: 12px; line-height: 0; } .foot-logo img { height: 46px; width: auto; display: block; }
.foot h2 { margin: 0 0 14px; color: #fff; font: 800 14px/1 var(--font); text-transform: uppercase; letter-spacing: .12em; }
.foot-contact { display: flex; flex-direction: column; gap: 9px; margin: 0; } .foot-contact a { display: inline-flex; align-items: center; gap: 10px; }
.foot-nav { flex-direction: column; flex-wrap: nowrap; gap: 9px; } .foot a { color: #dbe8f6; } .foot a:hover { color: #ffc9cc; }
.copy { color: #8fa6bf; } .copy a { color: #b8cbe0; }

/* tablet a mobil */
@media (max-width: 1100px) { .nav-cta span { display: none; } .nav-cta { padding: 13px 14px; margin-left: 8px; } .strip-addr { display: none; } .strip-tel { margin-left: auto; } }
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .brand img { height: 44px; } .nav-link { color: var(--navy); background: var(--soft); }
  .nav { inset: var(--nav-top, var(--header-h)) 0 0 0; }
  .nav-cta { margin: 14px 0 0; justify-content: center; font-size: 18px; padding: 16px; } .nav-cta span { display: inline; }
  .hero-in { grid-template-columns: minmax(0, 1fr); } .collage { max-width: 640px; width: 100%; margin-inline: auto; }
  .facts ul { grid-template-columns: 1fr 1fr; } .facts li:nth-child(2) { border-right: 0; } .facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .blk-wide:has(.zf) { display: block; }
  .duo, .band-in { grid-template-columns: 1fr; } .foot-in { grid-template-columns: 1fr 1fr; }
  .phead::before, .phead::after { right: -4%; } .phead::before { right: 8%; }
}
@media (max-width: 640px) {
  .strip .strip-mail { display: none; } .strip-in { gap: 4px 14px; justify-content: space-between; flex-wrap: nowrap; } .strip-sign .stavy-sub { display: none; } .strip-tel { margin-left: auto; }
  .hero-cta .btn { flex: 1 1 100%; } .hero { padding-bottom: 96px; }
  .collage { aspect-ratio: 1.05; gap: 10px; } .hero-status { left: -6px; padding: 10px 16px 10px 14px; } .hero-status .stavy-sign { font-size: 16px; }
  .facts ul { grid-template-columns: 1fr; } .facts li, .facts li:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); } .facts li:last-child { border-bottom: 0; }
  .facts li > * { padding: 14px 18px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .tiles li { padding: 11px 12px 11px 10px; font-size: 14.5px; gap: 10px; } .ti { width: 38px; height: 38px; border-radius: 10px; } .ti .ic { width: 21px; height: 21px; }
  .blk { padding: 18px 18px 20px; } .band-r { padding: 16px 18px; } .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 380px) { .tiles { grid-template-columns: 1fr; } .band-links a { font-size: 16px; } }
