/*
 * SYM Motos - Landing Page Styles
 */

@font-face {
  font-family: 'Avionic Oblique Black';
  src: url("/assets/Fontspring-DEMO-avionicoblique-black-f51e9f14.otf") format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Aktiv Grotesk';
  src: url("/assets/AktivGroteskVF_Trial_WghtWdthItal-a6cfb18f.ttf") format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

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

:root {
  --red: #c70828;
  --white: #ffffff;
  --black: #000000;
  --font-hero: 'Avionic Oblique Black', sans-serif;
  --font-body: 'Aktiv Grotesk', sans-serif;
}

body {
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 104px;
  z-index: 100;
  display: flex;
  align-items: center;
}

.navbar__logo-bar {
  background: var(--red);
  height: 106px;
  width: 256px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar__logo-bar img {
  width: 146px;
  height: auto;
}

.navbar__bg {
  background: var(--white);
  flex: 1;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 40px;
  gap: 40px;
}

.navbar__link {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.navbar__link:hover {
  color: var(--red);
}

.navbar__instagram-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.navbar__instagram-link:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.navbar__instagram {
  width: 80px;
  height: 82px;
  object-fit: contain;
}

/* ── DROPDOWN MODELOS ── */
.navbar__modelos-wrapper {
  position: relative;
}

.navbar__modelos-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  text-decoration: none;
}

.navbar__modelos-panel.is-open {
  display: flex;
}


.navbar__modelos-img {
  display: block;
  width: clamp(160px, 18vw, 240px);
  height: auto;
}

/* ── HOME SECTION ── */
.home-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #8B4513 100%);
}

.home-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.5) 80%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 5;
  pointer-events: none;
}

.home-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.home-section__content {
  position: relative;
  z-index: 15;
  text-align: center;
  padding-top: 60px;
}

.home-section__tagline {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.875vw, 36px);  /* 36/1920 = 1.875vw */
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.home-section__headline {
  font-family: var(--font-hero);
  font-size: clamp(80px, 10vw, 134px);
  font-weight: 700;
  color: var(--white);
  line-height: 0.89;
  text-align: center;
  filter: drop-shadow(0px 4px 4px rgba(0,0,0,0.39));
  margin-bottom: 60px;
}

.home-section__cta-wrapper {
  display: inline-block;
  position: relative;
}

.home-section__cta-bg {
  background: var(--white);
  border-radius: 12px;
  padding: 14px 48px;
}

.home-section__cta {
  font-family: var(--font-hero);
  font-size: 29px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  line-height: 0.89;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: none;
  border: none;
}

.home-section__cta:hover {
  opacity: 0.85;
}

/* ── DISCLAIMER CARD (FLOATING BUTTON) ── */
/* diseño: x:-26, y:643, 358×148px en 1920×1080 → flush left, proporcional */
.disclaimer-card {
  position: fixed;
  bottom: 7.4vh;        /* ≈80px a 1080px */
  left: 0;
  background: var(--white);
  border-radius: 12px;
  padding: clamp(12px, 1.4vh, 22px) clamp(14px, 1.5vw, 28px);
  width: clamp(200px, 18.65vw, 358px);  /* 358/1920 = 18.65% */
  z-index: 98;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1vw, 20px);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.disclaimer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.disclaimer-card__text {
  font-family: var(--font-hero);
  font-size: clamp(16px, 1.77vw, 34px);  /* 34/1920 = 1.77vw */
  font-weight: 700;
  color: var(--red);
  line-height: 0.89;
}

.disclaimer-card__icon {
  width: clamp(36px, 4.2vw, 80px);  /* 80/1920 = 4.17vw */
  height: auto;
  flex-shrink: 0;
}

/* ── CAROUSEL ── */
.carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--white);
}

.carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.carousel__slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

