/* ═══════════════════════════════════════════════════
   Sdílíme Česko — verze „Krajina"
   Fotograficky vedený editoriální layout
   ═══════════════════════════════════════════════════ */

:root {
  /* barvy odvozené z loga a z fotografií */
  --navy: #11386f;
  --green: #4b9d25;
  --green-deep: #3a7a1c;
  --amber: #ffad00;
  --terracotta: #b8552f;

  --ink: #15283b;
  --ink-soft: #4d6070;
  --paper: #faf7f1;
  --sand: #f1e8db;
  --night: #10202f;

  --line: rgba(21, 40, 59, 0.14);
  --line-soft: rgba(21, 40, 59, 0.08);
  --surface: #fff;
  --surface-soft: rgba(255, 255, 255, 0.78);

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --content-max: 1180px;
  --gutter: max(clamp(1.25rem, 4vw, 4rem), calc((100vw - var(--content-max)) / 2));
  --section-y: clamp(3.75rem, 6vw, 6rem);
  --section-y-tight: clamp(2.5rem, 4.5vw, 4rem);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 16px 40px -30px rgba(21, 40, 59, 0.45);
  --shadow-lift: 0 20px 44px -26px rgba(21, 40, 59, 0.48);
  --head-h: 68px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(0.96rem, 0.93rem + 0.16vw, 1.035rem);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

/* height:auto ruší prezentační hint z atributu height, aby platil aspect-ratio */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

::selection {
  background: var(--amber);
  color: var(--night);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 6px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── tlačítka a odkazy ─────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.76rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.btn-amber {
  background: var(--amber);
  color: var(--night);
  box-shadow: 0 10px 26px -12px rgba(255, 173, 0, 0.9);
}
.btn-amber:hover { background: #ffbc2b; transform: translateY(-2px); }

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(75, 157, 37, 0.9);
}
.btn-green:hover { background: var(--green-deep); transform: translateY(-2px); }

/* ── záhlaví ───────────────────────────────────── */

.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--head-h);
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.75rem);
  padding: 0 var(--gutter);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 24, 36, 0.55), rgba(10, 24, 36, 0));
  opacity: 1;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.masthead.is-stuck {
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px -24px rgba(21, 40, 59, 0.6);
}
.masthead.is-stuck::before { opacity: 0; }

.brand {
  position: relative;
  display: block;
  flex: none;
  line-height: 0;
}
.brand img {
  height: 36px;
  width: auto;
}

/* logo na fotce potřebuje odsazení, aby bylo čitelné */
.masthead:not(.is-stuck) .brand img {
  filter: brightness(0) invert(1);
  transition: filter 0.35s var(--ease);
}
.masthead.is-stuck .brand img { filter: none; }

.masthead-nav {
  position: relative;
  margin-left: auto;
  display: flex;
  gap: clamp(0.8rem, 1.5vw, 1.4rem);
}

.masthead-nav a {
  position: relative;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  padding: 0.35rem 0;
  transition: color 0.3s var(--ease);
}
.masthead-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--amber);
  transition: width 0.3s var(--ease);
}
.masthead-nav a:hover::after { width: 100%; }

.masthead.is-stuck .masthead-nav a { color: var(--ink); }

.masthead-cta {
  position: relative;
  flex: none;
  padding: 0.52rem 1.15rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--night);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.masthead-cta:hover { background: #ffbc2b; transform: translateY(-1px); }

.burger {
  position: relative;
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: background-color 0.3s var(--ease);
}
.masthead.is-stuck .burger span { background: var(--ink); }

/* ── mobilní menu ──────────────────────────────── */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--night);
  color: var(--paper);
  overflow-y: auto;
  animation: drawerIn 0.35s var(--ease);
}
.drawer[hidden] { display: none; }

@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.drawer-inner {
  min-height: 100%;
  padding: 1.5rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.drawer-close {
  align-self: flex-end;
  background: none;
  border: 0;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 0;
  cursor: pointer;
}

.drawer nav {
  display: flex;
  flex-direction: column;
}
.drawer nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(250, 247, 241, 0.14);
  font-family: var(--display);
  font-size: 1.85rem;
  text-decoration: none;
}
.drawer nav a em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.drawer .btn { align-self: flex-start; }

