/* ============================================================
   NATALIE BERGMANN — STYLESHEET
   ============================================================
   All colours, type sizes and spacing are defined as CSS
   variables in :root below. To retheme the site, only edit
   the values in that block. Tints of the accent and ink are
   derived with color-mix(), so they follow automatically.
   ============================================================ */

:root {
  /* ── Surfaces (each has one role) ── */
  --bg-base:      #F8F5EF;   /* cream — default section background */
  --bg-alt:       #EFE6D6;   /* sand — alternating sections, panels on cream */
  --bg-hero:      #F3EADF;   /* lighter sand — end of hero gradient */
  --surface:      #FFFFFF;   /* cards and inputs sitting on cream */
  --bg-dark:      #142627;   /* CTA band and footer */

  /* ── Ink ── */
  --ink:          #1F3A3D;   /* headings, UI, primary button */
  --ink-hover:    #2B4C50;
  --text-body:    #4A3E33;   /* running text */
  --text-muted:   #7A6B5D;   /* meta lines, hints */
  --on-dark:      #F8F5EF;
  --on-dark-muted: color-mix(in srgb, var(--on-dark) 62%, transparent);

  /* ── Accent ── */
  --accent:       #E8735A;   /* coral — the "playful" note */
  --accent-dark:  #D25940;

  /* ── Lines and shadows (derived from ink) ── */
  --line:         color-mix(in srgb, var(--ink) 14%, transparent);
  --line-soft:    color-mix(in srgb, var(--ink) 8%, transparent);
  --shadow-card:  0 4px 18px color-mix(in srgb, var(--ink) 7%, transparent);
  --shadow-btn:   0 8px 20px color-mix(in srgb, var(--ink) 25%, transparent);
  --shadow-photo: 0 18px 40px color-mix(in srgb, var(--ink) 18%, transparent);

  /* ── Type ── */
  --font-serif:   'Lora', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --fs-h2:        2rem;
  --fs-h3:        1.4rem;    /* group headings (Vzdělání, 2026, …) */
  --fs-h3-card:   1.25rem;   /* headings inside cards and grids */
  --fs-h4:        1.08rem;
  --fs-lead:      1.05rem;
  --fs-text:      0.95rem;   /* paragraphs and lists in sections */
  --fs-small:     0.875rem;  /* meta, descriptions, notes */

  /* ── Layout and spacing ── */
  --nav-h:        68px;
  --content-max:  1100px;    /* width of the content column */
  --measure:      860px;     /* single-column blocks: accordions, lists */
  --measure-text: 760px;     /* intro paragraphs */
  --gutter:       5rem;
  --section-y:    6rem;
  --space-block:  3rem;      /* heading/intro → first content block */
  --radius-card:  1.2rem;
  --radius-panel: 2rem;

  /* Horizontal padding that centres the content column on wide screens */
  --pad-x: max(var(--gutter), calc((100% - var(--content-max)) / 2));
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-serif);
  background: var(--bg-base);
  color: var(--text-body);
  font-size: 18px;
  line-height: 1.6;
}

/* Anchored sections stop below the fixed nav */
section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  text-wrap: balance;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  height: var(--nav-h);
  border-bottom: 1px solid var(--line-soft);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent-dark); }

.nav-links a.active {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.85rem;
  border-left: 1px solid var(--line);
  padding-left: 1.6rem;
}

.lang-switcher button {
  background: none;
  border: none;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  opacity: 0.5;
  transition: opacity 0.2s;
  letter-spacing: 0.05em;
}

.lang-switcher button:hover { opacity: 0.8; }

.lang-switcher button.lang-active {
  opacity: 1;
  font-weight: 600;
}

.lang-switcher .lang-sep {
  opacity: 0.25;
  user-select: none;
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 300;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none; /* shown via media query on mobile */
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg-base);
  border-bottom: 1px solid var(--line);
  z-index: 190;
  padding: 1.5rem var(--pad-x) 2rem;
  flex-direction: column;
  gap: 1.4rem;
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-drawer.open { transform: translateY(0); }

