/* =========================================================
   IDENTIDAD VISUAL — Centro Moto by Moto Point
   Se carga después de styles.css y aplica la guía de marca:
   tipografía extendida, botones rectos, superficies, degradado
   negro→bordó, patrón de hexágonos y detalles racing.
   ========================================================= */

/* ---------- Tipografía: títulos extendidos, en mayúsculas, sin itálica ---------- */
h1, h2, h3, h4,
.hero__title, .section-head h2, .card__title, .cat h3, .why__item h3, .stat strong, .info__title,
.price-box .price, .keystat strong, .highlight b, .cta-band h2, .page-hero h1, .card--soon h3,
.slide__info strong, .hero__bigtext, .product__bgname, .site-footer__big, .card__brandbg,
.marquee span, .card__specs strong, .card__price strong, .version .vname, .sticky-buy .name,
.sticky-buy .price, .modal__box h3, .stage__label strong, .why__media .stamp, .empty h3 {
  font-family: var(--font-display); font-style: normal;
}
h1, h2, h3, h4 { font-weight: 800; letter-spacing: .02em; line-height: 1.05; }
.hero__title { font-size: clamp(32px, 4.2vw, 60px); line-height: 1.04; letter-spacing: .01em; }
.hero__title .line { white-space: nowrap; padding: .16em .1em .06em 0; margin: -.16em 0 -.06em; } /* aire para tildes (Á) y la inclinación: la línea recorta para la animación */
/* el título se ajusta al ancho de su columna: "EMPIEZA ACÁ" (la línea más larga) siempre entra completa */
.hero__grid > div:first-child { container-type: inline-size; }
@supports (font-size: 1cqi) { .hero__title { font-size: min(60px, 10.2cqi); } }
.section-head h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: .03em; }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); }
.info__title { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: .02em; }
.card__title { font-size: 22px; letter-spacing: .02em; margin: 8px 0 6px; }
.cat h3 { font-size: 15px; letter-spacing: .04em; }
.why__item h3 { font-size: 15px; letter-spacing: .04em; margin-bottom: 6px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 40px); }
.stat strong { font-size: clamp(34px, 4vw, 52px); font-weight: 700; }
.keystat strong { font-size: clamp(34px, 3.6vw, 50px); font-weight: 700; }
.price-box .price { font-size: clamp(28px, 3vw, 40px); font-weight: 700; }
.card__price strong, .card__specs strong { font-size: 17px; font-weight: 700; }
.slide__info strong { font-size: clamp(20px, 2.2vw, 30px); }
.version .vname, .sticky-buy .name { font-size: 16px; }
.sticky-buy .price { font-size: 22px; }
.highlight b { font-size: 30px; }
.marquee span { font-size: 22px; font-weight: 700; letter-spacing: .06em; color: #4a4a4a; }
.hero__bigtext, .product__bgname { font-weight: 900; -webkit-text-stroke-color: rgba(255,255,255,.05); }
.hero__bigtext { font-size: clamp(120px, 20vw, 300px); }
.product__bgname { font-size: clamp(90px, 15vw, 240px); }
.site-footer__big { font-size: clamp(44px, 9vw, 140px); }
.card__brandbg { font-size: 46px; }
.eyebrow { font: 600 12px/1 var(--font); letter-spacing: .28em; }
.eyebrow::before { width: 22px; }
.hero__lead { font-size: 17px; }

/* ---------- Botones: radio 3 px; secundario con borde, hover rojo ---------- */
.btn { border-radius: 3px; letter-spacing: .12em; font-size: 13px; padding: 16px 28px; }
.btn:hover { box-shadow: none; }
.btn::after { display: none; }
.btn--ghost { --bg: transparent; border: 1px solid rgba(255,255,255,.45); }
.btn--ghost:hover { background: var(--accent); border-color: var(--accent); }
.btn--wa { --bg: var(--accent); }
.btn--wa:hover { background: #e01222; }
.chip, .badge, .tag360, .ref-tag { border-radius: 2px; }
.badge { letter-spacing: .14em; font-size: 10px; }

/* ---------- Superficies: secciones alternan negro / carbón ---------- */
.section--asphalt { background: var(--surface); }
.card, .cat, .stat, .finance__panel, .service, .testi, .contact__row, .form, .filters,
.version, .keystat, .highlight, .spec-aside, .thumb, .modal__box, .trust div, .empty {
  border-radius: var(--radius-lg);
  border-color: var(--border);
}
.card { background: var(--surface); }
.section--asphalt .card, .section--asphalt .cat, .section--asphalt .highlight { background: var(--bg); }
.card:hover { border-color: var(--accent); box-shadow: none; }
.cat::before { background: var(--gradient-cta); }
.stats { border-radius: var(--radius-lg); border-color: var(--border); }
.stat { border-color: var(--border); }
.stage, .hero__showroom, .why__media { border-radius: var(--radius-lg); }
.asphalt-texture { background-color: var(--surface); background-image: none; }

/* ---------- Patrón tech: hexágonos tipo fibra de carbono ---------- */
.hex-pattern { position: relative; isolation: isolate; }
.hex-pattern::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: url("../../img/marca/hexagonos.svg");
  background-size: 28px 48.5px;
  -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 70%);
          mask-image: linear-gradient(90deg, transparent 10%, #000 70%);
}

/* ---------- Racing: bandera a cuadros ---------- */
.checker {
  height: 10px; width: 100%;
  background: repeating-conic-gradient(#fff 0 25%, #0A0A0A 0 50%) 0 0 / 10px 10px;
  opacity: .85;
}

/* ---------- Degradado de marca en CTA y footer ---------- */
.cta-band { background: var(--gradient-cta) !important; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.cta-band::before { display: none; }
.cta-band::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 56px;
  background: repeating-conic-gradient(rgba(255,255,255,.9) 0 25%, transparent 0 50%) 0 0 / 14px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000);
  opacity: .45;
}
.site-footer { background: linear-gradient(180deg, #0A0A0A 0%, #0A0A0A 35%, #4a0608 80%, #7A0A0A 100%); border-top: 0; }
.site-footer__big { -webkit-text-stroke-color: rgba(255,255,255,.08); }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }

/* ---------- Logo: monograma CM (header) y firma "by Moto Point" (footer) ---------- */
.logo { gap: 14px; font-style: normal; }
.logo__cm { height: 46px; width: auto; display: block; transition: height .35s var(--ease); }
.site-header.scrolled .logo__cm { height: 36px; }
.logo__name { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.logo__name b { font: 700 14px/1 var(--font-display); letter-spacing: .16em; color: #fff; }
.logo__name small { font: 500 10px/1 var(--font); letter-spacing: .32em; color: var(--text-muted); margin-top: 7px; text-transform: uppercase; }
.firma-mp { height: 28px; width: auto; display: block; }
.footer-firma { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 56px; }
.footer-firma .firma-mp { height: 40px; }
.preloader__cm { height: 120px; width: auto; margin: 0 auto; animation: cmPulso 1s var(--ease) infinite alternate; }
@keyframes cmPulso { from { opacity: .5; transform: scale(.97); } to { opacity: 1; transform: none; } }
.preloader__bar { margin-top: 26px; border-radius: 0; height: 2px; }

/* ---------- Detalles ---------- */
.scroll-progress { background: var(--accent); }
.outline-text { -webkit-text-stroke: 1px rgba(255,255,255,.55); }
.hero__bg::before { background: radial-gradient(55% 55% at 72% 55%, rgba(122,10,10,.38), transparent 70%); }
.speed-lines i { background: linear-gradient(90deg, transparent, rgba(255,255,255,.16)); }
.hero__road::after { background: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 60px, transparent 60px 120px); }
.stage__glow { display: none; }
.contact__row .ico, .why__item .ico, .service .ico { border-radius: var(--radius); }
.sticky-buy { background: rgba(10,10,10,.94); border-color: var(--border); }
.mobile-menu a { font-family: var(--font-display); font-style: normal; font-size: 28px; letter-spacing: .04em; }
.nav__links a { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

/* Títulos de sección escritos en el HTML (Por qué elegirnos / Contacto): mismo tamaño que el resto */
.why h2, .contact h2 { font-size: clamp(26px, 3.4vw, 44px) !important; letter-spacing: .03em; }

/* ---------- Precio a consultar (no se publican precios) ---------- */
.card__consultar {
  position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 10px 14px; border-radius: 3px; background: var(--accent); color: #fff;
  font: 700 11px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  transition: background .25s;
}
.card__consultar:hover { background: #e01222; }
.card__consultar svg { width: 16px; height: 16px; fill: #fff; }
.price--consulta { font-size: clamp(24px, 2.4vw, 32px) !important; letter-spacing: .04em; }
.price-nota { margin: 8px 0 0; color: var(--text-muted); font-size: 14px; max-width: 360px; }
.price-box { align-items: flex-start; }

/* Galería de detalles en la ficha */
.detalles { margin-top: 22px; }
.detalles__titulo { font-size: 14px; letter-spacing: .14em; margin-bottom: 12px; color: #c9c9c9; }
.detalles__grilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.detalle { position: relative; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; cursor: zoom-in; transition: border-color .25s, transform .25s var(--ease); }
.detalle:hover { border-color: var(--accent); transform: translateY(-2px); }
.detalle img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; display: block; }
.detalle span { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; font-size: 11px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); text-align: left; }
.detalle__grande { width: 100%; height: auto; border-radius: var(--radius); background: #fff; }
.detalle__texto { margin: 12px 0 0; color: var(--text-muted); font-size: 14px; }
@media (max-width: 640px) { .detalles__grilla { grid-template-columns: repeat(2, 1fr); } }

/* Tarjetas: dos acciones (precio y financiación) */
.card__foot { margin-bottom: 14px; }
.card__acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card__acciones .card__consultar { justify-content: center; padding: 11px 8px; }
.card__consultar--fin { background: transparent; border: 1px solid rgba(255,255,255,.4); }
.card__consultar--fin:hover { background: var(--accent); border-color: var(--accent); }
.card__consultar--fin svg { fill: none; stroke: #fff; }

/* Ficha: botón de financiación */
.btn--fin svg { width: 18px; height: 18px; }

/* Barra fija de la ficha: dos botones */
.sticky-buy .right { gap: 10px; }
.sticky-buy .btn { padding: 12px 18px; }

/* Franja de financiación en la portada */
.fin { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.fin h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 14px 0 16px; }
.fin p { color: #c9c9c9; margin: 0; max-width: 520px; }
.fin__pasos { display: grid; gap: 10px; }
.fin__pasos > div { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.fin__pasos b { flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font: 800 15px/1 var(--font-display); }
.fin__pasos span { font-weight: 600; }
.fin__pasos .btn { margin-top: 6px; }
@media (max-width: 960px) { .fin { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) {
  .card__acciones .card__consultar { font-size: 10px; letter-spacing: .06em; }
  /* en celular la barra fija muestra solo el botón, a todo el ancho */
  .sticky-buy .name { display: none; }
  .sticky-buy .right, .sticky-buy #sbWa { width: 100%; }
  .sticky-buy #sbWa { justify-content: center; padding: 12px 10px; font-size: 12px; }
}
.slide__info span { font: 600 12px/1.3 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #555; }
.slide:not(.has-photo) .slide__info span, .slide.is-cover .slide__info span { color: #ccc; }
/* las imágenes llevan width/height (para que no "salte" la página al cargar); la altura real la define el CSS */
.thumb img { height: auto; }
.info__ctas { grid-template-columns: 1fr; }

/* ---------- Accesibilidad (Google Lighthouse) ---------- */
/* Etiquetas chicas: texto gris claro con la raya roja de marca (el rojo sobre negro en 12 px no llega al contraste mínimo) */
.eyebrow { color: #c9c9c9; }
/* Marcas de la cinta: gris medio de la paleta (contraste 5,9:1) */
.marquee span, .marquee a { color: var(--text-muted); }
.marquee span:hover, .marquee a:hover { color: #fff; }
/* Puntos del carrusel: área táctil de 24 px aunque el punto se vea chico */
.slider__dots { gap: 2px; }
.slider__dots button { width: 24px; height: 24px; background: none; position: relative; }
.slider__dots button::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 4px;
  transform: translate(-50%, -50%); background: rgba(255,255,255,.4); transition: width .3s var(--ease), background .3s;
}
.slider__dots button.on { width: 34px; background: none; }
.slider__dots button.on::before { width: 24px; background: var(--accent); }
/* Foco visible al navegar con teclado */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* Botón de menú (hamburguesa -> X) centrado con precisión */
.burger { flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.burger span { margin: 0; }
@media (max-width: 960px) { .burger { display: flex; } }

/* Red de seguridad: ninguna palabra larga puede ensanchar la página en el celular */
html, body { overflow-x: hidden; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
.nav { min-width: 0; }
.nav__actions { flex-shrink: 0; }
.logo { min-width: 0; }

@media (max-width: 640px) {
  .logo__name small { display: none; }
  .logo__name b { font-size: 12px; letter-spacing: .12em; }
  .logo__cm { height: 36px; }
  .logo { gap: 10px; }
  .nav__actions .icon-btn { width: 38px; height: 38px; }
  .hero__title { font-size: clamp(26px, 8.4vw, 40px); }
  .hero__title .line { white-space: normal; }
  .why h2, .contact h2, .section-head h2 { font-size: clamp(22px, 7vw, 30px) !important; }
  .page-hero h1 { font-size: clamp(30px, 10vw, 44px); }
  .info__title { font-size: clamp(26px, 8.4vw, 36px); }
  .cta-band h2 { font-size: 22px; }
  .cta-band::after { width: 30px; }
  .hero__bigtext { font-size: 130px; }
  .product__bgname { font-size: 90px; }
  .site-footer__big { font-size: clamp(30px, 11vw, 48px); }
  .card__title { font-size: 19px; }
  .cat { padding: 20px 16px; }
  .cat h3 { font-size: 12px; letter-spacing: .02em; }
  .form h3 { font-size: 22px !important; }
  .trust { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .trust div { padding: 10px 6px; font-size: 11px; }
  .trust strong { font-size: 12px; }
  .stat strong { font-size: 30px; }
  .keystat strong { font-size: 30px; }
  .price-box .price { font-size: 28px; }
}

/* ---------- Contacto: mapa negro (abre Google Maps) ---------- */
.contact__map { position: relative; height: 200px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none;
  filter: grayscale(1) invert(.92) contrast(.95) brightness(.9); }
.contact__map a { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 12px; }
.contact__map a span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--radius);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact__map a span svg { width: 14px; height: 14px; }
.contact__map:hover { border-color: var(--accent); }

/* ---------- Pie: horario con el mismo tono que el resto de los datos ---------- */
.footer-grid .footer-horario { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- Carrusel de la portada en celular: el texto arriba y la moto abajo, sin superponerse ---------- */
@media (max-width: 640px) {
  .hero__showroom { aspect-ratio: 1 / 1.02; }
  .slide__info { left: 16px; right: 64px; top: 14px; }
  .slide__info strong { font-size: 18px; line-height: 1.1; }
  .slide__info span { font-size: 10px; }
  .slide__media, .slide.is-cover .slide__media { inset: 112px 0 58px 0; }
  .slide__media img { padding: 0 4%; }
}

/* ---------- Visor a pantalla completa en celular (capa propia: el iPhone no permite la nativa) ---------- */
.v360-full {
  position: fixed !important; inset: 0 !important; z-index: 9999 !important;
  width: 100vw !important; height: 100vh !important; height: 100dvh !important; max-width: none !important;
  aspect-ratio: auto !important; margin: 0 !important; border-radius: 0 !important; transform: none !important;
  background: #fff !important; opacity: 1 !important;
}
.v360-full > :not(.viewer) { display: none !important; }
.v360-full .viewer { position: absolute !important; inset: 0 !important; height: 100% !important; }
.v360-full .v360__controls { bottom: max(14px, env(safe-area-inset-bottom)); }
html.v360-lock, html.v360-lock body { overflow: hidden !important; }
/* zoom: en pantalla completa también hay botones de acercar / alejar en celular */
.v360-full .v360__controls [data-a="zin"], .v360-full .v360__controls [data-a="zout"],
[data-v360-full]:fullscreen .v360__controls [data-a="zin"], [data-v360-full]:fullscreen .v360__controls [data-a="zout"] { display: grid !important; }
.v360-full .v360__controls button { width: 40px; height: 40px; }

/* ---------- Carrusel: el texto de la moto anterior se va rápido y el nuevo entra después (no se superponen) ---------- */
.slide .slide__info, .slide .slide__go { opacity: 0; transform: translateY(6px); transition: opacity .15s linear, transform .15s linear; }
.slide.on .slide__info, .slide.on .slide__go { opacity: 1; transform: none; transition: opacity .45s var(--ease) .35s, transform .45s var(--ease) .35s; }

/* ---------- Portada: lo que se ve al entrar aparece desde el primer instante (solo se desliza, no se funde)
   así Google mide antes el "contenido principal" (LCP) en celular ---------- */
.hero .reveal { opacity: 1; transition: transform .9s var(--ease); }
.hero .slider { animation-name: entraSinFundido; }
@keyframes entraSinFundido { from { transform: translateX(8%); } to { transform: none; } }
