/* =====================================================================
   TIPOS projektová kancelář — styles.css
   Mobile-first · 60-30-10 (cream/sand/terakota + charcoal break) · WCAG AA
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* 60-30-10 paleta — modrá (TIPOS brand) */
  --c-bg:           #F4F7FA;   /* 60% — cool ivory */
  --c-bg-sand:      #E2E8EF;   /* 30% — soft blue-grey */
  --c-bg-dark:      #0F2A44;   /* dark break — navy */
  --c-accent:       #1A4D80;   /* 10% — deep brand blue (AAA 7.5:1 na bílém) */
  --c-accent-hover: #133E69;
  --c-accent-on-dark: #6EA8DA; /* světlejší modrá pro AA na navy (5.5:1) */

  /* Text */
  --c-text:         #1A2233;   /* kontrast ~15:1 na cool ivory — AAA */
  --c-text-muted:   #525C6E;   /* ~7:1 — AAA */
  --c-text-faint:   #8189A0;
  --c-text-on-dark: #EAF1F8;   /* na navy */
  --c-text-on-dark-muted: #B6C3D4;

  /* Borders */
  --c-border:       #D5DCE5;
  --c-border-on-dark: #2B3A52;

  /* Stavové */
  --c-success: #2F7D5B;
  --c-warning: #B26A0F;
  --c-error:   #B33A2C;
  --c-info:    #1A4D80;

  /* Typografie */
  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Spacing (8px rytmus) */
  --s-1: 8px;   --s-2: 16px;  --s-3: 24px;  --s-4: 32px;
  --s-5: 48px;  --s-6: 64px;  --s-7: 96px;  --s-8: 128px;

  /* Layout */
  --container: 1280px;
  --container-pad: 16px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 42, 68, 0.04), 0 2px 8px rgba(15, 42, 68, 0.04);
  --shadow-md: 0 4px 10px rgba(15, 42, 68, 0.06), 0 12px 30px rgba(15, 42, 68, 0.08);
  --shadow-lg: 0 12px 30px rgba(15, 42, 68, 0.10), 0 30px 60px rgba(15, 42, 68, 0.12);

  /* Motion */
  --t-fast: 120ms ease;
  --t-base: 220ms ease;
  --t-slow: 380ms cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
img { background: var(--c-bg-sand); }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font: inherit; cursor: pointer; }
input, textarea, button, select { font-family: inherit; color: inherit; }

/* Accessibility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -40px; left: 0; padding: 8px 12px;
  background: var(--c-text); color: var(--c-bg);
  border-radius: 0 0 var(--radius-sm) 0; z-index: 100;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typografická škála ---------- */
.display {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-3);
  color: var(--c-text);
  font-variation-settings: "opsz" 96;
}
.display--md { font-size: clamp(1.625rem, 2.2vw + 1rem, 2.5rem); line-height: 1.15; }
h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 0 0 var(--s-1);
  color: var(--c-text);
}
h4 {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  margin: 0 0 var(--s-2);
}
.eyebrow {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 var(--s-2);
}
.eyebrow--on-dark { color: var(--c-accent-on-dark); }
.lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--c-text-muted);
  margin: 0 0 var(--s-3);
  max-width: 60ch;
}
.lead--center { margin-inline: auto; }
.lead--on-dark { color: var(--c-text-on-dark-muted); }
.muted { color: var(--c-text-muted); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--container-pad) * 2);
  padding-inline: var(--container-pad);
  margin-inline: auto;
}
@media (min-width: 640px) { :root { --container-pad: 24px; } }
@media (min-width: 1024px){ :root { --container-pad: 48px; } }

.section {
  padding-block: var(--s-6);
}
.section--tight { padding-block: var(--s-4); }
@media (min-width: 768px) {
  .section { padding-block: var(--s-7); }
  .section--tight { padding-block: var(--s-5); }
}

.section--hero { padding-top: calc(var(--s-5) + 24px); padding-bottom: var(--s-6); overflow: hidden; }
@media (min-width: 1024px) {
  .section--hero { padding-top: var(--s-7); padding-bottom: var(--s-7); }
}
.section--sand { background: var(--c-bg-sand); }
.section--dark {
  background: var(--c-bg-dark);
  color: var(--c-text-on-dark);
}
.section--dark .display,
.section--dark h3,
.section--dark h4 { color: var(--c-text-on-dark); }

