@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --green: #3B6D11;
  --green-light: #EAF3DE;
  --border: #e8e8e8;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
img {
  background: #F0F0EE;
}
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: #FFFFFF;
}
h1, h2, h3, .font-display {
  font-family: 'Inter', sans-serif !important;
}
h1 {
  font-weight: 700 !important;
  font-size: 52px !important;
  line-height: 1.1 !important;
  letter-spacing: -1.5px;
}
h2 {
  font-weight: 600 !important;
  font-size: 30px !important;
  line-height: 1.25 !important;
  letter-spacing: -0.5px;
}
h3 {
  font-weight: 600 !important;
  font-size: 19px !important;
}
.font-display {
  font-weight: 500 !important;
}
@media (max-width: 640px) {
  h1 { font-size: 36px !important; letter-spacing: -0.5px; }
  h2 { font-size: 26px !important; }
  nav > .mx-auto,
  main.mx-auto,
  footer .mx-auto,
  body > div.mx-auto {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
.label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--green);
}
.section-pad {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 640px) {
  .section-pad {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
.field-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
  margin-bottom: 5px;
}
.field-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: #FFFFFF;
  outline: none;
}
.field-input:focus {
  border-color: var(--green);
}
.field-input.field-invalid {
  border-color: #c0392b;
}
input[type="date"].field-input,
.date-field .field-input {
  cursor: pointer;
}
.date-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  position: relative;
}
.date-field .field-input {
  grid-column: 1 / -1;
  grid-row: 1;
  padding-right: 44px;
}
.date-field input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}
.date-field-toggle {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  width: 44px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 0 6px 6px 0;
  margin: 0;
  padding: 0;
}
.date-field-toggle:hover,
.date-field-toggle:focus-visible {
  color: var(--green);
  outline: none;
}
.date-field.dp-open {
  z-index: 20;
}
.dp-popup {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 30;
  width: 268px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.dp-popup[hidden] {
  display: none;
}
.dp-head {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 64px 24px;
  gap: 4px;
  align-items: center;
  margin-bottom: 6px;
}
.dp-nav {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.dp-nav:hover:not(:disabled) {
  background: var(--green-light);
  color: var(--green);
}
.dp-nav:disabled {
  opacity: 0.25;
  cursor: default;
}
.dp-month,
.dp-year {
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--ink);
  background: #fff;
  padding: 0 6px;
  cursor: pointer;
  min-width: 0;
  max-width: 100%;
}
.dp-month:focus,
.dp-year:focus {
  outline: 2px solid var(--green);
  outline-offset: 0;
}
.dp-wdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-bottom: 2px;
}
.dp-wdays span {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  line-height: 20px;
}
.dp-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}
.dp-day {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  justify-self: center;
}
.dp-day:hover:not(:disabled):not(.dp-selected) {
  background: var(--green-light);
}
.dp-day.dp-today {
  color: var(--green);
  font-weight: 600;
}
.dp-day.dp-selected {
  background: var(--green);
  color: #fff;
  font-weight: 600;
}
.dp-day.dp-disabled,
.dp-day.dp-empty {
  cursor: default;
}
.dp-day.dp-disabled {
  color: #d0d0d0;
}
.dp-day.dp-empty {
  visibility: hidden;
}
.field-error {
  display: none;
  font-size: 12px;
  color: #c0392b;
  margin-top: 5px;
  line-height: 1.4;
}
.field-error.show {
  display: block;
}
.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  cursor: pointer;
}
.form-addon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 8px;
  padding: 24px;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: var(--green-light);
}
.form-success.hidden {
  display: none;
}
.form-success-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.3;
}
.form-success-text {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 15px 36px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.footer-legal {
  font-size: 12px;
  color: var(--muted);
}
.footer-legal a {
  color: var(--muted);
  text-decoration: none;
}
.footer-legal a:hover {
  text-decoration: underline;
}
.form-consent a,
.consent-link {
  color: var(--muted);
  text-decoration: underline;
}
nav a.nav-phone-desktop { white-space: nowrap; }
nav .nav-brand { min-width: 0; padding-right: 12px; }
nav .nav-actions { flex-shrink: 0; }
.cf-turnstile { max-width: 100%; }
footer a[href^="mailto:"] {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.nav-phone-mobile {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}

/* Clickable car cards on the homepage */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.car-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.car-card .car-card-body {
  padding: 20px;
}
.card-link:hover .car-card {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.10);
  border-color: var(--green);
}
.card-link:focus-visible .car-card {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.car-card-cta { color: var(--green); }
.card-link:hover .car-card-cta { text-decoration: underline; }

/* Car detail page: spec list */
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.spec-row dt { color: var(--muted); min-width: 0; }
.spec-row dd {
  margin: 0;
  text-align: right;
  min-width: 0;
  flex-shrink: 0;
  max-width: 55%;
}

/* Car detail page: price list */
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.price-row .price-value { font-weight: 500; color: var(--green); min-width: 0; text-align: right; }

/* Photo gallery */
.gallery {
  position: relative;
  aspect-ratio: 16/9;
  background: #F0F0EE;
  overflow: hidden;
  touch-action: pan-y;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.gal-prev { left: 12px; }
.gal-next { right: 12px; }
.gal-counter {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  padding: 2px 8px;
  color: var(--muted);
}

/* Outline button (used on car detail pages) */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--green);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 6px;
  border: 1.5px solid var(--green);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

/* FAQ accordion */
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  padding-bottom: 18px;
  margin: 0;
}

/* Language dropdown */
.lang-dropdown { position: relative; }
.lang-current {
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  padding: 2px 6px;
  user-select: none;
}
.lang-current::-webkit-details-marker { display: none; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  min-width: 56px;
}
a.lang-btn {
  text-decoration: none;
}
.lang-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--muted);
  font-weight: 400;
  text-align: center;
}
.lang-btn[aria-current="true"] {
  font-weight: 600;
  color: #3B6D11;
}
