:root {
  --color-bg: #0c0e12;
  --color-surface: #ffffff;
  --color-muted: #5c6573;
  --color-accent: #c8102e;
  --color-accent-hover: #a30d25;
  --header-h: 72px;
  --scroll-anchor-offset: calc(var(--header-h) + 16px);
  --radius: 12px;
  --shadow: 0 18px 50px rgba(12, 14, 18, 0.12);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-anchor-offset);
}

/* 锚点区块：避免 sticky 顶栏挡住 section 标题 */
#modelos,
#concesionario,
#dealer-heading,
#nosotros,
#novedades {
  scroll-margin-top: var(--scroll-anchor-offset);
}

body {
  margin: 0;
  font-family: var(--font);
  color: #1a1f26;
  background: #f4f5f7;
  line-height: 1.55;
  overflow-anchor: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(12, 14, 18, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: none;
  margin: 0;
  padding: 0 max(24px, env(safe-area-inset-right)) 0
    max(12px, env(safe-area-inset-left));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  padding-left: 4px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
}

.nav-toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  margin-left: auto;
  flex: 1;
  justify-content: flex-end;
}

.site-nav-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s, border-color 0.2s;
}

.btn-nav-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-nav-cta--primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-nav-cta--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.nav-dropdown-wrap {
  position: relative;
}

.nav-dropdown-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger[aria-expanded="true"] {
  color: #fff;
  border-bottom-color: var(--color-accent);
}

.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(260px, calc(100vw - 32px));
  padding: 0;
  background: #fff;
  color: #1a1f26;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 70;
  overflow: hidden;
}

.nav-dropdown-panel.is-open {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: min(56vh, 360px);
  overflow-y: auto;
}

.nav-dropdown-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(26, 31, 38, 0.06);
}

.nav-dropdown-group:last-child {
  border-bottom: 0;
}

.nav-dropdown-cat {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  line-height: 1.1;
}

.nav-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-dropdown-list li {
  display: block;
}

.nav-dropdown-panel .nav-dropdown-list a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  border-bottom: none;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.2;
  color: #1a1f26;
  box-sizing: border-box;
}

.nav-dropdown-panel .nav-dropdown-list a:hover {
  color: var(--color-accent);
  background: rgba(200, 16, 46, 0.06);
}

.mobile-nav-models {
  display: none;
}

.site-nav-title {
  display: none;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
}

.site-nav-links > a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav-links > a:hover {
  color: #fff;
  border-bottom-color: var(--color-accent);
}

.site-nav-lang {
  flex-shrink: 0;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.nav-backdrop.is-visible {
  display: block;
}

body.nav-open {
  overflow: hidden;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn.is-active {
  color: #fff;
  background: var(--color-accent);
}

.lang-btn + .lang-btn {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #0c0e12;
}

.hero-carousel-wrap {
  min-height: 0;
}

.hero-carousel-panel--mobile {
  display: none;
}

.hero-carousel-viewport--desktop {
  aspect-ratio: 21 / 9;
  min-height: min(72vh, 640px);
  max-height: min(88vh, 820px);
}

.hero-carousel-viewport--mobile {
  aspect-ratio: 425 / 532;
  min-height: min(62vh, 560px);
  max-height: 72vh;
}

.hero-carousel-viewport--mobile .hero-carousel-slide img {
  object-fit: cover;
  object-position: center;
}

.hero-carousel {
  position: relative;
  width: 100%;
  outline: none;
}

.hero-carousel-viewport {
  overflow: hidden;
  width: 100%;
  background: #0c0e12;
}

.hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  min-width: 100%;
}

.hero-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 14, 18, 0.45);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s, transform 0.2s;
}

.hero-carousel-arrow:hover {
  background: rgba(12, 14, 18, 0.72);
}

.hero-carousel-prev {
  left: max(16px, env(safe-area-inset-left));
}

.hero-carousel-next {
  right: max(16px, env(safe-area-inset-right));
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 2;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.hero-carousel-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.hero-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 28px 40px;
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.hero-eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.12;
  margin: 0 0 16px;
  font-weight: 700;
  max-width: 14ch;
}

.hero p {
  margin: 0 0 28px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.hero-media picture,
.hero-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: min(100%, 680px);
}

.hero-media img {
  height: auto;
  border-radius: 14px;
  object-fit: contain;
  object-position: center;
  background: rgba(14, 18, 26, 0.55);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.28));
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(200, 16, 46, 0.35);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.section-header .section-title {
  margin: 0;
}

.section-more-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(26, 31, 38, 0.12);
  background: #fff;
  color: #1a1f26;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(12, 14, 18, 0.06);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.section-more-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.section-more-btn:active {
  transform: scale(0.98);
}

