/* =========================================================
   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; }
.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; }
/* Desktop: malý dropdown vpravo namiesto fullscreen pásu (mobil ostáva fullscreen). */
@media (min-width: 721px) {
  .main-nav {
    left: auto;
    right: 12px;
    top: calc(100% + 8px);
    width: 264px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
  }
  .main-nav a {
    border-top: none;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 15px;
  }
  .main-nav a:hover, .main-nav a:focus-visible { background: var(--cream); }
}
.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; }
}

/* ---------- Toasty ---------- */


/* ---------- 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); }
.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); }


/* 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); }

/* =========================================================
   Moderný vzhľad (glass header, glow, elevácia)
   Override vrstva na konci súboru; jednoducho vymazateľná.
   ========================================================= */
:root { --radius-lg: 20px; --ease-out: cubic-bezier(0.22, 1, 0.36, 1); }
::selection { background: rgba(243, 104, 5, 0.18); }

/* Glass header */
.site-header {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(231, 226, 218, 0.7);
}

/* Hero badge (pill) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(243, 104, 5, 0.08);
  border: 1px solid rgba(243, 104, 5, 0.25);
  color: #b45512;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  animation: heroPulse 2s var(--ease-out) infinite;
}
@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(243, 104, 5, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(243, 104, 5, 0); }
  100% { box-shadow: 0 0 0 0 rgba(243, 104, 5, 0); }
}

/* Hero typografia */
.hero h1 { font-size: clamp(34px, 5.6vw, 62px); letter-spacing: -0.02em; line-height: 1.05; }
.hero .hero-sub { font-size: clamp(16px, 1.6vw, 19px); }

/* Hero glow blob (mesh) */
.hero::before {
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(243, 104, 5, 0.12) 0%, rgba(255, 128, 0, 0.05) 45%, rgba(243, 104, 5, 0) 70%);
  filter: blur(2px);
  animation: floatBlob 14s ease-in-out infinite alternate;
}
@keyframes floatBlob {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-60px, 50px) scale(1.15); }
}

