/* Fotoška – styl webu */
@font-face { font-family: "Lexend"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/lexend-latin-ext-wght-normal.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: "Lexend"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/lexend-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-ext-wght-normal.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: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(/assets/fonts/inter-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+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 {
  --ink: #001f49;
  --ink-2: #22406b;
  --muted: #5a6e8c;
  --cream: #f6fafd;
  --cream-2: #e8f2fa;
  --card: #ffffff;
  --line: #dce8f2;
  --heat: #fd8300;
  --heat-2: #ffac0d;
  --amber: #ffc94a;
  --cool: #2384d1;
  --cool-2: #6cbcf2;
  --ice: #e4f2fd;
  --leaf: #5e9e1a;
  --night: #001634;
  --grad: linear-gradient(120deg, var(--cool) 0%, var(--cool-2) 30%, var(--heat-2) 70%, var(--heat) 100%);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(0,31,73,.06), 0 12px 32px -12px rgba(0,31,73,.18);
  --shadow-lg: 0 2px 4px rgba(0,31,73,.06), 0 30px 60px -20px rgba(0,31,73,.28);
  --font-head: "Lexend", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,.8,.24,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.03em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cool); outline-offset: 3px; border-radius: 6px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--heat); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

/* buttons */
.btn { --b: var(--ink); display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 600 1rem/1 var(--font-body); text-decoration: none; border: 0; cursor: pointer; position: relative; isolation: isolate; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { color: #fff; background: var(--ink); box-shadow: 0 10px 24px -10px rgba(253,131,0,.7); }
.btn-primary::before { content: ""; position: absolute; inset: 0; background: var(--grad); z-index: -1; opacity: 0; transition: opacity .35s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(253,131,0,.75); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.site-header.is-scrolled { background: rgba(246,250,253,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 42px; width: auto; transition: transform .5s var(--ease); }
.logo:hover img { transform: scale(1.04); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-link { position: relative; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--ink-2); border-radius: 999px; transition: color .2s, background .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); background: rgba(0,31,73,.06); }
.nav-cta { margin-left: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; background: var(--cream); box-shadow: 0 20px 40px -20px rgba(0,31,73,.3); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .25s; }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { font-size: 1.1rem; padding: 14px 16px; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
  .nav-open .site-header { background: var(--cream); }
}

/* hero */
.hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-bg { position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: blob 18s ease-in-out infinite alternate; }
.blob-a { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; background: radial-gradient(circle, #ffc061, transparent 65%); right: -6%; top: 0; }
.blob-b { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; background: radial-gradient(circle, #b5dcfa, transparent 65%); left: -8%; top: 22%; animation-delay: -6s; }
.blob-c { width: 26vw; height: 26vw; max-width: 380px; max-height: 380px; background: radial-gradient(circle, #ffe08a, transparent 65%); left: 40%; top: 48%; animation-delay: -11s; }
@keyframes blob { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(4%, -6%) scale(1.12); } 100% { transform: translate(-5%, 4%) scale(.94); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero .lead, .hero-actions, .hero-points { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.hero .lead { animation-delay: .45s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; animation-delay: .58s; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--ink-2); font-size: .95rem; animation-delay: .7s; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; color: var(--cool); flex: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.scene { position: relative; opacity: 0; animation: fadeUp 1.1s .2s var(--ease) forwards; }
.photo { position: relative; aspect-ratio: 849 / 773; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow-lg); transform: translateZ(0); }
.photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.08) translate(0,0); } to { transform: scale(1.16) translate(-2%, -1.5%); } }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(0,31,73,.35)); pointer-events: none; }
.photo .airflow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.airflow .stream { fill: none; stroke-linecap: round; stroke-dasharray: 60 240; animation: stream 3.2s linear infinite; }
.airflow .stream:nth-child(2) { animation-delay: -.8s; } .airflow .stream:nth-child(3) { animation-delay: -1.6s; } .airflow .stream:nth-child(4) { animation-delay: -2.4s; }
@keyframes stream { from { stroke-dashoffset: 300; } to { stroke-dashoffset: 0; } }
.airflow .warm { animation-duration: 4s; }
.swoosh { position: absolute; left: -14%; right: -8%; bottom: -12%; height: 40%; z-index: -1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.swoosh path { animation: wave 10s ease-in-out infinite alternate; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: 16px; box-shadow: var(--shadow); font-size: .86rem; line-height: 1.25; animation: float 6s ease-in-out infinite; }
.chip b { display: block; font: 700 1.05rem/1.1 var(--font-head); }
.chip i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-size: 1.1rem; flex: none; }
.chip-1 { left: -4%; top: 10%; } .chip-1 i { background: var(--ice); color: var(--cool); }
.chip-2 { right: -2%; top: 46%; animation-delay: -2s; } .chip-2 i { background: #fff3e0; color: var(--heat); }
.chip-3 { left: 6%; bottom: 2%; animation-delay: -4s; } .chip-3 i { background: #fff6e2; color: #d98a00; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .scene { max-width: 560px; margin: 8px auto 0; width: 100%; }
  .chip { font-size: .78rem; padding: 8px 12px 8px 8px; }
  .chip i { width: 30px; height: 30px; }
  .chip-1 { left: 0; } .chip-2 { right: 0; }
}

/* marquee */
.marquee { border-block: 1px solid var(--line); background: var(--card); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 48px; font: 600 1.15rem/1 var(--font-head); color: var(--ink-2); white-space: nowrap; }
.marquee-item::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* benefits */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::after { transform: scaleX(1); }
.card h3 { margin-top: 22px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; background: var(--ice); color: var(--cool); transition: transform .5s var(--ease); }
.icon svg { width: 28px; height: 28px; }
.card:hover .icon { transform: rotate(-8deg) scale(1.08); }
.icon.warm { background: #fff3e0; color: var(--heat); }
.icon.amber { background: #fff6e2; color: #d98a00; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* stats */
.stats { background: var(--night); color: #fff; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 15% 0%, rgba(35,132,209,.28), transparent 70%), radial-gradient(700px 360px at 90% 100%, rgba(253,131,0,.28), transparent 70%); }
.stats .wrap { position: relative; }
.stats h2 { color: #fff; }
.stats .lead { color: #b9c6d6; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; margin-top: 50px; }
.stat { background: var(--night); padding: 34px 28px; }
.stat-num { font: 700 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--font-head); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.stat p { color: #b9c6d6; margin: 0; font-size: .95rem; }
.stat small { display: block; color: #7f90a6; font-size: .78rem; margin-top: 8px; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr; } }

/* cycle */
.cycle { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.cycle-figure { background: var(--card); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(16px, 3vw, 34px); }
.cycle-figure svg { width: 100%; height: auto; overflow: visible; }
.loop-flow { stroke-dasharray: 2 16; stroke-linecap: round; animation: loop 1.4s linear infinite; }
@keyframes loop { to { stroke-dashoffset: -18; } }
.node { cursor: pointer; }
.node circle.ring { transition: r .4s var(--ease), stroke-width .3s; }
.node .halo { opacity: 0; transition: opacity .4s; }
.node.is-active .halo { opacity: 1; animation: pulse 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.node text { font: 600 13px var(--font-body); fill: var(--ink); }
.node .num { font: 700 15px var(--font-head); fill: #fff; }
.arrow-out { animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.arrow-in { animation: nudgeIn 2s ease-in-out infinite; }
@keyframes nudgeIn { 50% { transform: translateX(6px); } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step-btn { width: 100%; text-align: left; display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 18px 20px; border-radius: 18px; border: 0; background: transparent; cursor: pointer; font: inherit; color: inherit; transition: background .35s, box-shadow .35s; position: relative; overflow: hidden; }
.step-btn .n { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font: 700 1rem/1 var(--font-head); background: var(--cream-2); color: var(--ink-2); transition: background .35s, color .35s; }
.step-btn strong { display: block; font: 700 1.12rem/1.3 var(--font-head); margin-bottom: 2px; }
.step-btn span.t { color: var(--muted); font-size: .95rem; display: block; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.step-btn.is-active { background: var(--card); box-shadow: var(--shadow); }
.step-btn.is-active .n { background: var(--grad); color: #fff; }
.step-btn.is-active span.t { max-height: 160px; opacity: 1; }
.step-btn .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.step-btn.is-active .bar.run { animation: bar var(--dur, 4.5s) linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
@media (max-width: 900px) { .cycle { grid-template-columns: 1fr; } }

/* types */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.type { background: var(--card); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; transform-style: preserve-3d; will-change: transform; }
.type:hover { box-shadow: var(--shadow-lg); }
.type .tag { align-self: flex-start; font: 600 .75rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: var(--ice); color: #1a6fb0; margin-bottom: 20px; }
.type.featured { background: var(--ink); color: #fff; }
.type.featured p, .type.featured li { color: #c3cfdd; }
.type.featured .tag { background: rgba(253,131,0,.18); color: #ffc061; }
.type-art { height: 120px; margin: -6px 0 18px; }
.type p { color: var(--muted); }
.type ul { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 8px; font-size: .95rem; color: var(--ink-2); }
.type li { display: flex; gap: 10px; }
.type li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .62em; border-radius: 50%; background: var(--grad); }
.type .more { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.type .more svg { width: 18px; transition: transform .3s var(--ease); }
.type .more:hover svg { transform: translateX(4px); }
@media (max-width: 960px) { .types { grid-template-columns: 1fr; } }

/* timeline */
.timeline { position: relative; display: grid; gap: 0; max-width: 860px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.timeline-fill { position: absolute; left: 31px; top: 20px; width: 2px; height: calc(100% - 40px); background: var(--grad); transform-origin: top; transform: scaleY(var(--p, 0)); }
.tl-item { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 18px 0; position: relative; }
.tl-dot { width: 64px; height: 64px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; font: 700 1.3rem/1 var(--font-head); position: relative; z-index: 1; transition: background .5s, color .5s, transform .5s var(--ease); }
.tl-item.is-in .tl-dot { background: var(--ink); color: #fff; transform: scale(1.04); }
.tl-body { background: var(--card); border-radius: 20px; padding: 22px 26px; box-shadow: var(--shadow); }
.tl-body h3 { margin-bottom: .3em; }
.tl-body p { margin: 0; color: var(--muted); }

/* subsidy band */
.band { border-radius: 32px; padding: clamp(36px, 6vw, 72px); background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; width: 700px; height: 700px; right: -220px; top: -260px; background: conic-gradient(from 0deg, var(--cool), var(--heat-2), var(--heat), var(--cool)); border-radius: 50%; filter: blur(80px); opacity: .45; z-index: -1; animation: spin 24s linear infinite; }
.band h2 { color: #fff; }
.band .lead { color: #c3cfdd; }
.band-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 36px 0 32px; }
.band-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 26px; backdrop-filter: blur(8px); }
.band-card .big { font: 700 clamp(2rem, 3.6vw, 2.8rem)/1 var(--font-head); letter-spacing: -.03em; margin: 6px 0 12px; display: block; }
.band-card p { color: #c3cfdd; margin: 0; font-size: .95rem; }
.band-card h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; color: #ffc061; letter-spacing: .02em; margin: 0; }
.band small { color: #8ea0b6; display: block; margin-top: 18px; }
@media (max-width: 760px) { .band-grid { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font: 600 1.08rem/1.4 var(--font-head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001f49' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: #ffe8c7; }
.faq .ans { padding: 0 26px 22px; color: var(--ink-2); }
.faq .ans p:last-child { margin: 0; }

/* cta */
.cta { text-align: center; padding: clamp(80px, 11vw, 140px) 0; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(2.3rem, 5.4vw, 4rem); max-width: 14em; margin-inline: auto; }
.cta .lead { margin: 0 auto 32px; }
.cta-waves { position: absolute; inset: auto 0 0 0; height: 160px; z-index: -1; opacity: .5; }
.cta-waves path { animation: wave 9s ease-in-out infinite alternate; }
.cta-waves path:nth-child(2) { animation-duration: 12s; animation-delay: -3s; }
@keyframes wave { to { transform: translateX(-80px); } }

/* article pages */
.page-hero { padding: clamp(40px, 7vw, 90px) 0 clamp(30px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.article-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; padding-bottom: 100px; }
.toc { position: sticky; top: 100px; font-size: .92rem; }
.toc h2 { font: 600 .75rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; transition: color .25s, border-color .25s; }
.toc a.is-active, .toc a:hover { color: var(--ink); border-left-color: var(--heat); }
.article-grid > * { min-width: 0; }
.prose { max-width: 720px; font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.8em; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: #1a6fb0; text-underline-offset: 3px; }
.note { background: var(--card); border-radius: 18px; padding: 20px 24px; box-shadow: var(--shadow); border-left: 4px solid var(--cool); margin: 1.6em 0; font-size: .98rem; }
.note.warm { border-left-color: var(--heat); }
.table-wrap { overflow-x: auto; margin: 1.4em 0; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 520px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; background: var(--cream-2); }
tr:last-child td { border-bottom: 0; }
.figure { margin: 1.6em 0; background: var(--card); border-radius: 22px; box-shadow: var(--shadow); padding: 20px; }
.figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; text-align: center; }
.inline-cta { margin-top: 2.4em; padding: 30px; border-radius: 24px; background: var(--ink); color: #fff; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.inline-cta h3 { color: #fff; margin: 0 0 4px; }
.inline-cta p { margin: 0; color: #c3cfdd; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } .toc { display: none; } }

/* footer */
.site-footer { background: var(--night); color: #c3cfdd; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand p { max-width: 26em; margin-top: 16px; font-size: .95rem; }
.footer-col h2 { font: 600 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #7f90a6; margin-bottom: 16px; }
.footer-col a { display: block; text-decoration: none; padding: 5px 0; font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; color: #7f90a6; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 / simple */
.simple { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.simple .big-num { font: 800 clamp(6rem, 18vw, 12rem)/1 var(--font-head); letter-spacing: -.06em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .scene .air, .scene .heat { opacity: .8; }
}

/* rozcestník průvodců + související */
.meta-line { margin-top: 18px; font-size: .88rem; color: var(--muted); }
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); text-decoration: none; position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.guide-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.guide-card:hover::before { transform: scaleX(1); }
.guide-kicker { font: 600 .74rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--heat); }
.guide-card strong { font: 700 1.2rem/1.25 var(--font-head); color: var(--ink); }
.guide-perex { color: var(--muted); font-size: .95rem; }
.guide-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.guide-more svg { width: 18px; transition: transform .3s var(--ease); }
.guide-card:hover .guide-more svg { transform: translateX(4px); }
.related { margin-top: 3.2em; }
.related h2 { font-size: 1.5rem; margin-bottom: 1em; }
.prose .guide-card { color: inherit; }
.sources { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2.4em; padding-top: 1.2em; }
.sources h2 { font-size: 1rem !important; font-family: var(--font-body); margin: 0 0 .6em !important; color: var(--ink-2); }
.sources ul { margin: 0; }
.provoz { margin: 0; }
.provoz a { color: inherit; }

/* slovník */
.gloss-search { width: 100%; padding: 16px 20px 16px 50px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7190' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 18px center/20px no-repeat; font: inherit; color: var(--ink); margin-bottom: 24px; transition: border-color .2s, box-shadow .2s; }
.gloss-search:focus { outline: none; border-color: var(--cool); box-shadow: 0 0 0 4px rgba(35,132,209,.15); }
.gloss { display: grid; gap: 12px; margin: 0; }
.gloss > div { background: var(--card); border-radius: 18px; padding: 20px 24px; box-shadow: var(--shadow); scroll-margin-top: 100px; transition: opacity .25s, transform .25s; }
.gloss dt { font: 700 1.15rem/1.3 var(--font-head); margin-bottom: 6px; }
.gloss dd { margin: 0; color: var(--ink-2); }
.gloss > div[hidden] { display: none; }
.gloss-empty { color: var(--muted); }

/* principy (o nás) */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 1.4em 0; }
.principles > div { background: var(--card); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.principles strong { display: block; font: 700 1.08rem/1.3 var(--font-head); margin-bottom: 6px; }
.principles p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 640px) { .principles { grid-template-columns: 1fr; } }

/* ===== Fotoška – specifické prvky ===== */
.icon.leaf { background: #eef6e3; color: var(--leaf); }
.chip-1 i { background: #fff3e0; color: var(--heat); }
.chip-2 i { background: var(--ice); color: var(--cool); }
.chip-3 i { background: #eef6e3; color: var(--leaf); }

/* hero – slunce, odlesk panelů, tok energie */
.solar-fx .rays { transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite; }
.solar-fx .sun-glow { transform-box: fill-box; transform-origin: center; animation: sunPulse 4.5s ease-in-out infinite; }
@keyframes sunPulse { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.18); opacity: .85; } }
.solar-fx .glint { animation: glint 5.5s ease-in-out infinite; }
@keyframes glint { 0% { transform: translateX(-420px); } 55%, 100% { transform: translateX(520px); } }
.solar-fx .beam { stroke-dasharray: 3 14; animation: beam 1.6s linear infinite; }
@keyframes beam { to { stroke-dashoffset: -34; } }
.solar-fx .spark { animation: spark 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.solar-fx .spark:nth-of-type(2) { animation-delay: -.8s; } .solar-fx .spark:nth-of-type(3) { animation-delay: -1.6s; }
@keyframes spark { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } }

/* den s fotovoltaikou */
.day { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.day-figure { background: var(--card); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(14px, 2.6vw, 30px); position: relative; overflow: hidden; }
.day-figure svg { width: 100%; height: auto; display: block; }
.day-sky { transition: fill .8s var(--ease); }
.day-sun { transition: transform 1.2s var(--ease), opacity .8s; }
.flow { fill: none; stroke-width: 6; stroke-linecap: round; opacity: .12; transition: opacity .5s; }
.flow.on { opacity: 1; stroke-dasharray: 2 14; animation: beam 1.2s linear infinite; }
.dn rect { transition: fill .4s, stroke .4s; }
.dn text { font: 600 13px var(--font-body); fill: var(--ink); }
.dn .sub { font: 500 11px var(--font-body); fill: var(--muted); }
.batt-level { transition: height 1s var(--ease), y 1s var(--ease); }
.day-tabs { display: inline-flex; padding: 5px; gap: 4px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 22px; flex-wrap: wrap; }
.day-tab { border: 0; background: transparent; font: 600 .95rem/1 var(--font-body); color: var(--ink-2); padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.day-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.day-text h3 { font-size: 1.5rem; margin-bottom: .4em; }
.day-text p { color: var(--ink-2); }
.day-text ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.day-text li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-2); }
.day-text li b { font-family: var(--font-head); color: var(--ink); }
.day-text .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; transform: translateY(1px); }
.day-panel { animation: fadeUp .5s var(--ease); }
@media (max-width: 900px) { .day { grid-template-columns: 1fr; } }
.photo-inner { position: absolute; inset: 0; animation: kenburns 22s ease-in-out infinite alternate; }
.photo .photo-inner img { animation: none; transform: none; }
@media (max-width: 560px) { .scene .chip-2 { display: none; } }

/* poptávkový formulář */
.lead-form { background: var(--card); border-radius: 28px; box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 40px); position: relative; overflow: hidden; text-align: left; max-width: 760px; margin-inline: auto; }
.lf-progress { position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--cream-2); }
.lf-progress span { display: block; height: 100%; width: 33%; background: var(--grad); transition: width .6s var(--ease); }
.lf-step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.lf-step.is-active { display: block; animation: lfIn .5s var(--ease); }
@keyframes lfIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.lf-title { font: 700 clamp(1.3rem, 2.4vw, 1.6rem)/1.2 var(--font-head); padding: 0; margin-bottom: 22px; display: flex; justify-content: space-between; gap: 12px; width: 100%; }
.lf-title span { font: 600 .85rem/1 var(--font-body); color: var(--muted); align-self: center; }
.lf-group { margin-bottom: 22px; }
.lf-q { font-weight: 600; margin: 0 0 10px; }
.lf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lf-chips label { position: relative; cursor: pointer; }
.lf-chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.lf-chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: .95rem; transition: background .25s, color .25s, box-shadow .25s, transform .25s var(--ease); }
.lf-chips label:hover span { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.lf-chips input:checked + span { background: var(--ink); color: #fff; box-shadow: none; transform: scale(1.04); }
.lf-chips input:focus-visible + span { outline: 3px solid var(--cool); outline-offset: 2px; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.lf-field { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.lf-field input, .lf-field textarea { font: 400 1rem/1.4 var(--font-body); color: var(--ink); padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; resize: vertical; }
.lf-field input:focus, .lf-field textarea:focus { outline: none; border-color: var(--cool); background: #fff; box-shadow: 0 0 0 4px rgba(35,132,209,.15); }
.lf-field input.is-bad { border-color: #d64545; }
.lf-wide { grid-column: 1 / -1; }
.lf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-legal { font-size: .84rem; color: var(--muted); margin: 18px 0 0; }
.lf-legal a { color: inherit; }
.lf-error { color: #b42318; background: #fef3f2; border-radius: 12px; padding: 10px 14px; margin: 14px 0 0; font-size: .92rem; }
.lf-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.lf-done { text-align: center; padding: 30px 0 10px; animation: lfIn .6s var(--ease); }
.lf-done:focus { outline: none; }
.lf-check { width: 74px; height: 74px; margin: 0 auto 16px; }
.lf-check circle { stroke: var(--cool); stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s var(--ease) forwards; }
.lf-check path { stroke: var(--heat); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .55s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 600px) { .lf-grid { grid-template-columns: 1fr; } .lf-actions .btn { flex: 1; justify-content: center; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
