/* =========================================================
   Bistro Nábor — dizajn podľa bistro.sk (foodora tokens)
   Farby: oranžová #f36805, tmavá #242e30, krém #f6f3ef
   ========================================================= */
:root {
  --orange: #f36805;
  --orange-hover: #b45512;
  --orange-light: #fff2e5;
  --orange-soft: #ff8000;
  --dark: #242e30;
  --dark-soft: #454347;
  --blue: #125fca;
  --blue-light: #eaf1fc;
  --green: #1a8682;
  --green-light: #e6f3f2;
  --red: #b11a29;
  --red-light: #fdecee;
  --gray: #8c867e;
  --gray-light: #f0ece6;
  --line: #e7e2da;
  --bg: #fdfdfb;
  --cream: #f6f3ef;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(36, 46, 48, 0.08);
  --shadow-lg: 0 8px 30px rgba(36, 46, 48, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
}

/* ---------- Fonty (JET Sans — brand Bistro.sk) ---------- */
@font-face {
  font-family: "JET Sans";
  src: url("/fonts/JETSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JET Sans";
  src: url("/fonts/JETSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JET Sans";
  src: url("/fonts/JETSans-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JET Sans";
  src: url("/fonts/JETSans-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "JET Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; }
button { font-family: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* ---------- HLAVIČKA ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(36, 46, 48, 0.06);
}
/* Kotva pre výsuvné mobilné menu */
.header-inner { position: relative; }
/* Plná šírka — logo úplne vľavo, menu a vlajky úplne vpravo */
.header-inner--fluid { width: 100%; max-width: none; padding: 0 20px; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
  direction: ltr;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo:hover { text-decoration: none; }
.logo .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.logo .logo-accent { color: var(--orange); }
.logo .logo-img { height: 58px; width: auto; }
#site-logo { flex-direction: row; align-items: center; }
/* Čistá pravá strana ako na bistro.sk — v prepínači len vlajka + šípka */
.site-header .lang-switch .lang-name { display: none; }
.site-header .lang-trigger { padding: 7px 10px; }
#footer-logo { display: inline-flex; flex-direction: row; align-items: center; }
.loader-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 30px; }
.hero-panel-brand { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 4px; }
.hero-panel-logo { height: 46px; width: auto; }

.main-nav {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: -20px;
  right: -20px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(36, 46, 48, 0.16);
  padding: 8px 20px 16px;
  z-index: 60;
}
.site-header.nav-open .main-nav { display: flex; }
.main-nav a { color: var(--dark); font-weight: 700; font-size: 17px; white-space: nowrap; padding: 15px 4px; border-top: 1px solid var(--line); opacity: 1; }
.main-nav a:first-child { border-top: none; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--orange); text-decoration: none; }
.header-right { display: flex; align-items: center; gap: 16px; }
/* Prihlásenie kuriéra — odkaz vedľa prepínača jazyka */
.header-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  text-decoration: none;
}
.header-login svg { flex-shrink: 0; }
.header-login:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }
body.landing .header-login { color: #f6f3ef; }
body.landing .site-header.nav-open .header-login { color: #242e30; }
@media (max-width: 480px) {
  .header-login span { display: none; }
  .header-login { padding: 7px 10px; }
}
/* Hamburger — výsuvné menu (ako na bistro.sk), na všetkých šírkach */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2.5px; width: 100%; border-radius: 2px; background: var(--dark); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- TLAČIDLÁ ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--orange); color: #fff; font-weight: 800; }
.btn-primary:hover { background: var(--orange-hover); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--dark);
  padding: 11px 26px;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #146e6b; }
.btn-red-outline {
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--red);
  padding: 11px 26px;
}
.btn-red-outline:hover { background: var(--red); color: var(--white); }
.btn-ghost { background: transparent; color: var(--red); padding: 11px 14px; }
.btn-ghost:hover { background: var(--red-light); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  color: var(--dark);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 104, 5, 0.08) 0%, rgba(243, 104, 5, 0) 70%);
  top: -200px;
  right: -120px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-copy { text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 0;
  letter-spacing: -1px;
  color: var(--dark);
}
.hero h1 .hero-accent {
  color: var(--orange);
  font-weight: 800;
  font-size: 1.08em;
}
.hero .hero-sub {
  max-width: 560px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--dark-soft);
}
.hero-chips {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  color: var(--dark);
  box-shadow: var(--shadow);
}
.hero-chip b { color: var(--orange); }
.hero .btn-primary {
  background: var(--orange);
  color: var(--white);
}
.hero .btn-primary:hover { background: var(--orange-hover); }

/* Oranžový panel s diagonálnou prelinou (hero ako na bistro.sk) */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(160deg, #f79a4d 0%, #ee8434 60%, #e07020 100%);
  clip-path: polygon(53% 0, 100% 0, 100% 100%, 45% 100%);
  pointer-events: none;
}
.hero-media { position: relative; z-index: 1; display: flex; align-items: stretch; }
.hero-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
  gap: 20px;
  min-height: 440px;
  padding: 40px 40px 40px 16%;
}
.hero-sticker {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-5deg);
  text-shadow: 5px 5px 0 #de6f1e;
}
.burger-svg {
  width: min(320px, 58%);
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.18));
}

