/* ==========================================================
   HAPPY-TAXI – happy-taxi.sk
   ========================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --yellow: #FCD309;
  --yellow-soft: #FFF3B0;
  --ink: #171408;
  --ink-2: #3a3626;
  --muted: #6b6655;
  --paper: #FFFFFF;
  --tint: #F7F5EE;
  --line: rgba(23, 20, 8, .1);
  --white: #F8F7F7;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(23,20,8,.04), 0 8px 24px -12px rgba(23,20,8,.18);
  --shadow-lg: 0 24px 48px -20px rgba(23,20,8,.35);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, sans-serif;

  --header-h: 72px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

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

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

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

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.025em; }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn .ic { font-size: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--yellow); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--lg { min-height: 60px; padding: 16px 30px; font-size: 1.3rem; font-family: var(--font-display); font-weight: 800; letter-spacing: .01em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 211, 9, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(23,20,8,.08), 0 10px 30px -18px rgba(23,20,8,.4); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: block; padding-block: 6px; }
.brand img { width: clamp(150px, 38vw, 190px); height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px; transition: background-color .15s ease;
}
.nav a:hover { background: rgba(23,20,8,.08); }
.header-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--yellow);
  padding: 10px 18px; border-radius: 999px;
  font-weight: 700; text-decoration: none; white-space: nowrap;
  font-family: var(--font-display); letter-spacing: .01em;
  transition: transform .18s ease;
}
.header-call:hover { transform: translateY(-1px); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; font-size: 24px; }

@media (max-width: 1120px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--yellow); padding: 8px var(--gutter) 20px;
    box-shadow: 0 20px 30px -20px rgba(23,20,8,.4);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 4px; font-size: 1.1rem; font-weight: 600; border-radius: 0; border-bottom: 1px solid rgba(23,20,8,.12); }
  .nav a:last-child { border-bottom: 0; }
  .header-call { margin-left: auto; }
  .menu-btn { display: grid; }
}
@media (max-width: 520px) {
  .header-inner { gap: 8px; }
  .header-call { padding: 12px; }
  .header-call span { display: none; }
  .header-call .ic { font-size: 20px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--yellow);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 85% 30%, rgba(255,255,255,.45), transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px;
  padding-block: clamp(32px, 6vw, 80px) clamp(24px, 4vw, 48px);
}
.status {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--white);
  padding: 7px 14px 7px 12px; border-radius: 999px;
  font-size: .85rem; font-weight: 500;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; animation: ping 2s infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); }
  70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); }
}
.hero h1 {
  margin-top: 20px;
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
}
.hero-area {
  margin-top: 18px;
  display: flex; gap: 8px; align-items: flex-start;
  font-size: clamp(1rem, 2.2vw, 1.15rem); font-weight: 500; color: var(--ink-2);
  max-width: 36ch;
}
.hero-area .ic { margin-top: .3em; font-size: 1.1em; }

.btn-call {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--ink); color: var(--white);
  padding: 14px 30px 14px 14px; border-radius: 22px;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform .2s ease;
}
.btn-call:hover { transform: translateY(-3px); }
.btn-call-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--yellow); color: var(--ink);
  display: grid; place-items: center; font-size: 26px;
  animation: ring 3.5s ease-in-out infinite;
}
@keyframes ring {
  0%, 82%, 100% { transform: rotate(0); }
  85% { transform: rotate(-12deg); } 88% { transform: rotate(10deg); }
  91% { transform: rotate(-8deg); } 94% { transform: rotate(6deg); }
}
.btn-call-text { display: flex; flex-direction: column; line-height: 1.15; }
.btn-call-text small { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.btn-call-text strong { font-family: var(--font-display); font-size: clamp(1.75rem, 5.5vw, 2.3rem); font-weight: 800; color: var(--yellow); letter-spacing: .01em; white-space: nowrap; }

.hero-visual { position: relative; min-height: 340px; }
.road {
  position: absolute; left: -10%; right: -40%; bottom: 60px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 34px, transparent 34px 60px);
  animation: road 1.1s linear infinite;
}
@keyframes road { to { background-position: -60px 0; } }
.hero-car {
  position: absolute; left: 0; right: 0; bottom: 64px;
  width: 100%; height: auto;
  filter: drop-shadow(0 18px 18px rgba(23,20,8,.18));
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.hero-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  background: var(--paper); padding: 12px 18px 12px 12px; border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.hero-card .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--yellow); }
.hero-card strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.1; }
.hero-card span { font-size: .85rem; color: var(--muted); }
.hero-card--a { top: 0; left: 4%; animation: float 5s ease-in-out infinite; }
.hero-card--b { top: 72px; right: 0; animation: float 5s 1.2s ease-in-out infinite; }

/* ---------- Perks (4 výhody) ---------- */
.perks {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  padding-bottom: clamp(36px, 5vw, 64px);
}
.perk {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr;
  column-gap: 12px;
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 40px -24px rgba(23,20,8,.55);
  transition: transform .2s ease;
}
.perk:hover { transform: translateY(-4px) rotate(-.4deg); }
.perk-ic {
  grid-column: 2; grid-row: 1 / span 2;
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-size: 22px;
  background: var(--yellow); color: var(--ink);
}
.perk-big {
  grid-column: 1; grid-row: 1;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -.03em;
}
.perk-title {
  grid-column: 1; grid-row: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.2;
  color: var(--muted);
}
.perk-text { grid-column: 1 / -1; grid-row: 3; margin-top: 14px; font-size: .92rem; line-height: 1.45; color: var(--ink-2); }
.perk--dark { background: var(--ink); color: var(--white); }
.perk--dark .perk-big { color: var(--yellow); }
.perk--dark .perk-title { color: var(--white); }
.perk--dark .perk-text { color: rgba(248,247,247,.7); }
.perk:nth-child(3) { background: var(--yellow-soft); }
.perk:nth-child(3) .perk-ic { background: var(--ink); color: var(--yellow); }