.section-title {
  font-size: 1.75rem;
  margin: 0 0 8px;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 100;
  transform: translateX(-50%) translateY(12px);
  padding: 14px 22px;
  border-radius: 12px;
  background: rgba(12, 14, 18, 0.92);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.section-note {
  margin: 0 0 32px;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.model-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(12, 14, 18, 0.16);
}

.model-visual {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #f0f2f6, #e2e6ee);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.model-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  clip-path: inset(0 round 8px);
}

.model-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.model-card-desc {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.model-cat-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.model-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.model-cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(26, 31, 38, 0.12);
  background: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

.model-cat-btn.is-active,
.model-cat-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.dealer-section {
  padding-top: 0;
}

.dealer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dealer-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.dealer-text {
  padding: 32px 32px 32px 0;
}

.dealer-meta {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  color: var(--color-muted);
  line-height: 1.8;
}

.dealer-meta a {
  color: var(--color-accent);
  font-weight: 600;
}

.page-main {
  padding-top: var(--header-h);
  min-height: 60vh;
}

.page-title {
  margin: 0 0 12px;
  font-size: 2rem;
}

.page-intro {
  margin: 0 0 28px;
  color: var(--color-muted);
}

.page-form-section {
  max-width: 520px;
}

.site-form {
  display: grid;
  gap: 16px;
}

.site-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-form input,
.site-form select,
.site-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid rgba(26, 31, 38, 0.15);
  border-radius: 10px;
  background: #fff;
}

.btn-block {
  width: 100%;
  margin-top: 8px;
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(26, 31, 38, 0.15);
  color: #1a1f26;
  background: #fff;
}

.model-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.model-detail-media {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.model-detail-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  clip-path: inset(0 round 8px);
}

.model-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.workshop-video {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.workshop-video img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.dealer-meta--page {
  margin-bottom: 24px;
}

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

.model-body {
  padding: 20px 20px 22px;
}

.model-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.model-price {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin: 0 0 4px;
}

.model-price strong {
  color: #1a1f26;
  font-size: 1.1rem;
}

.model-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(200, 16, 46, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.about-card {
  background: var(--color-surface);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

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

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.news-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.news-card p {
  margin: 0;
  flex: 1;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.link-arrow {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent);
}

.news-more-btn {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.2s;
}

.news-more-btn:hover {
  opacity: 0.82;
}

body.news-modal-open {
  overflow: hidden;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px
    max(16px, env(safe-area-inset-bottom));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.news-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.news-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, 0.62);
  backdrop-filter: blur(4px);
}

.news-modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(88vh, 900px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(12, 14, 18, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(12, 14, 18, 0.06);
  color: #1a1f26;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.news-modal-close:hover {
  background: rgba(12, 14, 18, 0.12);
}

.news-modal-scroll {
  overflow-y: auto;
  padding: 28px 24px 32px;
}

.news-modal-title {
  margin: 0 0 20px;
  padding-right: 36px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.35;
  font-weight: 700;
  color: #1a1f26;
}

.news-modal-body {
  color: #3a424e;
  font-size: 0.95rem;
  line-height: 1.75;
}

.news-article-h {
  margin: 28px 0 12px;
  font-size: 1.08rem;
  line-height: 1.4;
  color: #1a1f26;
}

.news-article-h:first-child {
  margin-top: 0;
}

.news-article-p {
  margin: 0 0 14px;
}

.news-article-figure {
  margin: 18px 0;
}

.news-article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 600px) {
  .news-modal-scroll {
    padding: 22px 16px 24px;
  }

  .news-modal-title {
    font-size: 1.15rem;
  }
}

.site-footer--mega {
  background: #000000;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding: 48px 24px 96px;
  font-size: 0.94rem;
}

.footer-mega-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-col-title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col-list li + li {
  margin-top: 10px;
}

.footer-col-list a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col-list a:hover {
  opacity: 0.75;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.95;
  transition: opacity 0.2s, transform 0.2s;
}

.footer-social-link:hover {
  opacity: 0.65;
  transform: translateY(-2px);
}

.footer-mega-mid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 32px 0 28px;
}

.footer-complaints {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #7ec8ff;
  transition: opacity 0.2s, transform 0.2s;
}

.footer-complaints:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.footer-complaints-text {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 11em;
  line-height: 1.25;
}

.footer-mega-legal {
  margin: 0;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}

#footer-year {
  font-weight: 600;
}

@media (max-width: 768px) {
  .footer-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .footer-mega-mid {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .footer-mega-grid {
    grid-template-columns: 1fr;
  }

  .footer-mega-legal {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(300px, 86vw);
    max-height: calc(100vh - var(--header-h));
    margin: 0;
    padding: 20px 20px 28px;
    background: #0c0e12;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    pointer-events: none;
  }

  .site-nav.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .site-nav-title {
    display: block;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1rem;
  }

  .site-nav-links a:hover {
    border-bottom-color: rgba(255, 255, 255, 0.06);
    color: var(--color-accent);
  }

  .site-nav-lang {
    margin-top: 20px;
    align-self: center;
  }

  .site-nav-ctas {
    flex-direction: column;
    align-items: stretch;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .btn-nav-cta {
    justify-content: center;
  }

  .nav-dropdown-wrap {
    width: 100%;
  }

  .nav-dropdown-trigger {
    width: 100%;
    text-align: left;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-dropdown-panel {
    position: static;
    display: none;
    width: 100%;
    height: auto;
    min-height: 0;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    color: #fff;
    margin-bottom: 4px;
    border-radius: 8px;
    padding: 6px 10px;
    overflow: visible;
  }

  .nav-dropdown-panel.is-open {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    gap: 0;
  }

  .nav-dropdown-group {
    flex: none;
    padding: 4px 0;
  }

  .nav-dropdown-list {
    flex: none;
  }

  .nav-dropdown-list li {
    flex: none;
    min-height: 0;
  }

  .nav-dropdown-panel .nav-dropdown-list a {
    min-height: 30px;
    color: rgba(255, 255, 255, 0.92);
  }

  .nav-dropdown-panel .nav-dropdown-list a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-dropdown-cat {
    color: rgba(255, 255, 255, 0.5);
  }

  .mobile-nav-models {
    display: none !important;
  }

  .dealer-inner {
    grid-template-columns: 1fr;
  }

  .dealer-text {
    padding: 24px;
  }

  .model-detail {
    grid-template-columns: 1fr;
  }

  .hero-carousel-panel--desktop {
    display: none;
  }

  .hero-carousel-panel--mobile {
    display: block;
  }

  .hero-carousel-viewport--mobile {
    min-height: min(58vh, 520px);
    max-height: 70vh;
  }

  .hero-carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero-carousel-viewport--mobile {
    min-height: min(54vh, 480px);
  }

  .lang-btn {
    padding: 8px 10px;
    font-size: 0.72rem;
  }
}

.float-wa {
  position: fixed;
  z-index: 80;
  right: max(16px, env(safe-area-inset-right, 0px));
  top: calc(50% + 88px);
  transform: translateY(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 88px;
  max-width: 108px;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: #25d366;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.float-wa span {
  display: block;
}

.float-wa:hover {
  transform: translateY(calc(-50% - 2px)) scale(1.02);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5);
}

.float-wa:active {
  transform: translateY(-50%) scale(0.98);
}

.float-wa-icon {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .float-wa {
    right: max(10px, env(safe-area-inset-right, 0px));
    min-width: 76px;
    max-width: 92px;
    padding: 10px 10px;
    font-size: 0.66rem;
  }

  .float-wa-icon {
    width: 20px;
    height: 20px;
  }
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: min(960px, calc(100vw - 32px));
  padding: 20px 22px 18px;
  border-radius: 16px;
  background: #fff;
  color: #1a1f26;
  box-shadow: 0 16px 48px rgba(12, 14, 18, 0.18);
  transform: translateX(-50%) translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.cookie-consent.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-consent-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5c6573;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cookie-consent-close:hover {
  background: rgba(12, 14, 18, 0.06);
  color: #1a1f26;
}

.cookie-consent-main {
  display: flex;
  align-items: center;
  gap: 20px 24px;
  padding-right: 28px;
}

.cookie-consent-copy {
  flex: 1;
  min-width: 0;
}

.cookie-consent-text {
  margin: 0 0 8px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #3a424e;
}

.cookie-consent-more {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #5c6573;
}

.cookie-consent-rules {
  color: #1a6fd4;
  font-weight: 600;
  text-decoration: none;
}

.cookie-consent-rules:hover {
  text-decoration: underline;
}

.cookie-consent-accept {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: #1a6fd4;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(26, 111, 212, 0.35);
  transition: background 0.2s, transform 0.15s;
}

.cookie-consent-accept:hover {
  background: #155fad;
  transform: translateY(-1px);
}

.cookie-consent-accept:active {
  transform: translateY(0);
}

.cookie-consent-cookie-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

body.cookie-consent-visible {
  padding-bottom: max(120px, env(safe-area-inset-bottom, 0px));
}

@media (max-width: 720px) {
  .cookie-consent {
    padding: 18px 16px 16px;
    border-radius: 14px;
  }

  .cookie-consent-main {
    flex-direction: column;
    align-items: stretch;
    padding-right: 0;
    padding-top: 8px;
  }

  .cookie-consent-accept {
    justify-content: center;
    width: 100%;
  }

  body.cookie-consent-visible {
    padding-bottom: max(200px, env(safe-area-inset-bottom, 0px));
  }
}

.legal-page-section {
  max-width: 920px;
  margin: 0 auto;
}

.legal-document {
  margin-top: 24px;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  color: #1a1a1a;
  font-size: 0.95rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.legal-document-loading {
  margin: 0;
  color: rgba(0, 0, 0, 0.55);
  text-align: center;
}

.legal-document--error {
  text-align: center;
  color: #b42318;
}

.legal-document p {
  margin: 0 0 0.75em;
}

.legal-document p:first-child {
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
}

.legal-document table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.9rem;
}

.legal-document td {
  border: 1px solid #d0d0d0;
  padding: 8px 10px;
  vertical-align: top;
}

.legal-document ul {
  margin: 0.5em 0 1em 1.25em;
  padding: 0;
}

.legal-document li {
  margin-bottom: 0.35em;
}

@media (max-width: 640px) {
  .legal-document {
    padding: 20px 16px;
    font-size: 0.9rem;
  }
}