/* Štatistiky pod hero textom */
.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  align-items: stretch;
}
.hero-stats li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.hero-stats .stat-value {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.hero-stats .stat-label {
  display: block;
  font-size: 14px;
  color: var(--dark-soft);
  margin-top: 4px;
}

/* ---------- SEKCIE ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }
.section-cream { background: var(--cream); }
.section-title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.section-lead {
  text-align: center;
  color: var(--dark-soft);
  max-width: 620px;
  margin: 0 auto 44px;
  font-size: 16px;
}

/* ---------- KARTY BENEFITOV ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.benefit-card { text-align: center; }
.benefit-card .benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.benefit-card h3 { font-size: 18px; margin-bottom: 8px; }
.benefit-card p { color: var(--dark-soft); font-size: 14.5px; }

/* ---------- NÁVOD / ŠKOLENIE + TERMOBOX BANNER ---------- */
.guide-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.guide-card .guide-icon { margin-bottom: 6px; }
.guide-card h3 { font-size: 19px; }
.guide-card p { color: var(--dark-soft); font-size: 14.5px; flex: 1; }
.guide-test { border: 2px solid var(--orange); box-shadow: var(--shadow-lg); position: relative; }
.guide-test::before {
  content: "POVINNÉ";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 14px;
  border-radius: 999px;
}
.thermobox-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, #f36805 0%, #e07020 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: #fff;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.thermobox-icon { flex-shrink: 0; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2)); }
.thermobox-copy { flex: 1; min-width: 240px; }
.thermobox-copy h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.thermobox-copy p { font-size: 15px; opacity: 0.95; }
.thermobox-banner .btn-dark {
  flex-shrink: 0;
  background: #242e30;
  color: #fff;
  border: none;
}
.thermobox-banner .btn-dark:hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 720px) {
  .thermobox-banner { flex-direction: column; text-align: center; }
}
.step-card { position: relative; }
.step-card .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 16px; margin-bottom: 6px; }
.step-card p { color: var(--dark-soft); font-size: 13.5px; }
.step-card .step-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--orange-hover);
  background: var(--orange-light);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ---------- INFO / POŽIADAVKY ---------- */
.info-card { text-align: center; }
.info-card .info-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.info-card h3 { font-size: 16.5px; margin-bottom: 7px; }
.info-card p { color: var(--dark-soft); font-size: 13.5px; line-height: 1.5; }

/* Karta pomoci na konci #info (presunutá z #flotila) — čitateľná na tmavom pozadí */
.info-help-card h3 { font-size: 17px; margin-bottom: 10px; }
.info-help-card p { font-size: 14.5px; line-height: 1.6; }
.info-help-card a { color: var(--orange-soft); font-weight: 700; }
.info-help-card a:hover { color: var(--white); text-decoration: underline; }

/* ---------- FAQ (ROZKLIKÁVACIE OTÁZKY) ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--orange);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--orange); }
.faq-answer {
  padding: 0 22px 20px;
  color: var(--dark-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- MESTÁ (ČIPY) ---------- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}
.city-card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: all 0.15s ease;
}
.city-card .city-name { font-weight: 800; font-size: 15px; color: var(--dark); }
.city-card .city-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; }
.city-card .pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26, 134, 130, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(26, 134, 130, 0); }
}
.city-card.city-open {
  border-color: var(--green);
  background: var(--green-light);
}
.city-card.city-open .city-status { color: #146e6b; }
.city-card.city-open .veh-pill { border-color: rgba(26, 134, 130, 0.35); color: #146e6b; }
.city-card.city-closed {
  border-color: var(--line);
  background: var(--gray-light);
}
.city-card.city-closed .city-name { color: var(--gray); }
.city-card.city-closed .city-status { color: var(--gray); }
.city-card.city-closed .soon {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--gray);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 8px;
}
.city-veh { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.veh-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dark);
}
.city-note { text-align: center; color: var(--gray); font-size: 13px; margin-top: 18px; }

/* ---------- FORMULÁR ---------- */
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.field label .req { color: var(--orange); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d7dee1;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(243, 104, 5, 0.15);
}
.field textarea { resize: vertical; min-height: 84px; }

.gdpr {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--dark-soft);
}
.gdpr input { margin-top: 3px; width: 16px; height: 16px; }

