/* weby-vojacek.cz: styles of the public website.

   Rewritten from design/concept-home.html (2 Oct 2026) following the design
   system (docs/brand.md, "Vizuální směr"); the layered overrides of the
   concept and the unapproved glassmorphism experiment are not carried over.
   Type scale 14 · 16 · 18 · 22 · 28 · 36 · 52 px; radius 8 px controls,
   14 px cards, round labels. Orange is a shape, never text.

   Fonts: the Fontsource latin file of each family plus a small "cs" file with
   only the Czech and Slovak letters outside Latin-1 (č ď ě ĺ ľ ň ŕ ř š ť ů ž),
   cut from the latin-ext file with pyftsubset (fonttools 4.60.1) on 6 Nov 2026:
   about 10 KB instead of 92 KB, small enough to preload (base.html). The
   latin-ext originals stay in src/fonts. A replaced font needs a new file
   name: fonts are cached for 30 days. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.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: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-cs-wght-normal.woff2") format("woff2");
  unicode-range: U+010C-010F, U+011A-011B, U+0139-013A, U+013D-013E, U+0147-0148, U+0154-0155, U+0158-0159, U+0160-0161, U+0164-0165, U+016E-016F, U+017D-017E;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-wght-normal.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: "Space Grotesk";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-cs-wght-normal.woff2") format("woff2");
  unicode-range: U+010C-010F, U+011A-011B, U+0139-013A, U+013D-013E, U+0147-0148, U+0154-0155, U+0158-0159, U+0160-0161, U+0164-0165, U+016E-016F, U+017D-017E;
}

:root {
  --ink: #2B2B2B;          /* headings, links, outlines, the dark contact section; 14.2:1 on white */
  --text: #5C5C5C;         /* body text; 6.7:1 on white */
  --muted: #6E6E6A;        /* "not included" dashes, placeholders; 5.1:1 on white */
  --field: #8C8C88;        /* form field borders, at least 3:1 */
  --line: #DADAD6;         /* rules and card borders */
  --paper: #E9E9E7;        /* highlighted tier, side of the contact card, image placeholders */
  --tint: #F4F4F3;         /* every other block */
  --bg: #FFFFFF;
  --accent: #FF7F45;       /* the one strong colour, only as a surface or shape; ink on it 5.6:1 */
  --accent-hover: #FF956A; /* ink on it 6.9:1 */
  --on-dark: #CFCFCB;      /* body text on ink */
  --error: #B3261E;        /* 6.4:1 on white */
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius-control: 8px;
  --radius-card: 14px;
  --max: 1120px;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
}
h1, h2, h3 { color: var(--ink); font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: 52px; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 18px; }
p { margin: 0 0 16px; }
strong { font-weight: 600; }
img { max-width: 100%; }
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: var(--radius-control); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 30; padding: 8px 16px; background: var(--bg); border: 1px solid var(--ink); border-radius: var(--radius-control); }
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; overflow-x: clip; }
.tint { background: var(--tint); }
.eyebrow { color: var(--ink); font-size: 14px; font-weight: 500; margin: 0 0 12px; }
.eyebrow::before {
  content: ""; display: block; width: 36px; height: 4px; border-radius: 2px;
  background: var(--accent); margin-bottom: 12px;
}
.lead { font-size: 18px; max-width: 660px; }
.icon-svg { display: inline-flex; }
.icon-svg svg { width: 24px; height: 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: var(--radius-control); border: 1px solid transparent;
  font: 500 16px/1.65 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, transform 0.05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--ink); font-weight: 600; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.section-cta { margin-top: 32px; }
.more { display: inline-block; margin-top: 4px; color: var(--text); }
.more:hover { color: var(--ink); }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 10; padding: 14px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; position: relative; }
.logo { color: var(--ink); font: 600 22px/1.2 var(--font-head); letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; }
.dnav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; font-size: 14px; }
.dnav a { color: var(--text); text-decoration: none; }
.dnav a:hover, .dnav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.mnav { display: none; }
.mnav summary {
  list-style: none; cursor: pointer; width: 40px; height: 40px; border: 1px solid var(--ink); border-radius: var(--radius-control);
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 20px; height: 20px; }
.mnav .icon-close { display: none; }
.mnav details[open] .icon-open { display: none; }
.mnav details[open] .icon-close { display: inline-flex; }
.mnav ul {
  list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); z-index: 20;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-card);
}
.mnav li a { display: block; padding: 10px 18px; color: var(--ink); text-decoration: none; }
.mnav li a:hover { background: var(--tint); }

