/* EuroSport Autos — Design System */
:root {
  --es-red: #D91F26;
  --es-red-dark: #B11820;
  --es-navy: #121A44;
  --es-navy-2: #1F2A66;
  --es-ink: #0F1330;
  --es-muted: #5B6075;
  --es-line: #E5E7EE;
  --es-bg: #FFFFFF;
  --es-soft: #F6F7FB;
  --es-soft-2: #EEF0F7;
  --es-yellow: #F5C518;
  --es-green: #1FA463;
  --es-radius-sm: 8px;
  --es-radius: 14px;
  --es-radius-lg: 22px;
  --es-shadow-sm: 0 2px 6px rgba(15, 19, 48, 0.06);
  --es-shadow: 0 8px 24px rgba(15, 19, 48, 0.08);
  --es-shadow-lg: 0 22px 48px -16px rgba(15, 19, 48, 0.22);
  --es-font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --es-display: "Plus Jakarta Sans", "Inter", Helvetica, Arial, sans-serif;
}

/* Reset within artboards */
.es-root *, .es-root *::before, .es-root *::after { box-sizing: border-box; }
.es-root {
  font-family: var(--es-font);
  color: var(--es-ink);
  background: var(--es-bg);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
.es-root h1, .es-root h2, .es-root h3, .es-root h4 {
  font-family: var(--es-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--es-navy);
  text-wrap: balance;
}
.es-root p { margin: 0; }
.es-root button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.es-root input, .es-root select, .es-root textarea { font: inherit; color: inherit; }
.es-root a { color: inherit; text-decoration: none; }

/* Layout */
.es-container { max-width: 1280px; margin: 0 auto; padding: 0 56px; }

/* Header */
.es-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 238, 0.7);
}
.es-header .es-container { max-width: 1480px; padding: 0 40px; }
.es-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 104px;
  gap: 24px;
}
.es-logo { height: 64px; display: block; }
.es-nav { display: flex; align-items: center; gap: 22px; flex: 1; justify-content: center; flex-wrap: nowrap; }
.es-nav a {
  font-size: 13px; font-weight: 600; color: var(--es-navy);
  position: relative; padding: 8px 0; letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap;
}
.es-nav a:hover { color: var(--es-red); }
.es-nav a.active { color: var(--es-navy); font-weight: 700; }
.es-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2.5px; background: var(--es-red); border-radius: 2px;
}
.es-header-cta { display: flex; align-items: center; gap: 12px; }

/* Buttons */
.es-root .es-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
  border: 0;
}
.es-root .es-btn-primary {
  background: var(--es-red); color: #fff;
  box-shadow: 0 10px 22px -8px rgba(217, 31, 38, 0.50);
}
.es-root .es-btn-primary:hover { background: var(--es-red-dark); transform: translateY(-1px); }
.es-root .es-btn-secondary {
  background: var(--es-navy); color: #fff;
}
.es-root .es-btn-secondary:hover { background: var(--es-navy-2); }
.es-root .es-btn-outline {
  background: #fff; color: var(--es-navy); border: 1.5px solid var(--es-line);
}
.es-root .es-btn-outline:hover { border-color: var(--es-navy); }
.es-root .es-btn-wa {
  background: #25D366; color: #fff;
}
.es-root .es-btn-ghost { background: transparent; color: var(--es-ink); }
.es-root .es-btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.es-root .es-btn-lg { height: 56px; padding: 0 28px; font-size: 15px; }
.es-root .es-btn-full { width: 100%; }

