:root {
  /* IPSSI-inspired palette: deep navy + lime green + purple */
  --bg: #020817;
  --bg-soft: #070d18;
  --surface: #0b121f;
  --surface-2: #111a2b;
  --text: #f5f8ff;
  --muted: #94a3b8;
  --primary: #bbff34;      /* lime */
  --primary-dark: #9fe80f;
  --accent: #aa34ff;       /* purple */
  --border: #1c2740;
  --ring: rgba(187, 255, 52, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(170, 52, 255, 0.18), transparent 60%),
    radial-gradient(800px 500px at 0% 0%, rgba(187, 255, 52, 0.12), transparent 55%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 8, 23, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 16px var(--ring);
}

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

.nav-links {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: #04140a;
  box-shadow: 0 10px 30px rgba(187, 255, 52, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 14px 38px rgba(187, 255, 52, 0.35);
}

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

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 5rem 0 3rem;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(187, 255, 52, 0.08);
  border: 1px solid rgba(187, 255, 52, 0.25);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  margin: 1.2rem 0 1rem;
  letter-spacing: -0.02em;
}

.hero h1 .hl {
  color: var(--primary);
}

.hero p.lead,
.section p.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 34ch;
}

.section p.lead {
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 1.4rem;
}

.hero-highlights {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--text);
  font-weight: 500;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
}

.hero-highlights li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: rgba(187, 255, 52, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23bbff34' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Hero visual card */
.hero-card {
  position: relative;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 2rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.hero-card .price-tag {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  background: var(--primary);
  color: #04140a;
  font-weight: 800;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.hero-card h3 {
  margin: 1.4rem 0 0.2rem;
  font-size: 1.35rem;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
}

.hero-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Carousel */
.hero-card .price-tag {
  z-index: 3;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(2, 8, 23, 0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  z-index: 2;
}

.carousel-arrow:hover {
  background: var(--primary);
  color: #04140a;
  border-color: var(--primary);
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

.hero-caption {
  min-height: 74px;
}

.hero-caption h3 {
  margin: 1.4rem 0 0.2rem;
  font-size: 1.35rem;
  transition: opacity 0.2s ease;
}

.hero-caption p {
  margin: 0;
  color: var(--muted);
  transition: opacity 0.2s ease;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 1.1rem;
}

.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.dot.active {
  background: var(--primary);
  width: 22px;
  border-radius: 5px;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem 0 2rem;
}

.stats-grid > div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 800;
}

.stats-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 620px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin: 0.3rem 0 0.6rem;
  letter-spacing: -0.02em;
}

/* Fleet */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.car-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.car-card:hover {
  transform: translateY(-6px);
  border-color: rgba(187, 255, 52, 0.4);
}

.car-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border);
}

.car-card-body {
  padding: 1.2rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(170, 52, 255, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.car-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
}

.car-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.car-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.2rem;
}

.car-meta span {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

.car-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 0.5rem;
}

.car-price .amount {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.car-price .unit {
  color: var(--muted);
  font-size: 0.85rem;
}

.car-price .was {
  color: #64748b;
  font-size: 0.8rem;
  text-decoration: line-through;
  margin-left: 0.35rem;
}

.car-footer .btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
}

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

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.6rem;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(187, 255, 52, 0.12);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

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

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.check-list {
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.about-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  padding: 1.8rem;
  border-radius: 22px;
  border: 1px solid var(--border);
}

.about-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.about-card p {
  color: var(--muted);
  margin: 0 0 1.2rem;
}

.about-card .contact-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  margin: 0.4rem 0 0;
}

/* CTA banner (landing page) */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem 2.2rem;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  margin: 0.3rem 0 0.5rem;
  letter-spacing: -0.02em;
}

.cta-banner .lead {
  margin: 0;
}

.cta-banner .btn {
  white-space: nowrap;
  font-size: 1.05rem;
  padding: 1rem 1.6rem;
}

/* Price breakdown box */
.price-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  margin-top: 1rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.3rem 0;
}

.price-row.total {
  margin-top: 0.4rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
}

.price-row.total span:last-child {
  color: var(--primary);
}

/* Terms checkbox */
.booking-form .checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.9rem;
}

.booking-form .checkbox input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--primary);
}

.booking-form .checkbox a {
  color: var(--primary);
}

/* Result action buttons (pay / receipt) */
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.result-actions .btn {
  font-size: 0.9rem;
  padding: 0.7rem 1.1rem;
}

/* Cookie consent bar */
.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cookie-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
  min-width: 240px;
}

.cookie-bar a {
  color: var(--primary);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
}

.cookie-actions .btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
}

/* Legal & FAQ pages */
.legal {
  max-width: 780px;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal a {
  color: var(--primary);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

/* Extend (prolonger) card */
.extend-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.8rem;
}

.extend-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: end;
}

.extend-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}

.extend-form input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: var(--bg-soft);
}

.extend-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}

.extend-form .btn {
  grid-column: 1 / -1;
  justify-content: center;
}

