/* =========================================================
   ZaplatiliJsteNavic.cz — styles
   Světlá paleta, sytě modrý akcent, důvěryhodná finanční služba
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-dark);
}

/* ---------- Tokens ---------- */
:root {
  /* palette — light, trustworthy financial */
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --bg-card: #ffffff;
  --border: #e5e9f2;
  --border-strong: #cfd5e3;

  --text: #0b1c3f;
  --text-muted: #5b6b8a;
  --text-dim: #8892a8;

  --accent: #1e40af;
  --accent-dark: #1e3a8a;
  --accent-light: #eaf0ff;
  --accent-glow: rgba(30, 64, 175, 0.12);

  --success: #047857;
  --warn: #b45309;

  /* type scale — jednotný font: Satoshi pro vše */
  --font-display: "Satoshi", -apple-system, BlinkMacSystemFont, sans-serif;

  /* layout */
  --container: 1180px;
  --container-narrow: 780px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 8px;

  --shadow-sm: 0 1px 2px rgba(11, 28, 63, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(11, 28, 63, 0.12);
  --shadow-lg: 0 24px 60px -20px rgba(11, 28, 63, 0.18);

  --transition: 180ms ease;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-narrow {
  padding: 64px 0;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  margin: 12px 0 16px;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 em {
  font-style: normal;
  color: var(--accent);
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

h4 {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

p {
  margin: 0 0 1em;
}

strong {
  font-weight: 700;
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-light);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.eyebrow-muted {
  background: transparent;
  color: var(--text-muted);
  padding: 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Wordmark ---------- */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: "Satoshi", sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.wordmark-main {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
}

.wordmark-tld {
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.wordmark-footer .wordmark-main,
.wordmark-footer .wordmark-tld {
  font-size: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition),
    color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px -6px var(--accent-glow), 0 2px 4px -2px rgba(30, 64, 175, 0.2);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 10px 24px -6px var(--accent-glow), 0 4px 8px -2px rgba(30, 64, 175, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: var(--bg-alt);
  color: var(--text);
  border-color: var(--text-muted);
}

.btn-lg {
  padding: 16px 28px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  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(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav > a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.site-nav > a:hover {
  color: var(--text);
}

.site-nav > a.btn {
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 96px;
  background:
    radial-gradient(1200px 500px at 90% 0%, var(--accent-glow), transparent 60%),
    radial-gradient(900px 400px at 10% 20%, rgba(30, 64, 175, 0.05), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}

.lead strong {
  color: var(--text);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Hero card */
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent-glow), transparent 40%);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.hero-card-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  gap: 16px;
}

.hero-card-row:last-of-type {
  border-bottom: none;
}

.hero-card-row span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-card-row em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}

.hero-card-row strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-card-row.emphasis strong {
  font-size: 1.9rem;
  font-weight: 900;
}

.hero-card-row .accent {
  color: var(--accent);
}

.hero-card-note {
  margin: 20px 0 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.step:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Calculator ---------- */
.calc {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.calc-controls {
  margin-bottom: 32px;
}

.calc-label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* Slider — velká vertikální hit area, viditelný jen 6px track skrz pseudoelement */
.calc input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 32px; /* větší hit area, lze chytit prstem/myší kdekoli */
  background: transparent;
  outline: none;
  margin-bottom: 8px;
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
}

/* WebKit / Chrome / Safari track */
.calc input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--accent) 0%,
    var(--accent) var(--val, 21%),
    var(--border) var(--val, 21%),
    var(--border) 100%
  );
  cursor: pointer;
}

/* WebKit thumb */
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
  transition: transform 0.15s ease;
  margin-top: -9px; /* posun thumbu do středu 6px tracku */
}

.calc input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.calc input[type="range"]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px var(--accent-glow), 0 4px 12px rgba(30, 64, 175, 0.25);
}

/* Firefox track */
.calc input[type="range"]::-moz-range-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
}

.calc input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* Firefox thumb */
.calc input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.calc input[type="range"]:focus::-moz-range-thumb {
  box-shadow: 0 0 0 4px var(--accent-glow), 0 4px 12px rgba(30, 64, 175, 0.25);
}

.calc-slider-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.calc-current {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--accent);
  text-align: center;
  letter-spacing: -0.03em;
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.calc-result {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.calc-result-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
}

.calc-result-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.calc-result-accent .calc-result-label {
  color: rgba(255, 255, 255, 0.85);
}

.calc-result-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.calc-result-accent .calc-result-value {
  color: #fff;
}

.calc-result-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.calc-result-accent .calc-result-note {
  color: rgba(255, 255, 255, 0.8);
}

.calc-cta {
  display: flex;
  width: 100%;
  margin-bottom: 20px;
}

.calc-disclaimer {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* ---------- Form ---------- */
.form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.form-field .req {
  color: var(--accent);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px; /* 16px min — jinak iOS Safari zoomuje viewport při fokusu */
  font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-field input:invalid:not(:placeholder-shown),
.form-field select:invalid:not(:focus) {
  /* nechat výchozí */
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.55;
  cursor: pointer;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  transition: border-color var(--transition), background var(--transition);
  user-select: none;
}

.checkbox:hover {
  border-color: var(--border-strong);
  background: #eef1f7;
}

.checkbox:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-light);
}

.checkbox:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 2px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--transition), background var(--transition);
}