.nav-drawer a {
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.nav-drawer .drawer-lang {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.nav-drawer .drawer-lang button {
  background: none;
  border: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
  letter-spacing: 0.05em;
}

.nav-drawer .drawer-lang button.lang-active {
  opacity: 1;
  font-weight: 600;
  border-color: var(--ink);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
.btn-submit {
  display: inline-block;
  padding: 0.75rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn:hover,
.btn-submit:hover { transform: translateY(-1px); }

.btn-primary,
.btn-submit {
  background: var(--ink);
  color: var(--on-dark);
  border: none;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover,
.btn-submit:hover { background: var(--ink-hover); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-secondary:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }

.btn-light {
  background: var(--on-dark);
  color: var(--ink);
}

.btn-light:hover { background: var(--surface); }

/* ============================================================
   SHARED SECTION RHYTHM
   ============================================================ */
main > section {
  padding: var(--section-y) var(--pad-x);
}

section h2 {
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.25;
}

/* Coral accent line above section headings */
section > h2::before,
.split-col > h2::before,
.kontakt-intro > h2::before,
.kdo-jsem-inner > h2::before {
  content: '';
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin-bottom: 1.4rem;
}

.kdo-jsem-inner > h2::before { margin-inline: auto; }

#cta-band h2::before { display: none; }

.section-intro {
  max-width: var(--measure-text);
  font-size: var(--fs-lead);
  margin: 1.2rem 0 var(--space-block);
}

/* Dash-marked lists used across the page */
.check-list,
.approach-item ul,
.kontakt-intro ul,
details .acc-body ul {
  list-style: none;
}

.check-list li,
.approach-item li,
.kontakt-intro li,
details .acc-body li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
  font-size: var(--fs-text);
}

.check-list li::before,
.approach-item li::before,
.kontakt-intro li::before,
details .acc-body li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ============================================================
   DOMŮ / HERO
   ============================================================ */
main > #domu {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 32%),
    linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-hero) 60%, var(--bg-alt) 100%);
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 3rem);
  gap: 4rem;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.hero-text p {
  font-size: var(--fs-lead);
  max-width: 540px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-photo {
  position: relative;
  flex: 0 0 auto;
  width: min(340px, 34vw);
}

.photo-blob {
  position: absolute;
  inset: -8% -6% -6% 6%;
  background: radial-gradient(circle at 50% 45%,
    color-mix(in srgb, var(--accent) 32%, transparent),
    color-mix(in srgb, var(--accent) 20%, transparent) 70%);
  border-radius: 48% 52% 46% 54% / 56% 50% 50% 44%;
  z-index: 0;
}

.hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-panel);
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center 30%;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-photo);
}

/* ============================================================
   S ČÍM SE NA MĚ MŮŽETE OBRÁTIT
   ============================================================ */
#obratit { background: var(--bg-base); }

.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: var(--space-block);
}

.topic-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 2.2rem 2.4rem;
  box-shadow: var(--shadow-card);
}

.topic-card h3 {
  font-size: var(--fs-h3-card);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.topic-card p { font-size: var(--fs-text); }

.topic-card .topic-note {
  margin-top: 0.8rem;
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--text-muted);
}

/* ============================================================
   SPOLUPRÁCE / OČEKÁVAT (two columns)
   ============================================================ */
main > #spoluprace {
  background: var(--bg-alt);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.split-col h2 { margin-bottom: 1.4rem; }

.split-col p {
  font-size: var(--fs-text);
  margin-bottom: 1rem;
}

.check-list { margin: 0.5rem 0 1.5rem; }

/* ============================================================
   KDO JSEM
   ============================================================ */
#kdo-jsem { background: var(--bg-base); }

.kdo-jsem-inner {
  max-width: var(--measure-text);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.kdo-jsem-inner p { font-size: var(--fs-lead); }

/* ============================================================
   CTA BAND
   ============================================================ */
main > #cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 100%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 38%),
    radial-gradient(circle at 95% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 30%),
    var(--bg-dark);
  color: var(--on-dark);
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

#cta-band h2 { color: var(--on-dark); }

#cta-band p {
  max-width: 640px;
  color: var(--on-dark-muted);
  font-size: var(--fs-text);
}