@media (max-width: 760px) {
  .extend-card {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/* Reservation page */
.page-hero {
  padding: 3rem 0 1rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  margin: 0.6rem 0 0.8rem;
  letter-spacing: -0.02em;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.back-link:hover {
  color: var(--primary);
}

/* Booking */
.booking-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--surface);
  padding: 1.6rem;
  border-radius: 22px;
  border: 1px solid var(--border);
}

.booking-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}

.booking-form label.full {
  grid-column: 1 / -1;
}

.booking-form input,
.booking-form select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: var(--bg-soft);
}

.booking-form input:focus,
.booking-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}

.booking-form input::placeholder {
  color: #54627a;
}

.booking-form button {
  grid-column: 1 / -1;
  justify-content: center;
}

/* Availability panel */
.availability {
  margin-top: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
}

.availability-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.availability-head strong {
  font-size: 1.05rem;
}

.muted {
  color: var(--muted);
}

.avail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.avail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.92rem;
}

.avail-item .avail-count {
  font-weight: 700;
  color: var(--primary);
}

.avail-item.out {
  opacity: 0.65;
}

.avail-item.out .avail-count {
  color: #f87171;
}

.avail-total {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
}

.id-note {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
  background: rgba(170, 52, 255, 0.08);
  border: 1px solid rgba(170, 52, 255, 0.25);
  padding: 0.8rem 1rem;
  border-radius: 12px;
}

/* Form groups */
.form-group-title {
  margin: 0.4rem 0 -0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.form-hint {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
  color: var(--muted);
}

.form-hint.ok {
  color: var(--primary);
}

.form-hint.ko {
  color: #f87171;
}

.form-result {
  margin: 0.4rem 0 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  font-size: 0.94rem;
  line-height: 1.5;
}

.form-result.success {
  background: rgba(187, 255, 52, 0.1);
  border: 1px solid rgba(187, 255, 52, 0.35);
  color: var(--text);
}

.form-result.error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.form-result b {
  color: var(--primary);
}

code {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
  font-size: 0.85em;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid h4 {
  color: var(--text);
  font-size: 0.95rem;
  margin: 0 0 0.8rem;
}

.footer-grid a,
.footer-grid p {
  color: var(--muted);
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
}

.footer-grid a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nav-links {
    display: none;
  }
  .fleet-grid {
    grid-template-columns: 1fr;
  }
  .booking-form {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 3rem;
  }
}

/* ============ Additions: accounts, vehicle detail, reviews, contact, calendar, i18n ============ */

/* textarea to match inputs */
.booking-form textarea,
.review-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: var(--bg-soft);
  resize: vertical;
}
.booking-form textarea:focus,
.review-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-left: 0.5rem;
}
.lang-toggle button {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}
.lang-toggle button.active {
  background: var(--primary);
  color: #04140a;
}

/* Account page */
.account-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.5rem;
}
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.my-res {
  display: grid;
  gap: 1rem;
}
.myres-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
}
.myres-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}
.myres-top .ref {
  color: var(--primary);
  font-weight: 800;
  margin-right: 0.3rem;
}
.myres-price {
  margin-left: auto;
  font-weight: 800;
  font-size: 1.2rem;
}
.myres-body {
  color: var(--text);
  margin-bottom: 0.8rem;
}
.myres-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.myres-actions .btn {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn-danger {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

/* Vehicle detail */
.vehicle-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 1rem;
}
.vehicle-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--border);
}
.vd-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.8rem;
  margin: 1.4rem 0;
}
.vd-spec {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
}
.vd-spec span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.vd-spec b {
  font-size: 1.05rem;
}
.vd-rating {
  margin-bottom: 1.2rem;
  color: var(--muted);
}
.stars {
  color: var(--primary);
  letter-spacing: 2px;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
}
.review-card p {
  margin: 0.5rem 0;
  color: var(--text);
}
.review-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  max-width: 640px;
}
.review-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.8rem;
}
.review-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}
.review-form label.full,
.review-form .full {
  grid-column: 1 / -1;
}
.review-form input,
.review-form select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: var(--bg-soft);
}
.review-form button {
  grid-column: 1 / -1;
  justify-self: start;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}
.contact-card .contact-line {
  margin: 0.5rem 0;
}
.contact-card a {
  color: var(--primary);
}
.map-wrap {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}

/* Availability calendar */
.calendar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  margin-top: 1rem;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}
.cal-head button {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font: inherit;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-dow {
  text-align: center;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  padding-bottom: 4px;
}
.cal-cell {
  aspect-ratio: 1;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  border: 1px solid transparent;
}
.cal-cell.free {
  background: rgba(187, 255, 52, 0.12);
  color: var(--text);
}
.cal-cell.low {
  background: rgba(245, 158, 11, 0.16);
  color: #f59e0b;
}
.cal-cell.full {
  background: rgba(239, 68, 68, 0.14);
  color: #ef4444;
  text-decoration: line-through;
}
.cal-cell .n {
  font-size: 0.6rem;
  opacity: 0.8;
}
.cal-legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.cal-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: middle;
}

@media (max-width: 820px) {
  .auth-grid,
  .vehicle-detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .vehicle-photo img {
    height: 300px;
  }
}
