/* LipTep - mobile first */

:root {
  --ink: #161616;
  --ink-soft: #4a4a47;
  --paper: #f6f4ef;
  --paper-2: #ebe8e0;
  --white: #fff;
  --line: #d9d5ca;
  --teal: #0e5c5d;
  --teal-dark: #0a4546;
  --teal-light: #d5e8e5;
  --focus: #e0a526;

  --font: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --radius: 6px;
  --gutter: 16px;
  --header-h: 64px;
  --bar-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  padding-bottom: var(--bar-h);
}

[hidden] { display: none !important; }
/* rýchle ťukanie (napr. plusko v kalkulačke) nemá na mobile zväčšovať stránku; zoom dvoma prstami ostáva */
a, button, label, input, select, textarea, summary, .option, .stepper { touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 7.5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 6vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
figure { margin: 0; }

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

.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 {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: var(--radius);
}
.skip:focus { top: 8px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hand {
  font-family: var(--hand);
  font-weight: 600;
  letter-spacing: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: .7em 1.2em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); background: var(--white); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-ghost-light { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); }
.btn-lg { min-height: 56px; font-size: 1.0625rem; padding: .8em 1.4em; }
.btn-block { display: flex; width: 100%; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 239, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}
.brand { display: block; flex: none; }
.brand img { width: auto; height: 34px; }
.header-call { display: none; }

.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: none;
}
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.nav a {
  display: block;
  padding: 12px 0;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav li:last-child a { border-bottom: 0; }

/* Mobile sticky call bar */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn-primary { flex: 1; font-size: 1.0625rem; min-height: 52px; }
.mobile-bar-wa { min-height: 52px; width: 56px; padding: 0; }
.mobile-bar-wa .ico { width: 26px; height: 26px; }

/* Hero */
.hero { padding: 24px 0 48px; }
.hero-grid { display: grid; gap: 28px; }
.hero-slogan {
  font-size: 1.75rem;
  color: var(--teal);
  margin: 0 0 .25em;
  transform: rotate(-2deg);
  transform-origin: left;
}
.lead { font-size: 1.1875rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: grid; gap: 10px; margin: 24px 0 20px; }
.trust {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-weight: 600;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.trust .ico { color: var(--teal); }
.stars { color: var(--teal); letter-spacing: 1px; }
.crew {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: .9688rem;
  text-decoration: none;
}
.crew strong { text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 3px; }
.crew-faces { display: flex; }
.crew-faces img {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  object-fit: cover;
}
.crew-faces picture + picture { margin-left: -10px; }
.cities {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed var(--ink);
  font-size: .9375rem;
  color: var(--ink-soft);
}
.cities span { color: var(--line); padding: 0 2px; }

.hero-visual { position: relative; }
.hero-caption {
  margin-top: 6px;
  font-size: 1.5rem;
  color: var(--ink-soft);
  text-align: right;
}

/* Before / after slider */
.ba {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: var(--paper-2);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
}
.ba img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
  pointer-events: none;
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 46px; height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6' fill='none' stroke='%23161616' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.ba-tag {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-tag-before { left: 12px; background: var(--ink); color: var(--white); }
.ba-tag-after { right: 12px; background: var(--teal); color: var(--white); }
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.ba:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Sections */
.section { padding: 56px 0; }
.section-tint { background: var(--paper-2); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-head { margin-bottom: 28px; max-width: 40em; }
.section-head h2 { margin-bottom: .3em; }
.kicker {
  font-size: 1.5rem;
  color: var(--teal);
  margin: 0;
}
.section-ink .kicker { color: #7cc4be; }
.section-lead { color: var(--ink-soft); margin: 0; }
.sub-head { margin: 48px 0 16px; font-size: 1.5rem; }

/* Pricing */
.price-grid { display: grid; gap: 16px; }
.price-block {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 20px 12px;
}
.price-block h3 { font-size: 1.5rem; margin-bottom: .35em; }
.price-note { color: var(--ink-soft); font-size: .9688rem; }
.price-list { margin: 0; }
.price-list div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}
.price-list dt { flex: 1; font-weight: 600; }
.price-list dt small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .875rem; }
.price-list dd { margin: 0; font-weight: 800; font-size: 1.25rem; white-space: nowrap; color: var(--teal); }
.price-list dd small { font-size: .875rem; font-weight: 600; color: var(--ink-soft); }
.travel {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--teal);
  background: var(--teal-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Calculator */
.calc { display: grid; gap: 20px; }
.calc-fields { display: grid; gap: 14px; }
.calc-group {
  margin: 0;
  padding: 18px 16px 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  min-width: 0;
}
.calc-group legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 14px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.calc-group legend + * { clear: both; }
.calc-hint { margin: -8px 0 14px; color: var(--ink-soft); font-size: .9375rem; }
.type-cards { display: grid; gap: 10px; }
.type-cards .option { display: flex; }
.type-cards .option > span { flex: 1; } /* oba boxy rovnako vysoké */
.option-big > span { min-height: 72px; padding-top: 14px; padding-bottom: 14px; }
.option-big b { font-size: 1.125rem; font-weight: 800; }
.items { display: grid; gap: 8px; max-width: 520px; }
.item-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 6px 44px;
}
.item-qty label { font-size: .9375rem; font-weight: 600; }
.item-qty .stepper { flex: none; width: 150px; }
.field-num { display: flex; flex-direction: column; justify-content: space-between; }
.field-num label {
  display: block;
  font-weight: 600;
  font-size: .9688rem;
  margin-bottom: 6px;
  line-height: 1.25;
}
.field-num label small {
  display: block;
  font-weight: 400;
  font-size: .8125rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.stepper {
  display: flex;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.stepper button {
  flex: none;
  width: 44px;
  min-height: 48px;
  border: 0;
  background: var(--paper);
  font: inherit;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.stepper button:hover { background: var(--teal-light); }
.stepper input {
  width: 100%;
  min-width: 0;
  border: 0;
  text-align: center;
  font: inherit;
  font-weight: 800;
  font-size: 1.125rem;
  background: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.stepper input:focus-visible, .stepper button:focus-visible { outline: none; background: var(--teal-light); }
.field-km .stepper { max-width: 220px; }

.calc-q { margin: 0 0 8px; font-weight: 600; font-size: .9688rem; }
.options { display: grid; gap: 8px; margin-bottom: 16px; max-width: 520px; }
.option-check { max-width: 520px; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px 10px 44px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  position: relative;
  transition: border-color .15s, background-color .15s;
}
.option > span::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  width: 20px; height: 20px;
  margin-top: -10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
}
.option-check > span::before { border-radius: 4px; }
.option b { font-weight: 600; }
.option b small { display: block; font-weight: 400; font-size: .8125rem; color: var(--ink-soft); }
.option i { font-style: normal; font-weight: 800; color: var(--teal); white-space: nowrap; }
.option:hover > span { border-color: var(--ink); }
.option input:checked + span { border-color: var(--teal); background: var(--teal-light); }
.option input:checked + span::before {
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: inset 0 0 0 3px var(--white);
}
.option-check input:checked + span::before {
  box-shadow: none;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.calc-sticky {
  position: sticky;
  bottom: calc(var(--bar-h) + 8px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.calc-sticky span { font-size: .9375rem; color: #cfccc4; }
.calc-sticky strong { font-size: 1.375rem; font-weight: 800; }
.calc-sticky a { margin-left: auto; color: var(--white); font-weight: 600; font-size: .9375rem; text-underline-offset: 3px; }
.calc-empty { color: var(--ink-soft); font-size: .9375rem; }
.calc-min { font-weight: 600; color: var(--teal-dark); background: var(--teal-light); padding: 8px 12px; border-radius: var(--radius); }
.calc-form-link { justify-self: center; font-weight: 600; font-size: .9375rem; text-underline-offset: 3px; padding: 4px; }
.obce { margin-bottom: 0; }
.field-km { margin-top: 14px; }

.calc-result {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.calc-result p { margin: 0; }
.calc-label { font-weight: 600; color: var(--ink-soft); }
.calc-total { font-size: 3rem; font-weight: 800; line-height: 1; color: var(--teal); letter-spacing: -.03em; }
.calc-breakdown {
  list-style: none; margin: 0; padding: 0;
  font-size: .9375rem;
  color: var(--ink-soft);
}
.calc-breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.calc-breakdown:empty { display: none; }
.calc-note {
  font-family: var(--hand);
  font-size: 1.375rem;
  line-height: 1.2;
  padding: 6px 0 4px;
}

/* Gallery */
.gallery { display: grid; gap: 28px; }
.gallery-item figcaption { margin-top: 8px; font-weight: 600; }
.work-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 8px;
  scroll-padding: 0 var(--gutter);
}
.work-grid figure { scroll-snap-align: start; }
.work-grid:focus-visible { outline-offset: -3px; }
.work-grid img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.work-grid figcaption { margin-top: 6px; font-size: .875rem; color: var(--ink-soft); line-height: 1.3; }

/* Apartments */
.apart { display: grid; gap: 12px; }
.apart h2 { color: var(--white); }
.apart p { color: #d9d6cf; max-width: 36em; }
.apart-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 64px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -4px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--hand);
  font-size: 1.75rem;
  line-height: 1;
  padding: 0 4px 6px 0; /* Caveat má čísla nízko a naklonené, posunieme ich do stredu */
  background: var(--white);
}
.steps li::after {
  content: "";
  position: absolute;
  left: 22px; top: 46px; bottom: 2px;
  border-left: 2px dashed var(--line);
}
.steps li:last-child::after { display: none; }
.steps li:last-child { padding-bottom: 0; }
.steps h3 { margin-bottom: .25em; }
.steps p { margin: 0; color: var(--ink-soft); }

/* About */
.about { display: grid; gap: 28px; }
.about-text p { max-width: 34em; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.team img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.team figcaption { margin-top: 6px; font-weight: 600; }
.team figcaption .hand { font-size: 1.625rem; color: var(--teal); margin-right: 2px; }
.team figure:nth-child(2) { margin-top: 32px; }

/* Reviews */
.section-head-row { max-width: none; }
.link-arrow {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--teal);
}
.link-arrow::after { content: " →"; }
.score { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.score p { margin: 0; }
.score-num { font-size: 3.25rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--teal); }
.score .link-arrow { margin-top: 2px; }
.ig-more { margin: 18px 0 0; }
.cta-band { background: var(--teal); color: var(--white); padding: 44px 0; }
.cta-inner { display: grid; gap: 20px; }
.cta-band h2 { font-size: clamp(1.5rem, 5vw, 2.25rem); margin-bottom: .3em; }
.cta-band p { margin: 0; color: #d5e8e5; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.reviews { display: grid; gap: 14px; }
.review {
  margin: 0;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--teal);
}
.review .stars { margin: 0 0 6px; }
.review p:not(.stars) { font-size: 1.125rem; }
.review footer { font-weight: 600; color: var(--ink-soft); font-size: .9375rem; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary {
  list-style: none;
  position: relative;
  padding: 18px 44px 18px 0;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); max-width: 40em; }

/* Contact */
.contact { display: grid; gap: 32px; }
.big-phone {
  display: inline-block;
  margin: 4px 0 20px;
  font-size: clamp(2.25rem, 11vw, 4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 4px solid currentColor;
  white-space: nowrap;
}
.big-phone:hover { color: var(--teal-dark); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}
.contact-list span { width: 88px; color: var(--ink-soft); flex: none; }
.contact-list a { font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }

.contact-form {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 18px;
}
.contact-form h3 { font-size: 1.375rem; margin-bottom: 16px; }
.field { margin-bottom: 14px; }
.field > label { display: block; font-weight: 600; margin-bottom: 6px; }
.field small { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fdf3f2; }
.field-error { margin: 4px 0 0; color: #b3261e; font-size: .9375rem; font-weight: 600; }
.field-error:empty { display: none; }

.file-input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
}
.file-drop {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px;
  border: 2px dashed var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.file-drop:hover { background: var(--teal-light); }
/* na počítači s myšou bez "z mobilu" */
@media (hover: hover) and (pointer: fine) {
  .only-touch { display: none; }
}
.file-input:focus-visible + .file-drop { outline: 3px solid var(--focus); outline-offset: 2px; }
.file-preview {
  margin-top: 10px;
  max-height: 180px;
  width: auto;
  border-radius: var(--radius);
}

.form-done {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--teal-light);
}
.form-done:focus { outline: none; }
.contact-form.is-sent .field,
.contact-form.is-sent #f-submit { display: none; }
.contact-form.is-sent .form-done { margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-done-title { font-weight: 800; font-size: 1.125rem; margin-bottom: .4em; }
.form-done-actions { display: grid; gap: 8px; margin-top: 12px; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 28px 0;
  font-size: .9375rem;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.footer-logo { flex: none; }
.footer-logo img { width: 120px; height: 120px; }
.footer-text { flex: 1 1 260px; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: baseline; justify-content: space-between; }
.footer-inner p { margin: 0; }
.footer-inner .hand { font-size: 1.375rem; color: #7cc4be; }
.footer-links a { color: var(--paper); text-underline-offset: 3px; }
.credit { flex-basis: 100%; margin-top: 10px !important; font-size: .875rem; }
.credit a { color: rgba(255, 255, 255, .7); text-underline-offset: 3px; }
.credit a:hover { color: var(--white); }
.credit span { color: #d65c1d; font-weight: 700; text-transform: uppercase; }

/* >= 600px */
@media (min-width: 600px) {
  :root { --gutter: 24px; }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .hero-actions .btn { white-space: nowrap; }
  .type-cards { grid-template-columns: 1fr 1fr; }
  .calc-group { padding: 22px 22px 24px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .work-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 16px; }
  .work-grid figcaption { font-size: .9375rem; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .credit { text-align: right; }
  .form-done-actions { grid-template-columns: auto auto; justify-content: start; }
}

/* >= 900px */
@media (min-width: 900px) {
  :root { --header-h: 76px; --bar-h: 0px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }

  .brand img { height: 40px; }
  .nav-toggle { display: none; }
  .nav {
    position: static;
    display: block;
    margin-left: auto;
    background: none;
    border: 0;
  }
  .nav ul { display: flex; gap: 2px; padding: 0; }
  .nav a {
    font-size: .9375rem;
    padding: 8px 8px;
    border: 0;
    border-radius: var(--radius);
    white-space: nowrap;
  }
  .nav a:hover { background: var(--paper-2); }
  .header-call { display: inline-flex; flex: none; }
  .header-call .call-num { display: none; } /* na užších obrazovkách len "Zavolať" */

  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
  .hero-visual .ba { aspect-ratio: 4 / 5; }

  .section { padding: 88px 0; }
  .price-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .price-block { padding: 26px 24px 14px; }

  .calc { grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
  .calc-sticky { display: none; }
  .calc-result { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px; }

  .gallery { grid-template-columns: repeat(6, 1fr); gap: 40px 24px; }
  .gallery-item { grid-column: span 3; }
  .gallery-item:nth-child(n+3) { grid-column: span 2; }

  .apart { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps li { padding: 64px 0 0; }
  .steps li::before { top: 0; }
  .steps li::after {
    left: 54px; right: -18px; top: 22px; bottom: auto;
    border-left: 0;
    border-top: 2px dashed var(--line);
  }

  .about { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .about-text { order: 2; }

  .section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
  .cta-band { padding: 56px 0; }
  .faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }

  .contact { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .contact-form { padding: 28px; }
}

@media (min-width: 1200px) {
  .cta-inner { grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
  .nav a { padding: 8px 12px; font-size: .9688rem; }
  .header-call .call-num { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
