:root {
  --ink: #1F2124;
  --ink-2: #3A3E44;
  --soft: #474B51;
  --muted: #55595F;
  --concrete: #ECEEEF;
  --line: #E2E4E6;
  --orange: #C44A0A;
  --orange-dark: #8F3507;
  --orange-light: #F07A33;
  --night: #1F2124;
  --night-2: #17181A;
  --night-text: #C9CCD0;
  --night-label: #9EA3A9;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --sec: clamp(56px, 7vw, 104px);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); }
a:hover { color: var(--orange-dark); }
a:focus-visible, input:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; font-stretch: 118%; }
h3 { font-size: clamp(21px, 2vw, 24px); font-stretch: 112%; letter-spacing: 0; }
p { margin: 0; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: var(--sec); }
.band { background: var(--concrete); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; }

/* hlavička */
.top { border-bottom: 1px solid var(--line); }
.top__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand span { font-weight: 800; font-stretch: 112%; font-size: 21px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--orange); }
.nav .nav__tel { background: var(--ink); color: #fff; font-weight: 700; padding: 0 18px; border-radius: 4px; }
.nav .nav__tel:hover { background: #000; color: #fff; }

/* úvod */
.hero { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); padding-block: clamp(36px, 6vw, 88px); align-items: stretch; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.hero h1 { font-size: clamp(33px, 4.4vw, 58px); line-height: 1.05; font-stretch: 118%; max-width: 15ch; }
.lead { font-size: clamp(16px, 1.4vw, 20px); color: var(--soft); max-width: 54ch; }
.hero__call { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.hero__call span { font-size: 16px; color: var(--muted); }
.bigtel { color: var(--ink); text-decoration: none; font-size: clamp(40px, 5vw, 72px); line-height: 1; font-weight: 900; font-stretch: 125%; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bigtel:hover { color: var(--orange); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-weight: 700; font-size: 18px; border-radius: 4px; text-decoration: none; }
.btn--main { background: var(--orange); color: #fff; }
.btn--main:hover { background: var(--orange-dark); color: #fff; }
.btn--line { border: 2px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.hero__img { flex: 1 1 360px; min-width: 0; max-width: 520px; margin: 0; }
.hero__img img { width: 100%; height: 100%; min-height: 420px; max-height: 680px; object-fit: cover; object-position: 50% 78%; border-radius: var(--radius); }

/* služby */
.section > h2 { margin-bottom: clamp(28px, 4vw, 56px); }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 3vw, 40px); }
.services article { display: flex; flex-direction: column; gap: 16px; }
.services img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.services img.pos-low { object-position: 50% 55%; }
.services ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); }

/* pred a po */
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 48px; margin-bottom: clamp(24px, 3vw, 40px); }
.split-head h2 { max-width: 18ch; }
.split-head p { color: var(--soft); max-width: 46ch; }
.compare { --pos: 50%; position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--concrete); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; }
.tag { position: absolute; top: 14px; font-weight: 700; font-size: 15px; padding: 5px 12px; border-radius: 3px; }
.tag--dark { left: 14px; background: var(--ink); color: #fff; }
.tag--light { right: 14px; background: #fff; color: var(--ink); }
.compare__ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: 16px; color: var(--soft); font-size: 16px; }
.compare__ctrl input { flex: 1 1 260px; min-height: 44px; margin: 0; accent-color: var(--orange); }

/* realizácie */
.more { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.works { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.works figure { margin: 0; }
.works img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.works .tall img { aspect-ratio: 3 / 4; }
.works figcaption { margin-top: 10px; font-weight: 600; line-height: 1.4; }

/* kontakt */
.dark { background: var(--night); color: #fff; }
.contact { display: flex; flex-wrap: wrap; gap: clamp(40px, 5vw, 80px); align-items: flex-start; }
.contact__text, .contact__ways { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; }
.contact__text { gap: 22px; }
.contact__text h2 { max-width: 16ch; }
.contact__text p { color: var(--night-text); max-width: 44ch; }
.contact__ways { gap: 36px; }
.way { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid #44484E; padding-top: 20px; }
.way span { color: var(--night-label); font-size: 15px; }
.way__tel { color: var(--orange-light); text-decoration: none; font-size: clamp(38px, 5vw, 72px); line-height: 1; font-weight: 900; font-stretch: 125%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.way__mail { color: #fff; text-decoration: none; font-size: clamp(24px, 3.2vw, 44px); line-height: 1.15; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.way__tel:hover, .way__mail:hover { color: #fff; text-decoration: underline; }
.firm { margin: 14px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; font-size: 15px; color: var(--night-text); }
.firm dt { color: var(--night-label); }
.firm dd { margin: 0; }

/* päta */
.foot { background: var(--night-2); color: var(--night-label); font-size: 15px; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-block: 24px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot a { color: var(--orange-light); min-height: 36px; display: inline-flex; align-items: center; }
.foot a:hover { color: #fff; }

/* lišta na mobile */
.callbar { display: none; }

@media (max-width: 1000px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .top__in { flex-direction: column; align-items: flex-start; }
  .brand img { width: 44px; height: 44px; }
  .brand span { font-size: 19px; }
  .nav { gap: 0 22px; }
  .nav .nav__tel { display: none; }
  .hero { padding-block: 24px 36px; gap: 22px; }
  .hero__text { gap: 18px; }
  .btns { flex-direction: column; }
  .btns .btn { width: 100%; }
  .hero__img { max-width: none; }
  .hero__img img { min-height: 0; max-height: none; aspect-ratio: 4 / 5; }
  .services img { aspect-ratio: 16 / 10; }
  .compare { aspect-ratio: 4 / 3; }
  .compare__line { width: 3px; margin-left: -1px; }
  .tag { top: 10px; font-size: 14px; padding: 4px 10px; }
  .tag--dark { left: 10px; }
  .tag--light { right: 10px; }
  .compare__ctrl { flex-direction: column; align-items: stretch; }
  .compare__ctrl input { flex: none; width: 100%; }
  .works { gap: 18px 12px; }
  .works figcaption { font-size: 14px; margin-top: 6px; }
  .callbar {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid #D5D8DB;
  }
  .callbar .btn { min-height: 50px; padding: 0 12px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