.drawer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: auto 0 0;
  font-size: 0.95rem;
  color: rgba(250, 247, 241, 0.72);
}
.drawer-contact a { text-decoration: none; }

/* ── společné prvky sekcí ──────────────────────── */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.eyebrow i {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--amber);
}
.eyebrow--light { color: var(--amber); }

.kicker {
  margin: 0 0 1.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.section-head { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.section-head h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.35rem); }
.section-head--center {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}
.section-head--center .eyebrow { justify-content: center; }

.lead {
  font-size: clamp(1.04rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ── HERO ──────────────────────────────────────── */

.hero {
  position: relative;
  min-height: min(82svh, 780px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--head-h) + 1.5rem) var(--gutter) clamp(2.75rem, 5vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  animation: heroDrift 26s var(--ease) forwards;
}

@keyframes heroDrift {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(9, 22, 33, 0.88) 0%, rgba(9, 22, 33, 0.55) 32%, rgba(9, 22, 33, 0.08) 62%, rgba(9, 22, 33, 0.3) 100%),
    linear-gradient(to right, rgba(9, 22, 33, 0.5), rgba(9, 22, 33, 0) 65%);
}

.hero-copy {
  max-width: 46rem;
  color: #fff;
  animation: heroRise 1s var(--ease) 0.1s backwards;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.hero h1 {
  font-size: clamp(2.35rem, 1.35rem + 3.8vw, 4.35rem);
  line-height: 1.08;
  margin-bottom: 1.15rem;
  text-shadow: 0 2px 30px rgba(9, 22, 33, 0.35);
}
.hero h1 em {
  font-style: italic;
  color: var(--amber);
}
.hero-line {
  display: block;
  color: #fff;
}
.hero-line--save {
  color: #8fd45f; /* světlejší zelená — čitelná na fotce */
}
.hero-line--earn {
  color: var(--amber);
  font-style: italic;
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2.75rem, 5vw, 4.5rem);
  width: 26px;
  height: 46px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.hero-scroll span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: scrollHint 1.9s var(--ease) infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(16px); opacity: 0; }
}

/* ── citát se sousedy ──────────────────────────── */

.quote-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding: var(--section-y-tight) var(--gutter);
  background: var(--night);
  color: var(--paper);
}

.quote-photo { margin: 0; }
.quote-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.quote-band blockquote { margin: 0; }
.quote-band blockquote p {
  font-family: var(--display);
  font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.3rem);
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.quote-band .btn {
  margin-top: 0.25rem;
}

/* ── kalkulačka ────────────────────────────────── */

.calc {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: start;
  padding: var(--section-y) var(--gutter);
  background: var(--night);
  color: var(--paper);
}

.calc-intro { position: sticky; top: calc(var(--head-h) + 1.5rem); }
.calc-intro h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.35rem); margin-bottom: 1.1rem; }
.calc-intro .lead { color: rgba(250, 247, 241, 0.74); }
.calc-aside {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(250, 247, 241, 0.16);
  font-size: 0.88rem;
  color: rgba(250, 247, 241, 0.55);
  max-width: 44ch;
}

.calc-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px -45px rgba(0, 0, 0, 0.68);
}

.mode-tabs {
  grid-column: 1 / -1;
  display: flex;
  padding: 0.35rem;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line);
  background: var(--sand);
}
.mode-tabs button {
  flex: 1;
  min-height: 44px;
  padding: 0.72rem 1rem;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.mode-tabs button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 5px 14px -10px rgba(21, 40, 59, 0.55);
}

#calc-fields {
  padding: clamp(1.35rem, 2.5vw, 2rem);
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.field label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.field-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field-box:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(75, 157, 37, 0.14);
}
.field-box input {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 0.72rem 0.9rem;
  border: 0;
  background: none;
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--ink);
}
.field-box input:focus { outline: none; }
.field-box span {
  padding: 0 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

.range-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.range-head label { margin-bottom: 0.7rem; }
.range-head output {
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--green-deep);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--green) var(--fill, 30%), var(--line) var(--fill, 30%));
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--green);
  box-shadow: 0 2px 8px rgba(21, 40, 59, 0.2);
  transition: transform 0.2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--green);
}

.range-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.76rem;
  color: var(--ink-soft);
}

