:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #475569;
  --primary: #dc2626;
  --primary-hover: #b91c1c;
  --primary-soft: #fef2f2;
  --success: #059669;
  --success-soft: #ecfdf5;
  --warning: #d97706;
  --warning-soft: #fffbeb;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 820px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 7px;
}

.brand-tld {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

.show-xs {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 18px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.16s ease;
  font-family: inherit;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: #cbd5e1;
}

.price-strike-inline {
  text-decoration: line-through;
  opacity: 0.78;
  font-weight: 500;
  font-size: 0.88rem;
}

/* Hero */
.hero {
  padding: 56px 0 68px;
  background: radial-gradient(circle at top right, #fff1f2 0%, #ffffff 48%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.pill-alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid #fecaca;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.pill-alert .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 1.08rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item .check {
  color: var(--success);
  font-weight: 800;
}

/* Comparison card */
.comparison-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.comparison-header {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.cost-box {
  border-radius: 12px;
  padding: 16px;
}

.cost-fine {
  background: var(--primary-soft);
  border: 1px solid #fecaca;
}

.cost-invite {
  background: var(--success-soft);
  border: 1px solid #a7f3d0;
}

.cost-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.cost-label strong {
  font-size: 0.98rem;
}

.badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-danger {
  background: #fee2e2;
  color: #b91c1c;
}

.badge-promo {
  background: #dcfce7;
  color: #047857;
}

.cost-amount {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.fine-amount {
  color: var(--primary);
}

.invite-amount {
  color: var(--success);
}

.cost-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.old-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: line-through;
}

.per-day {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cost-note {
  margin: 8px 0 14px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.cost-fine .cost-note {
  margin-bottom: 0;
}

.cost-divider {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  margin: 10px 0;
  text-transform: uppercase;
}

/* Sections */
.section {
  padding: 72px 0;
}

section[id] {
  scroll-margin-top: 68px;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-cta {
  background: #0f172a;
  color: #f8fafc;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Map Card */
.map-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.map-search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #64748b;
}

.search-input-wrap input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.98rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search-input-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.suggestions-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
  z-index: 700;
  max-height: 290px;
  overflow-y: auto;
}

.suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
}

.suggestion-item:hover,
.suggestion-item.active {
  background: var(--bg-alt);
}

.suggestion-main {
  min-width: 0;
}

.suggestion-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.suggestion-tag.inside {
  background: var(--primary-soft);
  color: var(--primary);
}

.suggestion-tag.outside {
  background: var(--success-soft);
  color: var(--success);
}

.quick-examples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.chip {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.14s;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.map-result {
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.map-result.inside {
  background: var(--primary-soft);
  border: 1px solid #fca5a5;
  color: #7f1d1d;
}

.map-result.outside {
  background: var(--success-soft);
  border: 1px solid #6ee7b7;
  color: #064e3b;
}

.map-result.error {
  background: var(--warning-soft);
  border: 1px solid #fcd34d;
  color: #78350f;
}

.map-result-text strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 3px;
}

.map-result-text p {
  margin: 0;
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

.map-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

#zbe-map {
  width: 100%;
  height: 440px;
  z-index: 1;
}

.map-legend {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 500;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(220, 38, 38, 0.28);
  border: 2px solid #dc2626;
}

.map-disclaimer {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.step-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* Trust / Why it works */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.trust-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.trust-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--success);
  background: var(--success-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.trust-card h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  line-height: 1.3;
}

.trust-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* CTA & Form */
.cta-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.cta-info h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.cta-info > p {
  color: #cbd5e1;
  margin: 0 0 24px;
}

.price-summary-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.price-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.93rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-summary-row:last-child {
  border-bottom: none;
}

.price-summary-row .muted {
  color: #94a3b8;
  margin-right: 6px;
}

.retro-box {
  background: rgba(217, 119, 6, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
}

.retro-box strong {
  display: block;
  color: #fde68a;
  margin-bottom: 4px;
}

.retro-box p {
  margin: 0;
  color: #fef3c7;
}

.form-card {
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input[type="email"],
.form-group input[type="text"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.form-group small {
  display: block;
  margin-top: 5px;
  font-size: 0.79rem;
  color: #64748b;
}

.form-group small.retro-active {
  color: var(--warning);
  font-weight: 600;
}

#plate {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
}

#access-dates {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
}

.date-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid #fecaca;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.date-pill button {
  background: none;
  border: none;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  opacity: 0.75;
}

.date-pill button:hover {
  opacity: 1;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.radio-pill {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  cursor: pointer;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
}

.radio-pill span {
  width: 100%;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.15s;
}

.radio-pill input:checked + span {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.total-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}

.total-sub {
  display: block;
  font-size: 0.79rem;
  color: var(--text-muted);
}

.total-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.total-price s {
  color: #94a3b8;
  font-size: 1rem;
}

.total-price strong {
  font-size: 1.55rem;
  color: var(--success);
}

.form-trust-note {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-feedback.success {
  background: var(--success-soft);
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.form-feedback.error {
  background: var(--primary-soft);
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  background: #fff;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg-alt);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer p {
  margin: 4px 0 0;
  font-size: 0.82rem;
}

.footer-contact a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .cta-grid,
  .steps-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .nav a:not(.btn) {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    height: 60px;
    gap: 10px;
  }

  .brand {
    font-size: 0.92rem;
    gap: 7px;
    min-width: 0;
  }

  .brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-badge {
    padding: 3px 7px;
    font-size: 0.68rem;
    flex-shrink: 0;
  }

  .nav {
    gap: 0;
    flex-shrink: 0;
  }

  .nav-cta {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hide-xs {
    display: none;
  }

  .show-xs {
    display: inline;
  }

  .hero {
    padding: 32px 0 44px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 52px 0;
  }

  .map-search-bar {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  #zbe-map {
    height: 360px;
  }

  .form-card,
  .map-card {
    padding: 18px;
  }
}
