/* Landing Crypton Finn lanzamiento 2026 — estructura de la XMAX 300 Connected */

@font-face {
  font-family: "Futura Std";
  src: url("fonts/FuturaStdBook.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura Std";
  src: url("fonts/FuturaStdBookOblique.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Futura Std";
  src: url("fonts/FuturaStdMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura Std";
  src: url("fonts/FuturaStdBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura Std";
  src: url("fonts/FuturaStdHeavy.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Futura Std";
  src: url("fonts/FuturaStdExtraBold.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cf-azul: #0d1e8c;
  --cf-font: "Futura Std", "Futura", "Trebuchet MS", Arial, sans-serif;
}

/* Toda la gráfica va en Futura: pisa Estricta / Roboto Condensed / Montserrat de los CSS base.
   Los pseudo-elementos (íconos de Swiper) no se ven afectados. */
body,
body *:not(.fa):not([class*="fa-"]) {
  font-family: var(--cf-font) !important;
}

body {
  background: #fff !important;
}

/* ---------- Header ---------- */
.cf-hero {
  /* fascino-v2 le pone margin-bottom: 3rem !important a todo <header> por debajo de 992px */
  margin-bottom: 0 !important;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1920 / 644;
  background-color: #2b2b2b;
}

.cf-hero__bg,
.cf-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cf-hero__nav {
  position: absolute;
  top: 3.6%;
  left: 13.2%;
  right: 13.2%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.cf-hero__yamaha {
  width: 8.6vw;
  max-width: 165px;
}

.cf-hero__garantia {
  width: 5.5vw;
  max-width: 106px;
}

.cf-hero__claim {
  position: absolute;
  top: 24%;
  left: 33%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.cf-hero__frase {
  width: 26.2vw;
}

.cf-hero__logo {
  width: 15vw;
  margin-top: 1.9vw;
  margin-left: 4vw;
}

.cf-hero__precio {
  width: 23.3vw;
  margin-top: 3.4vw;
}

.cf-hero__claim img {
  max-width: none;
  height: auto;
}

@media (max-width: 767px) {
  .cf-hero {
    aspect-ratio: 480 / 819;
  }

  .cf-hero__nav {
    top: 2.8%;
    left: 5%;
    right: 6%;
  }

  .cf-hero__yamaha {
    width: 28vw;
  }

  .cf-hero__garantia {
    width: 18vw;
  }

  .cf-hero__claim {
    top: 15.5%;
    left: 50%;
  }

  .cf-hero__frase {
    width: 71vw;
  }

  .cf-hero__logo {
    width: 40vw;
    margin-top: 5vw;
    margin-left: 6vw;
  }

  .cf-hero__precio {
    width: 63vw;
    margin-top: 4vw;
  }
}

/* ---------- Moto principal y textos ---------- */
.cf-landing .section-moto-detalle-texto {
  background-image: url("desktop/logo_fondo.png");
  background-size: min(1248px, 90%) auto;
  background-position: top center;
  background-repeat: no-repeat;
  padding-top: 2rem;
}

.cf-landing .section-moto-detalle-texto .ybr-detalle-moto {
  max-width: min(937px, 100%);
  height: auto;
}

.cf-landing .section-moto-tu-opcion .p-titulo {
  color: var(--cf-azul);
  font-weight: 700;
  text-transform: uppercase;
}

.cf-landing .section-moto-tu-opcion .p-descripcion {
  font-weight: 400;
  line-height: 1.45;
}

/* ---------- Highlights (slider vertical) ---------- */
.cf-landing .ymh-vertical {
  margin-top: 5rem;
}

.cf-landing .ymh-vertical-gallery .swiper-slide {
  background-image: var(--cf-bg-desktop);
}

.cf-landing .ymh-vertical-gallery .ymh-vertical-content h2 {
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .cf-landing .swiper-container.ymh-vertical-gallery {
    height: 104vw !important;
  }

  .cf-landing .ymh-vertical-gallery .swiper-slide {
    background-image: var(--cf-bg-mobile);
  }
}

/* ---------- Galería ---------- */
.cf-landing .ymh-fascino-grid-items > div {
  background-image: var(--cf-bg-desktop);
  cursor: pointer;
}

@media (max-width: 767px) {
  .cf-landing .ymh-fascino-grid-items > div {
    background-image: var(--cf-bg-mobile);
  }
}

/* ---------- Ficha técnica ---------- */
/* Título y etiquetas en Futura Bold (las etiquetas van en <strong>, que si no hereda un peso más). */
.cf-landing .titulo-ficha-tecnica,
.cf-landing .ymh-table-ficha .ficha-tipo,
.cf-landing .ymh-table-ficha .ficha-tipo strong {
  font-weight: 700;
}

/* fichatecnica_rojo.css fija 14px con !important. */
.cf-landing .ymh-table-ficha .ficha-caracteristica {
  font-size: 16px !important;
}

/* ---------- Colores ---------- */
/* La primera imagen queda en flujo (da la altura al wrapper) y el resto va absoluta
   centrada; sin display:block el margin auto no la centra y queda corrida a la izquierda. */
.cf-landing .img-colores-wrapper2 img:first-of-type {
  display: block;
}

/* Un solo color por modelo: el swatch ocupa todo el círculo (la base lo parte en 3 gajos). */
.cf-landing .color-choose2 input[type="radio"] + label .cf-color-swatch {
  width: 100%;
  height: 100%;
  float: none;
  display: block;
}

.cf-landing .colores-financia img {
  max-width: 100%;
  height: auto;
}

.cf-landing .contactame-colores {
  font-weight: 700;
}

/* ---------- Bloque azul del formulario ---------- */
/* fascino-v2 fija el padding con !important. */
.cf-landing .ymh-form-full-col-1 {
  padding-top: 22px !important;
  padding-bottom: 22px !important;
}

.cf-landing .ymh-form-full-col-1 h4 {
  font-weight: 400;
}

/* ---------- Cierre de la sección de colores (logo, frase, precio y botón) ---------- */
/* Más chicos que el tamaño natural de las piezas y con más aire entre ellos. */
/* Cada pieza va en un <picture> que, sin esto, toma el ancho natural de la imagen y la deja
   corrida a la izquierda del centro (desalineada con el botón). */
.cf-landing .colores-financia > picture {
  display: block;
  width: 100%;
  text-align: center;
}

.cf-landing .colores-financia .cf-cierre__logo {
  width: 300px;
  max-width: 70%;
  margin-bottom: 34px;
}

.cf-landing .colores-financia .cf-cierre__frase {
  width: 340px;
  max-width: 78%;
}

.cf-landing .colores-financia .cf-cierre__precio {
  width: 300px;
  max-width: 70%;
  margin-top: 24px;
}

.cf-landing .colores-financia .cf-cierre__cta {
  margin-top: 30px;
}

@media (max-width: 767px) {
  .cf-landing .colores-financia .cf-cierre__logo {
    width: 58vw;
    margin-bottom: 20px;
  }

  .cf-landing .colores-financia .cf-cierre__frase {
    width: 66vw;
  }

  .cf-landing .colores-financia .cf-cierre__precio {
    width: 58vw;
    margin-top: 18px;
  }

  .cf-landing .colores-financia .cf-cierre__cta {
    margin-top: 24px;
  }
}
