/* Hertz Autopůjčovna — shared stylesheet (no external CDN, self-contained) */

:root {
  --navy: oklch(20% 0.02 250);
  --navy-2: oklch(26% 0.04 255);
  --navy-light: oklch(22% 0.02 250);
  --gold: oklch(72% 0.14 80);
  --gold-text: oklch(50% 0.13 80);
  --bg: oklch(98% 0.006 85);
  --bg-soft: oklch(96% 0.008 85);
  --text: oklch(22% 0.02 250);
  --text-2: oklch(35% 0.02 250);
  --text-3: oklch(40% 0.02 250);
  --muted: oklch(50% 0.02 250);
  --muted-2: oklch(45% 0.02 250);
  --muted-3: oklch(55% 0.02 250);
  --border: oklch(90% 0.01 85);
  --border-2: oklch(92% 0.01 85);
  --green: oklch(60% 0.13 155);
  --red: oklch(55% 0.15 25);
  --font-heading: 'Manrope', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0; }

a { color: oklch(45% 0.13 250); text-decoration: none; }
a:hover { color: oklch(38% 0.13 250); text-decoration: underline; }

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

input, select, textarea, button {
  font-family: var(--font-body);
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap-md { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.wrap-sm { max-width: 820px; margin: 0 auto; padding: 0 24px; }

main { flex: 1; }

.btn {
  display: inline-block;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: oklch(68% 0.14 80); color: var(--navy); }
.btn-dark { background: var(--navy); color: white; }
.btn-dark:hover { background: oklch(28% 0.03 250); color: white; }
.btn-outline { border: 1.5px solid oklch(60% 0.02 250); color: white; background: transparent; }
.btn-outline-dark { border: 1px solid oklch(80% 0.02 250); color: var(--text); background: white; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}
.site-header-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 8px; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--navy); font-size: 20px; font-family: var(--font-heading);
  flex-shrink: 0;
}
.brand-name { color: white; font-weight: 800; font-size: 19px; font-family: var(--font-heading); letter-spacing: 0.5px; }
.brand-sub { color: oklch(80% 0.02 250); font-size: 11px; letter-spacing: 1px; }

.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  padding: 8px 12px; border-radius: 6px; font-size: 14px; font-weight: 600;
  color: white; cursor: pointer;
}
.main-nav a:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
.main-nav a.active { background: rgba(255,255,255,0.12); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.tel-link { color: oklch(85% 0.02 250); font-size: 13px; font-weight: 700; white-space: nowrap; }
.cart-btn {
  position: relative; cursor: pointer; background: var(--gold); color: var(--navy);
  padding: 9px 14px; border-radius: 6px; font-weight: 700; font-size: 14px; border: none;
}

.nav-toggle {
  display: none; cursor: pointer; background: transparent; border: 1px solid rgba(255,255,255,0.3);
  color: white; border-radius: 6px; padding: 8px 10px; font-size: 16px;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; width: 100%; order: 3; flex-direction: column; }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; }
}

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(20,20,30,0.5);
  display: none; justify-content: flex-end;
}
.cart-overlay.open { display: flex; }
.cart-drawer {
  width: min(420px, 100%); background: white; height: 100%; padding: 24px;
  overflow-y: auto; box-shadow: -8px 0 24px rgba(0,0,0,0.2);
}
.cart-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-close { cursor: pointer; font-size: 22px; color: var(--muted); background: none; border: none; }
.cart-empty-msg { color: var(--muted); }
.cart-line {
  border: 1px solid var(--border); border-radius: 10px; padding: 12px; margin-bottom: 10px;
}
.cart-line-top { display: flex; justify-content: space-between; font-weight: 700; }
.cart-line-remove { cursor: pointer; color: var(--red); font-size: 13px; background: none; border: none; }
.cart-line-price { font-size: 13px; color: var(--muted); margin: 4px 0; }
.cart-line-controls { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  cursor: pointer; width: 26px; height: 26px; border-radius: 6px; background: oklch(95% 0.01 85);
  display: flex; align-items: center; justify-content: center; font-weight: 700; border: none;
}
.cart-subtotal-wrap { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 8px; }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 800; font-size: 17px; margin-bottom: 12px; }
.cart-checkout-btn { background: var(--navy); color: white; text-align: center; padding: 13px; border-radius: 8px; font-weight: 700; cursor: pointer; display: block; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--navy); color: white; padding: 16px 24px;
  display: none; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: center;
  animation: slideUp 0.4s ease;
}
.cookie-banner.show { display: flex; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-text { margin: 0; font-size: 13.5px; max-width: 640px; color: oklch(88% 0.01 85); }
.cookie-actions { display: flex; gap: 8px; }
.cookie-reject { cursor: pointer; border: 1px solid oklch(50% 0.02 250); color: white; background: transparent; padding: 9px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; }
.cookie-accept { cursor: pointer; background: var(--gold); color: var(--navy); border: none; padding: 9px 16px; border-radius: 6px; font-size: 13px; font-weight: 700; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  padding: 64px 24px;
}
.hero-grid {
  max-width: 1280px; margin: 0 auto; display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); gap: 48px; align-items: center;
}
.hero-badge {
  display: inline-block; background: var(--gold); color: var(--navy); font-weight: 700;
  font-size: 13px; padding: 6px 12px; border-radius: 20px; margin-bottom: 18px;
}
.hero h1 { color: white; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.1; margin-bottom: 18px; }
.hero-lead { color: oklch(85% 0.02 250); font-size: 17px; line-height: 1.6; max-width: 520px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-stat-num { color: white; font-weight: 800; font-size: 24px; font-family: var(--font-heading); }
.hero-stat-label { color: oklch(70% 0.02 250); font-size: 13px; }
.hero-img { width: 100%; height: 360px; border-radius: 16px; object-fit: cover; background: var(--border); }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { height: 240px; }
}