/* ── ZONA DE IMAGEN (84.7% superior — igual al diseño: imagen termina ~y:915 de 1080) */
.carousel__image-area {
  position: relative;
  width: 100%;
  height: 84.7%;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.carousel__image-area:hover .carousel__bg {
  transform: scale(1.02);
  transition: transform 0.4s ease;
}

.carousel__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

/* textos laterales con puntos rojos */
.carousel__text {
  position: absolute;
  top: 91%;            /* y≈829/915px = 90.7% del área de imagen */
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 450px;
}

.carousel__text--left {
  left: 4.74%;          /* dot en x:91/1920 */
}

.carousel__text--right {
  right: 7.1%;          /* dot right edge en x:1783/1920 */
  flex-direction: row-reverse;
  text-align: right;
}

/* punto rojo — 11×11px */
.carousel__dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.carousel__caption {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.25vw, 24px);  /* 24/1920 = 1.25vw */
  font-weight: 400;
  color: var(--black);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.carousel__caption--right {
  text-align: right;
}

/* tarjeta "Bajo tu propio riesgo." — x:-26, y:643, w:358, h:148 en 1920×1080 */
.carousel__disclaimer {
  position: absolute;
  bottom: 8%;          /* (965-643-148)/965 ≈ 18% desde abajo de la imagen */
  left: -14px;
  z-index: 10;
  background: var(--white);
  border-radius: 12px;
  padding: 22px 26px;
  width: 358px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.carousel__disclaimer-text {
  font-family: var(--font-hero);
  font-size: 34px;
  font-weight: 700;
  color: var(--red);
  line-height: 0.89;
}

.carousel__disclaimer-icon {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

/* ── FRANJA BLANCA INFERIOR (15.3% — igual al diseño: 165px de 1080) */
.carousel__strip {
  flex: 1;
  background: var(--white);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* textos VERDADERAMENTE centrados en la pantalla (no afectados por el botón) */
.carousel__strip-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  white-space: nowrap;
  z-index: 5;
}

.carousel__strip-sub {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.51vw, 29px);  /* 29/1920 = 1.51vw */
  font-weight: 400;
  color: var(--red);
  line-height: 1.2;
  margin-bottom: 0;
}

.carousel__strip-title {
  font-family: var(--font-hero);
  font-size: clamp(24px, 2.81vw, 54px);  /* 54/1920 = 2.81vw */
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-top: -2px;
}

/* botón "volver al inicio" — borde rojo, posicionado a la derecha */
.carousel__strip-btn {
  position: absolute;
  right: 72px;            /* (1920-1695-153)/1920 ≈ 3.75% ≈ 72px */
  background: transparent;
  border: 1px solid var(--red);
  border-radius: 6px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: clamp(11px, 0.99vw, 19px);  /* 19/1920 = 0.99vw */
  font-weight: 700;
  color: var(--red);
  line-height: 0.97;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  z-index: 10;
}

.carousel__strip-btn:hover {
  background: var(--red);
  color: var(--white);
}

/* flechas de navegación — centradas en la zona de imagen */
.carousel__arrow {
  position: absolute;
  top: calc(84.7% / 2);   /* mitad de la zona de imagen */
  transform: translateY(-50%);
  z-index: 20;
  width: 49px;
  height: 49px;
  background: var(--red);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.carousel__arrow:hover { opacity: 0.8; }
.carousel__arrow svg { width: 24px; height: 24px; }

.carousel__arrow--prev { left: 7.3%; }   /* x≈140/1920 */
.carousel__arrow--next { right: 5.2%; }  /* x≈1778 desde izq = 100px desde der */

/* dots en la franja blanca */
.carousel__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
}

.carousel__dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--red);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.carousel__dot-btn.active {
  background: var(--red);
  transform: scale(1.3);
}

/* ── MODAL OVERLAY ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.is-open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  padding: 48px 44px 40px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--black);
  line-height: 1;
}

.modal__close:hover {
  color: var(--red);
}

.modal__title {
  font-family: var(--font-hero);
  font-size: 42px;
  font-weight: 700;
  color: var(--red);
  line-height: 0.89;
  margin-bottom: 10px;
}

.modal__subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: #555;
  margin-bottom: 32px;
  line-height: 1.4;
}

/* ── FORM ── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 48px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--black);
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--red);
  background: var(--white);
}

.form-group .field_with_errors input,
.form-group .field_with_errors select {
  border-color: var(--red);
}

.form-errors {
  background: #fff0f2;
  border: 1px solid var(--red);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--red);
}

.form-errors ul {
  list-style: none;
  padding: 0;
}

.btn-submit {
  width: 100%;
  height: 52px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-hero);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s;
}

.btn-submit:hover {
  opacity: 0.88;
}

/* ── SUCCESS MESSAGE ── */
.form-success {
  text-align: center;
  padding: 20px 0;
}

.form-success__icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.form-success__title {
  font-family: var(--font-hero);
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 10px;
}

.form-success__text {
  font-family: var(--font-body);
  font-size: 15px;
  color: #555;
}

/* ── SELECT ARROW ── */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--red);
  pointer-events: none;
}

