/* =========================================================================
   kontrolaklimatizaci.cz - main stylesheet
   Design system derived 1:1 from the approved landing-page design.
   Sections: tokens · fonts · base · layout · nav · hero · stats · benefits
   · reference · povinnost · proces · rozdily · form · faq · cta · footer
   · legal · utilities · responsive · motion
   ========================================================================= */

/* ---- Design tokens ---------------------------------------------------- */
:root {
  --maxw: 1180px;
  --pad: 32px;

  /* brand */
  --teal: #12a594;
  --teal-700: #0e8475;
  --teal-300: #5fd9c6;
  --ink: #163832;

  /* text */
  --text: #163832;
  --muted: #4a625d;
  --soft: #5a716c;
  --soft-2: #8aa39c;

  /* surfaces */
  --white: #ffffff;
  --mint-50: #f4faf9;
  --mint-100: #e8f7f4;
  --mint-150: #f3fbf9;
  --mint-200: #dcf0ec;

  /* lines */
  --line: #e7eeec;
  --line-2: #eef3f1;
  --field-line: #dbe7e4;
  --field-bg: #f7fbfa;

  /* states */
  --amber: #f0c27a;
  --ok-bg: #e3f6ef;
  --ok-fg: #0e8475;
  --err-bg: #fdeaea;
  --err-fg: #b3261e;

  --hero-grad: linear-gradient(160deg, #e8f7f4, #f3fbf9);

  /* radii */
  --r-pill: 999px;
  --r-xl: 28px;
  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 16px;
  --r-xs: 12px;

  /* elevation */
  --shadow-cta: 0 12px 26px -10px rgba(18, 165, 148, 0.6);
  --shadow-card: 0 16px 32px -18px rgba(22, 56, 50, 0.28);
  --shadow-soft: 0 10px 22px -14px rgba(22, 56, 50, 0.28);

  /* type + motion */
  --font: 'Hanken Grotesk', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.15s;
  --dur: 0.18s;
}

/* ---- Fonts (self-hosted variable subset) ------------------------------ */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-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;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-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;
}

/* ---- Base ------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; }
h1, h2, h3, h4, p { margin: 0; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
input, select, textarea, button { font-family: inherit; }
:focus-visible {
  outline: 3px solid rgba(18, 165, 148, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-xs);
  font-weight: 700;
  font-size: 14px;
}
.skip-link:focus { left: 16px; }

/* ---- Layout ----------------------------------------------------------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section { padding-top: 64px; padding-bottom: 64px; }
.section--tight { padding-top: 16px; }
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--mint-50); }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 12px; }
.h2 {
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-head .h2 { max-width: 26ch; margin: 0 auto; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 16px 26px;
  border: 0;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-700); transform: translateY(-2px); box-shadow: var(--shadow-cta); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--mint { background: var(--teal-300); color: var(--ink); }
.btn--mint:hover { background: #4cc9b5; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--teal); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.3); }
.btn--outline-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.6); background: transparent; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.14); }
.btn--outline { background: #fff; color: var(--ink); border: 1.5px solid var(--field-line); }
.btn--outline:hover { border-color: var(--teal); color: var(--teal-700); transform: translateY(-2px); }
.btn--block { width: 100%; text-align: center; }

/* ---- Nav -------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow var(--dur) var(--ease);
}
.nav.is-scrolled { box-shadow: 0 6px 24px -16px rgba(22, 56, 50, 0.4); }
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 36px; height: 36px; border-radius: var(--r-xs);
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.brand__name { font-weight: 800; font-size: 17px; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.brand__name span { color: var(--teal); }
.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: 14px; font-weight: 600; color: var(--soft); transition: color var(--dur-fast) var(--ease); }
.nav__link:hover { color: var(--teal); }

/* ---- Hero ------------------------------------------------------------- */
.hero { padding: 32px var(--pad) 0; max-width: var(--maxw); margin: 0 auto; }
.hero__box {
  border-radius: var(--r-xl);
  background: var(--hero-grad);
  padding: 60px 52px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-700);
  background: #fff;
  padding: 8px 16px;
  border-radius: var(--r-pill);
}
.hero h1 {
  font-weight: 800;
  font-size: 48px;
  line-height: 1.07;
  letter-spacing: -0.025em;
  margin: 22px 0 18px;
}
.hero__lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 46ch; }
.hero__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 24px; margin-top: 30px; font-size: 13px; font-weight: 600; color: var(--soft); flex-wrap: wrap; }
.hero__art { width: 100%; height: 360px; }
.hero__art svg { width: 100%; height: 100%; }

