/* CechTex – styl webu */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/unbounded-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --teal: #135e60;
  --teal-dark: #0d4446;
  --teal-soft: #e3f1f1;
  --teal-ink: #cfe6e6;
  --red: #d93a2e;
  --brand-red: #e3201b;
  --ink: #17212b;
  --muted: #4e5d68;
  --line: #e8edec;
  --grey: #f4f6f6;
  --warm: #f7f5f0;
  --coral: #fbd3cc;
  --mustard: #f6d27a;
  --sky: #c6e4e6;
  --mint: #d6ecd9;
  --lilac: #e3dcf2;
  --sand: #f1e4cf;
  --blush: #fdf0ed;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1240px;
  --r-lg: 40px;
  --r-md: 28px;
  --r-sm: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } body { font-size: 17px; } }

.display { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.05; font-weight: 700; }
.h1 { font-size: clamp(38px, 5.4vw, 72px); }
.h2 { font-size: clamp(30px, 3.8vw, 50px); }
.h3 { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.muted { color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 36px; }
.section { padding: 96px 0; }
.section-tight { padding: 0 0 96px; }
.bg-warm { background: var(--warm); }
.bg-blush { background: var(--blush); }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-tight { padding-bottom: 64px; } }

.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.head-row > p { max-width: 440px; }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; border-radius: 999px; padding: 17px 30px; min-height: 52px; background: var(--teal); color: #fff; transition: background .15s, transform .15s; }
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-light { background: var(--grey); color: var(--ink); }
.btn-light:hover { background: #e7ecec; color: var(--ink); }
.btn-yellow { background: var(--mustard); color: var(--ink); }
.btn-yellow:hover { background: #f0c75c; color: var(--ink); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.chip { display: inline-block; background: var(--teal-soft); color: var(--teal); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 15px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--grey); border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid #edf1f0; }
.site-header .wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 50px; width: auto; }
.brand .sep { width: 2px; height: 34px; background: #d8dee2; }
.brand .name { font-weight: 800; font-size: 22px; }
.brand .name span { color: var(--brand-red); }
.nav { display: flex; align-items: center; gap: 26px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .btn { padding: 12px 22px; min-height: 46px; color: #fff; }
.nav .btn:hover { color: #fff; }
.nav-toggle { display: none; font: inherit; font-weight: 700; background: var(--grey); border: 0; border-radius: 999px; padding: 10px 18px; min-height: 46px; cursor: pointer; color: var(--ink); align-items: center; gap: 8px; }
.nav-toggle svg { width: 20px; height: 20px; }
@media (max-width: 960px) {
  .site-header .wrap { height: 72px; }
  .brand img { height: 40px; }
  .brand .sep, .brand .name { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(23,33,43,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
}

/* Hero */
.hero { padding: 56px 0 56px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 1 1 540px; display: flex; flex-direction: column; gap: 24px; }
.hero-text .chip { align-self: flex-start; }
.hero-art { flex: 1 1 420px; position: relative; background: var(--sky); border-radius: var(--r-lg); padding: 36px 56px 28px; display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 380px; height: auto; }
.float { position: absolute; background: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 15px; box-shadow: 0 6px 18px rgba(23,33,43,.10); }
.float.a { left: 22px; top: 32%; }
.float.b { right: 22px; top: 12%; }
.float.c { right: 30px; bottom: 20%; background: var(--teal); color: #fff; }
@media (max-width: 640px) {
  .hero { padding-top: 32px; }
  .hero-art { padding: 28px 28px 20px; border-radius: var(--r-md); }
  .float { font-size: 13px; padding: 7px 12px; }
  .float.a { left: 10px; } .float.b { right: 10px; top: 8px; } .float.c { right: 10px; }
}

/* Entry bands */
.bands { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.band { border-radius: 24px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-decoration: none; color: var(--ink); transition: transform .15s; }
.band:hover { transform: translateY(-2px); color: var(--ink); }
.band strong { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.band .go { font-weight: 800; white-space: nowrap; }
.band.teal { background: var(--teal); color: #fff; }
.band.teal span { color: var(--teal-ink); }
.band.teal .go, .band.teal strong { color: #fff; }
.band.coral { background: var(--coral); }
.band.mustard { background: var(--mustard); }

/* Cards & grids */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.box { background: var(--grey); border-radius: var(--r-md); padding: 30px; display: flex; flex-direction: column; gap: 8px; }
.box.white { background: #fff; }
.box p { color: var(--muted); }
.product { border: 2px solid var(--line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.product:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--ink); }
.product .ico { width: 72px; height: 72px; border-radius: 22px; display: flex; align-items: center; justify-content: center; }
.product .ico svg { width: 40px; height: 40px; }
.product p { color: var(--muted); }
.product .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product .more { margin-top: auto; font-weight: 800; color: var(--teal); }
.product.cta { background: var(--teal); border-color: var(--teal); color: #fff; justify-content: space-between; min-height: 240px; }
.product.cta p { color: var(--teal-ink); }
.c-coral { background: var(--coral); } .c-mustard { background: var(--mustard); } .c-sky { background: var(--sky); }
.c-mint { background: var(--mint); } .c-lilac { background: var(--lilac); } .c-sand { background: var(--sand); }
.brandcard { border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.brandcard p, .brandcard small { color: #2c3a44; }
.brandcard small { font-size: 14px; margin-top: auto; }

.cta-strip { background: var(--grey); border-radius: var(--r-md); padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-strip strong { display: block; font-family: var(--display); font-weight: 600; font-size: 20px; }

.feature { background: var(--teal); color: #fff; border-radius: var(--r-lg); padding: 64px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.feature p { color: var(--teal-ink); }
.feature .h2 { color: #fff; }
.feature .mini { background: rgba(255,255,255,.1); border-radius: 24px; padding: 22px; }
.feature .mini strong { display: block; font-family: var(--display); font-weight: 600; }
.feature .mini span { color: var(--teal-ink); font-size: 16px; }
@media (max-width: 640px) { .feature { padding: 36px 24px; border-radius: var(--r-md); } }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step .num { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; }
.step p { color: var(--muted); }

.yarn-strip { display: flex; border-radius: var(--r-md); overflow: hidden; height: 120px; }
.yarn-strip span { flex: 1 1 0; min-width: 4px; }

/* Breadcrumbs */
.crumbs { padding-top: 24px; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }

/* Forms */
.form-card { background: #fff; border-radius: 32px; padding: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-card .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.field input, .field textarea, .field select { font: inherit; font-size: 17px; font-weight: 400; color: var(--ink); padding: 14px 18px; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { border-color: var(--teal); outline: none; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.check input { width: 20px; height: 20px; accent-color: var(--teal); }
fieldset.types { border: 0; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
fieldset.types legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.types label { position: relative; }
.types input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.types span { display: inline-block; border-radius: 999px; padding: 10px 18px; font-weight: 600; background: var(--grey); border: 2px solid var(--grey); }
.types input:checked + span { background: var(--teal-soft); border-color: var(--teal); }
.types input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.form-status { grid-column: 1 / -1; border-radius: var(--r-sm); padding: 14px 18px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: var(--mint); }
.form-status.err { display: block; background: var(--coral); }
.hp { display: none; }
@media (max-width: 640px) { .form-card { grid-template-columns: 1fr; padding: 24px; border-radius: var(--r-md); } }

.inquiry { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.inquiry > .stack { flex: 1 1 360px; }
.inquiry > form { flex: 1 1 540px; }

/* Contact */
.contact-label { font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-big { font-family: var(--display); font-size: 19px; font-weight: 600; text-decoration: none; }

/* Footer */
.site-footer { background: var(--grey); color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); padding: 40px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.site-footer img { height: 44px; width: auto; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Swatches (příze) */
.picker { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.picker > .stack { flex: 1 1 620px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 14px 10px; }
.sw { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-align: left; }
.sw i { display: block; height: 62px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); background-image: repeating-linear-gradient(100deg, rgba(255,255,255,.10) 0 2px, rgba(0,0,0,.08) 2px 4px, transparent 4px 7px); }
.sw b { font-size: 14px; font-weight: 500; }
.sw[aria-pressed="true"] i { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--ink); }
.sw[aria-pressed="true"] b { font-weight: 800; }
.side-panel { flex: 0 1 380px; background: var(--blush); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 104px; }
.side-panel .field input { background: #fff; }
.picked { display: flex; flex-wrap: wrap; gap: 8px; }
.picked button { font: inherit; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 0; border-radius: 999px; padding: 6px 12px 6px 6px; cursor: pointer; color: var(--ink); }
.picked i { width: 22px; height: 22px; border-radius: 50%; display: inline-block; }
@media (max-width: 960px) { .side-panel { position: static; flex-basis: 100%; } }

/* Konfigurátor bambulí */
.configurator { background: var(--warm); border-radius: var(--r-lg); padding: 48px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.preview { flex: 1 1 360px; display: flex; flex-direction: column; align-items: center; gap: 18px; position: sticky; top: 104px; }
.preview .stage { background: #fff; border-radius: 32px; width: 100%; max-width: 440px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.preview svg { width: 88%; height: auto; }
.controls { flex: 1 1 500px; display: flex; flex-direction: column; gap: 28px; }
.dots { display: grid; grid-template-columns: repeat(auto-fill, minmax(34px, 1fr)); gap: 6px; }
.dot { width: 100%; aspect-ratio: 1; border: 0; padding: 0; cursor: pointer; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.dot[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--warm), 0 0 0 5px var(--ink); }
.range-row { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 20px; padding: 14px 20px; }
.range-row output { font-weight: 800; min-width: 64px; }
.range-row input { flex: 1 1 auto; accent-color: var(--teal); height: 28px; }
.note-row { display: flex; align-items: baseline; gap: 12px; background: #fff; border-radius: 20px; padding: 16px 20px; flex-wrap: wrap; }
.note-row strong { font-family: var(--display); font-size: 16px; font-weight: 600; }
@media (max-width: 960px) { .preview { position: static; } }
@media (max-width: 640px) { .configurator { padding: 24px; border-radius: var(--r-md); } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-check li { padding-left: 32px; position: relative; }
.list-check li::before { content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-soft); }
.list-check li::after { content: ""; position: absolute; left: 6px; top: 10px; width: 8px; height: 5px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