.form-error {
  display: none;
  background: var(--red-light);
  color: var(--red);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-error.show { display: block; }

/* ---------- MODÁL ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(36, 46, 48, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  width: 100%;
  padding: 36px;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
}
.modal h3 { font-size: 22px; margin-bottom: 12px; }
.modal .modal-sub { color: var(--dark-soft); font-size: 14.5px; margin-bottom: 22px; }

.reg-steps { list-style: none; text-align: left; margin-bottom: 10px; }
.reg-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  color: var(--gray);
  font-weight: 600;
  font-size: 15px;
}
.reg-step .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}
.reg-step.active { color: var(--dark); }
.reg-step.active .dot {
  border-color: var(--orange);
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}
.reg-step.done { color: var(--dark); }
.reg-step.done .dot { background: var(--green); border-color: var(--green); animation: none; }
.reg-step.done .dot::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}
@keyframes spin { to { transform: rotate(360deg); } }

.reg-success { display: none; }
.reg-success.show { display: block; }
.big-check {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.success-box {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  text-align: left;
  margin: 18px 0;
  font-size: 14.5px;
}
.success-box div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 0;
}
.success-box div span:first-child { color: var(--gray); }
.success-box div span:last-child { font-weight: 700; }
.reg-success .muted { color: var(--gray); font-size: 13px; margin-bottom: 18px; }

/* ---------- ADMIN ---------- */
.admin-body { background: var(--bg); }

/* Registračný reťazec — 5 modulárnych krokov */
.pipe { display: flex; flex-direction: column; gap: 0; margin-top: 6px; }
.pipe-step {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  padding: 14px 16px;
  margin-bottom: 26px;
}
.pipe-step:not(:last-child)::after {
  content: '↓';
  position: absolute;
  left: 50%;
  bottom: -25px;
  transform: translateX(-50%);
  color: var(--orange);
  font-size: 20px;
  font-weight: 800;
}
.pipe-off { opacity: 0.62; }
.pipe-off:not(:last-child)::after { color: #b9b3a8; }
.pipe-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.pipe-head .step-num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; flex-shrink: 0;
}
.pipe-off .pipe-head .step-num { background: #b9b3a8; }
.pipe-head b { font-size: 15px; }
.pipe-step .muted { font-size: 13px; margin: 8px 0; }
.pipe-cfg { border-top: 1px dashed var(--line); margin-top: 10px; padding-top: 6px; }
.pipe-cfg > b { font-size: 13.5px; }
.pipe-log { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; font-size: 13px; }
.pipe-log > b { font-size: 13.5px; }
.sync-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.sync-row b { margin: 0 2px; }
.switch-line { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13.5px; margin: 8px 0; cursor: pointer; }
.switch { position: relative; display: inline-block; width: 40px; height: 22px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute; inset: 0; cursor: pointer;
  background: #c9c2b6; border-radius: 22px; transition: background 0.15s ease;
}
.switch .slider::before {
  content: ''; position: absolute; height: 16px; width: 16px;
  left: 3px; top: 3px; background: var(--white); border-radius: 50%; transition: transform 0.15s ease;
}
.switch input:checked + .slider { background: #22a35c; }
.switch input:checked + .slider::before { transform: translateX(18px); }
.switch-sm { width: 34px; height: 19px; }
.switch-sm .slider::before { height: 13px; width: 13px; }
.switch-sm input:checked + .slider::before { transform: translateX(15px); }
.test-input {
  padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 13px; font-family: inherit; min-width: 170px;
}
.test-input:focus { outline: none; border-color: var(--orange); }
.test-result { font-size: 13px; font-weight: 700; }
.mono { font-family: ui-monospace, monospace; font-size: 12.5px; background: rgba(0,0,0,0.06); padding: 1px 6px; border-radius: 5px; }
.flow-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.flow-ok { background: #22a35c; box-shadow: 0 0 0 3px rgba(34, 163, 92, 0.18); }
.flow-bad { background: #d33a3a; box-shadow: 0 0 0 3px rgba(211, 58, 58, 0.18); }
.flow-idle { background: #b9b3a8; box-shadow: 0 0 0 3px rgba(185, 179, 168, 0.2); }
.flow-flash { outline: 2px solid var(--orange); outline-offset: 2px; }
.admin-header {
  background: var(--dark);
  color: var(--white);
  height: 64px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.admin-header .header-inner { height: 64px; width: 100%; }
.admin-header .logo { color: var(--white); font-size: 20px; }
.admin-header .logo .logo-icon { width: 32px; height: 32px; font-size: 16px; }
.admin-header .header-actions { display: flex; gap: 10px; }
.admin-header .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: transparent;
  padding: 8px 18px;
  font-size: 13px;
}
.admin-header .btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* PIN brána */
.gate {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gate-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  width: 100%;
  max-width: 380px;
  text-align: center;
}
.gate-card h2 { font-size: 22px; margin-bottom: 6px; }
.gate-card p { color: var(--gray); font-size: 14px; margin-bottom: 20px; }
.gate-card input {
  width: 100%;
  text-align: center;
  font-size: 26px;
  letter-spacing: 10px;
  padding: 12px;
  border: 1.5px solid #d7dee1;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.gate-card input:focus { outline: none; border-color: var(--orange); }
.gate-error { color: var(--red); font-size: 13.5px; font-weight: 600; display: none; margin-bottom: 10px; }
.gate-error.show { display: block; }

/* Štatistiky */
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 28px 0; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  text-align: center;
}
.stat-card .stat-num { font-size: 34px; font-weight: 800; line-height: 1.1; }
.stat-card .stat-label { color: var(--gray); font-size: 13px; font-weight: 600; margin-top: 4px; }
.stat-orange .stat-num { color: var(--orange); }
.stat-green .stat-num { color: var(--green); }
.stat-blue .stat-num { color: var(--blue); }
.stat-dark .stat-num { color: var(--dark); }
.stat-red .stat-num { color: var(--red); }

/* Panely */
.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 24px;
}
.panel h3 { font-size: 17px; margin-bottom: 16px; }
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.panel-head h3 { margin-bottom: 0; }
.charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Graf */
.chart { display: flex; align-items: flex-end; gap: 10px; height: 200px; padding-top: 26px; }
.bar-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  position: relative;
}
.bar-col .bar-val { font-size: 12.5px; font-weight: 800; color: var(--dark); height: 16px; }
.bar-col .bar {
  width: 100%;
  max-width: 48px;
  background: var(--orange);
  border-radius: 6px 6px 0 0;
  min-height: 3px;
  transition: height 0.4s ease;
}
.bar-col .bar.bar-blue { background: var(--blue); }
.bar-col .bar-label { font-size: 11px; color: var(--gray); white-space: nowrap; }

/* Filter a tabuľka */
.table-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--dark-soft);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab.active { background: var(--dark); border-color: var(--dark); color: var(--white); }
.search-input {
  padding: 9px 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-family: inherit;
  min-width: 230px;
}
.search-input:focus { outline: none; border-color: var(--orange); }

.table-wrap { overflow-x: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray);
  padding: 10px 12px;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.data-table tr:hover td { background: #fafbfb; }
.data-table .empty-row { text-align: center; color: var(--gray); padding: 30px; }
.data-table small { color: var(--gray); }
.data-table .cell-actions { white-space: nowrap; }
.data-table .cell-actions .btn { margin-right: 6px; margin-top: 3px; margin-bottom: 3px; }

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.badge-waiting { background: var(--orange-light); color: var(--orange-hover); }
.badge-active { background: var(--green-light); color: var(--green); }
.badge-rejected { background: var(--red-light); color: var(--red); }
.badge-blue { background: var(--blue-light); color: var(--blue); }

/* ---------- TOAST ---------- */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--dark); color: #fff; padding: 13px 18px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 600; max-width: 360px; animation: toast-in 0.25s ease; }
.toast-success { background: var(--green); }
.toast-error { background: var(--red); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- ADMIN layout ---------- */
.admin-nav { display: flex; gap: 6px; align-items: center; }
.admin-nav .tab { background: transparent; border-color: transparent; color: #cdd6d8; }
.admin-nav .tab.active { background: rgba(255, 255, 255, 0.12); border-color: transparent; color: #fff; }
.admin-container { max-width: 1120px; margin: 0 auto; padding: 28px 20px 90px; }
.admin-view { display: none; }
.admin-view.active { display: block; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-toolbar h2 { font-size: 22px; }

/* ---------- Nastavenia ---------- */
.settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.settings-grid .full { grid-column: 1 / -1; }
.setting-group { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 14px; }
.setting-group h4 { font-size: 14px; margin-bottom: 12px; }
.setting-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.setting-row label { font-size: 13.5px; font-weight: 600; min-width: 150px; }
.setting-row input, .setting-row select, .setting-row textarea {
  flex: 1; padding: 9px 12px; border: 1.5px solid #d7dee1; border-radius: 8px; font-size: 14px; font-family: inherit; min-width: 120px;
}
.setting-row input:focus, .setting-row select:focus, .setting-row textarea:focus { outline: none; border-color: var(--orange); }
.checkbox-line { display: flex; align-items: center; gap: 9px; font-size: 14px; margin: 6px 0; }
.checkbox-line input { width: 16px; height: 16px; }

/* Toggle switch */
.switch { position: relative; width: 44px; height: 24px; display: inline-block; flex-shrink: 0; }
.switch input { display: none; }
.switch .slider { position: absolute; inset: 0; background: #cdd4d7; border-radius: 999px; cursor: pointer; transition: 0.2s; }
.switch .slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: 0.2s; }
.switch input:checked + .slider { background: var(--orange); }
.switch input:checked + .slider::before { transform: translateX(20px); }

/* Malý toggle pre vozidlá v admin tabuľke */
.switch-sm { width: 36px; height: 20px; }
.switch-sm .slider::before { width: 14px; height: 14px; left: 3px; top: 3px; }
.switch-sm input:checked + .slider::before { transform: translateX(16px); }
.veh-toggles { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.veh-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dark); white-space: nowrap; }

/* ---------- Portál kuriéra — jednotný štýl s hlavnou stránkou ---------- */
.portal-body { background: var(--white); min-height: 100vh; }
.portal-main { background: var(--white); padding: 36px 20px 56px; }
.portal-card { max-width: 960px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.portal-card--narrow { max-width: 640px; }
.portal-view { padding: 36px; }
.portal-title { text-align: center; }
.portal-sub { margin-bottom: 20px; }
.portal-field { margin-bottom: 14px; }
.portal-field--last { margin-bottom: 18px; }
.portal-register { margin-top: 16px; font-size: 13px; }
.portal-logout { padding: 0 36px 30px; text-align: center; }
.header-right--single { margin-left: auto; }

/* Jednotný button-systém: len primary + secondary + ghost-danger */
.btn-secondary { background: #fff; color: var(--dark); border: 1.5px solid var(--line); font-weight: 700; min-height: 48px; }
.btn-secondary:hover { border-color: var(--dark); color: var(--dark); }
.btn-primary { min-height: 48px; }
.btn-ghost-danger { background: transparent; color: var(--red); border: 1.5px solid transparent; min-height: 48px; font-weight: 700; }
.btn-ghost-danger:hover { background: var(--red-light); border-color: var(--red-light); }
.btn-doc { flex: 1; min-height: 48px; padding: 12px 16px; font-size: 14px; }

/* iOS inputy — jednotné 52px */
.portal-body { background: var(--cream); }
/* ---------- Courier Login (auth) — replika Bistro.sk login obrazovky ---------- */
.auth-view { max-width: 460px; margin: 0 auto; padding: 40px 40px 32px; }
.auth-logo-row { display: flex; align-items: center; justify-content: flex-start; margin-bottom: 18px; }
.auth-logo { height: 40px; width: auto; }
.auth-title { font-size: 40px; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; color: #111; }
.auth-field label { font-weight: 700; font-size: 14px; margin-bottom: 6px; display: block; }
.input-icon { position: relative; display: flex; align-items: center; }
.input-icon .input-ic { position: absolute; left: 14px; font-size: 18px; pointer-events: none; }
.input-icon input { width: 100%; min-height: 52px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; padding: 0 44px 0 44px; }
.input-icon input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,104,5,.15); }
.eye-btn { position: absolute; right: 8px; background: transparent; border: none; font-size: 18px; cursor: pointer; padding: 8px; line-height: 1; }
.btn-login-pill { background: var(--orange); color: #fff; font-weight: 800; font-size: 17px; border-radius: 999px; min-height: 56px; margin-top: 18px; border: none; }
.btn-login-pill:hover { background: var(--orange-hover); color: #fff; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 13.5px; font-weight: 600; flex-wrap: wrap; }
@media (max-width: 560px) {
  .auth-view { padding: 28px 22px 26px; }
  .auth-title { font-size: 32px; }
}
.portal-card input[type="text"], .portal-card input[type="password"], .portal-card input[type="email"], .portal-card input[type="tel"], .portal-card input:not([type]) { min-height: 52px; border-radius: 14px; font-size: 16px; }
.portal-card input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,104,5,.15); }

/* Docs panel */
.portal-panel { border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin: 0 36px 20px; background: #fff; box-shadow: var(--shadow); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.panel-head h3 { font-size: 18px; margin-bottom: 4px; }
.panel-sub { font-size: 14px; margin: 0; }
.docs-pill { flex-shrink: 0; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.iban-card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.iban-field { margin-bottom: 12px; }
.iban-check { margin-bottom: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.tradesman-fields { margin-top: 12px; }
.iban-actions { margin-top: 14px; }

/* Doc grid — 2 v rade, malé oddelené dosky */
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.doc-card { border: 1.5px solid var(--line); border-radius: 16px; padding: 20px; background: #fff; box-shadow: 0 2px 12px rgba(36,46,48,.08); display: flex; flex-direction: column; gap: 10px; transition: border-color .25s cubic-bezier(.32,.72,0,1), background .25s cubic-bezier(.32,.72,0,1), box-shadow .25s cubic-bezier(.32,.72,0,1), transform .15s ease; }
.doc-card:active { transform: scale(.98); }
.doc-card.is-done { border-color: #1a8682; background: #e6f3f2; box-shadow: 0 2px 12px rgba(36,46,48,.08), 0 0 0 3px rgba(26,134,130,.12); }
.doc-card.is-uploading { opacity: .7; pointer-events: none; }
.doc-card.is-uploading .doc-drop-btn::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 8px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -1px; }
.doc-card.is-error { border-color: var(--red); }
.doc-top { display: flex; justify-content: space-between; align-items: center; }
.doc-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.doc-card.is-done .doc-icon { background: #fff; }
.doc-badge { display: none; width: 26px; height: 26px; border-radius: 50%; background: #1a8682; color: #fff; font-size: 14px; font-weight: 800; align-items: center; justify-content: center; }
.doc-card.is-done .doc-badge { display: inline-flex; }
.doc-title { font-weight: 800; font-size: 15px; }
.doc-hint { font-size: 12.5px; color: var(--gray); }
.doc-drop { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1.5px dashed var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .2s ease; }
.doc-drop:hover { border-color: var(--orange); }
.doc-card.is-done .doc-drop { background: #fff; border-style: solid; border-color: rgba(26,134,130,.3); }
.doc-drop input[type="file"] { display: none; }
.doc-drop-btn { flex-shrink: 0; background: var(--dark); color: #fff; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; }
.doc-file-name { font-size: 13px; color: var(--gray); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.doc-status { font-size: 13px; min-height: 18px; }
.doc-actions { display: flex; gap: 8px; margin-top: auto; }
.guide-actions { gap: 10px; }
.bolt-cta { margin-top: 12px; }
.checkbox-line { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
@media (max-width: 560px) {
  .portal-main { padding: 20px 12px 36px; }
  .portal-view { padding: 24px 20px; }
  .portal-panel { margin: 0 20px 16px; padding: 18px 16px; }
  .portal-logout { padding: 0 20px 24px; }
  .doc-grid { grid-template-columns: 1fr; }
  .status-hero .status-dot { width: 64px; height: 64px; font-size: 30px; }
}
.status-hero { text-align: center; padding: 30px 36px; }
.status-hero .status-dot { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.status-dot.waiting { background: var(--orange-light); color: var(--orange); }
.status-dot.active { background: var(--green-light); color: var(--green); }
.status-dot.rejected { background: var(--red-light); color: var(--red); }
.status-hero h2 { font-size: 26px; margin-bottom: 6px; }
.status-hero p { color: var(--dark-soft); }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; padding: 0 36px 28px; }
.profile-grid .item { font-size: 14px; }
.profile-grid .item .k { color: var(--gray); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.profile-grid .item .v { font-weight: 600; margin-top: 2px; }
.timeline { list-style: none; padding: 0 36px 34px; }
.timeline li { display: flex; gap: 14px; position: relative; padding-bottom: 24px; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .tdot { width: 24px; height: 24px; border-radius: 50%; border: 2.5px solid var(--line); background: #fff; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; color: transparent; }
.timeline li.done .tdot { background: var(--green); border-color: var(--green); color: #fff; }
.timeline li.current .tdot { border-color: var(--orange); }
.timeline .tlabel { font-weight: 700; font-size: 14.5px; }
.timeline .tdesc { color: var(--gray); font-size: 13px; }

/* ---------- Login stránky ---------- */
.login-body { background: var(--bg); min-height: 100vh; }

/* ---------- Helperi ---------- */
.muted { color: var(--gray); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.text-success { color: var(--green); font-weight: 600; }
.text-error { color: var(--red); font-weight: 600; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.flex { display: flex; gap: 10px; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.flex-wrap { flex-wrap: wrap; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.detail-grid .item .k { color: var(--gray); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }
.detail-grid .item .v { font-weight: 600; margin-top: 2px; }

/* ---------- Vozidlá (čípy) ---------- */
.vehicle-chips { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.vehicle-chip { border: 1.5px solid #d7dee1; border-radius: 999px; padding: 9px 20px; font-size: 14px; line-height: 1.4; font-weight: 700; cursor: pointer; background: #fff; color: var(--dark); transition: all 0.15s; }
.vehicle-chip:hover { border-color: var(--orange); }
.vehicle-chip.selected { border-color: var(--orange); background: var(--orange-light); color: var(--orange-hover); }
.vehicle-chip.disabled { opacity: 0.35; cursor: not-allowed; }
.vehicle-chip input { display: none; }

/* ---------- PÄTIČKA ---------- */
.site-footer { background: var(--dark); color: #cdd6d8; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { font-size: 14px; margin-bottom: 8px; }
.footer-col a { color: #cdd6d8; }
.footer-col a:hover { color: var(--orange); text-decoration: none; }
.footer-logo { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; display: inline-block; }
.footer-logo .logo-accent { color: var(--orange); }
.footer-logo .logo-img { height: 34px; width: auto; }
.footer-legal { font-size: 13px; color: var(--gray); margin-top: 10px; }
.footer-social li { display: inline-block; margin-right: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: center; align-items: center; text-align: center; gap: 8px 14px; flex-wrap: wrap; font-size: 13px; color: var(--gray); }
.footer-bottom-inner .footer-sep { opacity: 0.6; }
.footer-admin { color: var(--gray); }
.footer-admin:hover { color: var(--orange); }

/* ---------- Responsívne ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .city-grid { grid-template-columns: 1fr 1fr; }
  .charts-grid, .settings-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .profile-grid, .detail-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero::after { width: 100%; clip-path: polygon(0 calc(100% - 430px), 100% calc(100% - 470px), 100% 100%, 0 100%); }
  .hero-media { min-height: 440px; }
  .hero-panel { padding: 70px 28px 40px; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .city-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; align-items: center; }
  .hero .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-chips { justify-content: center; }
}

/* ---------- Branded načítavacia obrazovka (replika bistro.sk) ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 24px;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { width: min(94vw, 560px); text-align: center; }
.loader-logo { height: 54px; width: auto; }
.loader-search {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: left;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.loader-search-label { display: block; color: var(--dark); font-weight: 800; font-size: 17px; margin-bottom: 12px; }
.loader-search-box { display: flex; gap: 8px; }
.loader-search-box input {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  color: var(--dark);
  background: #fff;
}
.loader-search-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 20px;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  cursor: default;
}
.loader-benefits { display: flex; justify-content: center; gap: 40px; margin-top: 24px; flex-wrap: wrap; }
.loader-benefit { color: #fff; font-size: 14px; line-height: 1.4; }
.loader-benefit b { display: block; font-size: 15px; }
.loader-benefit span { opacity: 0.92; }
.loader-status {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
}
.loader-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@media (max-width: 480px) {
  .loader-search-box { flex-direction: column; }
  .loader-search-btn { width: 100%; }
}

/* ---------- Prepínač jazyka (vlajky) ---------- */
.lang-switch { position: relative; display: inline-flex; align-items: center; }
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-trigger:hover { border-color: var(--orange); }
/* Tmavé podklady (loader) — svetlá varianta spínača */
.loader .lang-trigger {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.lang-trigger .fi,
.lang-option .fi {
  display: inline-block;
  width: 18px;
  height: 14px;
  border-radius: 2px;
  background-size: cover;
  flex-shrink: 0;
}
.lang-caret { font-size: 10px; opacity: 0.5; margin-left: 2px; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 190px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  padding: 6px;
  max-height: 320px;
  overflow-y: auto;
  display: none;
}
.lang-switch.is-open .lang-menu { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.lang-option:hover { background: #f1f5f6; }
.lang-option.is-active { background: rgba(255, 122, 0, 0.12); font-weight: 700; }

/* =========================================================
   TMAVÁ TÉMA — LANDING (bistro.sk, truffle paleta)
   Pozadia #1c1a17 · #2b2a28 · #3f3d39, text #f6f3ef, akcent #f36805
   Platí len pre body.landing — admin a portál zostávajú svetlé.
   ========================================================= */
body.landing {
  --dark: #f6f3ef;
  --dark-soft: #beb7ac;
  --gray: #8c867e;
  --gray-light: #353431;
  --line: #3f3d39;
  --bg: #1c1a17;
  --cream: #2b2a28;
  --orange: #ee8434;
  --orange-hover: #e07020;
  --orange-light: rgba(238, 132, 52, 0.16);
  --orange-light: rgba(243, 104, 5, 0.16);
  --green-light: rgba(52, 209, 134, 0.12);
  --red-light: rgba(177, 26, 41, 0.28);
  --shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 36px rgba(0, 0, 0, 0.55);
  background: #1c1a17;
}

/* Hlavička */
body.landing .site-header {
  background: #2b2a28;
  border-bottom: 1px solid #3f3d39;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}
body.landing .site-header.nav-open {
  background: #e9e9e9;
  border-bottom: 1px solid #d4d4d4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}
body.landing .site-header.nav-open .main-nav { background: #e9e9e9; }
body.landing .site-header.nav-open .main-nav a { color: #242e30; opacity: 1; }
body.landing .site-header.nav-open .nav-toggle { border-color: rgba(0, 0, 0, 0.3); }
body.landing .site-header.nav-open .nav-toggle span { background: #242e30; }
body.landing .site-header.nav-open .lang-trigger { background: #e9e9e9; color: #242e30; border-color: rgba(0, 0, 0, 0.18); }

/* Hero — diagonálna prelina tmavá → oranžová (originál bistro.sk) */
body.landing .hero { background: #3f3b36; }
body.landing .hero::before { background: none; }
body.landing .hero::after { background: #ee8434; }
body.landing .hero h1 { color: #fff; }
body.landing .hero h1 .hero-accent { color: #f79a4d; }
body.landing .hero .hero-sub { color: #d9d4cc; }
body.landing .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: stretch; }
body.landing .hero-chip { background: #332f2a; border-color: #4c4843; color: #f6f3ef; box-shadow: none; }
body.landing .hero-stats li { background: #332f2a; border-color: #4c4843; box-shadow: none; }
body.landing .hero-stats .stat-value { color: #fff; }
body.landing .hero-stats .stat-label { color: #beb7ac; }
body.landing .btn-primary { background: #e07020; color: #fff; }
body.landing .btn-primary:hover { background: #d0651c; color: #fff; }
/* Čitateľné tlačidlá na tmavom pozadí — natvrdo tmavá, nie var(--dark) */
body.landing .btn-dark { background: #242e30; color: #fff; border: none; }
body.landing .btn-dark:hover { background: #000; color: #fff; }
body.landing .btn-outline { background: #fff; color: #242e30; border-color: #242e30; }
body.landing .btn-outline:hover { border-color: #e07020; color: #e07020; }
body.landing .thermobox-banner .btn-dark { background: #242e30; color: #fff; }
body.landing .thermobox-banner .btn-dark:hover { background: #000; color: #fff; }

/* Karty a sekcie */
body.landing .card { background: #2b2a28; border-color: #3f3d39; box-shadow: none; }
body.landing .step-tag { color: #ffa45c; }

/* Rytmus sekcií podľa originálu: čierna → svetlá šalvia → čierna */
body.landing .section-cream { background: #211d18; }
body.landing #ako .section-title { color: #ee8434; }
body.landing #ako .section-lead { color: #beb7ac; }
body.landing .step-card { background: transparent; border: none; box-shadow: none; text-align: center; }
body.landing .step-card .step-num {
  margin: 0 auto 14px;
  width: 48px;
  height: 48px;
  font-size: 20px;
  background: transparent;
  border: 2.5px solid #ee8434;
  color: #ee8434;
}
body.landing .step-card h3 { color: #fff; font-size: 17px; }
body.landing .step-card p { color: #beb7ac; }
body.landing .step-tag { background: rgba(238, 132, 52, 0.14); color: #ffa45c; }

/* Benefity na svetlej šalviovej (ako app sekcia na bistro.sk) */
body.landing #benefity { background: #b9c8c8; }
body.landing #benefity .section-title { color: #242e30; }
body.landing #benefity .section-lead { color: #415257; }
body.landing #benefity .card { background: #fff; border-color: rgba(36, 46, 48, 0.06); box-shadow: 0 14px 34px rgba(36, 46, 48, 0.14); }
body.landing #benefity .benefit-icon { background: rgba(238, 132, 52, 0.15); }
body.landing #benefity .benefit-card h3 { color: #242e30; }
body.landing #benefity .benefit-card p { color: #5a6a6e; }
body.landing .faq-item { background: #2b2a28; border-color: #3f3d39; }

/* Mestá */
body.landing .city-card { background: #2b2a28; }
body.landing .city-card.city-open { background: var(--green-light); }
body.landing .city-card.city-open .city-status { color: #5fe3a8; }
body.landing .city-card.city-open .veh-pill { border-color: rgba(52, 209, 134, 0.4); color: #5fe3a8; }
body.landing .city-card.city-closed { background: #221f1c; }
body.landing .city-card.city-closed .soon { background: #2b2a28; }
body.landing .veh-pill { background: #221f1c; border-color: #4c4843; }

/* Registračný formulár */
body.landing .form-card { background: #2b2a28; box-shadow: none; }
body.landing .form-card .btn-block { margin-top: 8px; }
body.landing .field label { color: var(--dark); line-height: 1.4; }
body.landing .field input,
body.landing .field select,
body.landing .field textarea { background: #1c1a17; border-color: #4c4843; color: var(--dark); }
body.landing .field input::placeholder,
body.landing .field textarea::placeholder { color: #8c867e; opacity: 1; }
body.landing .form-error { color: #ff949c; }
/* Chipy vozidiel na tmavom pozadí — svetlé varianty by neboli vidieť */
body.landing .vehicle-chip { background: #1c1a17; border-color: #4c4843; color: var(--dark); }
body.landing .vehicle-chip:hover { border-color: var(--orange); }
body.landing .vehicle-chip.selected { border-color: var(--orange); background: rgba(238, 132, 52, 0.18); color: #ffc38a; box-shadow: 0 0 0 3px rgba(238, 132, 52, 0.15); }
body.landing .gdpr input { flex-shrink: 0; accent-color: var(--orange); }

/* Modál */
body.landing .modal { background: #2b2a28; }

/* Päta */
body.landing .site-footer { background: #57534b; }
body.landing .footer-col h4 { color: #fff; }
body.landing .footer-col a { color: #e6e1d8; }
body.landing .footer-col a:hover { color: #ffc38a; }
body.landing .footer-legal,
body.landing .footer-bottom-inner,
body.landing .footer-admin { color: #cfc9bf; }
body.landing .footer-bottom { border-top-color: rgba(255, 255, 255, 0.18); }

/* Prepínač jazyka — tmavá varianta */
body.landing .lang-trigger { background: #2b2a28; border-color: #4c4843; color: var(--dark); }
body.landing .lang-menu { background: #2b2a28; border: 1px solid #3f3d39; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5); }
body.landing .lang-option { color: var(--dark); }
body.landing .lang-option:hover { background: #3f3d39; }
body.landing .lang-option.is-active { background: rgba(243, 104, 5, 0.18); }

/* Loader zostáva oranžový branded — jeho biely vyhľadávací box potrebuje tmavé texty */
body.landing .loader-search-label { color: #242e30; }
body.landing .loader-search-box input { color: #242e30; }

/* Responsívne — hero prelina na mobile */
@media (max-width: 900px) {
  body.landing .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  body.landing .hero-panel { gap: 20px; }
  body.landing .hero-sticker { font-size: 30px; text-shadow: 4px 4px 0 #de6f1e; }
  body.landing .hero-panel-logo { height: 34px; }
}
/* ---------- Upload loga (admin — Značka) ---------- */
.logo-upload { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex: 1; }
.logo-preview {
  height: 44px;
  width: auto;
  max-width: 200px;
  background: #242e30;
  border-radius: 8px;
  padding: 5px 10px;
  object-fit: contain;
}

/* Oficiálne logo bistro.sk (domček s príborom + wordmark); biela verzia na oranžové podklady */
.logo-invert { filter: brightness(0) invert(1); }