/* ═══════════════════════════════════════
   MODEL DETAIL PAGE
═══════════════════════════════════════ */

.model-body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar estático en páginas de modelo (no fixed) */
.navbar--model {
  position: relative;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   MODEL DETAIL PAGE
   Referencia: 1920×1080px
   ═══════════════════════════════════════ */

/* Contenedor principal: ocupa todo el espacio restante bajo el navbar */
.model-page {
  position: relative;
  width: 100%;
  flex: 1;          /* llena el alto que sobra tras el navbar */
  min-height: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center center;  /* fondo atmosférico centrado */
  background-repeat: no-repeat;
}

/* ── BLOQUE MARCA: logo + features — esquina superior izquierda ── */
.model-page__brand-block {
  position: absolute;
  top: 2%;
  left: 5%;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vh, 14px);
}

.model-page__model-logo-img {
  width: clamp(180px, 22vw, 420px);
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

/* Lista de features con bullet rojo ► */
.model-page__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(2px, 0.5vh, 8px);
}

.model-page__feature {
  display: flex;
  align-items: center;
  gap: clamp(5px, 0.6vw, 10px);
  color: #fff;
  font-family: 'FONTSPRING DEMO - Avionic Oblique Black', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(11px, 1.15vw, 22px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
  white-space: nowrap;
}

.model-page__feature::before {
  content: '';
  display: inline-block;
  width:  clamp(6px, 0.55vw, 10px);
  height: clamp(6px, 0.55vw, 10px);
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── MOTO CENTRAL INDEPENDIENTE ── */

/* Centrada horizontal y verticalmente sobre el fondo atmosférico.
   El div tiene alto=90% para dar un alto definido al % del img.
   La imagen usa max-width + max-height para que el navegador elija
   el límite correcto sin cortar, sin importar si la imagen es
   horizontal, vertical o cuadrada. */
.model-page__main {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(320px, 65vw, 1200px);
  height: 90%;          /* alto definido = referencia para max-height del img */
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-page__main-img {
  max-width: 100%;      /* nunca supera el ancho del div */
  max-height: 100%;     /* nunca supera el alto del div (90% model-page) */
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.7));
  transition: opacity 0.3s ease;
}

/* ── BOTÓN "CONOCE LA MOTO" — trapecio rojo (diseño real) ── */
/* diseño: x:0, y:445, 378×109px en 1920×1080                 */
/* forma: ancho total arriba, borde derecho diagonal → 84% abajo */
.model-page__conoce-btn {
  position: absolute;
  left: 0;
  top: 41.2%;                        /* 445/1080 */
  z-index: 10;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  width: clamp(190px, 19.7vw, 378px);
  height: clamp(55px, 10.09vh, 109px); /* 109/1080 */
  padding-left: clamp(28px, 4vw, 77px); /* texto arranca en x:77 */
  padding-right: clamp(24px, 3vw, 60px);
  font-family: var(--font-hero);
  font-size: clamp(18px, 2.65vw, 51px);
  font-weight: 700;
  line-height: 0.86;
  text-align: left;
  display: flex;
  align-items: center;
  /* Trapecio: top full-width, right edge slants to 84% at bottom */
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  transition: background 0.2s, color 0.2s;
}

.model-page__conoce-btn:hover {
  background: var(--white);
  color: var(--red);
}

/* ── MINIATURAS ── */
/* diseño: x:125, y:570  w:128 h:133  gap≈9px  en 1920×1080 */
.model-page__thumbs {
  position: absolute;
  left: 6.51%;               /* 125/1920 */
  top: 52.78%;               /* 570/1080 */
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: clamp(5px, 0.83vh, 9px);
}

.model-page__thumb-btn {
  border: 2px solid transparent;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  padding: 3px;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
  display: block;
}

.model-page__thumb-btn.active,
.model-page__thumb-btn:hover {
  border-color: var(--red);
  background: rgba(0, 0, 0, 0.55);
}

.model-page__thumb-img {
  width: clamp(55px, 6.67vw, 128px);  /* 128/1920 */
  height: auto;
  display: block;
}

/* ── PANEL CARACTERÍSTICAS ── */
/* diseño: x:507.5, y:297, 1198×545 en 1920×1080 */
.model-page__chars {
  display: none;
  position: absolute;
  left: 26.43%;              /* 507.5/1920 */
  top: 27.5%;                /* 297/1080 */
  width: 62.4%;              /* 1198/1920 */
  height: 50.46%;            /* 545/1080 */
  background: rgba(255, 255, 255, 0.7);
  z-index: 30;
  padding: clamp(14px, 2.5vh, 27px) clamp(18px, 2.5vw, 48px) clamp(20px, 3vh, 32px);
  clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
  overflow: hidden;
}

.model-page__chars::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(6px, 1.2vh, 13px);
  background: var(--red);
}