/* ---- Stats ------------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat { text-align: center; }
.stat__num { font-weight: 800; font-size: 34px; line-height: 1; color: var(--teal); }
.stat__label { font-size: 13px; color: var(--soft); margin-top: 6px; font-weight: 600; }

/* ---- Cards (benefits / rozdily) -------------------------------------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--mint-50);
  border-radius: var(--r-md);
  padding: 30px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--mint-200);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-weight: 700; font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-44 { margin-top: 44px; }

/* icon glyphs */
.glyph-sq { width: 16px; height: 16px; background: var(--teal); border-radius: 4px; }
.glyph-ring { width: 16px; height: 16px; border: 3px solid var(--teal); border-radius: 50%; }
.glyph-dia { width: 16px; height: 16px; background: var(--teal); transform: rotate(45deg); }

/* ---- Reference / logos ----------------------------------------------- */
.ref-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft-2);
  margin: 0 auto 28px;
}
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.logo-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  height: 88px;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.logo-tile:hover { border-color: #bfe0d9; box-shadow: var(--shadow-soft); }
.logo-tile img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter var(--dur) var(--ease);
}
.logo-tile:hover img { filter: grayscale(0) opacity(1); }
.logo-tile svg { opacity: 0.55; }

/* ---- Povinnost (dark box) -------------------------------------------- */
.darkbox { background: var(--ink); border-radius: var(--r-lg); padding: 52px; }
.darkbox__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: stretch; }
.darkbox .eyebrow { color: var(--teal-300); margin-bottom: 14px; }
.darkbox h2 { color: #fff; margin-bottom: 16px; }
.darkbox p { font-size: 16px; line-height: 1.65; color: #b4ccc6; }
.darkbox p + p { margin-top: 12px; }
.note {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}
.note__label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.note p { font-size: 17px; line-height: 1.65; color: #cddedb; }
.note b { color: #fff; }

/* ---- Proces (steps) --------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; }
.step__num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--mint-200); color: var(--teal);
  font-weight: 800; font-size: 21px; line-height: 54px; text-align: center;
  margin: 0 auto 16px;
}
.step--final .step__num { background: var(--teal); color: #fff; }
.step h3 { font-weight: 700; font-size: 16px; line-height: 1.3; margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---- Rozdily ---------------------------------------------------------- */
.diff { border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px; background: #fff; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.diff:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.diff--active { border: 2px solid var(--teal); }
.diff--active:hover { box-shadow: 0 16px 32px -18px rgba(18, 165, 148, 0.4); }
.diff__title { font-weight: 700; font-size: 20px; line-height: 1.3; margin-bottom: 10px; }
.diff--active .diff__title { color: var(--teal); }
.diff p { font-size: 15px; line-height: 1.6; color: var(--soft); }
.diff--active p { color: var(--muted); }
.diff b { color: var(--ink); }

/* ---- Poptavka / form -------------------------------------------------- */
.poptbox { border-radius: var(--r-xl); background: var(--hero-grad); padding: 56px 52px; }
.poptbox__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.poptbox h2 { margin-bottom: 14px; font-size: 30px; }
.poptbox__intro p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.contact-card {
  display: flex; gap: 14px; align-items: center;
  margin-top: 32px; padding: 18px; background: #fff; border-radius: var(--r-sm);
}
.contact-card__avatar {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 19px; letter-spacing: -0.02em;
}
.contact-card__name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.contact-card__role { font-size: 13px; color: var(--soft); margin: 3px 0; }
.contact-card__phone { font-size: 13px; font-weight: 700; color: var(--teal); transition: color var(--dur-fast) var(--ease); }
.contact-card__phone:hover { color: var(--teal-700); }

.form-card { background: #fff; border-radius: var(--r-md); padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; position: relative; }
.field--full { grid-column: 1 / -1; }

/* ---- ARES našeptávač (Organizace) -------------------------------------- */
.ares-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--field-line);
  border-radius: var(--r-xs);
  box-shadow: var(--shadow-card);
  max-height: 240px;
  overflow-y: auto;
}
.ares-suggest[hidden] { display: none; }
.ares-suggest li {
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.ares-suggest li:hover, .ares-suggest li.is-active { background: var(--mint-50); }
.ares-suggest li small { display: block; font-size: 12px; font-weight: 500; color: var(--soft); margin-top: 2px; }
.field label, .field .label { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.field input, .field select {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--field-line);
  border-radius: var(--r-xs);
  background: var(--field-bg);
  padding: 0 14px;
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a716c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(18, 165, 148, 0.14); }
.field.has-error input, .field.has-error select { border-color: var(--err-fg); background: #fff6f6; }
.field__err { font-size: 12px; color: var(--err-fg); margin-top: 5px; font-weight: 600; display: none; }
.field.has-error .field__err { display: block; }

.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.consent span { font-size: 13px; color: var(--soft); line-height: 1.5; }
.consent a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.form-note { font-size: 12px; color: #9ab3ad; text-align: center; margin-top: 12px; }
.form-status { margin-top: 14px; padding: 14px; border-radius: var(--r-xs); font-size: 14px; font-weight: 600; text-align: center; }
.form-status--ok { background: var(--ok-bg); color: var(--ok-fg); }
.form-status--err { background: var(--err-bg); color: var(--err-fg); }
button[disabled] { opacity: 0.7; cursor: progress; }

/* ---- FAQ -------------------------------------------------------------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--mint-50); border-radius: var(--r-sm); overflow: hidden; }
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 24px; cursor: pointer;
  font-weight: 700; font-size: 16px; line-height: 1.4;
  transition: background var(--dur-fast) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #ecf6f3; }
.faq-sign { color: var(--teal); font-size: 24px; font-weight: 600; flex: none; width: 24px; text-align: center; line-height: 1; }
.faq-sign::before { content: '+'; }
.faq-item[open] .faq-sign::before { content: '\2013'; }
.faq-a { font-size: 15px; line-height: 1.65; color: var(--muted); padding: 0 24px 22px; }

/* ---- CTA band --------------------------------------------------------- */
.cta-band { background: var(--teal); }
.cta-band__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 56px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 30px; line-height: 1.18; margin-bottom: 8px; }
.cta-band p { font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); max-width: 58ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Footer ----------------------------------------------------------- */
.footer { background: var(--ink); color: #9bb8b1; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 52px var(--pad) 32px; }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer__brand .brand__mark { width: 32px; height: 32px; border-radius: 10px; }
.footer__brand span { font-weight: 800; font-size: 15px; line-height: 1; color: #fff; }
.footer p { font-size: 14px; line-height: 1.6; max-width: 42ch; }
.footer__col h4 { font-weight: 700; font-size: 14px; line-height: 1; color: #fff; margin-bottom: 14px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__links a { transition: color var(--dur-fast) var(--ease); }
.footer__links a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 20px; font-size: 13px; flex-wrap: wrap; gap: 10px; }
.footer__bottom a { transition: color var(--dur-fast) var(--ease); }
.footer__bottom a:hover { color: #fff; }
.footer__bottom-btn {
  font: inherit; font-size: 13px; color: inherit; background: none; border: 0; padding: 0;
  cursor: pointer; transition: color var(--dur-fast) var(--ease);
}
.footer__bottom-btn:hover { color: #fff; }

/* ---- Cookie consent (popup) -------------------------------------------- */
.cookie-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; }
.cookie-modal[hidden] { display: none; }
.cookie-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(22, 56, 50, 0.55);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.cookie-modal.is-open .cookie-modal__scrim { opacity: 1; }
.cookie-modal__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cookie-modal.is-open .cookie-modal__panel { opacity: 1; transform: translateY(0) scale(1); }
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: var(--mint-100);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease);
}
.cookie-modal__close:hover { background: var(--mint-200); }
.cookie-modal__panel h2 { font-weight: 800; font-size: 22px; padding-right: 32px; margin-bottom: 10px; }
.cookie-modal__intro { font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: 22px; }

.cookie-cat { padding: 18px 0; border-top: 1px solid var(--line-2); }
.cookie-cat:first-of-type { border-top: 0; padding-top: 0; }
.cookie-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.cookie-cat__name { font-weight: 700; font-size: 15px; color: var(--text); }
.cookie-cat__desc { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--soft); }

.cookie-toggle {
  position: relative;
  flex: none;
  width: 42px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--line);
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.cookie-toggle__dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform var(--dur) var(--ease);
}
.cookie-toggle[aria-checked="true"] { background: var(--teal); }
.cookie-toggle[aria-checked="true"] .cookie-toggle__dot { transform: translateX(18px); }
.cookie-toggle--locked { background: var(--teal); cursor: default; opacity: 0.9; }
.cookie-toggle--locked .cookie-toggle__dot { transform: translateX(18px); }

.cookie-modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; flex-wrap: wrap; }

@media (max-width: 620px) {
  .cookie-modal__panel { padding: 26px; }
  .cookie-modal__actions { flex-direction: column-reverse; }
  .cookie-modal__actions .btn { width: 100%; text-align: center; }
}

/* ---- Blog ------------------------------------------------------------- */
.blog-hero { padding: 32px var(--pad) 0; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.blog-hero__box {
  border-radius: var(--r-xl);
  background: var(--hero-grad);
  padding: 52px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.blog-hero__box h1 {
  font-weight: 800;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 14px 0 14px;
}
.blog-hero__lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 48ch; }
.blog-hero__art { display: flex; justify-content: flex-end; }
.blog-hero__art svg { width: 100%; max-width: 300px; height: auto; }

.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: #bfe0d9; }
.blog-card__art {
  position: relative;
  aspect-ratio: 16 / 7;
  background: var(--hero-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-card__art svg { width: 100%; height: 100%; }
.blog-card__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.blog-card__tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-700);
  background: var(--mint-100);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.blog-card__date { font-size: 13px; font-weight: 600; color: var(--soft-2); }
.blog-card__title { font-weight: 800; font-size: 21px; line-height: 1.3; margin-bottom: 10px; letter-spacing: -0.01em; }
.blog-card__title a { transition: color var(--dur-fast) var(--ease); }
.blog-card:hover .blog-card__title a { color: var(--teal-700); }
.blog-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--muted); flex: 1; }
.blog-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--teal); }
.blog-card:hover .blog-card__link { color: var(--teal-700); }
.blog-card--cta { background: var(--ink); border-color: var(--ink); }
.blog-card--cta .blog-card__body { justify-content: center; align-items: flex-start; gap: 0; }
.blog-card--cta .blog-card__title { color: #fff; }
.blog-card--cta .blog-card__excerpt { color: #b4ccc6; flex: 0; }
.blog-card--cta .btn { margin-top: 22px; }

/* ---- Blog: detailní proces (timeline) ---------------------------------- */
.timeline { max-width: 820px; margin: 0 auto; }
.timeline__item { display: grid; grid-template-columns: 54px 1fr; gap: 22px; position: relative; padding-bottom: 40px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 60px;
  bottom: 6px;
  width: 2px;
  background: var(--mint-200);
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:last-child::before { display: none; }
.timeline__num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--mint-200); color: var(--teal);
  font-weight: 800; font-size: 21px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.timeline__item--final .timeline__num { background: var(--teal); color: #fff; }
.timeline__body h3 { font-weight: 700; font-size: 19px; line-height: 1.3; margin: 14px 0 10px; }
.timeline__body p { font-size: 16px; line-height: 1.7; color: var(--muted); margin-bottom: 10px; }
.timeline__body p:last-child { margin-bottom: 0; }
.timeline__body a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(18, 165, 148, 0.4); }

/* ---- FAQ: víceodstavcové odpovědi -------------------------------------- */
.faq-body { padding: 0 24px 22px; }
.faq-body p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 12px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---- Article ----------------------------------------------------------- */
.article-hero { padding: 32px var(--pad) 0; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.article-hero__box {
  border-radius: var(--r-xl);
  background: var(--hero-grad);
  padding: 52px;
}
.article-hero__crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--soft); margin-bottom: 20px; flex-wrap: wrap; }
.article-hero__crumbs a { color: var(--teal-700); transition: color var(--dur-fast) var(--ease); }
.article-hero__crumbs a:hover { color: var(--teal); }
.article-hero__box h1 {
  font-weight: 800;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 24ch;
  margin: 0 0 18px;
}
.article-hero__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.article-hero__meta .blog-card__tag { background: #fff; }

.article { max-width: 780px; margin: 0 auto; padding: 48px var(--pad) 24px; width: 100%; }
.article > p:first-of-type { font-size: 19px; line-height: 1.7; color: var(--text); }
.article h2 {
  font-weight: 800;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 44px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}
.article h3 { font-weight: 700; font-size: 18px; margin: 26px 0 8px; }
.article p, .article li { font-size: 16.5px; line-height: 1.75; color: var(--muted); }
.article p { margin-bottom: 16px; }
.article ul { margin: 0 0 16px; padding-left: 22px; }
.article li { margin-bottom: 10px; }
.article li::marker { color: var(--teal); }
.article strong { color: var(--text); }
.article a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(18, 165, 148, 0.4); transition: text-decoration-color var(--dur-fast) var(--ease); }
.article a:hover { text-decoration-color: var(--teal); }
.article .btn { text-decoration: none; color: #fff; }
.article .related {
  background: var(--mint-50);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 26px 30px;
  margin: 36px 0;
}
.article .related h3 { margin-top: 0; }
.article .related p:last-child { margin-bottom: 0; }

.article-footer { max-width: 780px; margin: 0 auto; padding: 0 var(--pad) 24px; width: 100%; }
.article-more { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--pad) 72px; width: 100%; }
.article-more h2 { font-weight: 800; font-size: 26px; letter-spacing: -0.015em; margin-bottom: 24px; }

/* ---- Legal / content pages ------------------------------------------- */
.legal { max-width: 820px; margin: 0 auto; padding: 56px var(--pad) 80px; }
.legal h1 { font-weight: 800; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 10px; }
.legal__meta { color: var(--soft); font-size: 14px; margin-bottom: 36px; }
.legal h2 { font-weight: 800; font-size: 22px; line-height: 1.25; margin: 36px 0 12px; }
.legal h3 { font-weight: 700; font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal .callout { background: var(--mint-50); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 22px; margin-bottom: 18px; }

/* 404 */
.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 64px var(--pad); }
.notfound__code { font-weight: 800; font-size: 96px; line-height: 1; color: var(--teal); letter-spacing: -0.03em; }
.notfound h1 { font-weight: 800; font-size: 30px; margin: 14px 0 10px; letter-spacing: -0.02em; }
.notfound p { color: var(--muted); font-size: 17px; max-width: 44ch; margin-bottom: 26px; }

/* ---- Scroll reveal (progressive enhancement, only when JS is present) ---- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 920px) {
  .hero__box { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .hero h1 { font-size: 38px; }
  .hero__art { height: 280px; }
  .darkbox__grid, .poptbox__grid { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .nav__link { display: none; }
  .darkbox { padding: 36px; }
  .blog-hero__box { grid-template-columns: 1fr; padding: 40px 28px; }
  .blog-hero__box h1 { font-size: 32px; }
  .blog-hero__art { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-hero__box { padding: 40px 28px; }
  .article-hero__box h1 { font-size: 31px; }
}
@media (max-width: 620px) {
  :root { --pad: 22px; }
  .nav__inner { padding: 0 18px; }
  .brand__name { font-size: 15px; }
  .brand__mark { width: 32px; height: 32px; }
  .nav .btn--sm { padding: 11px 15px; font-size: 13px; }
  .hero { padding-top: 24px; }
  .hero__box { padding: 32px 22px; }
  .hero h1 { font-size: 30px; }
  .cards-3, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .poptbox { padding: 32px 22px; }
  .darkbox { padding: 28px 22px; }
  h2.h2 { font-size: 26px; }
  .cta-band__inner { padding: 40px var(--pad); }
  .cta-band h2 { font-size: 25px; }
  .legal h1 { font-size: 30px; }
}

/* ---- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