.advanced-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  padding: 0.65rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green-deep);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.advanced-toggle:hover,
.advanced-toggle[aria-expanded="true"] {
  border-color: var(--green);
  background: rgba(75, 157, 37, 0.08);
  color: var(--green-deep);
}
.advanced-toggle .chevron {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--ink-soft);
  transition: transform 0.2s var(--ease);
}
.advanced-toggle[aria-expanded="true"] .chevron {
  transform: rotate(90deg);
}

.calc-advanced {
  display: grid;
  gap: 1.15rem;
  padding-top: 0.15rem;
}
.calc-advanced[hidden] { display: none; }

.range-note {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.calc-result {
  padding: clamp(1.35rem, 2.5vw, 2rem);
  background: var(--sand);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.result-label {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.result-amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(2.35rem, 1.6rem + 2.4vw, 3.35rem);
  line-height: 1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.result-amount small {
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.result-copy {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 1.15rem;
}

.result-compare {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.result-compare > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.result-compare dt {
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.result-compare dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.calc-result .btn { margin-top: auto; }

/* ── intro strip ───────────────────────────────── */

.intro-strip {
  padding: var(--section-y-tight) var(--gutter);
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.intro-strip-inner {
  max-width: 72rem;
  margin: 0 auto;
}
.intro-strip p {
  max-width: 50rem;
  margin: 0 auto 1.65rem;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.1rem + 1.35vw, 2.05rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
.intro-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.intro-benefits li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.25;
}
.intro-benefit-mark {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}
.intro-benefit-mark::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.28rem;
  width: 0.28rem;
  height: 0.5rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(40deg);
}

@media (max-width: 900px) {
  .intro-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .intro-benefits {
    grid-template-columns: minmax(0, 1fr);
  }
  .intro-benefits li {
    justify-content: flex-start;
    text-align: left;
  }
}

/* ── o projektu ────────────────────────────────── */

.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  padding: var(--section-y) var(--gutter);
}

.about-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.about-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.about-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(16, 32, 47, 0.92) 0%,
      rgba(16, 32, 47, 0.84) 42%,
      rgba(16, 32, 47, 0.55) 72%,
      rgba(16, 32, 47, 0.35) 100%
    ),
    linear-gradient(
      to top,
      rgba(16, 32, 47, 0.55) 0%,
      transparent 35%
    );
}

.about-copy {
  position: relative;
  max-width: 52rem;
}
.about-copy h2 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.35rem);
  margin-bottom: 1.1rem;
  color: #8fd45f;
  text-wrap: balance;
}
.about-copy .lead {
  margin-bottom: 1.6rem;
  max-width: 48ch;
  color: rgba(250, 247, 241, 0.88);
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.about-points article {
  padding: 1rem 1.1rem 1.1rem;
  background: rgba(250, 247, 241, 0.94);
  color: var(--ink);
  border: 1px solid rgba(250, 247, 241, 0.35);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    transform 0.28s var(--ease),
    background 0.28s var(--ease);
}
.about-points article:hover {
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}
.point-index {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--green-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.about-points article:hover .point-index {
  color: var(--green);
}
.about-points h3 {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.about-points p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.35rem;
}

/* ── rozdíly / cíle ────────────────────────────── */

.split-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  padding: var(--section-y-tight) var(--gutter) var(--section-y);
  background: var(--paper);
}
.split-card {
  padding: clamp(1.25rem, 2.2vw, 1.65rem);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.split-card h3 {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  margin-bottom: 1rem;
  padding-bottom: 0;
  border-bottom: 0;
}
.split-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.split-card li {
  position: relative;
  padding: 0.58rem 0 0.58rem 1.35rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
}
.split-card li:last-child { border-bottom: 0; }
.split-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.63rem;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 800;
}

/* ── praxe / síťová vizualizace ────────────────── */

.practice {
  padding: var(--section-y) var(--gutter);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.72), transparent 42rem),
    #f3ecdf;
}
.practice .section-head .lead {
  margin: 1rem 0 0;
  max-width: 44rem;
  color: var(--ink-soft);
}