.checker {
  height: 16px;
  background-color: var(--ink);
  background-image:
    linear-gradient(45deg, var(--yellow) 25%, transparent 25%, transparent 75%, var(--yellow) 75%),
    linear-gradient(45deg, var(--yellow) 25%, transparent 25%, transparent 75%, var(--yellow) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
}

@media (max-width: 960px) {
  .perks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { min-height: 0; height: clamp(110px, 30vw, 230px); order: 2; }
  .hero-card { display: none; }
  .road { bottom: 14px; left: -20%; right: -20%; }
  .hero-car { bottom: 18px; left: 0; right: 0; margin-inline: auto; width: min(88%, 480px); }
}
@media (max-width: 520px) {
  .hero-car { width: 74%; }
}
@media (max-width: 520px) {
  .btn-call { width: 100%; padding-right: 18px; }
  .btn-call-icon { width: 52px; height: 52px; }
  .perks { gap: 10px; }
  .perk { padding: 16px 16px 18px; column-gap: 8px; }
  .perk-ic { width: 32px; height: 32px; font-size: 16px; border-radius: 10px; }
  .perk-big { font-size: clamp(1.15rem, 5.4vw, 1.45rem); }
  .perk-title { font-size: 1rem; }
  .perk-text { font-size: .84rem; margin-top: 10px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(60px, 8vw, 110px); }
.section--tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-lead { margin-top: 16px; font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-ic {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--yellow); color: var(--ink);
  display: grid; place-items: center; font-size: 25px;
  margin-bottom: 20px;
}
.service h3 { margin-bottom: 8px; font-size: 1.22rem; }
.service p { color: var(--muted); font-size: .97rem; line-height: 1.55; }

/* hlavná služba */
.service--main {
  grid-column: span 2;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center;
  background: var(--ink); color: var(--white); border-color: var(--ink);
  padding: clamp(26px, 3.5vw, 40px);
  overflow: hidden;
}
.service--main::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(252,211,9,.22), transparent 70%);
  pointer-events: none;
}
.service--main h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.service--main p { color: rgba(248,247,247,.75); font-size: 1.05rem; }
.service--main .service-ic { width: 60px; height: 60px; font-size: 28px; border-radius: 17px; margin-bottom: 18px; }
.service--main .btn { margin-top: 22px; }
.service-towns { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; position: relative; z-index: 1; }
.service-towns li {
  font-size: .88rem; font-weight: 600;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(248,247,247,.18);
  color: rgba(248,247,247,.9);
}
.service-towns li:nth-child(-n+3) { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.service--accent { background: var(--yellow); border-color: var(--yellow); }
.service--accent .service-ic { background: var(--ink); color: var(--yellow); }
.service--accent p { color: var(--ink-2); }

.service--airport { display: flex; flex-direction: column; }
.airports { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 18px; }
.airports li {
  display: flex; align-items: center; gap: 8px;
  font-size: .92rem; font-weight: 600; line-height: 1.2;
  padding: 10px 12px; border-radius: 12px;
  background: var(--tint); color: var(--ink);
}
.airports li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--ink); flex: none; }