/* Phone / WhatsApp pill — solid navy in header */
.es-root .es-wa-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--es-navy); border: 0;
  height: 48px; padding: 0 22px 0 8px; border-radius: 999px;
  font-weight: 700; font-size: 14px; color: #fff;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -8px rgba(18, 26, 68, 0.45);
  transition: background .15s ease, transform .15s ease;
}
.es-root .es-wa-pill:hover { background: var(--es-navy-2); transform: translateY(-1px); }
.es-root .es-wa-pill .es-wa-icon {
  width: 32px; height: 32px; border-radius: 999px; background: #fff;
  display: grid; place-items: center; color: var(--es-navy);
}
.es-root .es-wa-pill.es-wa-green { background: #25D366; }
.es-root .es-wa-pill.es-wa-green .es-wa-icon { background: #fff; color: #25D366; }
.es-root .es-wa-pill small { color: rgba(255,255,255,0.7); font-weight: 500; }

/* Pills / tags */
.es-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
}
.es-tag-success { background: rgba(31,164,99,0.12); color: #157a4a; }
.es-tag-info { background: rgba(27,31,77,0.08); color: var(--es-navy); }
.es-tag-red { background: rgba(216,35,42,0.10); color: var(--es-red); }
.es-tag-soft { background: var(--es-soft-2); color: var(--es-navy); }

/* Trust strip */
.es-trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--es-line);
  border-radius: var(--es-radius-lg);
  overflow: hidden;
  box-shadow: var(--es-shadow);
}
.es-trust-item {
  padding: 22px 24px;
  border-right: 1px solid var(--es-line);
  display: flex; gap: 14px; align-items: flex-start;
}
.es-trust-item:last-child { border-right: 0; }
.es-trust-item .es-trust-icon {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 12px;
  background: rgba(27,31,77,0.06); color: var(--es-navy);
  display: grid; place-items: center;
}
.es-trust-item h4 { font-size: 14px; margin-bottom: 4px; color: var(--es-navy); }
.es-trust-item p { font-size: 12.5px; color: var(--es-muted); line-height: 1.4; }

/* Section */
.es-section { padding: 96px 0; }
.es-section-tight { padding: 72px 0; }
.es-eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 11.5px; font-weight: 700; color: var(--es-red);
}
.es-section-title {
  font-size: 44px; line-height: 1.08; letter-spacing: -0.025em;
  margin-top: 12px; max-width: 720px;
}
.es-section-sub {
  margin-top: 16px; font-size: 16px; color: var(--es-muted); max-width: 640px;
}
.es-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 32px; }