.network {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.network-legend {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.legend-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.legend-item:hover,
.legend-item.is-active {
  border-color: var(--green);
  box-shadow: 0 10px 28px -18px rgba(21, 40, 59, 0.45);
  transform: translateY(-1px);
}
.legend-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}
.legend-item em {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.legend-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
}
.legend-ico svg { width: 28px; height: 28px; }
.legend-ico--factory { background: var(--navy); }
.legend-ico--solar { background: var(--green); }
.legend-ico--home { background: #c45e2d; }
.legend-ico--wine { background: #6b4f9a; }
.legend-ico--shop { background: #0f8a7d; }

.network-map {
  position: relative;
  min-height: clamp(420px, 52vw, 560px);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 48%, rgba(75, 157, 37, 0.08), transparent 42%),
    linear-gradient(160deg, #fff 0%, #f7f1e6 100%);
  border: 1px solid var(--line);
  overflow: visible;
}

.network-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.network-links .link {
  stroke: rgba(75, 157, 37, 0.28);
  stroke-dasharray: 5 7;
}
.network-links .pulse {
  stroke: var(--green);
  stroke-dasharray: 10 180;
  stroke-dashoffset: 190;
  opacity: 0;
}
.network.is-ready .pulse {
  opacity: 0.85;
  animation: energyFlow 3.2s linear infinite;
}
.network-links .pulse[data-link="dvorak"] { animation-delay: 0s; }
.network-links .pulse[data-link="novak"] { animation-delay: 0.45s; }
.network-links .pulse[data-link="svobodova"] { animation-delay: 0.9s; }
.network-links .pulse[data-link="kral"] { animation-delay: 1.35s; }
.network-links .pulse[data-link="krizkova"] { animation-delay: 1.8s; }

@keyframes energyFlow {
  to { stroke-dashoffset: -190; }
}

.network[data-active] .link { opacity: 0.22; }
.network[data-active] .pulse { opacity: 0.15; }
.network[data-active] .link[data-link].is-hot,
.network[data-active] .pulse[data-link].is-hot {
  opacity: 1;
  stroke: var(--green);
  stroke-width: 3;
}

.net-hub {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: clamp(9.5rem, 18vw, 12.5rem);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5cb22e, var(--green-deep) 70%);
  color: #fff;
  text-align: center;
  box-shadow:
    0 0 0 10px rgba(75, 157, 37, 0.12),
    0 0 0 20px rgba(75, 157, 37, 0.06),
    0 18px 40px -16px rgba(21, 40, 59, 0.55);
  animation: hubPulse 4s var(--ease) infinite;
}
@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 0 10px rgba(75, 157, 37, 0.12), 0 0 0 20px rgba(75, 157, 37, 0.06), 0 18px 40px -16px rgba(21, 40, 59, 0.55); }
  50% { box-shadow: 0 0 0 14px rgba(75, 157, 37, 0.16), 0 0 0 28px rgba(75, 157, 37, 0.08), 0 18px 40px -16px rgba(21, 40, 59, 0.55); }
}
.net-hub-bolt {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--amber);
}
.net-hub-bolt svg { width: 100%; height: 100%; }
.net-hub strong {
  font-family: var(--sans);
  font-size: clamp(0.72rem, 0.65rem + 0.35vw, 0.88rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.net-hub > span:last-child {
  font-size: 0.68rem;
  line-height: 1.25;
  opacity: 0.85;
  max-width: 11ch;
}

.net-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: center;
  color: inherit;
  font: inherit;
  transition: transform 0.3s var(--ease);
}
.net-node:hover,
.net-node.is-active { transform: translate(-50%, -50%) scale(1.05); z-index: 4; }

.net-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 7.5rem;
  max-width: 9.5rem;
  padding: 0.55rem 0.55rem 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px -18px rgba(21, 40, 59, 0.5);
  backdrop-filter: blur(6px);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.net-node.is-active .net-card,
.net-node:hover .net-card {
  border-color: var(--green);
  box-shadow: 0 16px 34px -16px rgba(75, 157, 37, 0.45);
}
.net-card strong {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
}

.net-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.net-badge--in { background: var(--navy); }

.net-building {
  display: block;
  width: clamp(4.5rem, 8vw, 5.75rem);
  line-height: 0;
}
.net-building svg { width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  .network.is-ready .pulse,
  .net-hub { animation: none; }
}

/* ── profesionální krajinná mapa ───────────────── */

.network-map {
  order: 1;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(21, 40, 59, 0.12);
  border-radius: var(--radius-lg);
  background: #f7eddb;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 28px 70px -46px rgba(21, 40, 59, 0.55);
}

.network-scene,
.network-map-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.network-scene {
  object-fit: cover;
  z-index: 0;
}
.network-map-shade {
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 54%, transparent 0 19%, rgba(255, 250, 240, 0.12) 35%, rgba(255, 250, 240, 0.02) 65%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(24, 46, 38, 0.04));
}