.checkbox input[type="checkbox"]:hover {
  border-color: var(--accent);
}

.checkbox input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.checkbox input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.checkbox-text {
  flex: 1;
}

.checkbox a.link {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.checkbox a.link:hover {
  color: var(--accent-dark);
}

.form-note {
  margin: 20px 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-error {
  padding: 16px 18px;
  margin-bottom: 24px;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: var(--radius-sm);
  color: #7f1d1d;
  font-size: 0.92rem;
  line-height: 1.6;
}

.form-error strong {
  display: block;
  color: #991b1b;
  margin-bottom: 4px;
}

.form-error a {
  color: #991b1b;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

/* ---------- Cards (jistoty) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Legal pages (Ochrana OÚ, Obchodní podmínky) ---------- */
.page-hero {
  padding: 72px 0 40px;
  background:
    radial-gradient(1000px 400px at 80% 0%, var(--accent-glow), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero .eyebrow-muted {
  margin-bottom: 12px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 20px;
}

.page-hero .lead {
  font-size: 1.15rem;
  max-width: 100%;
  margin: 0;
}

.section-legal {
  padding: 64px 0 96px;
}

.prose {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.prose > p {
  margin: 0 0 1.2em;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 44px 0 16px;
  color: var(--text);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  margin: 0 0 1.4em;
  padding-left: 22px;
}

.prose ul li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.prose ul li::marker {
  color: var(--accent);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.prose a:hover {
  color: var(--accent-dark);
}

.prose strong {
  color: var(--text);
  font-weight: 700;
}

.contact-emails {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  padding: 24px 28px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 20px 0 36px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
  font-size: 1.05rem;
}

.contact-email:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-or {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
}

.prose-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* Force override kvůli konfliktu s .prose a (underline + accent barva) */
.prose-cta a.btn {
  text-decoration: none;
  font-weight: 600;
}

.prose-cta a.btn-primary {
  color: #fff;
}

.prose-cta a.btn-ghost {
  color: var(--text);
}

/* ---------- Kdo jsme ---------- */
.about-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-copy-left {
  text-align: left;
  max-width: 780px;
}

.about-copy p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 22px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy strong {
  color: var(--text);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1.02rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
  font-weight: 400;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  margin: 0;
  text-align: justify;
  hyphens: auto;
}

.faq-cta {
  text-align: center;
  padding: 32px;
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}

.faq-cta p {
  color: var(--text-muted);
  margin: 0 0 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0b1c3f;
  color: #cfd5e3;
  padding: 72px 0 32px;
}

.site-footer h4 {
  color: #fff;
  font-family: "Satoshi", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer a {
  color: #cfd5e3;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.footer-company {
  font-weight: 800;
  color: #fff;
  font-size: 1rem;
  margin: 0 0 4px !important;
  letter-spacing: -0.01em;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu a {
  color: #cfd5e3;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
  display: inline-block;
}

.footer-menu a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

.footer-brand .wordmark-main,
.footer-brand .wordmark-tld {
  color: #fff;
}

.footer-brand .wordmark-tld {
  color: #6f8fea;
}

.footer-tag {
  margin: 16px 0 0;
  color: #8892a8;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col p {
  margin: 0 0 12px;
  color: #cfd5e3;
  line-height: 1.7;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}

.footer-operator {
  padding: 28px 0;
  margin-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
}

.footer-operator p {
  margin: 0;
  font-size: 0.95rem;
  color: #e5e9f2;
  line-height: 1.7;
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.footer-operator strong {
  color: #fff;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: #8892a8;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #8892a8;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-card {
    padding: 24px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-results {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile menu (hamburger) kicks in už na tabletu, aby nav odkazy neplavaly na dva řádky */
@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
    align-items: stretch;
  }

  .site-nav > a {
    padding: 8px 0;
    font-size: 1rem;
  }

  .site-nav > a.btn {
    align-self: flex-start;
    padding: 10px 20px;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .lead {
    font-size: 1.1rem;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 12px;
  }

  .steps,
  .cards {
    grid-template-columns: 1fr;
  }

  .calc,
  .form {
    padding: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card-row.emphasis strong {
    font-size: 1.7rem;
  }

  .hero-card-row strong {
    font-size: 1.3rem;
  }
}

/* Extra malý mobil (<380px) — zabránit horizontálnímu overflow */
@media (max-width: 380px) {
  .container {
    padding: 0 16px;
  }

  .wordmark-main,
  .wordmark-tld {
    font-size: 0.88rem;
  }

  h1 {
    font-size: 2rem;
  }

  .calc,
  .form {
    padding: 20px;
  }

  .calc-current {
    font-size: 1.7rem;
  }

  .hero-card {
    padding: 20px;
  }
}