/* ---- 1. Hero ---- */
.hero { padding: 64px 0 96px; overflow: hidden; }
.hero h1 { max-width: 820px; }
.split { display: grid; gap: 56px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
.split-top { align-items: start; }
.hero .split { grid-template-columns: minmax(440px, 1fr) minmax(0, 506px); gap: 32px; }
.hero-photo { margin: 0; max-width: 506px; width: 100%; justify-self: end; }
.hero-photo picture { display: block; }
.hero-photo img { display: block; width: 100%; height: auto; transition: transform 0.6s ease; }
.hero-photo picture:hover img { transform: scale(1.03); }
.trust-line { margin: 24px 0 0; padding-left: 28px; position: relative; max-width: 520px; }
.trust-line::before { content: "✓"; position: absolute; left: 0; color: var(--ink); font-weight: 600; }

/* ---- 2. Problems: narrow centred column ---- */
.narrow { max-width: 860px; }
.narrow > h2, .narrow > .lead, .narrow > .eyebrow { text-align: center; margin-left: auto; margin-right: auto; }
.narrow > .eyebrow::before { margin-left: auto; margin-right: auto; }
.pairs { list-style: none; margin: 40px 0 0; padding: 0; }
.pairs li { display: grid; gap: 8px 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.pairs li:last-child { border-bottom: 1px solid var(--line); }
.pairs h3, .pairs p { margin: 0; }
.relief { border-left: 3px solid var(--accent); padding-left: 16px; color: var(--ink); }

/* ---- 3. Work samples and reference cards ---- */
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.card-body { padding: 18px 22px 22px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p:last-child { margin: 0; }
.card-kind { color: var(--ink); font-size: 14px; font-weight: 500; margin: 0 0 4px; }
.shot { aspect-ratio: 16 / 10; background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.shot picture, .shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.showcase { display: grid; gap: 16px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); margin-top: 32px; }
.showcase .big { grid-row: span 2; display: flex; flex-direction: column; }
.showcase .big .shot { flex: 1; aspect-ratio: 1374 / 1145; }
.showcase .small .shot { aspect-ratio: 16 / 9; }
.showcase .small .card-body { padding: 14px 18px 18px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 32px; }

/* ---- 4. What every website does ---- */
.cols3 { display: grid; gap: 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
.cols3 h3, .col-head h3 { margin: 0; }
.cols3 p { margin: 0; }
.figure { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-card); overflow: hidden; background: var(--paper); margin-bottom: 20px; }
.figure picture, .figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.img-note { position: absolute; right: 8px; top: 8px; padding: 2px 8px; border-radius: var(--radius-control); background: var(--bg); color: var(--ink); font-size: 14px; }
.col-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--ink); }

/* ---- 5. Care ---- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.checklist li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 16px; align-items: start; }
.checklist h3, .checklist p { margin: 0; }
.icon-box {
  grid-row: span 2; width: 48px; height: 48px; border-radius: var(--radius-card);
  background: var(--accent); color: var(--ink); display: inline-flex; align-items: center; justify-content: center;
}

/* ---- 6. About ---- */
.pull { margin: 24px 0; padding-left: 20px; border-left: 4px solid var(--accent); color: var(--ink); font: 500 22px/1.4 var(--font-head); }
.photo { aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden; background: var(--paper); }
.photo picture, .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- 7. Timeline ---- */
.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 32px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: tl; }
.timeline li { counter-increment: tl; }
.timeline li::before {
  /* At least as wide as the line above section headings, so a single digit does not leave a stub. */
  content: counter(tl); display: block; width: fit-content; min-width: 36px;
  color: var(--ink); font: 700 36px/1 var(--font-head);
  padding-bottom: 6px; border-bottom: 4px solid var(--accent); margin: 0 0 16px;
}
.timeline h3 { margin-bottom: 8px; }
.timeline p { margin: 0; }
.step-meta { display: block; color: var(--ink); font-size: 14px; font-weight: 500; margin-top: 10px; }