.model-page__chars.is-open { display: flex; flex-direction: column; }

/* Botón X — hermano del panel, posicionado relativo a .model-page
   diseño: x:1640 y:238 (66×59) en frame 1920×1080
   right: (1920-1706)/1920 = 11.15%
   bottom de botón = top de panel → top: calc(panel-top - btn-height) */
.model-page__chars-close {
  display: none;             /* oculto cuando el panel está cerrado */
  position: absolute;
  right: 11.15%;             /* borde derecho alineado con el panel */
  top: calc(27.5% - clamp(35px, 5.46vh, 59px)); /* fondo del botón = tope del panel */
  width: clamp(40px, 3.44vw, 66px);
  height: clamp(35px, 5.46vh, 59px);
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: clamp(18px, 2.5vw, 44px);
  align-items: center;
  justify-content: center;
  z-index: 31;
}

/* Se muestra cuando el panel tiene .is-open (hermano inmediatamente siguiente) */
.model-page__chars.is-open ~ .model-page__chars-close {
  display: flex;
}

.model-page__chars-title {
  font-family: var(--font-hero);
  font-size: clamp(20px, 2.65vw, 51px);
  color: var(--red);
  line-height: 1;
  margin-bottom: clamp(6px, 1.2vh, 13px);
  flex-shrink: 0;
}