/* Tlačidlá — gradient + glow + elevácia */
.btn { transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.btn-primary {
  background: linear-gradient(135deg, #ff8000 0%, #f36805 55%, #e05a00 100%);
  box-shadow: 0 8px 24px rgba(243, 104, 5, 0.32);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #ff8f1f 0%, #f36805 55%, #e05a00 100%);
  box-shadow: 0 12px 32px rgba(243, 104, 5, 0.42);
  transform: translateY(-2px);
}
.hero .btn-primary { background: linear-gradient(135deg, #ff8000 0%, #f36805 55%, #e05a00 100%); }
.hero .btn-primary:hover { background: linear-gradient(135deg, #ff8f1f 0%, #f36805 55%, #e05a00 100%); }

/* Karty — elevácia + jemný hover akcent */
.card {
  border-radius: var(--radius-lg);
  border-color: rgba(231, 226, 218, 0.9);
  box-shadow: 0 1px 2px rgba(36, 46, 48, 0.04), 0 12px 32px rgba(36, 46, 48, 0.07);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 4px rgba(36, 46, 48, 0.05), 0 20px 44px rgba(36, 46, 48, 0.12);
  border-color: rgba(243, 104, 5, 0.28);
}
.benefit-card .benefit-icon, .info-card .info-icon, .step-card .step-num {
  background: linear-gradient(135deg, #ff9a3d 0%, #f36805 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(243, 104, 5, 0.3);
  border-radius: 16px;
}
.step-card .step-num { border-radius: 12px; width: 44px; height: 44px; }

/* Hero stats — bento hover */
.hero-stats li { border-radius: 16px; transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); }
.hero-stats li:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(36, 46, 48, 0.12); }

/* FAQ */
.faq-item { border-radius: 16px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq-item[open] { border-color: rgba(243, 104, 5, 0.35); box-shadow: 0 12px 32px rgba(36, 46, 48, 0.09); }

/* Mestá */
.city-card { border-radius: 16px; transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s ease; }
.city-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(36, 46, 48, 0.1); }

/* Formulár */
.form-card { border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(36, 46, 48, 0.04), 0 24px 56px rgba(36, 46, 48, 0.1); }

/* Footer glow linka */
.site-footer { position: relative; }
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 104, 5, 0.5), transparent);
}

/* Scroll-reveal (pridáva app.js; bez JS zostáva všetko viditeľné) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.reveal-in { opacity: 1; transform: none; }

/* Sticker jemný float */
.hero-sticker { animation: floatSticker 5s ease-in-out infinite alternate; }
@keyframes floatSticker {
  from { transform: rotate(-5deg) translateY(0); }
  to { transform: rotate(-4deg) translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero-badge-dot, .hero-sticker { animation: none; }
}

/* ---------- Podstránky (/navod, /flotila, /otazky) ---------- */
.hero-slim { padding: 64px 0 48px; }
.hero-slim .hero-copy { max-width: 720px; }
.guidepage-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.guidepage-grid { display: grid; grid-template-columns: 96px 1fr; gap: 26px; align-items: start; max-width: 860px; margin: 0 auto; }
.guidepage-icon { width: 96px; height: 96px; border-radius: 24px; background: rgba(243, 104, 5, 0.08); border: 1px solid rgba(243, 104, 5, 0.22); display: flex; align-items: center; justify-content: center; }
.guidepage-copy h2 { margin-bottom: 8px; }
.guidepage-copy p { color: var(--dark-soft); margin-bottom: 16px; max-width: 60ch; }
.guidepage-copy .btn { margin-top: 4px; }
.guidepage-cta .btn { margin-top: 8px; }
@media (max-width: 640px) {
  .guidepage-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .guidepage-copy p { margin-left: auto; margin-right: auto; }
}
/* Teaser karty na landingu */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.teaser-card { display: flex; flex-direction: column; gap: 8px; }
.teaser-card h3 { font-size: 18px; }
.teaser-card p { color: var(--dark-soft); font-size: 14.5px; flex: 1; }
.teaser-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--orange); margin-top: 6px; }
.teaser-more:hover { text-decoration: underline; }
.teaser-center { text-align: center; margin-top: 22px; }
@media (max-width: 720px) { .teaser-grid { grid-template-columns: 1fr; } }
/* Flotila riadky + plné FAQ */
.fleet-rows { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.fleet-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 22px; }
.fleet-row h3 { font-size: 16px; margin-bottom: 2px; white-space: nowrap; }
.fleet-row p { color: var(--dark-soft); font-size: 15px; }
.faq-full { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.main-nav a.active { color: var(--orange); }

/* =========================================================
   Moderná vizuálna vrstva — hĺbka, mesh gradienty, glass,
   veľkorysejší rytmus, mikrointerakcie, tmavý režim.
   Override vrstva na konci súboru; jednoducho vymazateľná.
   ========================================================= */
:root {
  --glow-orange: 0 10px 28px rgba(243, 104, 5, 0.28);
  --lift: 0 2px 4px rgba(29, 37, 39, 0.05), 0 24px 48px rgba(29, 37, 39, 0.12);
  --ring: 0 0 0 4px rgba(243, 104, 5, 0.16);
}

/* HERO — mesh pozadie + výraznejší nadpis */
.hero {
  background:
    radial-gradient(640px 420px at 12% 8%, rgba(243, 104, 5, 0.1), transparent 65%),
    radial-gradient(720px 480px at 88% 90%, rgba(224, 112, 32, 0.1), transparent 65%),
    linear-gradient(180deg, #fffdf9 0%, var(--cream) 100%);
  padding: 88px 0 96px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}
.hero .hero-sub { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.6; }
.hero-badge {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(243, 104, 5, 0.12);
}

/* Hero štatistiky — sklenené karty */
.hero-stats li {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(29, 37, 39, 0.05), 0 16px 40px rgba(29, 37, 39, 0.09);
}
.hero-stats .stat-value {
  font-size: 30px;
  background: linear-gradient(135deg, #ff8f1f, #e05a00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* SEKCIE — veľkorysejší rytmus + jemné prechody */
.section { padding: 96px 0; }
.section-lead { font-size: 17px; margin-bottom: 52px; }
.section-cream {
  background:
    radial-gradient(560px 300px at 50% 0%, rgba(243, 104, 5, 0.05), transparent 70%),
    var(--cream);
  border-top: 1px solid rgba(231, 226, 218, 0.6);
  border-bottom: 1px solid rgba(231, 226, 218, 0.6);
}
.section-title { text-wrap: balance; }

/* KARTY — hĺbka a jemný lift */
.card {
  border-radius: 22px;
  border: 1px solid rgba(231, 226, 218, 0.85);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
  box-shadow: 0 1px 2px rgba(29, 37, 39, 0.05), 0 14px 36px rgba(29, 37, 39, 0.08);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lift);
  border-color: rgba(243, 104, 5, 0.32);
}
/* Stagger pre karty v gridoch pri reveal */
.reveal-in .card:nth-child(2) { transition-delay: 0.06s; }
.reveal-in .card:nth-child(3) { transition-delay: 0.12s; }
.reveal-in .card:nth-child(4) { transition-delay: 0.18s; }

/* TLAČIDLÁ — hĺbka a stisk */
.btn-primary {
  background: linear-gradient(135deg, #ff8a1e 0%, #f36805 50%, #d95300 100%);
  box-shadow: var(--glow-orange), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  letter-spacing: 0.1px;
}
.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(243, 104, 5, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  filter: saturate(1.06);
}
.btn-primary:active { transform: translateY(1px) scale(0.99); }
.btn-lg { padding: 17px 40px; border-radius: 999px; }
.btn-outline {
  border: 1.5px solid rgba(29, 37, 39, 0.25);
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* FORMULÁR — výraznejšie polia a focus */
.field input, .field select, .field textarea {
  border-radius: 14px;
  padding: 14px 16px;
  border-color: #d9d2c8;
  background: #fffdfa;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--orange);
  box-shadow: var(--ring);
}
.form-card { border: 1px solid rgba(231, 226, 218, 0.85); }
#reg-submit { margin-top: 6px; }

/* MESTÁ + FAQ */
.city-card { border-radius: 18px; background: linear-gradient(180deg, #fff, #fffdf8); }
.city-open { border-color: rgba(26, 134, 130, 0.3); }
.pulse-dot { box-shadow: 0 0 0 4px rgba(26, 134, 130, 0.15); }
.faq-item { border-radius: 18px; background: rgba(255, 255, 255, 0.8); }
.faq-item summary { font-weight: 800; letter-spacing: -0.01em; }
.faq-item[open] { background: #fff; }

/* PÄTIČKA — tmavší prémiový pás */
.site-footer { background: #20282a; color: #cfc9bd; }
.site-footer h4 { color: #fff; }
.site-footer a { color: #f5ede1; }
.site-footer a:hover { color: #ffb066; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
#footer-copyright { color: #9d968a; }

/* Osobné údaje pre InfinityDrive + návod Bistro */
.personal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; margin-bottom: 14px; }
.personal-grid .checkbox-line { align-self: center; }
.personal-grid select { width: 100%; }
.bistro-steps { margin: 18px 0; }
.bistro-steps ol { margin: 10px 0 10px 20px; line-height: 1.6; }
@media (max-width: 720px) { .personal-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .personal-grid { grid-template-columns: 1fr; } }

/* Bistro balíček v admine */
.bistro-pkg { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 18px; }
.bistro-pkg .pkg-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.bistro-pkg .pkg-head h3 { margin: 0; }
.pkg-badge { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: #fff4e6; color: #b45309; }
.pkg-badge.ok { background: #e7f7ee; color: #15803d; }
.pkg-grid { display: grid; gap: 6px; margin: 10px 0 14px; }
.pkg-row { display: grid; grid-template-columns: 190px 1fr auto; gap: 10px; align-items: center; }
.pkg-row .k { color: var(--muted, #666); font-size: 13px; }
.pkg-row .v { font-weight: 600; word-break: break-all; }
.pkg-files { margin-bottom: 12px; }
@media (max-width: 560px) { .pkg-row { grid-template-columns: 1fr auto; } .pkg-row .k { grid-column: 1 / -1; } }
.bs-state { font-weight: 600; margin: 8px 0; }

/* Podpis zmluvy */
.contract-panel { margin: 18px 0; }
.sig-pad { width: 100%; max-width: 600px; height: auto; aspect-ratio: 3 / 1; background: #fff; border: 2px dashed #c8d1d9; border-radius: 14px; touch-action: none; cursor: crosshair; display: block; }

/* ===== Doladenie pôvodného vzhľadu (október 2026) ===== */
/* Popis pri logu */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .logo26-by { font-size: 11.5px; line-height: 1.25; font-weight: 700; color: #a8a196; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
@media (max-width: 640px) { .logo .logo26-by { display: none; } }

/* Úvod: text nezasahuje do oranžovej plochy */
body.landing .hero-copy { max-width: 540px; }
body.landing .hero-copy .hero-sub { max-width: 30em; }
body.landing .hero h1 { text-wrap: balance; }
@media (max-width: 900px) { body.landing .hero-copy { max-width: none; } }

/* Ikony výhod a podmienok */
body.landing .benefit-icon, body.landing .info-icon { font-size: 26px; display: grid; place-items: center; }

/* Bonusy: prvý zvýraznený */
body.landing #bonus-grid .card:first-child { background: linear-gradient(135deg, #ff8a1f 0%, #f36805 100%); border-color: transparent; }
body.landing #bonus-grid .card:first-child h3, body.landing #bonus-grid .card:first-child p { color: #fff; }

/* Banner termobox v kontajneri */
body.landing .section-banner { padding: 8px 0 48px; border: 0; }
body.landing .section-banner .thermobox-banner { border-radius: 22px; margin: 0; }

/* Flotila: všetky podmienky v jednom rade */
body.landing #fleet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; max-width: 1040px; margin: 0 auto; }
body.landing #fleet-grid .card { text-align: center; padding: 22px 16px; }
body.landing #fleet-grid .card h3 { color: #ee8434; font-size: 14px; margin-bottom: 8px; }
body.landing #fleet-grid .card p { color: #f6f3ef; font-weight: 700; font-size: 15px; }

/* Pätička tmavá, jednotná so stránkou */
body.landing .site-footer { background: #15120e; border-top: 3px solid #f36805; }
body.landing .footer-bottom { border-top-color: rgba(255, 255, 255, 0.08); }
body.landing #footer-copyright { color: #8c867e; }
body.landing .hero-copy .hero-sub { max-width: 25em; }
body.landing .section-banner .container { max-width: 1040px; }

/* Portál kuriéra: vždy svetlý, čitateľné polia */
:root { color-scheme: light; }
.portal-body { background: #faf7f2; color: #242e30; }
.portal-body .site-header { background: #fff; border-bottom: 1px solid #ece5da; }
.portal-body .portal-card { background: #fff; border: 1px solid #ece5da; box-shadow: 0 18px 40px rgba(36, 46, 48, 0.08); }
.portal-body .auth-title, .portal-body h2, .portal-body h3 { color: #242e30; }
.portal-body .field label, .portal-body .auth-field label { color: #242e30; }
.portal-body .field input, .portal-body .field select, .portal-body .field textarea,
.portal-body .input-icon input { background: #fff; color: #242e30; border: 1.5px solid #ddd5c9; }
.portal-body .field input::placeholder, .portal-body .input-icon input::placeholder { color: #9b958e; }
.portal-body .field input:focus, .portal-body .field select:focus, .portal-body .input-icon input:focus { border-color: #f36805; box-shadow: 0 0 0 3px rgba(243, 104, 5, 0.15); outline: none; }
.portal-body .input-icon input { padding-left: 46px !important; padding-right: 46px; }
.portal-body .input-icon .input-ic { z-index: 1; left: 15px; }
.portal-body .auth-links a { color: #d95c00; }
.portal-body .muted { color: #6b6560; }

.portal-body .contact-person { margin-top: 10px; font-size: 14px; color: #4a4542; }
.portal-body .contact-person a { color: #d95c00; font-weight: 700; white-space: nowrap; }