/* Section header */
.section-head { margin-bottom: var(--s-5); max-width: 800px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-foot {
  margin-top: var(--s-5);
  color: var(--c-text-muted);
  font-size: 0.9375rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 247, 250, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--c-text); font-weight: 600;
}
.brand__mark { color: var(--c-accent); display: inline-flex; }
.brand__name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--c-text-muted);
  font-size: 0.9375rem;
}
@media (max-width: 480px) { .brand__sub { display: none; } }

.nav-toggle {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  flex-direction: column; gap: 4px;
}
.nav-toggle__bar {
  width: 18px; height: 2px; background: var(--c-text); border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.primary-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  padding: var(--s-2) var(--container-pad) var(--s-3);
  display: none;
}
.primary-nav[data-open="true"] { display: block; }
.primary-nav ul {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: var(--s-2);
}
.primary-nav ul a {
  display: flex; align-items: center; min-height: 44px;
  padding: 0 var(--s-2);
  font-weight: 500;
  border-radius: var(--radius-sm);
}
.primary-nav ul a:hover { background: var(--c-bg-sand); }

/* CTA v menu — zachovej button vzhled (na mobilu plná šířka pro lepší tap target) */
.nav-cta { width: 100%; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static; display: flex; align-items: center; gap: var(--s-4);
    padding: 0; background: transparent; border: 0;
  }
  .primary-nav ul { flex-direction: row; gap: var(--s-3); margin: 0; }
  .primary-nav ul a {
    padding: 0; font-size: 0.9375rem; min-height: auto;
    color: var(--c-text-muted);
  }
  .primary-nav ul a:hover { background: transparent; color: var(--c-text); }
  .nav-cta { width: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font-family: var(--ff-body); font-weight: 600; font-size: 0.9375rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background var(--t-base), color var(--t-base), transform var(--t-fast), border-color var(--t-base);
  white-space: nowrap;
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.875rem; }
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-hover); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--primary.btn--on-dark { background: var(--c-accent-on-dark); color: var(--c-bg-dark); }
.btn--primary.btn--on-dark:hover { background: #92BEE5; }

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

/* CTA row */
.cta-row {
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  margin-bottom: var(--s-3);
}

/* Links */
.link { color: var(--c-accent); font-weight: 500; }
.link:hover { color: var(--c-accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.link--strong { font-weight: 600; }
.section--dark .link { color: var(--c-accent-on-dark); }

/* ---------- HERO ---------- */
.hero {
  display: grid; grid-template-columns: 1fr; gap: var(--s-4);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(420px, 1fr) minmax(0, 1.25fr);
    gap: var(--s-6);
  }
}
.hero__copy { max-width: 640px; }
.hero__copy .display { margin-bottom: var(--s-3); }
.hero__visual {
  position: relative; margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-bg-sand);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 1024px) {
  .hero__visual {
    /* Bleed napravo — obrázek přesahuje za pravý okraj kontejneru pro filmový dojem */
    aspect-ratio: 1 / 1;
    margin-right: calc(var(--container-pad) * -1);
    border-radius: var(--radius-lg);
    min-height: 420px;
  }
}
@media (min-width: 1376px) {
  .hero__visual {
    margin-right: max(-180px, calc((100vw - var(--container)) / -2));
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    min-height: 480px;
    aspect-ratio: 1 / 1;
  }
}

.hero__badge {
  position: absolute; left: var(--s-2); bottom: var(--s-2);
  background: var(--c-bg); color: var(--c-text);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-md);
  margin: 0;
  max-width: 220px;
}
.hero__badge strong {
  font-family: var(--ff-display); font-weight: 600;
  font-size: 1.75rem; color: var(--c-accent); line-height: 1;
}
.hero__badge span { font-size: 0.8125rem; color: var(--c-text-muted); }
@media (min-width: 640px) {
  .hero__badge {
    left: var(--s-3); bottom: var(--s-3);
    padding: var(--s-3) var(--s-4);
    max-width: 260px;
  }
  .hero__badge strong { font-size: 2.5rem; }
}