.model-page__chars-body {
  display: flex;
  gap: 2vw;
  align-items: stretch;   /* ambas columnas estiran al alto del body */
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.model-page__specs {
  list-style: none;
  flex: 1;
  min-width: 0;           /* permite que flex shrink funcione bien con texto */
  overflow: hidden;
}

.model-page__specs li {
  font-family: var(--font-body);
  font-size: clamp(9px, 1.15vw, 22px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}

.model-page__specs li strong {
  font-weight: 700;
}

.model-page__chars-icons {
  width: clamp(80px, 13.3vw, 255px);
  height: 100%;           /* iguala el alto del body flex */
  max-height: 100%;       /* nunca desborda */
  object-fit: contain;    /* mantiene proporción sin cortarse */
  object-position: top center;
  flex-shrink: 1;
  align-self: stretch;    /* necesario para que height:100% resuelva correctamente */
}

/* ── BOTÓN VOLVER AL INICIO (bottom-right) ── */
/* diseño: x:1668, y:941, 163×63 en 1920×1080 */
.model-page__back {
  position: absolute;
  right: clamp(10px, 1.25vw, 24px);   /* 1920-1668-163=89 → 89/1920=4.6% right */
  bottom: clamp(6px, 2.4vh, 26px);    /* 1080-941-63=76 → 76/1080=7% */
  border: 1px solid var(--white);
  border-radius: 6px;
  padding: clamp(6px, 1.1vh, 12px) clamp(10px, 1.7vw, 32px);
  font-family: var(--font-body);
  font-size: clamp(10px, 0.99vw, 19px);
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  text-align: center;
  line-height: 0.975;
  z-index: 20;
  transition: background 0.2s, color 0.2s;
}

.model-page__back:hover {
  background: var(--white);
  color: var(--black);
}

/* ── TARJETA DISCLAIMER (bottom-left) ── */
/* diseño: x:-31, y:945, 323×117 en 1920×1080 → arranca desde borde izq */
.model-page__disclaimer {
  position: absolute;
  bottom: clamp(2px, 0.7vh, 8px);
  left: 0;
  background: var(--white);
  border-radius: 0 12px 12px 0;
  padding: clamp(8px, 1.2vh, 16px) clamp(12px, 1.5vw, 28px);
  width: clamp(140px, 16.8vw, 323px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 14px);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.model-page__disclaimer:hover {
  transform: translateY(-3px);
}

.model-page__disclaimer-text {
  font-family: var(--font-hero);
  font-size: clamp(14px, 1.51vw, 29px);
  font-weight: 700;
  color: var(--red);
  line-height: 0.89;
}

.model-page__disclaimer-icon {
  width: clamp(30px, 3.75vw, 72px);
  height: auto;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 1024px)
═══════════════════════════════════════ */
@media (max-width: 1024px) {

  /* ── Navbar ── */
  .navbar__logo-bar { width: 190px; }
  .navbar__logo-bar img { width: 118px; }
  .navbar__bg { padding-right: 24px; gap: 24px; }
  .navbar__link { font-size: 18px; }
  .navbar__instagram { width: 60px; height: 62px; }

  /* ── Carousel ── */
  .carousel__strip-btn { right: 24px; }
  .carousel__arrow--prev { left: 16px; }
  .carousel__arrow--next { right: 16px; }

  /* ── Modal ── */
  .modal { max-width: 460px; padding: 40px 32px 36px; }

  /* ── Model page: panel un poco más ancho ── */
  .model-page__chars { left: 20%; width: 70%; }
  .model-page__chars-close { right: 9.8%; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 767px)
═══════════════════════════════════════ */
@media (max-width: 767px) {

  /* ══ NAVBAR ══ */
  .navbar        { height: 64px; }
  .navbar__logo-bar {
    width: 120px;
    height: 64px;
  }
  .navbar__logo-bar img { width: 80px; }
  .navbar__bg {
    height: 64px;
    padding-right: 14px;
    gap: 14px;
  }
  .navbar__link   { font-size: 13px; }
  .navbar__instagram { width: 44px; height: 46px; }

  /* ══ HOME SECTION ══ */
  .home-section__content { padding-top: 20px; }
  .home-section__tagline { font-size: 13px; margin-bottom: 8px; }
  /* headline: la fuente mínima de 80px es demasiado grande en 375px */
  .home-section__headline {
    font-size: clamp(44px, 13vw, 80px);
    margin-bottom: 28px;
  }
  .home-section__cta-bg  { padding: 10px 28px; }
  .home-section__cta     { font-size: 22px; }

  /* disclaimer flotante: más compacto */
  .disclaimer-card {
    width: auto;
    padding: clamp(8px, 1.5vh, 14px) clamp(10px, 3vw, 18px);
    gap: 8px;
  }
  .disclaimer-card__text { font-size: clamp(14px, 4.5vw, 22px); }
  .disclaimer-card__icon { width: clamp(28px, 9vw, 46px); }

  /* ══ CARRUSEL ══
     Problema: las imágenes son landscape (1920×915).
     Con object-fit:cover en portrait mobile el zoom es 0.75×
     y solo se ve el 26% central → moto "cortada" y "muy grande".
     Solución: mantener la proporción natural de la imagen (21:10)
     con aspect-ratio para que el zoom sea ~1× (casi sin recorte).
     El carrusel pasa de ser full-height a basarse en el contenido. */

  .carousel {
    height: auto;          /* ya no fuerza 100vh */
  }
  .carousel__track {
    height: auto;
  }
  .carousel__slide {
    min-width: 100%;       /* necesario para el sliding con translateX */
    height: auto;
  }

  /* Zona de imagen: respeta la proporción 1920:915 ≈ 21:10
     A 375px → height ≈ 179px → zoom ≈ 0.20 → se ve ~95% del ancho */
  .carousel__image-area {
    height: auto;
    aspect-ratio: 21 / 10;
    flex-shrink: 0;
  }
  .carousel__bg {
    object-fit: cover;
    object-position: center center;
  }

  /* Captions: no caben en 179px, se ocultan */
  .carousel__text { display: none; }

  /* Flechas: centradas en la zona de imagen (mitad de aspect-ratio) */
  .carousel__arrow {
    width: 32px;
    height: 32px;
    top: calc(50vw * 10 / 21); /* = mitad del alto = (vw × 10/21) / 2 */
  }
  .carousel__arrow svg   { width: 14px; height: 14px; }
  .carousel__arrow--prev { left: 8px; }
  .carousel__arrow--next { right: 8px; }

  /* Franja inferior: layout flex columna centrado */
  .carousel__strip {
    flex: none;
    height: auto;
    padding: 14px 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .carousel__strip-center {
    position: static;
    left: auto; top: auto;
    transform: none;
    text-align: center;
    white-space: normal;
  }
  .carousel__strip-sub   { font-size: clamp(10px, 2.8vw, 14px); }
  .carousel__strip-title { font-size: clamp(16px, 5.5vw, 28px); }
  .carousel__strip-btn {
    position: static;
    right: auto;
    font-size: clamp(9px, 2.5vw, 13px);
    padding: 6px 14px;
    align-self: flex-end;
    margin-top: 2px;
  }

  /* Dots: posicionados en la franja */
  .carousel__dots {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    justify-content: center;
    margin-top: 2px;
  }

  /* ══ MODAL ══ */
  .modal {
    max-width: calc(100vw - 24px);
    padding: 32px 20px 28px;
    border-radius: 12px;
  }
  .modal__title    { font-size: 26px; }
  .modal__subtitle { font-size: 13px; margin-bottom: 24px; }
  .btn-submit      { font-size: 18px; height: 46px; }

  /* ══ MODEL PAGE ══ */

  /* Bloque marca: logo + features — ajuste mobile */
  .model-page__brand-block { top: 1.5%; left: 3%; gap: 4px; }
  .model-page__model-logo-img { width: clamp(110px, 34vw, 200px); }
  .model-page__feature { font-size: clamp(9px, 2.4vw, 14px); white-space: normal; }
  .model-page__feature::before { width: 5px; height: 5px; }

  /* Moto central: más ancha en mobile, centrada un poco más arriba */
  .model-page__main {
    width: clamp(260px, 90vw, 700px);
    height: 80%;
    top: 45%;
  }

  /* "Conoce la moto": escala a mobile */
  .model-page__conoce-btn {
    width:  clamp(130px, 36vw, 220px);
    height: clamp(42px, 7.5vh, 72px);
    font-size: clamp(13px, 4vw, 28px);
    padding-left: clamp(14px, 3.5vw, 32px);
    top: 35%;
  }

  /* Thumbs: se quedan en la izquierda pero más pequeñas */
  .model-page__thumbs {
    left: 2.5%;
    top: 48%;
    gap: clamp(4px, 1vh, 8px);
  }
  .model-page__thumb-img { width: clamp(44px, 10vw, 76px); }

  /* Panel características: casi full-width en mobile */
  .model-page__chars {
    left: 3%;
    width: 94%;
    top: 10%;
    height: 80%;
    padding: clamp(12px, 2vh, 22px) clamp(12px, 3vw, 32px) clamp(14px, 2.5vh, 28px);
  }

  /* Botón X: sigue el panel reposicionado */
  .model-page__chars-close {
    right: 3%;
    top: calc(10% - clamp(32px, 5.46vh, 55px));
    width:  clamp(36px, 8vw, 54px);
    height: clamp(32px, 5.46vh, 55px);
    font-size: clamp(16px, 4vw, 36px);
  }

  /* Specs: fuente un poco mayor en mobile para legibilidad */
  .model-page__specs li { font-size: clamp(10px, 2.5vw, 18px); line-height: 1.4; }

  /* Iconos: limitar ancho para que no aplasten el texto */
  .model-page__chars-icons { width: clamp(60px, 18vw, 130px); }

  /* Botón "volver al inicio" */
  .model-page__back {
    right: 8px;
    bottom: clamp(4px, 1.5vh, 18px);
    font-size: clamp(9px, 2.2vw, 14px);
    padding: clamp(5px, 1vh, 10px) clamp(8px, 2vw, 18px);
  }

  /* Disclaimer inferior izquierdo */
  .model-page__disclaimer {
    width:  clamp(110px, 38vw, 200px);
    padding: clamp(6px, 1vh, 12px) clamp(8px, 2vw, 16px);
    gap: clamp(4px, 1.5vw, 10px);
  }
  .model-page__disclaimer-text { font-size: clamp(11px, 3vw, 20px); }
  .model-page__disclaimer-icon { width: clamp(22px, 5.5vw, 38px); }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE PEQUEÑO  (≤ 480px)
═══════════════════════════════════════ */
@media (max-width: 480px) {

  /* Headline aún más compacto */
  .home-section__headline { font-size: clamp(38px, 12vw, 56px); }

  /* Captions del carrusel: ocultar en pantallas muy estrechas (se solapan) */
  .carousel__text { display: none; }

  /* Navbar: mínimo espacio */
  .navbar__bg { gap: 10px; padding-right: 10px; }
  .navbar__link { font-size: 12px; }

  /* Panel características: fuente mínima legible */
  .model-page__chars-title { font-size: clamp(18px, 5vw, 32px); }
}

/* ═══════════════════════════════════════
   ADMIN PANEL STYLES
═══════════════════════════════════════ */

.admin-body {
  font-family: var(--font-body);
  background: #f4f5f7;
  color: #1a1a2e;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── ADMIN HEADER ── */
.admin-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-header__brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-header__logo-bar {
  background: var(--red);
  height: 72px;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -40px;
  flex-shrink: 0;
}

.admin-header__logo {
  height: 36px;
  width: auto;
}

.admin-header__title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  border-left: 2px solid #e0e0e0;
  padding-left: 20px;
}

.admin-header__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #1a1a2e;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.admin-nav-link:hover {
  background: #f4f5f7;
  color: var(--red);
}

.admin-nav-link--outline {
  border: 2px solid var(--red);
  color: var(--red);
}

.admin-nav-link--outline:hover {
  background: var(--red);
  color: var(--white);
}

/* ── FLASH ── */
.admin-flash {
  padding: 14px 40px;
  font-size: 14px;
  font-weight: 500;
}

.admin-flash--success {
  background: #d4edda;
  color: #155724;
  border-bottom: 1px solid #c3e6cb;
}

.admin-flash--error {
  background: #f8d7da;
  color: #721c24;
  border-bottom: 1px solid #f5c6cb;
}

/* ── MAIN CONTENT ── */
.admin-main {
  flex: 1;
  padding: 36px 40px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

/* ── PAGE HEADER ── */
.admin-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.admin-page-header__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.admin-page-title {
  font-family: var(--font-hero);
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.admin-page-subtitle {
  font-size: 15px;
  color: #666;
}

/* ── CARD ── */
.admin-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  overflow: hidden;
}

.admin-card--detail {
  padding: 36px;
}

/* ── TABLE ── */
.admin-table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table thead tr {
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
}

.admin-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  white-space: nowrap;
}

.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background: #fafafa;
}

.admin-table__id {
  font-weight: 700;
  color: #aaa;
  font-size: 13px;
}

.admin-table__name {
  font-weight: 600;
  color: #1a1a2e;
}

.admin-table__link {
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
}

.admin-table__link:hover {
  text-decoration: underline;
}

.admin-table__date {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}

.admin-table__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ── BADGES ── */
.admin-badge {
  display: inline-block;
  background: #fff0f2;
  color: var(--red);
  border: 1px solid #ffc0c9;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
}

.admin-badge--lg {
  font-size: 16px;
  padding: 6px 18px;
}

/* ── BUTTONS ── */
.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
}

.admin-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.admin-btn--primary {
  background: var(--red);
  color: var(--white);
}

.admin-btn--secondary {
  background: #e9ecef;
  color: #1a1a2e;
}

.admin-btn--danger {
  background: #dc3545;
  color: var(--white);
}

.admin-btn--sm {
  padding: 6px 14px;
  font-size: 13px;
}

/* ── DETAIL GRID ── */
.admin-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.admin-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-detail-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
}

.admin-detail-value {
  font-size: 17px;
  font-weight: 500;
  color: #1a1a2e;
}

/* ── EMPTY STATE ── */
.admin-empty {
  text-align: center;
  padding: 80px 40px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.admin-empty__icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.admin-empty__text {
  font-size: 18px;
  color: #888;
  margin-bottom: 24px;
}

/* ── FOOTER ── */
.admin-footer {
  text-align: center;
  padding: 20px;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid #e9ecef;
  background: var(--white);
}