.network-links {
  z-index: 2;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.85));
}
.network-links .link {
  stroke: rgba(42, 126, 62, 0.78);
  stroke-width: 2.5;
  stroke-dasharray: 2 8;
}
.network-links .pulse {
  stroke: var(--amber);
  stroke-width: 4;
  stroke-dasharray: 14 210;
}

.net-hub {
  top: 55%;
  width: clamp(8.5rem, 15vw, 11.5rem);
  background: linear-gradient(145deg, #15344c, #0b2538);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.8),
    0 0 0 12px rgba(75, 157, 37, 0.75),
    0 20px 42px -18px rgba(9, 28, 43, 0.72);
}
@keyframes hubPulse {
  0%, 100% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.8), 0 0 0 12px rgba(75, 157, 37, 0.7), 0 20px 42px -18px rgba(9, 28, 43, 0.72);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.86), 0 0 0 16px rgba(75, 157, 37, 0.42), 0 20px 42px -18px rgba(9, 28, 43, 0.72);
  }
}
.net-hub strong {
  max-width: 12ch;
  font-size: clamp(0.72rem, 0.58rem + 0.42vw, 0.96rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.net-hub > span:last-child {
  max-width: 15ch;
  font-size: clamp(0.58rem, 0.5rem + 0.2vw, 0.7rem);
}

.net-card {
  min-width: 0;
  max-width: 12rem;
  padding: 0.5rem 0.72rem 0.58rem;
  gap: 0.26rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px -12px rgba(21, 40, 59, 0.36);
  backdrop-filter: blur(12px) saturate(1.12);
}
.net-building { display: none; }
.net-card strong {
  font-size: clamp(0.64rem, 0.56rem + 0.25vw, 0.8rem);
  color: var(--night);
}
.net-badge {
  padding: 0.12rem 0.42rem;
  font-size: 0.52rem;
}
.net-node:hover .net-card,
.net-node.is-active .net-card {
  border-color: rgba(255, 173, 0, 0.9);
  box-shadow:
    0 0 0 3px rgba(255, 173, 0, 0.2),
    0 16px 34px -12px rgba(21, 40, 59, 0.45);
}

.network-flowbar {
  order: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1.5rem);
  max-width: 920px;
  width: calc(100% - 2rem);
  margin: -1.15rem auto 0;
  padding: 0.8rem clamp(0.9rem, 2vw, 1.4rem);
  z-index: 5;
  border: 1px solid rgba(21, 40, 59, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px -24px rgba(21, 40, 59, 0.48);
  backdrop-filter: blur(14px);
}
.network-flowbar span {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.network-flowbar b {
  color: var(--night);
  font-size: 0.86rem;
}
.network-flowbar small {
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
}
.network-flowbar i {
  color: var(--green);
  font-style: normal;
  font-size: 1.4rem;
}
.network-flowbar__hub b { color: var(--green-deep); }

.network-legend {
  order: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}
.legend-item {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.68rem;
  border-color: rgba(21, 40, 59, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.68);
}
.legend-ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.legend-ico svg {
  width: 22px;
  height: 22px;
}
.legend-item strong { font-size: 0.78rem; }
.legend-item em {
  margin-top: 0.25rem;
  font-size: 0.69rem;
}

/* ── transparentní model ───────────────────────── */

.model { padding: var(--section-y) var(--gutter); }

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.2rem);
}
.model-grid article {
  padding: 1.1rem 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    transform 0.28s var(--ease);
}
.model-grid article:hover {
  border-color: var(--green);
  box-shadow: 0 16px 34px -18px rgba(21, 40, 59, 0.42);
  transform: translateY(-3px);
}
.model-grid article:hover .point-index {
  color: var(--green);
}
.model-grid h3 {
  font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.4rem);
  margin-bottom: 0.5rem;
}
.model-grid p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}
.model-grid strong { color: var(--ink); font-weight: 700; }
.model-grid a {
  color: var(--green-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1.5px;
}
.model-grid a:hover { color: var(--green); }

/* ── technická zóna ────────────────────────────── */

.tech {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 0;
  background: var(--night);
  color: var(--paper);
}
.tech-visual {
  min-height: 100%;
  overflow: hidden;
}
.tech-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.tech-copy {
  padding: var(--section-y-tight) var(--gutter);
}
.tech-copy h2 {
  font-size: clamp(1.85rem, 1.3rem + 2vw, 2.85rem);
  margin-bottom: 1.5rem;
}
.tech-blocks {
  display: grid;
  gap: 0;
}
.tech-blocks article {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(250, 247, 241, 0.16);
}
.tech-blocks article:first-child {
  padding-top: 0.35rem;
  border-top: 0;
}
.point-index--light {
  color: var(--amber);
}
.tech-blocks h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.45rem);
  margin-bottom: 0.55rem;
  color: var(--paper);
}
.tech-blocks p {
  color: rgba(250, 247, 241, 0.74);
  margin-bottom: 0.75em;
  font-size: 0.95rem;
  line-height: 1.55;
}
.tech-blocks p:last-child { margin-bottom: 0; }

