/* ===========================================================
   PRAVAC – rent a car | Štýly (firemné farby: oranžová + tmavomodrá)
=========================================================== */

:root {
  --brand: #f7941d;
  --brand-d: #e07e0c;
  --brand-l: #fba63e;
  --green: #16335b;
  --green-d: #16335b;
  --ink: #16335b;
  --text: #2e3a4a;
  --muted: #6b7585;
  --muted-2: #9aa3b2;
  --bg: #ffffff;
  --bg-gray: #f3f5f8;
  --bg-gray-2: #e9edf2;
  --dark: #16335b;
  --dark-2: #1f4072;
  --line: #e3e7ee;
  --line-dark: #284a78;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px rgba(20, 20, 40, 0.14);
  --shadow-sm: 0 10px 30px rgba(20, 20, 40, 0.10);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.h-xl { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.h-md { font-size: clamp(1.4rem, 2.6vw, 2rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand); background: rgba(247, 148, 29, 0.08);
  border: 1px solid rgba(247, 148, 29, 0.18); padding: 7px 14px; border-radius: 100px;
}
.lead { color: var(--muted); font-size: 1.06rem; }
.text-brand { color: var(--brand); }
.text-green { color: var(--green-d); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .lead { margin: 16px auto 0; }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 700; font-size: 0.97rem;
  padding: 14px 30px; border-radius: 100px; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 14px 30px rgba(247, 148, 29, 0.28); }
.btn-primary:hover { background: var(--brand-d); transform: translateY(-3px); box-shadow: 0 20px 44px rgba(247, 148, 29, 0.38); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 14px 30px rgba(22, 51, 91, 0.3); }
.btn-green:hover { background: var(--green-d); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { background: var(--bg-gray); transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===========================================================
   NAVBAR
=========================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled { background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 18px; }
.nav-left { display: flex; align-items: center; gap: 18px; }

.burger {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.burger span { width: 26px; height: 2.6px; background: var(--ink); border-radius: 3px; transition: 0.3s var(--ease); }
.nav:not(.scrolled) .burger span { background: var(--ink); }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { height: 48px; width: auto; max-width: 168px; object-fit: contain; object-position: left center; display: block; transition: 0.3s var(--ease); }
/* Na svetlom navbare = plnofarebné logo; na tmavých plochách = biele logo bez pozadia */
.nav.nav-dark .logo-img,
.drawer .logo-img,
.footer .logo-img { filter: brightness(0) invert(1); }
.nav:not(.scrolled) .logo-img { filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)); }
.drawer .logo-img, .footer .logo-img { height: 52px; }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-icons { display: flex; align-items: center; gap: 10px; }
.nav-icons a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--line); transition: 0.25s var(--ease); }
.nav-icons a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.nav-icons a svg { width: 19px; height: 19px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.lang svg { width: 18px; height: 18px; color: var(--brand); }
.lang .sep { color: var(--muted-2); }
.lang .off { color: var(--muted-2); }

/* ---------- Drawer menu ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(10, 10, 15, 0.55); backdrop-filter: blur(3px); z-index: 1090; opacity: 0; visibility: hidden; transition: 0.3s; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 1100; width: min(380px, 86vw);
  background: var(--dark); color: #fff; padding: 28px 30px; display: flex; flex-direction: column;
  transform: translateX(-105%); transition: transform 0.42s var(--ease); overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.drawer-top .logo .txt b { color: #fff; }
.drawer-top .logo .txt small { color: #9aa1ad; }
.drawer-close { background: none; border: 0; color: #fff; font-size: 2.1rem; line-height: 1; cursor: pointer; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font-size: 1.18rem; font-weight: 600; padding: 15px 0; border-bottom: 1px solid var(--line-dark); color: #e8e8ec; transition: color 0.2s, padding-left 0.2s; }
.drawer nav a:hover { color: var(--brand); padding-left: 8px; }
.drawer-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.drawer-foot .contact-line { display: flex; align-items: center; gap: 10px; color: #c8c8cf; font-size: 0.92rem; }
.drawer-foot .contact-line svg { width: 17px; height: 17px; color: var(--brand); }

/* ===========================================================
   HERO
=========================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, #d4d8dc 0%, #c2c7cc 55%, #b9bec3 100%);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.55) 100%); }
.hero-inner { position: relative; z-index: 3; width: 100%; padding-bottom: 56px; }
.hero h1 { color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,0.45); max-width: 16ch; }
.hero h1 .text-brand { color: var(--brand-l); }
.hero .hero-sub { color: #f0f0f3; font-weight: 500; font-size: 1.1rem; margin-top: 14px; max-width: 46ch; text-shadow: 0 2px 14px rgba(0,0,0,0.5); }

.hero-carousel .hero-slides { position: absolute; inset: 0; z-index: 1; }
.hero-carousel .hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 0.75s var(--ease), visibility 0.75s;
  display: flex; align-items: flex-end;
}
.hero-carousel .hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }
.hero-carousel .hero-slide .hero-bg { position: absolute; inset: 0; z-index: 1; }
.hero-carousel .hero-slide .hero-inner { position: relative; z-index: 3; width: 100%; padding-bottom: 56px; }
.hero-carousel .hero-slide .btn { margin-top: 18px; }
.hero-carousel-nav {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 4; display: flex; align-items: center; gap: 14px;
}
.hero-carousel-dots { display: flex; align-items: center; gap: 8px; }
.hero-carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,0.45); cursor: pointer; transition: transform 0.2s, background 0.2s;
}
.hero-carousel-dots button.active { background: #fff; transform: scale(1.15); }
.hero-carousel-arrow {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.25); color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.hero-carousel-arrow:hover { background: rgba(0,0,0,0.45); border-color: rgba(255,255,255,0.6); }
.hero-carousel-arrow svg { width: 20px; height: 20px; }

/* ---------- Vyhľadávací panel ---------- */
.searchbar-wrap { position: relative; z-index: 5; margin-top: -118px; }
.searchbar {
  background: var(--bg-gray); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px; display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 16px; align-items: end;
}
.sb-field { display: flex; flex-direction: column; gap: 8px; position: relative; padding-bottom: 28px; }
.sb-field > label { font-size: 0.8rem; font-weight: 600; color: var(--muted); padding-left: 4px; }
.sb-control {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); min-height: 52px; padding: 0 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sb-control:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(247,148,29,0.12); }
.sb-control svg { width: 19px; height: 19px; color: var(--brand); flex-shrink: 0; }
.sb-control input, .sb-control select {
  border: 0; background: none; outline: none; width: 100%; min-height: 50px;
  font-family: inherit; font-size: 0.96rem; color: var(--ink); cursor: pointer; line-height: 1.2;
}
.sb-control input[type="datetime-local"] { appearance: none; -webkit-appearance: none; padding: 0; }
.sb-control select:invalid { color: var(--muted); }
.sb-control select option { color: var(--ink); }
.sb-datetime { display: block; }
.sb-alt { font-size: 0.85rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding-left: 4px; position: absolute; left: 0; bottom: 0; }
.sb-alt svg { width: 16px; height: 16px; color: var(--brand); }
.searchbar .btn { height: 52px; margin-bottom: 28px; }

/* ===========================================================
   TRUST BADGES
=========================================================== */
.trust { padding: 64px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trust-item { display: flex; align-items: center; gap: 16px; }
.trust-item .ico { width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center; color: var(--brand); }
.trust-item .ico svg { width: 38px; height: 38px; }
.trust-item .t { font-weight: 700; color: var(--ink); font-size: 1.05rem; line-height: 1.25; }
.trust-item .google-logo { width: 40px; height: 40px; }

/* ===========================================================
   SEKCIE
=========================================================== */
.sec { padding: 92px 0; }
.sec-gray { background: var(--bg-gray); }
.sec-dark { background: var(--dark); color: #fff; }
.sec-dark h1, .sec-dark h2, .sec-dark h3 { color: #fff; }

/* ---------- Naše služby (carousel) ---------- */
.services .section-head { margin-bottom: 44px; }
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 6px 2px 18px; -ms-overflow-style: none; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.service-card {
  position: relative; flex: 0 0 clamp(280px, 32%, 360px); aspect-ratio: 3 / 3.4;
  border-radius: var(--radius); overflow: hidden; scroll-snap-align: start;
  box-shadow: var(--shadow-sm); cursor: pointer;
}
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-card:hover img { transform: scale(1.06); }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(15,15,18,0.85) 100%); }
.service-card .label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; color: #fff; }
.service-card .label h3 { color: #fff; font-size: 1.5rem; }
.service-card .label p { font-size: 0.9rem; opacity: 0.85; margin-top: 4px; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.carousel-dots { display: flex; gap: 9px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--bg-gray-2); cursor: pointer; transition: 0.25s; padding: 0; }
.carousel-dots button.active { background: var(--brand); width: 26px; border-radius: 5px; }
.carousel-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: 0.25s var(--ease); }
.carousel-arrow:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.carousel-arrow svg { width: 20px; height: 20px; }

/* ---------- Feature banner (Welcome / Quality) ---------- */
.banner { text-align: center; }
.banner .lead { max-width: 70ch; margin: 18px auto 0; }
.banner-img { margin-top: 50px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.banner-img img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.banner-paras { max-width: 72ch; margin: 18px auto 0; display: grid; gap: 14px; }
.banner-paras p { color: var(--muted); }

/* ---------- About center ---------- */
.about-center { text-align: center; }
.about-center .lead { max-width: 64ch; margin: 18px auto 0; }
.about-center .big { font-size: 1.2rem; color: var(--ink); font-weight: 600; }

/* ===========================================================
   KARTY VOZIDIEL
=========================================================== */
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 18px; }
.filter-btn { font-family: inherit; font-weight: 700; font-size: 0.9rem; padding: 10px 22px; border-radius: 100px; cursor: pointer; background: #fff; border: 1px solid var(--line); color: var(--muted); transition: 0.25s var(--ease); }
.filter-btn:hover { color: var(--ink); border-color: var(--brand); }
.filter-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.toolbar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 40px; }
.toolbar select { font-family: inherit; font-weight: 600; padding: 10px 16px; border-radius: 100px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; outline: none; }

.car-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s; display: flex; flex-direction: column; }
.car-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(247,148,29,0.3); }
.car-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-gray); }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.car-card:hover .car-media img { transform: scale(1.07); }
.car-tag { position: absolute; top: 12px; left: 12px; background: var(--green); color: #fff; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 5px 12px; border-radius: 100px; }
.car-fav { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.85); backdrop-filter: blur(6px); border: 0; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.car-fav svg { width: 18px; height: 18px; }
.car-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.car-cat { font-size: 0.78rem; color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.car-name { font-size: 1.28rem; margin: 4px 0 16px; }
.car-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin-bottom: 18px; }
.car-specs li { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted); }
.car-specs svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; }
.car-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.car-price .p { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.car-price .p small { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.step-num { font-size: 0.9rem; font-weight: 800; color: #fff; background: var(--brand); width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 18px; }
.step .ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(22,51,91,0.15); color: var(--green-d); display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature .ico { width: 56px; height: 56px; border-radius: 15px; background: rgba(247,148,29,0.1); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 27px; height: 27px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.split-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3.3; object-fit: cover; width: 100%; }
.check-list { display: grid; gap: 15px; margin-top: 26px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-list .c { width: 27px; height: 27px; border-radius: 8px; background: rgba(22,51,91,0.18); color: var(--green-d); display: grid; place-items: center; flex-shrink: 0; }
.check-list .c svg { width: 15px; height: 15px; }
.check-list b { display: block; color: var(--ink); }
.check-list span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-strip .num { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 800; color: var(--brand); }
.sec-dark .stat-strip .num { color: var(--brand); }
.stat-strip .lbl { color: var(--muted); font-size: 0.94rem; }
.sec-dark .stat-strip .lbl { color: #b9bcc4; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.stars { color: #ffb703; font-size: 1.05rem; margin-bottom: 14px; letter-spacing: 2px; }
.review p { color: var(--text); font-size: 0.98rem; margin-bottom: 20px; }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.reviewer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.reviewer b { color: var(--ink); font-size: 0.95rem; }
.reviewer span { font-size: 0.82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--ink); font-family: inherit; font-weight: 700; font-size: 1.04rem; padding: 21px 24px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-q .pm { width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: rgba(247,148,29,0.1); color: var(--brand); transition: transform 0.3s; font-size: 1.2rem; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-l)); color: #fff; border-radius: var(--radius-lg); padding: 56px 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.cta-band p { opacity: 0.9; margin-top: 6px; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: 150px 0 70px; text-align: center; background: var(--bg-gray); position: relative; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .crumb { display: inline-flex; gap: 8px; color: var(--muted); font-size: 0.88rem; }
.page-hero .crumb a:hover { color: var(--brand); }

/* ---------- Legal pages ---------- */
.legal-page .page-hero-legal { background: linear-gradient(180deg, var(--bg-gray) 0%, #fff 100%); }
.page-hero-legal { padding-bottom: 56px; }
.page-hero-legal .eyebrow { margin-bottom: 16px; }
.page-hero-legal .legal-hero-meta {
  display: inline-flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 20px auto 18px; max-width: 720px;
}
.legal-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 100px; font-size: 0.82rem; font-weight: 600; color: var(--muted);
}
.legal-pill svg { width: 15px; height: 15px; color: var(--brand); flex-shrink: 0; }

.legal-sec { padding-top: 0; margin-top: -28px; position: relative; z-index: 2; }
.legal-layout {
  display: grid; grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
  gap: 28px; align-items: start;
}
.legal-sidebar {
  position: sticky; top: 96px; display: grid; gap: 16px;
}
.legal-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow-sm);
}
.legal-panel-head {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.legal-nav { display: grid; gap: 4px; }
.legal-nav a {
  display: block; padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 600; color: var(--muted);
  border-left: 3px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.legal-nav a:hover { background: var(--bg-gray); color: var(--ink); }
.legal-nav a.is-active {
  background: rgba(247, 148, 29, 0.1); color: var(--brand); border-left-color: var(--brand);
}
.legal-meta-list { display: grid; gap: 14px; }
.legal-meta-item { display: flex; gap: 12px; align-items: flex-start; }
.legal-meta-item .ico,
.legal-footnote .ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(247, 148, 29, 0.1); color: var(--brand);
  display: grid; place-items: center;
}
.legal-meta-item .ico svg,
.legal-footnote .ico svg { width: 18px; height: 18px; }
.legal-meta-item b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 0.88rem; }
.legal-meta-item span { color: var(--muted); font-size: 0.9rem; }

.legal-toc { display: grid; gap: 2px; max-height: 320px; overflow: auto; padding-right: 4px; }
.legal-toc a {
  display: block; padding: 8px 10px 8px 12px; border-left: 2px solid transparent;
  font-size: 0.86rem; line-height: 1.45; color: var(--muted); transition: 0.2s;
}
.legal-toc a:hover { color: var(--ink); background: var(--bg-gray); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.legal-toc a.is-sub { padding-left: 22px; font-size: 0.82rem; opacity: 0.92; }

.legal-article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.legal-article-head {
  padding: 28px 40px 24px;
  background: linear-gradient(135deg, rgba(22, 51, 91, 0.04), rgba(247, 148, 29, 0.07));
  border-bottom: 1px solid var(--line);
}
.legal-article-head h2 { margin-bottom: 8px; }
.legal-article-head p { color: var(--muted); font-size: 0.98rem; max-width: 68ch; }

.legal-content {
  padding: 36px 40px 28px; font-size: 1rem; line-height: 1.78; color: var(--text);
}
.legal-content h2 {
  font-size: clamp(1.22rem, 2vw, 1.52rem); font-weight: 800; color: var(--ink);
  margin: 2.2em 0 0.85em; padding-top: 1.5em; border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-content h2::before {
  content: ""; display: block; width: 44px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-l)); margin-bottom: 12px;
}
.legal-content h3 {
  font-size: 1.08rem; font-weight: 700; color: var(--ink);
  margin: 1.6em 0 0.6em; scroll-margin-top: 110px;
}
.legal-content p { margin: 0 0 1.05em; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul,
.legal-content ol { margin: 0.5em 0 1.2em; padding-left: 0; list-style: none; }
.legal-content ul li {
  position: relative; padding-left: 1.45em; margin-bottom: 0.55em;
}
.legal-content ul li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
}
.legal-content ol { counter-reset: legal-ol; }
.legal-content ol li {
  counter-increment: legal-ol; position: relative; padding-left: 2em; margin-bottom: 0.55em;
}
.legal-content ol li::before {
  content: counter(legal-ol) "."; position: absolute; left: 0; font-weight: 700; color: var(--brand);
}
.legal-content a {
  color: var(--brand); text-decoration: underline; text-underline-offset: 3px; font-weight: 600;
}
.legal-content a:hover { color: var(--brand-d); }
.legal-content strong { color: var(--ink); font-weight: 700; }
.legal-content blockquote {
  margin: 1.4em 0; padding: 16px 20px; border-left: 4px solid var(--brand);
  background: var(--bg-gray); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted); font-size: 0.96rem;
}
.legal-content table {
  width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.92rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
}
.legal-content th,
.legal-content td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.legal-content th { background: var(--bg-gray); font-weight: 700; color: var(--ink); }
.legal-content hr {
  border: 0; height: 1px; background: var(--line); margin: 2em 0;
}

.legal-footnote {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 0 40px 36px; padding: 18px 20px;
  background: rgba(22, 51, 91, 0.05); border: 1px solid rgba(22, 51, 91, 0.12);
  border-radius: var(--radius-sm); font-size: 0.92rem; color: var(--muted);
}
.legal-footnote p { margin: 0; line-height: 1.6; }
.legal-footnote a { color: var(--brand); font-weight: 700; }

/* ---------- Review page ---------- */
.review-card {
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: var(--shadow-sm);
}
.review-stars { text-align: center; margin-bottom: 24px; }
.review-stars-label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.stars-input { display: inline-flex; gap: 8px; }
.star-btn {
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg-gray); color: #d5dbe3; font-size: 1.5rem; cursor: pointer;
  transition: 0.2s var(--ease);
}
.star-btn:hover, .star-btn.active { color: var(--brand); border-color: rgba(247,148,29,0.35); background: rgba(247,148,29,0.08); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; align-content: start; }
.info-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.info-card .ico { width: 50px; height: 50px; border-radius: 13px; background: rgba(247,148,29,0.1); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.info-card > div:last-child { flex: 1; min-width: 0; }
.info-card b { display: block; margin-bottom: 3px; color: var(--ink); }
.info-card span, .info-card a { color: var(--muted); font-size: 0.93rem; word-break: break-word; }
.info-card a:hover { color: var(--brand); }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.contact-form-card .form-card-title { margin-bottom: 6px; }
.contact-form-card .form-card-lead { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.contact-form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.contact-form-card .form-row .form-group:only-child { grid-column: 1 / -1; }
.contact-form-card .form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; min-width: 0; }
.contact-form-card .form-group label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.contact-form-card .form-group input,
.contact-form-card .form-group select,
.contact-form-card .form-group textarea {
  width: 100%; max-width: 100%; box-sizing: border-box;
  background: var(--bg-gray); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; color: var(--ink); font-family: inherit; font-size: 0.95rem;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form-card .form-group input:focus,
.contact-form-card .form-group select:focus,
.contact-form-card .form-group textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(247,148,29,0.12); }
.contact-form-card .form-group textarea { resize: vertical; min-height: 140px; }
.contact-form-card .form-group select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.contact-form-card .contact-form-actions { margin-top: 8px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea { background: var(--bg-gray); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; color: var(--ink); font-family: inherit; font-size: 0.95rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(247,148,29,0.12); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-success { display: none; background: rgba(22,51,91,0.14); border: 1px solid rgba(22,51,91,0.45); color: var(--green-d); padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; font-size: 0.92rem; }
.form-success.show { display: block; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 24px; }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ===========================================================
   FOOTER
=========================================================== */
.footer { background: var(--dark); color: #c8c8cf; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.3fr; gap: 40px; }
.footer .logo { margin-bottom: 18px; }
.footer .logo .txt b { color: #fff; }
.footer .logo .txt small { color: #9aa1ad; }
.footer .f-about { font-size: 0.92rem; max-width: 30ch; color: #a7a7af; }
.footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }
.footer-col a, .footer-col li { color: #a7a7af; font-size: 0.93rem; display: block; margin-bottom: 12px; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand); }
.f-contact .line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: 0.92rem; color: #a7a7af; }
.f-contact .line svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.socials { display: flex; gap: 11px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--dark-2); border: 1px solid var(--line-dark); display: grid; place-items: center; color: #c8c8cf; transition: 0.25s var(--ease); }
.socials a:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-3px); }
.socials a svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 54px; padding: 22px 0; border-top: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8b8b93; font-size: 0.85rem; }
.footer-bottom a:hover { color: var(--brand); }

/* ===========================================================
   WHATSAPP + TO TOP
=========================================================== */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 980; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,0.5); animation: waPulse 2.4s infinite; transition: transform 0.25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; }
.wa-float .wa-tip { position: absolute; right: 72px; top: 50%; transform: translateY(-50%); background: var(--ink); color: #fff; padding: 9px 14px; border-radius: 12px; font-size: 0.85rem; font-weight: 600; white-space: nowrap; opacity: 0; visibility: hidden; transition: 0.25s var(--ease); box-shadow: var(--shadow-sm); }
.wa-float:hover .wa-tip { opacity: 1; visibility: visible; right: 76px; }
@keyframes waPulse {
  0% { box-shadow: 0 12px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 12px 30px rgba(37,211,102,0.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 30px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0); }
}
.to-top { position: fixed; right: 28px; bottom: 94px; z-index: 970; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: 0.3s var(--ease); box-shadow: var(--shadow-sm); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* Legal pages: full document height breaks IntersectionObserver threshold — keep content visible */
.legal-sec .reveal { opacity: 1; transform: none; }

/* ===========================================================
   RESPONZÍVNE
=========================================================== */
@media (max-width: 1024px) {
  .searchbar { grid-template-columns: 1fr 1fr; }
  .searchbar .btn { grid-column: 1 / -1; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cars-grid, .feature-grid, .reviews, .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-card .form-row { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; grid-template-columns: 1fr 1fr; display: grid; }
  .legal-panel-toc { grid-column: 1 / -1; }
  .legal-content { padding: 28px 24px 20px; }
  .legal-article-head { padding: 24px 24px 20px; }
  .legal-footnote { margin: 0 24px 28px; }
}
@media (max-width: 680px) {
  .nav-icons { display: none; }
  .nav-inner { height: 76px; gap: 12px; }
  .logo-img { height: 42px; max-width: 140px; }
  /* Hero na celú obrazovku, vyhľadávací panel cez spodok slideru */
  .hero { min-height: 100vh; }
  .hero-bg img { object-position: center 60%; }
  .hero-inner { padding-bottom: 150px; }
  .searchbar-wrap { margin-top: -228px; margin-bottom: 40px; position: relative; z-index: 6; }
  /* Mobilný vyhľadávací panel: najprv len miesto + tlačidlo;
     po výbere lokality sa zobrazia dátumy (ako v referencii) */
  .searchbar { grid-template-columns: 1fr; gap: 14px; }
  .searchbar .sb-field { padding-bottom: 0; }
  .searchbar .sb-field:has(.sb-alt) { padding-bottom: 28px; }
  .searchbar .btn { margin-bottom: 0; }
  .searchbar.loc-picked .btn { margin-bottom: 0; }
  .searchbar .sb-when { display: none; }
  .searchbar.loc-picked .sb-when { display: flex; }
  .searchbar .sb-alt { display: none; }
  .searchbar.loc-picked .sb-alt { display: inline-flex; }
  .sb-datetime { grid-template-columns: 1.4fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 24px; }
  .cars-grid, .feature-grid, .reviews, .steps, .form-row { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 28px; text-align: center; justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .banner-img img { aspect-ratio: 4/3; }
  .legal-sidebar { grid-template-columns: 1fr; }
  .legal-content { padding: 22px 18px 16px; }
  .legal-article-head { padding: 20px 18px 16px; }
  .legal-footnote { margin: 0 18px 22px; flex-direction: column; }
  .services .carousel-track {
    gap: 16px;
    padding: 0 0 18px;
    scroll-padding-inline: 0;
  }
  .services .service-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* ===========================================================
   REZERVÁCIA (booking flow)
=========================================================== */
body.res-page { padding-top: 84px; }

/* Rezervácia – chybové hlásenia priamo na stránke */
.res-alert {
  display: none;
  position: relative;
  margin-bottom: 24px;
  padding: 16px 44px 16px 18px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-size: 0.95rem;
  line-height: 1.55;
  box-shadow: var(--shadow-sm);
}
.res-alert.show { display: block; }
.res-alert-title { display: block; font-size: 1.02rem; font-weight: 800; margin-bottom: 6px; }
.res-alert-msg { font-weight: 600; }
.res-alert-msg a { color: inherit; text-decoration: underline; font-weight: 800; }
.res-alert-close {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border: 0; border-radius: 8px;
  background: rgba(0,0,0,0.08); color: inherit; font-size: 1.35rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
}
.res-alert-close:hover { background: rgba(0,0,0,0.14); }
.res-alert-error {
  background: #fff5f5; border-color: #e5484d; color: #9b1c1c;
}
.res-alert-warn {
  background: #fff8eb; border-color: #f5a623; color: #8a4b00;
}
.res-alert-info {
  background: #eef6ff; border-color: #3b82f6; color: #1e40af;
}

.nav.nav-dark { background: var(--dark); position: fixed; }
.nav.nav-dark .burger span { background: #fff; }
.nav.nav-dark .logo .txt b { color: #fff; }
.nav.nav-dark .lang, .nav.nav-dark .lang b { color: #fff; }
.nav.nav-dark .lang .off { color: #8b8b93; }
.nav.nav-dark .nav-icons a { color: #fff; border-color: rgba(255,255,255,0.22); }
.nav.nav-dark .nav-icons a:hover { background: var(--brand); border-color: var(--brand); }

/* Sub-bar */
.res-subbar {
  position: sticky; top: 84px; z-index: 900;
  background: var(--bg-gray); border-bottom: 1px solid var(--line);
}
.res-subbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; }
.res-back { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); background: none; border: 0; cursor: pointer; font-family: inherit; font-size: 0.98rem; padding: 8px; }
.res-back svg { width: 20px; height: 20px; }
.res-back:hover { color: var(--brand); }
.res-summary { background: #fff; border-radius: 12px; padding: 12px 18px; box-shadow: var(--shadow-sm); flex: 1; max-width: 460px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.res-summary .s-loc { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.res-summary .s-date { color: var(--muted); font-size: 0.82rem; }
.res-summary .s-date b { color: var(--brand); font-weight: 700; }
.res-summary .s-edit { color: var(--muted); background: none; border: 0; cursor: pointer; flex-shrink: 0; }
.res-summary .s-edit:hover { color: var(--brand); }
.res-summary .s-edit svg { width: 18px; height: 18px; }
.res-right { display: flex; align-items: center; gap: 20px; }
.res-total { text-align: right; }
.res-total .lbl { font-size: 0.78rem; color: var(--muted); }
.res-total .val { font-size: 1.4rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.res-total .vat { font-size: 0.72rem; color: var(--muted); }

/* Step indicator */
.res-steps { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 40px 0 10px; flex-wrap: wrap; }
.res-step { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.9rem; color: var(--muted-2); }
.res-step .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-gray-2); color: var(--muted); font-size: 0.85rem; transition: 0.3s; }
.res-step.active { color: var(--ink); }
.res-step.active .n { background: var(--brand); color: #fff; }
.res-step.done .n { background: var(--green); color: #fff; }
.res-step-line { width: 36px; height: 2px; background: var(--line); }
.res-title { text-align: center; margin: 14px 0 44px; }

/* Listing grid */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.res-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; min-height: 340px;
  background: radial-gradient(125% 95% at 50% 72%, #41414a 0%, #232327 55%, #141416 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.res-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.res-card .rc-bg { position: absolute; inset: 0; z-index: 1; }
.res-card .rc-bg img { width: 100%; height: 100%; object-fit: cover; }
.res-card .rc-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,18,0.82) 0%, rgba(15,15,18,0.28) 30%, rgba(15,15,18,0.3) 58%, rgba(15,15,18,0.9) 100%); }
.res-card .rc-top { position: relative; z-index: 2; padding: 22px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.res-card .rc-bottom { position: relative; z-index: 2; padding: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.rc-info h3 { font-size: 1.32rem; color: #fff; max-width: 13ch; line-height: 1.18; }
.rc-info .rc-sub { color: rgba(255,255,255,0.62); font-size: 0.85rem; margin-top: 5px; }
.rc-specs { display: flex; flex-direction: column; gap: 7px; align-items: stretch; flex-shrink: 0; }
.rc-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.16); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-radius: 100px; padding: 4px 12px; font-size: 0.82rem; font-weight: 700; color: #fff; min-width: 56px; }
.rc-pill svg { width: 14px; height: 14px; color: #fff; opacity: 0.92; }
.rc-price .pd { font-size: 1.55rem; font-weight: 800; color: #fff; }
.rc-price .pd small { font-size: 0.85rem; color: rgba(255,255,255,0.75); font-weight: 600; }
.rc-total { text-align: right; font-size: 0.95rem; color: #fff; font-weight: 700; }
.rc-total span { display: block; color: rgba(255,255,255,0.65); font-size: 0.72rem; font-weight: 500; margin-top: 2px; }

/* Insurance cards */
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }
.opt-card {
  background: var(--bg-gray); border: 2px solid transparent; border-radius: var(--radius); padding: 26px;
  cursor: pointer; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; position: relative;
}
.opt-card:hover { box-shadow: var(--shadow-sm); }
.opt-card.selected { border-color: var(--brand); background: #fff; box-shadow: var(--shadow-sm); }
.opt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.opt-head h3 { font-size: 1.22rem; }
.opt-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--muted-2); flex-shrink: 0; display: grid; place-items: center; transition: 0.2s; }
.opt-card.selected .opt-radio { border-color: var(--brand); }
.opt-card.selected .opt-radio::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--brand); }
.opt-excess { color: var(--muted); font-size: 0.88rem; margin-bottom: 14px; }
.opt-price { font-size: 1.45rem; font-weight: 800; color: var(--ink); }
.opt-price small { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.opt-price .perday { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.opt-deposit { color: var(--muted); font-size: 0.85rem; margin-top: 10px; }
.opt-list { margin: 16px 0; display: grid; gap: 10px; }
.opt-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text); }
.opt-list li .dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; display: grid; place-items: center; }
.opt-list li.inc .dot { background: var(--brand); }
.opt-list li.inc .dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.opt-list li.exc { color: var(--muted); }
.opt-list li.exc .dot { border: 2px solid var(--muted-2); }
.opt-list li .li-txt { flex: 1; }
.opt-list li .info { width: 15px; height: 15px; color: var(--muted-2); flex-shrink: 0; margin-top: 2px; }
.opt-badge { position: absolute; top: -10px; right: 18px; background: var(--green); color: #fff; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 4px 12px; border-radius: 100px; }
.opt-toggle { display: none; position: absolute; right: 16px; bottom: 16px; width: 34px; height: 34px; border-radius: 9px; border: 0; background: var(--bg-gray-2); color: var(--ink); cursor: pointer; place-items: center; }
.opt-toggle svg { width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
.opt-card.exp .opt-toggle svg { transform: rotate(180deg); }

/* Services rows */
.svc-list { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
.svc-row { display: flex; align-items: center; gap: 18px; background: var(--bg-gray); border-radius: var(--radius); padding: 20px 22px; }
.svc-ico { width: 56px; height: 56px; border-radius: 13px; background: var(--ink); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.svc-ico svg { width: 26px; height: 26px; }
.svc-main { flex: 1; min-width: 0; }
.svc-main h3 { font-size: 1.12rem; }
.svc-main .svc-price { color: var(--muted); font-weight: 700; font-size: 0.95rem; margin-top: 2px; }
.svc-desc { color: var(--muted); font-size: 0.88rem; flex: 1.3; min-width: 0; }
.svc-control { flex-shrink: 0; display: flex; align-items: center; gap: 14px; }

/* Switch */
.switch { position: relative; width: 50px; height: 28px; flex-shrink: 0; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: var(--muted-2); border-radius: 100px; transition: 0.3s; }
.switch .slider::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: 0.3s; }
.switch input:checked + .slider { background: var(--brand); }
.switch input:checked + .slider::before { transform: translateX(22px); }

/* Counter */
.counter { display: inline-flex; align-items: center; gap: 4px; }
.counter button { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; transition: 0.2s; }
.counter button:hover { border-color: var(--brand); color: var(--brand); }
.counter .cval { min-width: 28px; text-align: center; font-weight: 700; color: var(--ink); }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }
.toggle-pill { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; font-weight: 600; color: var(--muted); }
.toggle-pill .on { color: var(--ink); }
.checkout-form h2 { font-size: 1.2rem; margin: 26px 0 16px; }
.terms-row { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 0.9rem; color: var(--muted); }
.terms-row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex-shrink: 0; }
.terms-row a { color: var(--brand); text-decoration: underline; }
.coupon-row { display: flex; gap: 10px; margin-top: 10px; }
.coupon-row input { flex: 1; }

.booking-summary { background: var(--bg-gray); border-radius: var(--radius); overflow: hidden; position: sticky; top: 170px; }
.bs-car { display: flex; gap: 16px; padding: 22px; align-items: center; }
.bs-car img { width: 130px; height: 92px; object-fit: cover; border-radius: 12px; flex-shrink: 0; background: #fff; }
.bs-car h3 { font-size: 1.12rem; }
.bs-car .bs-sub { color: var(--muted); font-size: 0.82rem; }
.bs-route { padding: 0 22px 18px; display: grid; gap: 8px; }
.bs-route .r { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; }
.bs-route .r .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); margin-top: 6px; flex-shrink: 0; }
.bs-route .r b { color: var(--ink); }
.bs-route .r span { color: var(--muted); }
.bs-days { padding: 14px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.bs-items { padding: 18px 22px; display: grid; gap: 11px; }
.bs-overview-title { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.bs-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.9rem; }
.bs-item .name { color: var(--text); display: flex; gap: 8px; align-items: center; }
.bs-item .name svg { width: 15px; height: 15px; color: var(--green-d); flex-shrink: 0; }
.bs-item .price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.bs-total { padding: 18px 22px; border-top: 2px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.bs-total .t { font-weight: 700; color: var(--ink); }
.bs-total .v { font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.res-note { max-width: 920px; margin: 26px auto 0; color: var(--muted-2); font-size: 0.82rem; text-align: center; }

.res-success { max-width: 620px; margin: 0 auto; text-align: center; background: var(--bg-gray); border-radius: var(--radius); padding: 50px 36px; }
.res-success .ico { width: 74px; height: 74px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 22px; }
.res-success .ico svg { width: 38px; height: 38px; }

@media (max-width: 1024px) {
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .ins-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
}
@media (max-width: 680px) {
  /* Sub-bar: len späť (šípka) + súhrn termínu */
  .res-subbar { top: 84px; }
  .res-subbar-inner { flex-wrap: nowrap; gap: 10px; padding: 12px 0; }
  .res-back { font-size: 0; padding: 6px; flex-shrink: 0; }
  .res-back svg { width: 22px; height: 22px; }
  .res-summary { max-width: none; flex: 1; padding: 10px 14px; }
  .res-summary .s-loc { font-size: 0.82rem; }
  .res-summary .s-date { font-size: 0.74rem; }

  /* Total + Ďalej = pevná spodná lišta (len krok vozidla) */
  body.res-flow { padding-bottom: 86px; }
  .res-right {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; width: 100%;
    background: var(--dark); padding: 12px 18px; gap: 16px; justify-content: space-between;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
  }
  .res-right .res-total { text-align: left; }
  .res-right .res-total .lbl, .res-right .res-total .vat { color: rgba(255, 255, 255, 0.7); }
  .res-right .res-total .val { color: #fff; }
  .res-right .btn { padding: 13px 26px; }

  /* WhatsApp neprekrýva tlačidlo Ďalej v rezervačných krokoch */
  body.res-flow .wa-float { display: none; }

  /* Poistenie: zoznam krytia skrytý za šípkou */
  .res-grid { grid-template-columns: 1fr; }
  .opt-card { padding-bottom: 56px; }
  .opt-toggle { display: grid; }
  .opt-list { max-height: 0; overflow: hidden; margin: 0; transition: max-height 0.4s var(--ease), margin 0.4s var(--ease); }
  .opt-card.exp .opt-list { max-height: 640px; margin: 14px 0 4px; }

  /* Doplnkové služby: zvislé karty */
  .svc-row { flex-wrap: wrap; row-gap: 12px; }
  .svc-main { flex: 1 1 auto; }
  .svc-desc { flex-basis: 100%; order: 3; }
  .svc-control { order: 2; }

  /* Pokladňa: súhrn navrchu, formulár pod ním */
  .checkout-grid { gap: 22px; }
  .booking-summary { order: -1; }

  .res-step-line { width: 18px; }
  .res-step span.txt { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