/* ===== TRUST BAR ===== */
.trust-bar { background: white; border-bottom: 1px solid var(--border-2); padding: 28px 24px; }
.trust-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 20px; }
.trust-item { display: flex; gap: 10px; align-items: flex-start; }
.trust-check { color: var(--green); font-size: 20px; }
.trust-title { font-weight: 700; font-size: 14.5px; }
.trust-sub { font-size: 13px; color: var(--muted); }

/* ===== SECTIONS ===== */
.section { max-width: 1280px; margin: 0 auto; padding: 56px 24px; }
.section-soft { background: var(--bg-soft); padding: 56px 24px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.section-title { font-size: 28px; margin-bottom: 6px; }
.section-sub { color: var(--muted); margin: 0; }
.section h2.centered { font-size: 28px; text-align: center; margin-bottom: 36px; }

.page-hero { max-width: 1280px; margin: 0 auto; padding: 40px 24px 8px; }
.page-hero h1 { font-size: 30px; margin-bottom: 8px; }
.page-hero p { color: var(--muted); margin-bottom: 24px; }

/* ===== CAR CARDS / GRID ===== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 18px; }
.car-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: white; }
.car-card-img { width: 100%; height: 150px; object-fit: cover; background: var(--border); }
.car-card-img.tall { height: 160px; }
.car-card-body { padding: 16px; }
.car-cat { font-size: 11px; font-weight: 700; color: var(--gold-text); text-transform: uppercase; letter-spacing: 0.5px; }
.car-name { font-weight: 700; font-size: 17px; margin: 4px 0 8px; }
.car-meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.car-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; font-size: 12.5px; color: var(--muted-2); margin-bottom: 12px; }
.car-price-row { display: flex; justify-content: space-between; align-items: center; }
.car-price { font-weight: 800; font-size: 19px; }
.car-price.lg { font-size: 20px; }
.car-price-unit { font-size: 12px; color: var(--muted-3); }
.car-actions { display: flex; gap: 6px; }
.btn-add { cursor: pointer; background: var(--navy); color: white; padding: 8px 14px; border-radius: 6px; font-size: 13px; font-weight: 700; border: none; }
.btn-detail { cursor: pointer; border: 1px solid oklch(80% 0.02 250); background: white; padding: 8px 12px; border-radius: 6px; font-size: 13px; font-weight: 700; }

/* ===== FLEET FILTERS ===== */
.category-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.category-filters button {
  cursor: pointer; padding: 9px 16px; border-radius: 20px; font-size: 14px; font-weight: 600;
  background: white; border: 1px solid var(--border); color: #333;
}
.category-filters button.active { background: var(--navy); color: white; border-color: var(--navy); }

/* ===== HOW IT WORKS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 28px; }
.step { text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; margin: 0 auto 14px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }

/* ===== TESTIMONIALS ===== */
.testimonial { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.stars { color: var(--gold); margin-bottom: 8px; }
.testimonial p { font-size: 14.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 12px; }
.testimonial-author { font-weight: 700; font-size: 13.5px; }

/* ===== CTA BAND ===== */
.cta-band { background: var(--navy); padding: 48px 24px; text-align: center; }
.cta-band h2 { color: white; font-size: 26px; margin-bottom: 12px; }
.cta-band p { color: oklch(80% 0.02 250); margin-bottom: 22px; }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(20,20,30,0.55); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: white; border-radius: 14px; max-width: 520px; width: 100%; padding: 28px; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; cursor: pointer; font-size: 20px; color: var(--muted); background: none; border: none; }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; }
table.pricing-table { width: 100%; border-collapse: collapse; background: white; border-radius: 10px; overflow: hidden; }
.pricing-table thead tr { background: var(--navy); color: white; }
.pricing-table th { text-align: right; padding: 12px 14px; font-size: 13.5px; }
.pricing-table th:first-child { text-align: left; }
.pricing-table td { text-align: right; padding: 12px 14px; font-size: 14px; border-bottom: 1px solid var(--border-2); }
.pricing-table td:first-child { text-align: left; font-weight: 700; }
.pricing-table td.strong { font-weight: 700; }

.info-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.info-card h3 { font-size: 15.5px; margin-bottom: 8px; }
.info-card p { font-size: 13.5px; color: var(--muted-2); margin: 4px 0; }