/* ---- 8. Price ---- */
.extras { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
.tile { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px 24px; }
.tile h3 { margin-bottom: 0; font-size: 16px; }
.tile p { margin: 0; font-size: 14px; }
.price { display: block; color: var(--ink); font: 600 22px/1.2 var(--font-head); margin: 8px 0; }
.price small { font: 400 14px/1.5 var(--font-body); color: var(--text); }
.receipt { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px 28px; margin-top: 8px; }
.receipt-head { color: var(--ink); font: 600 14px/1.5 var(--font-body); margin: 0 0 12px; }
.receipt ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.receipt li, .receipt-total { display: flex; align-items: baseline; gap: 8px; }
.dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 24px; }
.val { white-space: nowrap; }
.receipt-total { margin: 18px 0 0; padding-top: 14px; border-top: 2px solid var(--ink); color: var(--ink); font: 600 22px/1.2 var(--font-head); }
.receipt-total .val { font-size: 36px; letter-spacing: -0.01em; }
.subhead { margin-top: 48px; font-size: 22px; }
.price-note, .fine { font-size: 14px; margin-top: 16px; }

.table-wrap { overflow-x: auto; margin-top: 20px; padding-top: 14px; }
.tiers { width: 100%; min-width: 620px; border-collapse: collapse; table-layout: fixed; }
.tiers th, .tiers td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.tiers thead td, .tiers tbody th { width: 40%; }
.tiers tbody th { text-align: left; font-weight: 400; color: var(--text); }
.tiers thead th { vertical-align: top; font-weight: 400; position: relative; padding-top: 28px; }
.tiers .rec { background: var(--paper); }
.tiers thead .rec { border-radius: var(--radius-card) var(--radius-card) 0 0; box-shadow: inset 0 4px 0 var(--accent); }
.tier-name { display: block; color: var(--ink); font: 600 18px/1.2 var(--font-head); }
.tiers .price { margin: 4px 0; }
.tiers .price small { display: block; }
.promise { display: block; font-size: 14px; }
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--accent); color: var(--ink); font-size: 14px; font-weight: 600;
}
.tiers .badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); }
.yes { color: var(--ink); font-weight: 600; font-size: 18px; }
.no { color: var(--muted); }
.tier-cards { display: none; }
.tier-cards .tile { position: relative; }
.tier-cards .rec { border: 2px solid var(--line); background: var(--paper); margin-top: 12px; }
.tier-cards .badge { position: absolute; top: 0; left: 24px; transform: translateY(-50%); }
.tier-cards .promise { margin: 0 0 12px; }
.tier-cards ul { margin: 0; padding-left: 18px; }
.tier-cards li { margin-bottom: 4px; }
.tier-cards .from { list-style: none; margin-left: -18px; color: var(--ink); font-weight: 500; }
.band {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 28px; margin-top: 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.band p { font-size: 18px; color: var(--ink); max-width: 620px; margin: 0; }

/* ---- 9. FAQ ---- */
.faq-cols { display: grid; gap: 0 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; align-items: start; }
.faq-cols details { border-bottom: 1px solid var(--line); }
.faq-cols summary {
  cursor: pointer; padding: 14px 0; color: var(--ink); font: 600 18px/1.4 var(--font-head);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-cols summary::-webkit-details-marker { display: none; }
.faq-cols summary::after { content: "+"; color: var(--ink); font-size: 18px; line-height: 1; }
.faq-cols details[open] summary::after { content: "–"; }
.faq-cols summary:hover { text-decoration: underline; }
.faq-cols details p { margin: 0 0 16px; }

/* ---- 10. Contact ---- */
.contact { background: var(--ink); color: var(--on-dark); }
.contact h2 { color: var(--bg); }
.contact a { color: var(--bg); }
.contact :focus-visible { outline-color: var(--bg); }
.contact-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.contact-head .lead { color: var(--on-dark); margin-left: auto; margin-right: auto; }
.contact-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  background: var(--bg); color: var(--text); border-radius: var(--radius-card); overflow: hidden; max-width: 960px; margin: 0 auto;
}
.contact-card a { color: var(--ink); }
.contact-card :focus-visible { outline-color: var(--ink); }
.contact-side { background: var(--paper); padding: 32px; display: flex; flex-direction: column; }
.contact-person { display: flex; gap: 16px; align-items: center; }
.contact-person picture { flex: none; }   /* otherwise the portrait shrinks into an oval on a phone */
.contact-person p { margin: 0; }
.contact-person strong { display: block; color: var(--ink); font: 600 22px/1.2 var(--font-head); margin-bottom: 4px; }
.avatar { display: block; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: none; }
.know-block { margin: auto 0; padding: 24px 0; }
.know-title { margin: 0 0 12px; color: var(--ink); font-size: 18px; font-weight: 600; }
.know { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.know li { position: relative; padding-left: 30px; color: var(--ink); font-size: 18px; }
.know li::before {
  content: "✓"; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: var(--ink); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.know-note { margin: 16px 0 0; font-size: 14px; }
.booking { display: grid; gap: 16px; padding: 32px; }
.field { display: grid; gap: 6px; }
.field label, .field-pair legend { color: var(--ink); font-size: 14px; font-weight: 500; }
.optional { color: var(--text); font-weight: 400; }
.field input {
  width: 100%; font: 400 16px/1.5 var(--font-body); padding: 11px 14px; border-radius: var(--radius-control);
  border: 1px solid var(--field); background: var(--bg); color: var(--ink);
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:focus-visible { outline-offset: 1px; }
.field input[aria-invalid="true"] { border: 2px solid var(--error); }
.field-pair { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.field-pair legend { padding: 0; margin-bottom: 8px; }
.field-pair .error { grid-column: 1 / -1; }
.error { margin: 4px 0 0; color: var(--error); font-size: 14px; font-weight: 500; }
.form-hint { margin: 4px 0 0; color: var(--ink); font-weight: 500; }
.booking .btn { justify-self: start; }
.form-note { font-size: 14px; margin: 0; }
.form-done { border-left: 3px solid var(--accent); padding-left: 16px; color: var(--ink); }
.booking--done { align-content: center; }   /* the thanks sit in the middle, the accent line only as tall as the text */
.form-alert { border-left: 3px solid var(--error); padding-left: 16px; color: var(--ink); }
.form-alert p { margin: 0; }
.form-done-title { font: 600 22px/1.3 var(--font-head); margin: 0 0 6px; }
.form-done p { margin: 0; }
.channels { text-align: center; margin: 28px 0 0; }
.channels a { white-space: nowrap; }   /* the e-mail address must not break at its hyphen */

/* ---- Footer ---- */
.site-footer { padding: 40px 0; font-size: 14px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---- Simple pages (references, errors) ---- */
.page { padding: 48px 0 96px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 40px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
/* Not decided yet: must be filled in or removed before launch (yellow as in the concepts). */
.placeholder { background: #FFF7E0; color: #6B4E00; border-radius: 4px; padding: 0 4px; }
.section.page-head { padding-top: 48px; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 56px; }
  .split, .hero .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-photo { justify-self: start; max-width: min(368px, 100%); }
  .dnav { display: none; }
  .mnav { display: block; margin-left: auto; }
  .site-header .wrap { gap: 10px; padding: 0 16px; }
  /* On a phone the samples come right after the hero; the two blocks swap
     backgrounds so the alternation stays intact. */
  .home-main { display: flex; flex-direction: column; }
  .home-main > .hero { order: -2; }
  .home-main > #ukazky { order: -1; background: var(--tint); }
  .home-main > #problemy { background: var(--bg); }
  .showcase { grid-template-columns: 1fr; }
  .showcase .big { grid-row: auto; }
  .cols3 { grid-template-columns: 1fr; gap: 40px; }
  .timeline { grid-template-columns: 1fr; }
  .faq-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 700px) and (max-width: 860px) {
  .hero .split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .hero-photo { max-width: none; justify-self: end; }
}
@media (min-width: 601px) and (max-width: 860px) {
  /* The picture spans both rows; the text keeps its natural height, so the heading stays above its sentence. */
  .cols3 > div { display: grid; grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 4px 24px; align-items: start; }
  .cols3 .figure { margin: 0; grid-row: span 2; }
  .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase .big { grid-column: 1 / -1; }
}
@media (max-width: 760px) { .contact-card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .pairs li { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr; }
  .table-wrap { display: none; }
  .tier-cards { display: grid; gap: 16px; margin-top: 20px; }
}
@media (max-width: 480px) {
  .receipt { padding: 20px; }
  .receipt-total { flex-wrap: wrap; }
  .receipt-total .dots { display: none; }
  .receipt-total .val { width: 100%; font-size: 28px; }
  .field-pair { grid-template-columns: minmax(0, 1fr); }
  .booking, .contact-side { padding: 24px; }
  .avatar { width: 80px; height: 80px; }   /* at 320 px a 112 px portrait leaves the name one word per line */
}
@media (max-width: 420px) { .logo { font-size: 18px; } .site-header .btn-small { padding: 9px 12px; } }
@media (max-width: 359px) { .site-header .btn-small { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .btn, .hero-photo img { transition: none; }
  .hero-photo picture:hover img { transform: none; }
}