/* ── FAQ seznamy ───────────────────────────────── */

.faq-answer ul {
  margin: 0.75rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--ink-soft);
}
.faq-answer li { margin-bottom: 0.45rem; }
.faq-answer p + p { margin-top: 0.75em; }

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  padding: var(--section-y) var(--gutter);
}
.faq .section-head {
  margin-bottom: 0;
  position: sticky;
  top: calc(var(--head-h) + 1.5rem);
}

/* ── zapojit se ────────────────────────────────── */

.join {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: var(--section-y) var(--gutter);
  background: var(--sand);
}

.join-photo { margin: 0; }
.join-photo img {
  width: 100%;
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.join-form-wrap h2 {
  font-size: clamp(1.9rem, 1.25rem + 2.6vw, 3.2rem);
  margin-bottom: 0.9rem;
}
.join-form-wrap .lead { margin-bottom: 1.5rem; max-width: 42ch; }

.join-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.join-form .field--full { grid-column: 1 / -1; }

.join-form .field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.join-form input[type="text"],
.join-form input[type="tel"],
.join-form select {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.join-form input:focus,
.join-form select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(75, 157, 37, 0.14);
}

.select-box { position: relative; }
.select-box::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--ink-soft);
  border-bottom: 1.5px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-box select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--green);
}

.join-form .btn { grid-column: 1 / -1; justify-self: start; }

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-deep);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.join-form.is-sent .form-status { opacity: 1; transform: none; }
.join-form.is-error .form-status { opacity: 1; transform: none; color: var(--terracotta); }

.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.join-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
  margin-top: 1.35rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.join-contacts a {
  margin-left: 0;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 56, 111, 0.3);
}
.join-contacts a:hover { border-bottom-color: var(--navy); }

/* ── FAQ ───────────────────────────────────────── */

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: 52px;
  padding: 1rem 0;
  background: none;
  border: 0;
  font-family: var(--display);
  font-size: clamp(1.06rem, 0.98rem + 0.45vw, 1.3rem);
  line-height: 1.3;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-item button i {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}
.faq-item button i::before,
.faq-item button i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--green);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-item button i::before { width: 16px; height: 1.5px; }
.faq-item button i::after { width: 1.5px; height: 16px; }
.faq-item.is-open button i::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer {
  padding: 0 0 1.25rem;
  max-width: 60ch;
  color: var(--ink-soft);
  animation: answerIn 0.35s var(--ease);
}
@keyframes answerIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ── patička ───────────────────────────────────── */

.colophon {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: var(--section-y-tight) var(--gutter) 1.75rem;
  background: var(--night);
  color: rgba(250, 247, 241, 0.7);
}

.colophon .brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}
.colophon-brand p {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(250, 247, 241, 0.6);
}