#cta-band .btn { margin-top: 0.4rem; }

/* ============================================================
   SLUŽBY + FAQ — accordions
   ============================================================ */
#sluzby { background: var(--bg-base); }

.accordion-group {
  max-width: var(--measure);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

details.service-acc,
details.faq-acc {
  background: var(--surface);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

#faq details.faq-acc { background: var(--bg-base); }

details summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 3.2rem 1.2rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: background 0.2s;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: '+';
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.25s;
}

details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

details summary:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }

details .acc-body {
  padding: 0.2rem 1.6rem 1.6rem;
}

details .acc-body p {
  font-size: var(--fs-text);
  margin-bottom: 0.9rem;
}

details .acc-body p:last-child { margin-bottom: 0; }

details .acc-body ul {
  margin: 0 0 1rem;
  columns: 2;
  column-gap: 2.5rem;
}

details .acc-body li { break-inside: avoid; }

/* ============================================================
   JAK PRACUJI
   ============================================================ */
#jak-pracuji { background: var(--bg-alt); }

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
  margin-top: var(--space-block);
}

.approach-item h3 {
  font-size: var(--fs-h3-card);
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.approach-item p {
  font-size: var(--fs-text);
  margin-bottom: 0.8rem;
}

.approach-item ul { margin: 0 0 0.8rem; }

/* ============================================================
   ODBORNÉ ZÁZEMÍ
   ============================================================ */
#zazemi { background: var(--bg-base); }

.bg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.bg-col h3,
.media-year > h3,
.price-group h3 {
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: 1.4rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.bg-col h3:not(:first-child) { margin-top: 2.5rem; }

.cv-item { margin-bottom: 1.8rem; }

.cv-item h4 {
  font-size: var(--fs-h4);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.cv-item .cv-place,
.media-item .media-meta {
  font-size: var(--fs-small);
  font-style: italic;
  color: var(--text-muted);
  margin: 0.15rem 0 0.4rem;
}

.cv-item p:not(.cv-place) { font-size: var(--fs-text); }

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list li {
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: var(--fs-small);
  color: var(--ink);
}

/* ============================================================
   MÉDIA
   ============================================================ */
#media { background: var(--bg-alt); }

.media-year {
  max-width: var(--measure);
  margin-top: var(--space-block);
}

.media-item { margin-bottom: 1.8rem; }

.media-item a,
.media-item .media-nolink {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.media-item a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.media-item a::after {
  content: ' ↗';
  font-size: 0.85em;
  color: var(--accent);
}

.media-item p:not(.media-meta) {
  font-size: var(--fs-text);
  max-width: 720px;
}

/* ============================================================
   CENÍK
   ============================================================ */
#cenik { background: var(--bg-base); }

.price-group {
  max-width: var(--measure);
  margin-top: var(--space-block);
}

.price-group h3 {
  margin-bottom: 0.6rem;
  border-bottom: none;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.price-row:first-of-type { border-top: 1px solid var(--line); }

.price-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.price-name { font-size: 1rem; }

.price-desc {
  font-size: var(--fs-small);
  color: var(--text-body);
  max-width: 520px;
}

.price-row .price {
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}

.price-row .price span {
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-notes {
  max-width: var(--measure);
  margin-top: var(--space-block);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.pricing-note {
  background: var(--bg-alt);
  border-radius: var(--radius-card);
  padding: 1.8rem 2rem;
}

.pricing-note h4 {
  font-size: var(--fs-h4);
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.pricing-note p { font-size: var(--fs-small); }

/* ============================================================
   ČASTÉ OTÁZKY
   ============================================================ */
#faq { background: var(--bg-alt); }

#faq .accordion-group { margin-top: var(--space-block); }

/* ============================================================
   KONTAKT
   ============================================================ */
main > #kontakt {
  background: var(--bg-base);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.kontakt-intro h2 { margin-bottom: 1.4rem; }

.kontakt-intro p {
  font-size: var(--fs-text);
  margin-bottom: 1rem;
}

.kontakt-intro ul { margin-bottom: 1.5rem; }

.contact-details {
  line-height: 2;
  font-size: var(--fs-text);
}

.contact-details a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.form-card {
  background: var(--bg-alt);
  border-radius: var(--radius-panel);
  padding: 3rem 3rem 3.5rem;
}

.form-card h2 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.form-field { margin-bottom: 1.4rem; }

.form-field label,
.form-field legend {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

/* "(povinné)" hint after a field label */
.form-field label > span + span {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-left: 0.3em;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-field { flex: 1; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1.2rem;
  background: var(--bg-base);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: var(--fs-text);
  color: var(--ink);
  outline: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

/* Chevron drawn with two gradients so the select reads as a dropdown */
select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.8rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 1.5rem) 52%,
    calc(100% - 1.5rem + 5px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

input:focus,
select:focus,
textarea:focus {
  background-color: var(--surface);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent);
}

textarea {
  border-radius: var(--radius-card);
  resize: vertical;
  min-height: 140px;
}

.form-radios { border: none; }

.form-radios label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-text);
  color: var(--text-body);
  margin-bottom: 0.4rem;
  cursor: pointer;
}

.form-radios input[type="radio"],
.form-consent input[type="checkbox"] {
  accent-color: var(--ink);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--fs-small);
  margin: 1.2rem 0 1.6rem;
  cursor: pointer;
}

.form-consent input[type="checkbox"] { margin-top: 0.2rem; }

.btn-submit { padding-inline: 2.2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-dark);
  color: var(--on-dark-muted);
  text-align: center;
  padding: 2.5rem var(--pad-x);
  font-size: var(--fs-small);
}

footer p { max-width: 720px; margin: 0 auto 0.6rem; }

footer p:last-child { margin-bottom: 0; }

/* ============================================================
   RESPONSIVE — TABLET  (≤ 1000px)
   ============================================================ */
@media (max-width: 1000px) {
  :root {
    --gutter:      2rem;
    --section-y:   4rem;
    --space-block: 2.5rem;
  }

  /* Nav: hide desktop links, show hamburger */
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; }

  /* Hero */
  main > #domu {
    flex-direction: column-reverse;
    justify-content: center;
    min-height: auto;
    padding-top: calc(var(--nav-h) + 2.5rem);
    text-align: center;
    gap: 2.5rem;
  }
  .hero-text { align-items: center; }
  .hero-text h1 { font-size: clamp(2.2rem, 7vw, 3rem); }
  .hero-text p { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-photo { width: min(260px, 65vw); }

  .topics-grid,
  .approach-grid,
  .bg-grid,
  .pricing-notes { grid-template-columns: 1fr; }

  .approach-grid { gap: 2.5rem; }
  .bg-grid { gap: 1rem; }

  main > #spoluprace { grid-template-columns: 1fr; gap: 3rem; }

  main > #kontakt { grid-template-columns: 1fr; gap: 3rem; }

  details .acc-body ul { columns: 1; }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .price-row .price { text-align: left; white-space: normal; }
}

/* ============================================================
   RESPONSIVE — MOBILE  (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --gutter:      1.25rem;
    --section-y:   3.5rem;
    --space-block: 2rem;
    --fs-h2:       1.6rem;
    --fs-h3:       1.25rem;
    --fs-h3-card:  1.15rem;
  }

  body { font-size: 16px; }

  .hero-text h1 { font-size: 2rem; }

  .topic-card { padding: 1.6rem 1.4rem; }

  .form-card { padding: 2rem 1.4rem 2.5rem; border-radius: var(--radius-card); }

  .form-row { flex-direction: column; gap: 0; }

  details summary { font-size: 1rem; padding: 1rem 2.8rem 1rem 1.2rem; }

  details .acc-body { padding: 0.2rem 1.2rem 1.2rem; }
}

/* Sections fade in as they scroll into view. Hidden only when JS runs
   (html.js) and the visitor has not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .js main > section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }

  .js main > section.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Spam honeypot: hidden from people, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