/* Footer */
.es-footer {
  background: var(--es-navy); color: #fff;
  padding: 72px 0 32px;
}
.es-footer h5 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.15em;
  margin: 0 0 18px; color: rgba(255,255,255,0.55); font-weight: 600;
}
.es-footer a { color: rgba(255,255,255,0.85); font-size: 14px; display: block; padding: 5px 0; }
.es-footer a:hover { color: #fff; }
.es-footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 56px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.es-footer-bottom {
  margin-top: 24px; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.es-footer-logo {
  background: #fff; padding: 10px 14px; border-radius: 10px;
  display: inline-block; margin-bottom: 22px;
}
.es-footer-logo img { height: 38px; display: block; }
.es-social {
  display: flex; gap: 10px; margin-top: 18px;
}
.es-social a {
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center; padding: 0;
}
.es-social a:hover { background: var(--es-red); }

/* Vehicle card */
.es-vcard {
  background: #fff; border: 1px solid var(--es-line);
  border-radius: var(--es-radius-lg); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.es-vcard:hover { transform: translateY(-4px); box-shadow: var(--es-shadow-lg); border-color: transparent; }
.es-vcard-img {
  aspect-ratio: 16 / 10; position: relative;
  background: linear-gradient(135deg, #EEF0F7 0%, #DDE1EE 100%);
  overflow: hidden;
}
.es-vcard-img > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.es-vcard-tag { position: absolute; top: 14px; left: 14px; }
.es-vcard-fav {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 999px; background: rgba(255,255,255,0.92);
  display: grid; place-items: center; backdrop-filter: blur(6px);
}
.es-vcard-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.es-vcard-title { font-size: 18px; font-weight: 700; color: var(--es-navy); letter-spacing: -0.015em; line-height: 1.2; }
.es-vcard-year { font-size: 13px; color: var(--es-muted); }
.es-vcard-price { font-size: 26px; font-weight: 800; color: var(--es-ink); letter-spacing: -0.025em; font-family: var(--es-display); }
.es-vcard-specs {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 14px; border-top: 1px solid var(--es-line);
}
.es-vcard-spec {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--es-muted); padding: 4px 10px;
  background: var(--es-soft); border-radius: 999px;
}
.es-vcard-actions { display: flex; gap: 8px; margin-top: auto; }
.es-vcard-actions .es-btn { flex: 1; height: 42px; font-size: 13px; padding: 0 12px; }

/* Forms */
.es-field { display: flex; flex-direction: column; gap: 8px; }
.es-field label { font-size: 13px; font-weight: 600; color: var(--es-navy); }
.es-field label .req { color: var(--es-red); }
.es-input, .es-select, .es-textarea {
  width: 100%; height: 48px; padding: 0 16px;
  background: #fff;
  border: 1.5px solid var(--es-line);
  border-radius: 12px; font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.es-textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.45; }
.es-input:focus, .es-select:focus, .es-textarea:focus {
  outline: 0; border-color: var(--es-navy);
  box-shadow: 0 0 0 4px rgba(27,31,77,0.08);
}
.es-select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%231B1F4D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 40px; }

/* Card */
.es-card {
  background: #fff; border: 1px solid var(--es-line);
  border-radius: var(--es-radius-lg); padding: 28px;
}
.es-card-dark {
  background: var(--es-navy); color: #fff; border: 0;
  border-radius: var(--es-radius-lg); padding: 28px;
}
.es-card-dark h3, .es-card-dark h4 { color: #fff; }

/* Misc */
.es-divider { height: 1px; background: var(--es-line); margin: 56px 0; }
.es-strike { text-decoration: line-through; color: var(--es-muted); }

/* Stars */
.es-stars { color: var(--es-yellow); letter-spacing: 1px; font-size: 14px; }

/* Avatar stack */
.es-avatars { display: flex; align-items: center; }
.es-avatars .es-avatar {
  width: 46px; height: 46px; border-radius: 999px;
  border: 3px solid #fff; margin-left: -14px;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 13px;
  box-shadow: 0 4px 10px -4px rgba(15,19,48,0.25);
  overflow: hidden; position: relative;
}
.es-avatars .es-avatar:first-child { margin-left: 0; }
.es-avatars .es-avatar.es-avatar-num {
  background: var(--es-navy);
  font-family: var(--es-display); letter-spacing: 0.01em;
}
.es-avatars .es-avatar-photo {
  background-size: cover; background-position: center;
}

/* Decorative curves */
.es-curve-bg {
  position: absolute; pointer-events: none; overflow: hidden;
  inset: 0; z-index: 0;
}
.es-curve-bg svg { width: 100%; height: 100%; }

/* Placeholder car illustration */
.es-car-ph {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(27,31,77,0.04) 0 12px, rgba(27,31,77,0.08) 12px 24px),
    linear-gradient(135deg, #EEF0F7, #DDE1EE);
  display: grid; place-items: center;
  position: relative;
}
.es-car-ph::after {
  content: attr(data-label);
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(15,19,48,0.7); color: #fff;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px; padding: 4px 8px; border-radius: 4px;
  letter-spacing: 0.04em;
}

/* Steps */
.es-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.es-step {
  background: #fff; border: 1px solid var(--es-line);
  border-radius: var(--es-radius); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.es-step-num {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--es-navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
  font-family: var(--es-display);
}
.es-step h4 { font-size: 14px; color: var(--es-navy); line-height: 1.25; }
.es-step p { font-size: 12px; color: var(--es-muted); }

/* Service cards */
.es-svc {
  background: #fff; border: 1px solid var(--es-line);
  border-radius: var(--es-radius-lg); padding: 32px 26px;
  transition: all .2s ease;
}
.es-svc:hover { border-color: var(--es-navy); box-shadow: var(--es-shadow); }
.es-svc-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(27,31,77,0.06); color: var(--es-navy);
  display: grid; place-items: center; margin-bottom: 20px;
}
.es-svc h3 { font-size: 18px; margin-bottom: 8px; }
.es-svc p { font-size: 13.5px; color: var(--es-muted); line-height: 1.5; }

/* Testimonial */
.es-testi {
  background: #fff; border: 1px solid var(--es-line);
  border-radius: var(--es-radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.es-testi-head { display: flex; gap: 14px; align-items: center; }
.es-testi-avatar {
  width: 56px; height: 56px; border-radius: 999px;
  background: linear-gradient(135deg, #C6CADD, #6B72A3);
  display: grid; place-items: center; color: #fff; font-weight: 700;
  flex: 0 0 56px;
}
.es-testi-name { font-weight: 700; font-size: 15px; color: var(--es-navy); }
.es-testi-vehicle { font-size: 12.5px; color: var(--es-muted); }
.es-testi p { font-size: 14px; color: var(--es-ink); line-height: 1.55; }
.es-testi:before { content: "“"; font-family: Georgia, serif; font-size: 56px; color: var(--es-red); line-height: 0.5; font-weight: 700; margin-bottom: -10px; }

/* Catalog filters */
.es-filters {
  background: #fff; border: 1px solid var(--es-line);
  border-radius: var(--es-radius-lg); padding: 22px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.es-filter label { display: block; font-size: 11px; font-weight: 700; color: var(--es-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; }
.es-chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.es-chip {
  padding: 8px 14px; border-radius: 999px;
  background: var(--es-soft); color: var(--es-navy);
  font-size: 13px; font-weight: 600; border: 1.5px solid transparent;
}
.es-chip.active { background: var(--es-navy); color: #fff; }

/* Detail */
.es-gallery-main {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--es-radius-lg); overflow: hidden;
  border: 1px solid var(--es-line);
  background: #f0f2f8;
}
.es-gallery-main > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.es-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.es-thumb {
  flex: 0 0 110px; height: 74px;
  border-radius: 10px; overflow: hidden;
  border: 2px solid transparent;
  background: #f0f2f8; padding: 0; cursor: pointer;
}
.es-thumb > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.es-thumb.active { border-color: var(--es-red); }

.es-spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.es-spec {
  background: #fff; border: 1px solid var(--es-line);
  border-radius: 14px; padding: 18px;
}
.es-spec-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--es-muted); font-weight: 600; }
.es-spec-value { font-size: 16px; font-weight: 700; color: var(--es-navy); margin-top: 6px; letter-spacing: -0.015em; }

.es-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.es-feature-list li {
  list-style: none; display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--es-ink); padding: 4px 0;
}
.es-feature-list li svg { color: var(--es-green); flex: 0 0 18px; }

/* Quote view */
.es-warning-bar {
  background: linear-gradient(90deg, rgba(245,197,24,0.18), rgba(245,197,24,0.04));
  border: 1px solid rgba(245,197,24,0.5);
  border-radius: 14px; padding: 16px 20px;
  display: flex; gap: 14px; align-items: flex-start;
}
.es-warning-bar .es-warning-icon { color: #B97C00; flex: 0 0 24px; margin-top: 1px; }
.es-warning-bar p { font-size: 13.5px; color: #6E4B00; line-height: 1.5; }
.es-warning-bar strong { color: #4D3300; }

/* CTA big */
.es-cta-final {
  background: var(--es-navy);
  color: #fff;
  border-radius: 28px;
  padding: 64px 72px;
  position: relative; overflow: hidden;
}
.es-cta-final h2 { color: #fff; font-size: 42px; max-width: 540px; }
.es-cta-final p { color: rgba(255,255,255,0.75); margin-top: 16px; max-width: 480px; font-size: 16px; }

/* Hero specific */
.es-hero {
  position: relative; overflow: hidden;
  padding: 0;
  background: #fff;
  min-height: 920px;
}
.es-hero-bg {
  position: absolute; inset: 0;
  background-image: url("assets/hero-bg.jpeg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}
/* Subtle left wash so the copy stays readable over the photo */
.es-hero-wash {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.65) 30%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 60%);
  z-index: 1;
  pointer-events: none;
}
.es-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: center;
  padding: 70px 0 40px;
  position: relative;
  z-index: 2;
}
.es-hero h1 {
  font-size: 64px; line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 800; color: var(--es-navy);
}
.es-hero h1 .es-red-line { color: var(--es-red); display: block; }
.es-hero-sub {
  margin-top: 24px; font-size: 15.5px; color: var(--es-navy);
  max-width: 420px; line-height: 1.6; opacity: 0.75; font-weight: 500;
}
.es-hero-ctas { margin-top: 36px; display: flex; gap: 14px; }
.es-hero-stats { margin-top: 36px; display: flex; gap: 18px; align-items: center; }

/* Trust container — soft rounded with vertical dividers */
.es-hero-trust {
  position: relative; z-index: 3;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 32px 60px -28px rgba(15,19,48,0.22), 0 2px 8px rgba(15,19,48,0.05);
  padding: 26px 8px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-bottom: 0;
}
.es-hero-trust-item {
  padding: 6px 24px;
  border-right: 1px solid rgba(18, 26, 68, 0.10);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px;
}
.es-hero-trust-item:last-child { border-right: 0; }
.es-hero-trust-item h4 {
  font-size: 16px; font-weight: 700; color: var(--es-navy); line-height: 1.18;
  letter-spacing: -0.01em;
}
.es-hero-trust-item p {
  font-size: 12.5px; color: var(--es-muted); line-height: 1.5; max-width: 200px;
  margin-top: 4px;
}
.es-hero-trust-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  color: var(--es-navy);
}

/* Location */
.es-loc-map {
  aspect-ratio: 4/3; border-radius: var(--es-radius-lg); overflow: hidden;
  border: 1px solid var(--es-line); position: relative;
  background: linear-gradient(135deg, #EEF0F7 0%, #DDE1EE 100%);
}

/* Related */
.es-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