.colophon-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.colophon-cols h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.colophon-cols a,
.colophon-cols p {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.colophon-cols a:hover { color: var(--paper); }

.colophon small {
  grid-column: 1 / -1;
  padding-top: 1.35rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(250, 247, 241, 0.14);
  font-size: 0.8rem;
  color: rgba(250, 247, 241, 0.45);
}

/* ── odhalování při scrollu ────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── responzivita ──────────────────────────────── */

@media (max-width: 1080px) {
  .tech { grid-template-columns: minmax(0, 1fr); }

  .network {
    grid-template-columns: minmax(0, 1fr);
  }
  .network-map {
    min-height: 0;
    order: 1;
  }
  .network-legend {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-intro { position: static; }

  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq .section-head { position: static; margin-bottom: 1.75rem; }

  .tech-visual img { min-height: 260px; max-height: 360px; }
}

@media (max-width: 900px) {
  :root {
    --head-h: 62px;
    --section-y: clamp(3.25rem, 8vw, 4.5rem);
    --section-y-tight: clamp(2.25rem, 6vw, 3.25rem);
  }

  .masthead-nav,
  .masthead-cta { display: none; }
  .burger { display: block; }

  .quote-band,
  .join,
  .colophon { grid-template-columns: minmax(0, 1fr); }

  .split-lists,
  .model-grid { grid-template-columns: minmax(0, 1fr); }

  .quote-photo img { aspect-ratio: 16 / 10; }

  .join-photo img { aspect-ratio: 16 / 11; }
  .join-photo { max-width: 42rem; }

  .net-card {
    min-width: 6.5rem;
    max-width: 8rem;
    padding: 0.4rem 0.4rem 0.55rem;
  }
  .net-card strong { font-size: 0.68rem; }
  .net-hub {
    width: clamp(8rem, 28vw, 10rem);
    padding: 0.75rem;
  }
  .net-hub strong { font-size: 0.7rem; }
  .net-hub > span:last-child { font-size: 0.62rem; }

  .calc-panel { grid-template-columns: minmax(0, 1fr); }
  .calc-result { border-left: 0; border-top: 1px solid var(--line); }

  .network-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .colophon-cols { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
}

@media (max-width: 620px) {
  .network { gap: 1rem; }
  .network-map {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }
  .network-flowbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    width: calc(100% - 1rem);
    margin-top: -0.65rem;
    padding: 0.7rem 0.45rem;
  }
  .network-flowbar i { display: none; }
  .network-flowbar b { font-size: 0.68rem; }
  .network-flowbar small { font-size: 0.55rem; line-height: 1.25; }

  .network-legend { grid-template-columns: minmax(0, 1fr); }
  .legend-item { background: rgba(255, 255, 255, 0.82); }

  .net-hub {
    width: 5.25rem;
    padding: 0.45rem;
    gap: 0.1rem;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8), 0 0 0 7px rgba(75, 157, 37, 0.7), 0 12px 26px -12px rgba(9, 28, 43, 0.72);
  }
  .net-hub-bolt { width: 1.15rem; height: 1.15rem; }
  .net-hub strong { font-size: 0.48rem; }
  .net-hub > span:last-child { display: none; }

  .net-card {
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    max-width: 2.75rem;
    padding: 0;
    border-radius: 50%;
    background: var(--night);
    color: #fff;
  }
  .net-card::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
  }
  .net-node--dvorak .net-card::after { content: "1"; }
  .net-node--novak .net-card::after { content: "2"; }
  .net-node--svobodova .net-card::after { content: "3"; }
  .net-node--kral .net-card::after { content: "4"; }
  .net-node--krizkova .net-card::after { content: "5"; }
  .net-card > * { display: none; }

  .net-node--dvorak { --x: 50% !important; --y: 10% !important; }
  .net-node--novak { --x: 18.5% !important; --y: 33% !important; }
  .net-node--svobodova { --x: 81.5% !important; --y: 33% !important; }
  .net-node--kral { --x: 21.5% !important; --y: 80% !important; }
  .net-node--krizkova { --x: 78.5% !important; --y: 80% !important; }

  .hero {
    min-height: 82svh;
    padding-bottom: 2.25rem;
  }
  .hero-scroll { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .hero-actions .btn { width: 100%; }
  .join-form { grid-template-columns: minmax(0, 1fr); }
  .join-form .btn { justify-self: stretch; }

  .colophon-cols { grid-template-columns: minmax(0, 1fr); }

  .drawer nav a { font-size: 1.55rem; }

  .about-points { grid-template-columns: minmax(0, 1fr); }

  .about-bg img { object-position: 62% center; }

  .about-bg::after {
    background: rgba(16, 32, 47, 0.84);
  }

  .quote-band { gap: 1.5rem; }

  .result-amount { font-size: 2.65rem; }

  .faq-item button { gap: 1rem; }
}

/* ── omezený pohyb ─────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