@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service--main { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .service--main { grid-template-columns: 1fr; gap: 22px; }
  .service--main .btn { width: 100%; }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; gap: 12px; }
  .service:not(.service--main) { padding: 20px; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
  .service:not(.service--main) .service-ic { width: 48px; height: 48px; margin: 0; grid-row: span 2; font-size: 22px; border-radius: 13px; }
  .service:not(.service--main) h3 { margin-bottom: 4px; align-self: center; }
  .service--airport { display: grid; }
  .service .airports { grid-column: 1 / -1; padding-top: 14px; }
}

/* ---------- Partner (Medmedical) ---------- */
.partner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(24px, 4.5vw, 56px);
}
.partner-logo { width: 220px; height: auto; margin-bottom: 26px; }
.partner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.partner-info > p:not(.eyebrow) { margin-top: 14px; color: var(--ink-2); }
.partner-info strong { background: linear-gradient(transparent 60%, var(--yellow) 60%); }
.partner-note { font-size: .9rem; color: var(--muted) !important; }

.timetable { border-radius: var(--radius); background: var(--tint); padding: 8px; }
.tt-head, .tt-row { display: grid; grid-template-columns: 1fr 72px 72px; align-items: center; gap: 8px; }
.tt-head { padding: 12px 16px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tt-head span:not(:first-child), .tt-time { text-align: center; }
.tt-row { background: var(--paper); border-radius: 14px; padding: 14px 16px; }
.tt-row + .tt-row { margin-top: 6px; }
.tt-place strong { display: block; font-size: 1rem; line-height: 1.25; }
.tt-place small { color: var(--muted); font-size: .85rem; }
.tt-time { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.tt-time:nth-child(2) { background: var(--yellow); border-radius: 10px; padding: 4px 0; }
.tt-foot { display: flex; gap: 8px; align-items: flex-start; padding: 14px 12px 8px; font-size: .88rem; color: var(--ink-2); }
.tt-foot .ic { margin-top: .25em; }

@media (max-width: 860px) {
  .partner { grid-template-columns: 1fr; }
  .partner-logo { width: 190px; }
}
@media (max-width: 400px) {
  .tt-head, .tt-row { grid-template-columns: 1fr 58px 58px; gap: 6px; }
  .tt-row { padding: 12px; }
  .tt-time { font-size: 1.1rem; }
}

/* ---------- Area / static map ---------- */
.area { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.map-card {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  background: #FBF8EC;
  border: 1px solid var(--line);
}
.map-card figcaption {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--ink-2); background: var(--paper);
}
.legend-dot { width: 14px; height: 14px; border-radius: 4px; background: rgba(252,211,9,.6); border: 2px solid var(--ink); flex: none; }

.kmap { width: 100%; height: auto; font-family: var(--font); }
.kmap-grid { stroke: rgba(23,20,8,.05); stroke-width: 1; }
.kmap-region { fill: rgba(252,211,9,.38); stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 8 9; stroke-linejoin: round; }
.kmap-region-label { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: .3em; fill: rgba(23,20,8,.14); }
.kmap-country { font-size: 20px; font-weight: 600; letter-spacing: .25em; fill: rgba(23,20,8,.3); }
.kmap-road { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.kmap-route { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.kmap-town text { font-size: 23px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: #FBF8EC; stroke-width: 6px; stroke-linejoin: round; }
.kmap-town.t1 text { font-size: 27px; font-weight: 700; }
.kmap-dot { fill: var(--ink); stroke: #fff; stroke-width: 3; }
.kmap-town.t1 .kmap-dot { fill: var(--ink); }
.kmap-pulse { fill: var(--yellow); opacity: 0; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s var(--d, 0s) ease-out infinite; }
@keyframes pulse {
  0% { opacity: .9; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.2); }
}
.kmap-out circle { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.kmap-out text { font-size: 24px; font-weight: 600; fill: var(--muted); }
.kmap-taxi-bg { fill: var(--yellow); stroke: var(--ink); stroke-width: 3; }

@media (max-width: 600px) {
  .kmap-town.t2 text { display: none; }
  .kmap-town text { font-size: 30px; }
  .kmap-town.t1 text { font-size: 32px; }
  .kmap-country { display: none; }
}

.towns { display: grid; gap: 14px; align-content: start; }
.town-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.town-group h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin-bottom: 14px; }
.town-group h3 .ic { font-size: 18px; }
.town-group ul { display: flex; flex-wrap: wrap; gap: 6px; }
.town-group li {
  font-size: .88rem; padding: 5px 11px; border-radius: 999px;
  background: var(--tint);
}
.town-group li.hl { background: var(--yellow); font-weight: 600; }
.town-group--far { background: var(--ink); color: var(--white); border-color: var(--ink); }
.town-group--far h3 .ic { color: var(--yellow); }
.town-group--far li { background: rgba(248,247,247,.08); color: rgba(248,247,247,.9); }

@media (max-width: 960px) {
  .area { grid-template-columns: 1fr; }
}

/* ---------- Night ---------- */
.night { background: var(--ink); color: var(--white); padding-block: clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.night::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(1.4px 1.4px at 12% 30%, #fff8 50%, transparent 51%),
                    radial-gradient(1.2px 1.2px at 28% 70%, #fff6 50%, transparent 51%),
                    radial-gradient(1.6px 1.6px at 46% 22%, #fff7 50%, transparent 51%),
                    radial-gradient(1.2px 1.2px at 62% 78%, #fff5 50%, transparent 51%),
                    radial-gradient(1.5px 1.5px at 78% 35%, #fff8 50%, transparent 51%),
                    radial-gradient(1.2px 1.2px at 92% 65%, #fff6 50%, transparent 51%);
}
.night-inner { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.night-ic { width: 64px; height: 64px; border-radius: 18px; background: rgba(252,211,9,.12); color: var(--yellow); display: grid; place-items: center; font-size: 30px; }
.night h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.night p { margin-top: 10px; color: rgba(248,247,247,.75); max-width: 56ch; }
@media (max-width: 860px) {
  .night-inner { grid-template-columns: 1fr; gap: 18px; }
  .night .btn { width: 100%; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 6vw, 80px); }
.about-text p { font-size: 1.12rem; color: var(--ink-2); }
.about-text p + p { margin-top: 16px; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s ease; padding: 4px; border-radius: 50%; background: var(--yellow); width: 28px; height: 28px; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
a.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cc-ic { width: 52px; height: 52px; border-radius: 15px; background: var(--tint); display: grid; place-items: center; font-size: 22px; }
.contact-card small { display: block; font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.contact-card strong { font-size: 1.1rem; }
.cc-arrow { font-size: 20px; color: var(--muted); }
.contact-card--main { background: var(--yellow); border-color: var(--yellow); }
.contact-card--main .cc-ic { background: var(--ink); color: var(--yellow); }
.contact-card--main small, .contact-card--main .cc-arrow { color: var(--ink-2); }
.contact-card--main strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: .01em; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: 44px 28px; }
.footer-brand img { width: 200px; height: auto; }
.footer-brand p { margin-top: 12px; color: rgba(248,247,247,.6); font-size: .92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { text-decoration: none; color: rgba(248,247,247,.8); font-size: .95rem; }
.footer-nav a:hover { color: var(--yellow); }
.footer-phone { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--yellow); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(248,247,247,.1); padding-block: 18px 22px; font-size: .85rem; color: rgba(248,247,247,.5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.footer-credit { color: rgba(248,247,247,.8); }
.footer-credit a { color: var(--yellow); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--white); }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    display: flex; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .28s ease;
  }
  .mobile-bar.is-visible { transform: none; }
  .mb-call {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 56px; border-radius: 16px;
    background: var(--ink); color: var(--white); text-decoration: none; font-weight: 500;
  }
  .mb-call .ic { font-size: 20px; color: var(--yellow); }
  .mb-call strong { font-family: var(--font-display); color: var(--yellow); font-size: 1.1rem; margin-left: 4px; white-space: nowrap; }
  .mb-sms { width: 56px; min-height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--yellow); font-size: 22px; }
}
@media (max-width: 360px) {
  .mb-call span { font-size: 0; }
  .mb-call strong { font-size: 1.15rem; margin: 0; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Pätička: právne odkazy ---------- */
.footer-legal a, .footer-legal button { color: rgba(248,247,247,.75); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--yellow); }

/* ---------- Cookie lišta ---------- */
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(23,20,8,.25); }
.cookie {
  position: fixed; z-index: 100; left: 16px; bottom: 16px;
  width: min(440px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--paper); color: var(--ink);
  border-top: 6px solid var(--yellow); border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  padding: 20px 22px 20px;
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.cookie p { font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.cookie p a { color: var(--ink); font-weight: 600; }
.cookie-settings { display: none; gap: 8px; margin-top: 14px; }
.cookie.is-settings .cookie-settings { display: grid; }
.cookie-opt { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--tint); cursor: pointer; }
.cookie-opt input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.cookie-opt strong { display: block; font-size: .95rem; }
.cookie-opt small { display: block; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie-actions .btn { flex: 1 1 0; min-height: 44px; padding: 10px 14px; font-size: .92rem; }
.cookie-actions [data-cc="settings"], .cookie-actions [data-cc="save"] { order: 1; flex-basis: 100%; }
.cookie-settings-only, .cookie.is-settings .cookie-intro-only { display: none; }
.cookie.is-settings .cookie-settings-only { display: inline-flex; }
@media (max-width: 520px) {
  .cookie { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px 18px 16px; }
}

/* ---------- Ochrana súkromia ---------- */
.legal { padding-block: clamp(36px, 6vw, 72px) clamp(48px, 8vw, 96px); }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; }
.legal-updated { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.legal h2 { font-size: 1.35rem; font-weight: 800; margin-top: 40px; margin-bottom: 12px; }
.legal p, .legal li { line-height: 1.65; color: var(--ink-2); }
.legal p + p, .legal ul, .legal .table-scroll { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--ink); font-weight: 600; }
.legal .todo { background: var(--yellow-soft); padding: 0 4px; border-radius: 4px; }
.table-scroll { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; background: var(--tint); }
.legal .btn { margin-top: 16px; }