/* ===== INSURANCE TIERS ===== */
.tier-card { border-radius: 14px; padding: 22px; background: white; position: relative; border: 1px solid var(--border); }
.tier-card.highlight { border: 2px solid oklch(58% 0.13 80); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.tier-card h3 { font-size: 19px; margin-bottom: 4px; }
.tier-price { font-weight: 800; font-size: 22px; margin-bottom: 14px; }
.tier-features { font-size: 13.5px; color: var(--text-3); line-height: 1.7; white-space: pre-line; }

/* ===== DELIVERY ===== */
.delivery-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.delivery-card h3 { font-size: 16px; margin-bottom: 6px; }
.delivery-card p { font-size: 13.5px; color: var(--muted-2); margin-bottom: 8px; }
.delivery-price { font-weight: 800; font-size: 18px; }
.delivery-price span { font-weight: 400; font-size: 12.5px; color: var(--muted-3); }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; align-items: center; margin-bottom: 40px; }
.about-img { width: 100%; height: 280px; border-radius: 14px; object-fit: cover; background: var(--border); }
.about-lead { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 14px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 18px; margin-bottom: 40px; }
.stat-item { text-align: center; padding: 18px; }
.stat-num { font-weight: 800; font-size: 26px; font-family: var(--font-heading); }
.stat-label { font-size: 13px; color: var(--muted); }
.legal-box { background: var(--bg-soft); border-radius: 12px; padding: 22px; }
.legal-box h3 { font-size: 16px; margin-bottom: 10px; }
.legal-box p { font-size: 13.5px; color: var(--muted-2); line-height: 1.8; margin: 0; }

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

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; }
.contact-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.contact-card h3 { font-size: 16px; margin-bottom: 12px; }
.contact-card p { font-size: 14px; color: var(--text-3); line-height: 1.9; }
.contact-map-img { width: 100%; height: 220px; border-radius: 12px; object-fit: cover; background: var(--border); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.form-field { padding: 11px; border: 1px solid oklch(85% 0.01 85); border-radius: 7px; font-size: 14px; width: 100%; }
textarea.form-field { resize: vertical; }
.form-col { display: flex; flex-direction: column; gap: 10px; }
.form-submit { cursor: pointer; background: var(--navy); color: white; text-align: center; padding: 12px; border-radius: 8px; font-weight: 700; border: none; width: 100%; font-size: 14px; }
.form-success { text-align: center; padding: 30px 0; }
.form-success-icon { font-size: 32px; margin-bottom: 10px; color: var(--green); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); padding: 0; }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15.5px;
  padding: 16px 0; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 18px; font-weight: 700; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { font-size: 14px; color: var(--muted-2); line-height: 1.7; margin: 0 0 16px; }

/* ===== BLOG ===== */
.blog-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: white; }
.blog-card-img { width: 100%; height: 130px; object-fit: cover; background: var(--border); }
.blog-card-body { padding: 16px; }
.blog-date { font-size: 11.5px; color: var(--muted-3); margin-bottom: 6px; }
.blog-card h3 { font-size: 16px; margin-bottom: 8px; }
.blog-card p { font-size: 13.5px; color: var(--muted-2); line-height: 1.6; margin: 0; }

/* ===== CART PAGE ===== */
.cart-page-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 28px; }
@media (max-width: 800px) { .cart-page-grid { grid-template-columns: 1fr; } }
.option-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.option-pills button {
  cursor: pointer; padding: 10px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  background: white; border: 1px solid var(--border); color: #333;
}
.option-pills button.active { background: var(--navy); color: white; border-color: var(--navy); }
.summary-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.summary-total { border-top: 1px solid var(--border); padding-top: 12px; display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; }
.summary-note { font-size: 12px; color: var(--muted-3); margin-top: 8px; }
.empty-cart-box { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 40px; text-align: center; }

/* ===== LEGAL PAGES ===== */
.legal-content { font-size: 14px; color: var(--text-2); line-height: 1.8; }
.legal-content h3 { font-size: 16px; margin: 20px 0 8px; }

/* ===== FOOTER ===== */
.site-footer { background: oklch(16% 0.02 250); color: oklch(75% 0.02 250); padding: 48px 24px 24px; }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 32px; margin-bottom: 32px; }
.footer-heading { color: white; font-weight: 800; font-size: 17px; margin-bottom: 10px; font-family: var(--font-heading); }
.footer-heading.sm { font-weight: 700; font-size: 14px; }
.footer-col p { font-size: 13px; line-height: 1.8; margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { font-size: 13px; color: oklch(75% 0.02 250); }
.footer-badges { display: flex; gap: 14px; margin-top: 10px; font-size: 11.5px; }
.footer-badges span { border: 1px solid oklch(35% 0.02 250); border-radius: 5px; padding: 5px 8px; }
.footer-bottom { max-width: 1280px; margin: 0 auto; border-top: 1px solid oklch(30% 0.02 250); padding-top: 18px; font-size: 12px; color: oklch(55% 0.02 250); }
