/* =====================================================
   Schuzo.cz — veřejná titulní stránka obce (vlastnosti + přihlášení)
   Barvy obce přichází v --brand, --brand-dark, --brand-light, --brand-soft, --accent (Tenant::cssVars()).
   ===================================================== */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('../fonts/manrope-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('../fonts/manrope-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 {
  --brand: #1f5f8b; --brand-dark: #164464; --brand-light: #e4ecf1; --brand-soft: #8fafc5; --accent: #e0b43a;
  --text: #17201c; --muted: #5f6b66; --line: #e3e7e4; --bg: #f6f7f5; --surface: #fff;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.web { margin: 0; font-family: 'Manrope', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }
.w-in { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Záhlaví */
.w-top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, #fff 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.w-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.w-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.w-brand-logo { width: 34px; height: 38px; object-fit: contain; }
.w-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.w-brand small { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.w-brand strong { font-size: 1.1rem; font-weight: 800; color: var(--brand-dark); }
.w-nav { display: flex; align-items: center; gap: 22px; }
.w-nav a:not(.w-btn) { color: var(--muted); font-weight: 600; text-decoration: none; font-size: .95rem; }
.w-nav a:not(.w-btn):hover { color: var(--brand-dark); }
@media (max-width: 640px) { .w-nav a:not(.w-btn) { display: none; } }

/* Tlačítka */
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-weight: 700; text-decoration: none;
  color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 88%, #fff), var(--brand));
  box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 30%, transparent); transition: transform .2s var(--ease), box-shadow .2s; }
.w-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 38%, transparent); color: #fff; }
.w-btn-sm { padding: 8px 16px; font-size: .92rem; border-radius: 10px; }
.w-btn-ghost { background: transparent; color: var(--brand-dark); box-shadow: inset 0 0 0 2px var(--brand-light); }
.w-btn-ghost:hover { color: var(--brand-dark); background: var(--brand-light); box-shadow: inset 0 0 0 2px var(--brand-light); }
.w-btn-light { background: #fff; color: var(--brand-dark); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.w-btn-light:hover { color: var(--brand-dark); }

/* Úvod */
.w-hero { position: relative; overflow: hidden; padding: 64px 0 40px;
  background: radial-gradient(900px 420px at 85% 0%, var(--brand-light), transparent 70%), radial-gradient(600px 300px at 0% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.w-hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .w-hero-in { grid-template-columns: 1fr 1.15fr; } }
.w-kicker { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 99px; background: var(--brand-light); color: var(--brand-dark); font-weight: 700; font-size: .82rem; }
.w-hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.w-hero h1 span { color: var(--brand); }
.w-lead { font-size: 1.15rem; color: var(--muted); max-width: 32em; margin: 18px 0 26px; }
.w-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.w-shot { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 30px 80px color-mix(in srgb, var(--brand-dark) 22%, transparent); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s var(--ease); }
.w-shot:hover { transform: none; }
@media (max-width: 959px) { .w-shot { transform: none; } }

/* Tři přínosy */
.w-benefits { display: grid; gap: 16px; margin-top: 8px; margin-bottom: 20px; }
@media (min-width: 800px) { .w-benefits { grid-template-columns: repeat(3, 1fr); } }
.w-benefit { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.w-benefit h2 { font-size: 1.12rem; margin: 12px 0 6px; }
.w-benefit p { margin: 0; color: var(--muted); }
.w-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark)); box-shadow: 0 8px 18px color-mix(in srgb, var(--brand) 28%, transparent); }
.w-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.w-icon-sm { width: 36px; height: 36px; border-radius: 11px; }
.w-icon-sm svg { width: 19px; height: 19px; }

/* Vlastnosti */
.w-sec { padding: 56px 0; }
.w-sec-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.w-h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; margin: 0 0 24px; }
.w-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .w-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .w-grid { grid-template-columns: repeat(3, 1fr); } }
.w-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; transition: transform .25s var(--ease), box-shadow .25s; }
.w-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16, 24, 20, .08); }
.w-card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 1.08rem; }
.w-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.w-card li { position: relative; padding-left: 24px; color: #2d3833; }
.w-card li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }

/* Postup */
.w-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 800px) { .w-steps { grid-template-columns: repeat(4, 1fr); } }
.w-steps li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.w-steps b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 6px; }
.w-steps span { color: var(--muted); font-size: .95rem; }
.w-note { margin: 22px 0 0; color: var(--muted); }

/* Závěr */
.w-final { padding: 56px 0; color: #fff; text-align: center; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); }
.w-final h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.02em; }
.w-final p { margin: 0 0 22px; opacity: .9; }
.w-foot { padding: 22px 0 30px; color: var(--muted); font-size: .85rem; }
.w-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Pohyb: obsah je vždy vidět (výplň backwards), animace jen zpestří příchod */
@keyframes wRise { from { opacity: 0; transform: translateY(14px); } }
.w-hero-text > * { animation: wRise .7s var(--ease) backwards; }
.w-hero-text > :nth-child(2) { animation-delay: .06s; } .w-hero-text > :nth-child(3) { animation-delay: .12s; } .w-hero-text > :nth-child(4) { animation-delay: .18s; }
.w-shot { animation: wRise .9s .15s var(--ease) backwards; }
.w-benefit, .w-card, .w-steps li { animation: wRise .6s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 70ms + .1s); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .w-shot { transform: none; }
}