/* ---------- STATS ---------- */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } }
.stat {
  text-align: center;
  padding: var(--s-3) var(--s-2);
}
.stat__num {
  display: block;
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(2.25rem, 4vw + 1rem, 3.25rem);
  line-height: 1; color: var(--c-text);
  letter-spacing: -0.02em;
}
.stat__plus { color: var(--c-accent); }
.stat__label {
  display: block; margin-top: var(--s-1);
  font-size: 0.9375rem; color: var(--c-text-muted);
}
/* ---------- CARDS ---------- */
.cards { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--c-accent);
  box-shadow: var(--shadow-md);
}
.card__icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-bg-sand); color: var(--c-accent);
  border-radius: var(--radius-md);
  margin-bottom: var(--s-2);
}
.card h3 { font-size: 1.375rem; margin-bottom: var(--s-2); }
.card p { color: var(--c-text-muted); margin: 0 0 var(--s-3); }
.card__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: var(--s-2);
  border-top: 1px solid var(--c-border);
}
.card__chips li {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  color: var(--c-text-muted);
}

/* ---------- STEPS / proces ---------- */
.steps {
  display: grid; gap: var(--s-3);
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  padding-top: calc(var(--s-4) + 12px);
}
.step__num {
  position: absolute; top: -22px; left: var(--s-4);
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-accent); color: #fff;
  border-radius: 50%;
  font-family: var(--ff-display); font-weight: 600;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
}
.step h3 { font-size: 1.25rem; margin-bottom: var(--s-1); }
.step p { color: var(--c-text-muted); margin: 0; }

/* ---------- GALLERY ---------- */
.gallery {
  display: grid; gap: var(--s-3);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--s-3); } }

.tile {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-bg-sand);
  transition: transform var(--t-base);
}
.tile.is-hidden { display: none; }
.tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.tile:hover img { transform: scale(1.04); }
.tile figcaption {
  padding: var(--s-2) var(--s-3) var(--s-3);
}
.tile h3 { font-size: 1.0625rem; margin-bottom: 2px; }
.tile p { font-size: 0.875rem; color: var(--c-text-muted); margin: 0; }

/* ---------- DARK BREAK / proč TIPOS ---------- */
.proc {
  display: grid; grid-template-columns: 1fr; gap: var(--s-5);
  align-items: center;
}
@media (min-width: 1024px) { .proc { grid-template-columns: 1.2fr 1fr; gap: var(--s-7); } }

.proc__points {
  display: grid; gap: var(--s-3);
  margin: var(--s-4) 0;
}
.proc__point {
  display: grid; grid-template-columns: 32px 1fr; gap: var(--s-2);
  align-items: start;
}
.proc__point p { margin: 0; color: var(--c-text-on-dark-muted); }
.proc__point strong { color: var(--c-text-on-dark); font-weight: 600; }
.proc__check {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(110, 168, 218, 0.18);
  color: var(--c-accent-on-dark);
  border-radius: 50%;
}
.proc__visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #1a3656;
  box-shadow: var(--shadow-lg);
}
.proc__visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }

/* ---------- TÝM ---------- */
.member {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.member:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.member__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-bg-sand);
}
.member__photo svg,
.member__photo img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  filter: grayscale(0.15);
  transition: transform var(--t-slow), filter var(--t-base);
}
.member:hover .member__photo img { transform: scale(1.03); filter: grayscale(0); }
.member h3 {
  font-size: 1.0625rem; margin: var(--s-2) var(--s-3) 0;
}
.member__role {
  font-size: 0.8125rem; color: var(--c-text-muted);
  margin: 4px var(--s-3) var(--s-2);
}
.member__contact {
  margin: 0 var(--s-3) var(--s-3);
  border-top: 1px solid var(--c-border);
  padding-top: var(--s-2);
  display: flex; flex-direction: column; gap: 4px;
  font-size: 0.875rem;
}
.member__contact a { color: var(--c-text-muted); }
.member__contact a:hover { color: var(--c-accent); }

/* ---------- FAQ ---------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--c-border);
}
.faq__item {
  border-bottom: 1px solid var(--c-border);
}
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  cursor: pointer;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--c-text);
  list-style: none;
  transition: color var(--t-fast);
}
@media (min-width: 768px) {
  .faq__item summary { font-size: 1.25rem; padding: var(--s-4) 0; }
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-bg-sand);
  color: var(--c-accent);
  border-radius: 50%;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1;
  transition: background var(--t-base), transform var(--t-base);
}
.faq__item summary:hover { color: var(--c-accent); }
.faq__item summary:hover::after { background: var(--c-accent); color: #fff; }
.faq__item[open] summary::after {
  content: "−";
  background: var(--c-accent);
  color: #fff;
}
.faq__answer {
  padding: 0 0 var(--s-3);
  max-width: 65ch;
}
.faq__answer p {
  margin: 0;
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.65;
}
.section-foot--center { text-align: center; }

/* ---------- LOGOS / reference ---------- */
.logos {
  display: grid; gap: var(--s-2);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .logos { grid-template-columns: repeat(4, 1fr); } }
