/* ARAYA — Sťahovanie & Autodoprava
   Farby prevzaté z pôvodného loga (červená) */

:root {
  --red: #d50000;
  --red-dark: #a30000;
  --ink: #14171a;
  --ink-soft: #4a5257;
  --line: #e4e7ea;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 23, 26, .06), 0 8px 24px rgba(20, 23, 26, .06);
  --wrap: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 1.1em; }

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

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo img { width: 42px; height: 42px; }
.logo span { font-weight: 800; font-size: 1.22rem; color: var(--ink); letter-spacing: .01em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 9px 13px; border-radius: 8px;
}
.nav a:hover { background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--red); }

.btn-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; text-decoration: none;
  font-weight: 700; padding: 11px 18px; border-radius: 999px;
  white-space: nowrap; transition: background .15s;
}
.btn-call:hover { background: var(--red-dark); }
.btn-call svg { width: 17px; height: 17px; fill: currentColor; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 0 auto; position: relative; border-radius: 2px;
}
.nav-toggle span::before { content: ""; position: absolute; top: -6px; }
.nav-toggle span::after { content: ""; position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  padding: clamp(56px, 11vw, 108px) 0;
  background: #1a1d20 center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,19,.72), rgba(15,17,19,.82));
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero__lead {
  font-size: clamp(1.06rem, 2.3vw, 1.35rem); color: rgba(255,255,255,.93);
  max-width: 640px; margin: 0 auto 30px;
}
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-ghost {
  display: inline-flex; align-items: center; padding: 11px 22px;
  border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px;
  color: #fff; text-decoration: none; font-weight: 650;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.hero .btn-call { padding: 13px 26px; font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 8vw, 84px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head p { color: var(--ink-soft); margin: 0; font-size: 1.06rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 750; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}

/* ---------- Služby ---------- */
.services { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.service img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.service__body { padding: 22px 22px 24px; }
.service__body p { color: var(--ink-soft); font-size: .98rem; }
.service__body p:last-child { margin-bottom: 0; }
.service__q { font-weight: 650; color: var(--ink); }
/* Na mestských stránkach sú služby priamo pod H1, takže sú H2 —
   veľkosť držíme na úrovni ostatných kariet. */
.service__body h2 { font-size: 1.16rem; font-weight: 700; margin: 0 0 .5em; }

/* ---------- Cenník ---------- */
.price-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.price-card h2 { color: var(--red); margin-bottom: 4px; font-size: 1.16rem; }
.price-card h3 { font-size: 1rem; margin: 18px 0 8px; font-weight: 700; }
.price-card h3:first-of-type { margin-top: 10px; }
.price-list { list-style: none; margin: 0 0 14px; padding: 0; }
.price-list li {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .97rem;
}
.price-list li:last-child { border-bottom: 0; }
.price-list b { color: var(--ink); white-space: nowrap; font-weight: 700; }
.note { font-size: .89rem; color: var(--ink-soft); line-height: 1.55; margin: 0 0 .7em; }
.note:last-child { margin-bottom: 0; }

/* ---------- Kalkulačka ---------- */
.calc {
  margin: 18px 0 6px; padding: 18px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px;
}
.calc__title {
  font-size: .78rem !important; font-weight: 750 !important; letter-spacing: .09em;
  text-transform: uppercase; color: var(--red); margin: 0 0 14px !important;
}
.calc__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 10px;
}
.calc__row label { font-size: .94rem; color: var(--ink); }
.calc__field {
  display: flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 4px 10px 4px 4px; flex-shrink: 0;
}
.calc__field:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(213, 0, 0, .12); }
.calc__field input {
  width: 76px; border: 0; outline: 0; background: none;
  font: inherit; font-weight: 700; color: var(--ink);
  text-align: right; padding: 6px 4px;
  -moz-appearance: textfield;
}
.calc__field input::-webkit-outer-spin-button,
.calc__field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__unit { font-size: .88rem; color: var(--ink-soft); font-weight: 600; }

.calc__row--stack { flex-direction: column; align-items: stretch; gap: 7px; }
.calc__select {
  width: 100%; font: inherit; font-size: .93rem; font-weight: 650; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 11px; cursor: pointer;
}
.calc__select:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(213, 0, 0, .12); }
.calc__row[hidden] { display: none; }

.calc__out { list-style: none; margin: 16px 0 12px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.calc__out li {
  display: flex; justify-content: space-between; gap: 14px;
  font-size: .93rem; color: var(--ink-soft); padding: 5px 0;
}
.calc__out b { color: var(--ink); white-space: nowrap; font-weight: 700; }
.calc__out em {
  display: block; font-style: normal;
  font-size: .82rem; color: var(--ink-soft); opacity: .8;
}
.calc__total {
  margin-top: 8px; padding-top: 12px !important;
  border-top: 1px solid var(--line);
  font-size: 1.02rem !important; color: var(--ink) !important; font-weight: 650;
}
.calc__total b { color: var(--red); font-size: 1.22rem; }

@media (max-width: 380px) {
  .calc__row { flex-direction: column; align-items: stretch; }
  .calc__field { justify-content: flex-end; }
}

/* ---------- Galéria ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery a { display: block; border-radius: 10px; overflow: hidden; background: var(--bg-alt); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(10,11,12,.93); align-items: center; justify-content: center; padding: 24px;
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.lightbox__close {
  position: absolute; top: 18px; right: 22px; background: none; border: 0;
  color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; padding: 6px;
}

/* ---------- Kontakt / vozidlo ---------- */
.cols { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-soft); font-weight: 650; margin-bottom: 2px; }
.contact-list .value { font-size: 1.08rem; font-weight: 650; color: var(--ink); text-decoration: none; }
a.value:hover { color: var(--red); }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--radius); display: block; }

.specs { list-style: none; margin: 0; padding: 0; }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs li:last-child { border-bottom: 0; }
.specs b { white-space: nowrap; }

/* ---------- CTA pás ---------- */
.cta-band { background: var(--ink); color: #fff; text-align: center; padding: clamp(44px, 7vw, 72px) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: .94rem; }
.footer__grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 30px; }
.footer h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--red); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 20px; color: var(--ink-soft); font-size: .87rem; }

/* ---------- Mobilné volanie ---------- */
.call-bar { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 20px 20px; transform: translateY(-120%);
    transition: transform .22s ease; box-shadow: var(--shadow);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.02rem; }
  .nav .btn-call { margin-top: 14px; justify-content: center; border-bottom: 0; color: #fff; padding: 13px 18px; }
  .header .btn-call { display: none; }

  body { padding-bottom: 62px; }
  .call-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--red); padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 14px rgba(0,0,0,.16);
  }
  .call-bar a {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    color: #fff; text-decoration: none; font-weight: 750; font-size: 1.08rem;
  }
  .call-bar svg { width: 18px; height: 18px; fill: currentColor; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Zoznam miest ---------- */
.cities { list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 10px; }
.cities a {
  display: block; padding: 12px 14px; text-decoration: none; font-weight: 650;
  color: var(--ink); background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 9px;
}
.cities a:hover, .cities a:focus-visible { border-color: var(--red); color: var(--red); }
.cities a[aria-current] { border-color: var(--red); color: var(--red); background: #fff; }