.logos li {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: var(--s-2) var(--s-3);
  text-align: center;
  font-family: var(--ff-display); font-weight: 500;
  font-size: 0.9375rem; color: var(--c-text-muted);
  min-height: 56px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- KONTAKT ---------- */
.contact {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, 440px) 1fr; gap: var(--s-7); align-items: start; } }

.form { display: grid; gap: var(--s-3); max-width: 440px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.875rem; font-weight: 600;
  color: var(--c-text);
}
.field__opt { font-weight: 400; color: var(--c-text-muted); }
.field input, .field textarea {
  min-height: 48px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 1rem; color: var(--c-text);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.field textarea { min-height: 140px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--c-text-faint); }
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--c-accent); outline-offset: 0;
  border-color: var(--c-accent);
}
.field--error input, .field--error textarea {
  border-color: var(--c-error);
  background: #FDF1EF;
}
.field--error input:focus, .field--error textarea:focus {
  outline-color: var(--c-error);
  border-color: var(--c-error);
}

.form__note {
  font-size: 0.8125rem; color: var(--c-text-muted);
  margin: 0;
}
.form__success {
  padding: 12px 16px;
  background: rgba(47, 125, 91, 0.1);
  border: 1px solid var(--c-success);
  border-radius: var(--radius-sm);
  color: var(--c-success);
  font-weight: 500;
  margin: 0;
}

/* Otevřený typografický kontakt — bez karty, jen rytmus typografie. */
.contact__details {
  display: flex; flex-direction: column;
}
@media (min-width: 1024px) {
  /* Horní stroke (border-top prvního řádku VOLAT) zarovnaný s horní hranou prvního
     input boxu vlevo. = eyebrow + h2 (2 ř) + lead (3 ř) + label (bez výšky inputu). */
  .contact__details { padding-top: clamp(192px, calc(14vw + 12px), 240px); }
}
.contact__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s-3);
  align-items: baseline;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--c-border);
}
.contact__row:last-of-type { border-bottom: 1px solid var(--c-border); }
.contact__row-label {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin: 0;
}
.contact__row-value {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.125rem, 1vw + 0.75rem, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--c-text);
  font-style: normal;
}
.contact__row-value--addr {
  font-size: clamp(1rem, 0.6vw + 0.85rem, 1.25rem);
  line-height: 1.5;
}
a.contact__row-value:hover { color: var(--c-accent); }
.contact__legal {
  margin: var(--s-3) 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--c-text-faint);
  letter-spacing: 0.01em;
}
.contact__legal code {
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: inherit;
  background: transparent;
  padding: 0;
  border: 0;
  color: var(--c-text-muted);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--c-bg-dark);
  color: var(--c-text-on-dark);
  padding-block: var(--s-6) var(--s-4);
  border-top: 4px solid var(--c-accent);
}
.site-footer .brand { color: var(--c-text-on-dark); }
.site-footer .brand__mark { color: var(--c-accent-on-dark); }
.site-footer .brand__sub { color: var(--c-text-on-dark-muted); }
.site-footer h4 { color: var(--c-text-on-dark); margin-bottom: var(--s-2); }
.site-footer__grid {
  display: grid; gap: var(--s-5);
  grid-template-columns: 1fr;
  margin-bottom: var(--s-5);
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .site-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-6); } }

.site-footer__brand .muted { color: var(--c-text-on-dark-muted); font-size: 0.9375rem; margin: var(--s-2) 0 0; max-width: 38ch; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 6px; }
.site-footer__col a {
  color: var(--c-text-on-dark-muted); font-size: 0.9375rem;
}
.site-footer__col a:hover { color: var(--c-accent-on-dark); }
.site-footer__col address { color: var(--c-text-on-dark-muted); font-size: 0.9375rem; font-style: normal; line-height: 1.7; }

.site-footer__bottom {
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-border-on-dark);
  display: flex; flex-direction: column; gap: var(--s-2);
  font-size: 0.875rem; color: var(--c-text-on-dark-muted);
}
@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row; align-items: center; justify-content: space-between;
  }
}
.site-footer__bottom .credit a { color: var(--c-accent-on-dark); font-weight: 500; }
.site-footer__bottom .credit a:hover { color: #92BEE5; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .tile:hover img { transform: none; }
  .card:hover, .member:hover, .step:hover, .btn--primary:hover { transform: none; }
}
