/* ============================================================
   ESPACIO HARLEY-DAVIDSON BARCELONA — main.css v3
   Sistema de diseño completo: variables, reset, componentes
   Secciones alternadas: blanco / gris claro / oscuro / naranja
   ============================================================ */

/* ── Variables ── */
:root {
  /* Colores */
  --naranja:       #E8500A;
  --naranja-dark:  #c44008;
  --naranja-light: #f06030;
  --negro:         #111111;
  --negro-medio:   #1a1a1a;
  --negro-suave:   #222222;
  --blanco:        #ffffff;
  --gris-claro:    #f4f4f4;
  --gris-medio:    #e8e8e8;
  --texto-oscuro:  #1a1a1a;
  --texto-medio:   #444444;
  --texto-claro:   #888888;
  --borde:         #e0e0e0;
  --borde-oscuro:  rgba(255,255,255,0.1);

  /* Tipografía */
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --fs-xs:  0.75rem;
  --fs-sm:  0.875rem;
  --fs-md:  1rem;
  --fs-lg:  1.125rem;
  --fs-xl:  1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 2rem;
  --fs-4xl: 2.5rem;
  --fs-5xl: 3.5rem;

  /* Espaciado */
  --sec-pad:    5rem;
  --sec-pad-sm: 2.5rem;

  /* Bordes */
  --radius:    8px;
  --radius-sm: 4px;
  --radius-lg: 12px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow:    0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--texto-oscuro); background: var(--blanco); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
address { font-style: normal; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Secciones ── */
.sec-light  { background: var(--blanco); }
.sec-gray   { background: var(--gris-claro); }
.sec-dark   { background: var(--negro); color: var(--blanco); }
.sec-orange { background: var(--naranja); color: var(--blanco); }
.sec-pad    { padding: var(--sec-pad) 0; }
.sec-pad-sm { padding: var(--sec-pad-sm) 0; }

/* ── Cabeceras de sección ── */
.sec-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--naranja);
  margin-bottom: 0.5rem;
}

.sec-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: inherit;
}

.sec-dark .sec-title { color: var(--blanco); }
.sec-light .sec-title,
.sec-gray .sec-title  { color: var(--negro); }

.sec-subtitle {
  font-size: var(--fs-lg);
  color: var(--texto-medio);
  line-height: 1.7;
}

.sec-dark .sec-subtitle { color: rgba(255,255,255,0.7); }

.sec-divider {
  width: 48px;
  height: 3px;
  background: var(--naranja);
  margin-top: 1rem;
}

.sec-head--center { text-align: center; }
.sec-head--center .sec-divider { margin: 1rem auto 0; }

.sec-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--naranja);
  color: var(--blanco);
  border-color: var(--naranja);
}
.btn-primary:hover { background: var(--naranja-dark); border-color: var(--naranja-dark); transform: translateY(-1px); }

.btn-outline-dark {
  background: transparent;
  color: var(--blanco);
  border-color: var(--blanco);
}
.btn-outline-dark:hover { background: var(--blanco); color: var(--negro); }

.btn-outline-light {
  background: transparent;
  color: var(--negro);
  border-color: var(--negro);
}
.btn-outline-light:hover { background: var(--negro); color: var(--blanco); }

.sec-dark .btn-outline-light {
  color: var(--blanco);
  border-color: rgba(255,255,255,0.4);
}
.sec-dark .btn-outline-light:hover { background: var(--blanco); color: var(--negro); border-color: var(--blanco); }

.btn-lg { padding: 0.9rem 2.25rem; font-size: 0.9rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.75rem; }

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
}
.badge-orange { background: var(--naranja); color: var(--blanco); }
.badge-dark   { background: var(--negro); color: var(--blanco); }
.badge-green  { background: #27ae60; color: var(--blanco); }

/* ── Formularios ── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--texto-oscuro);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--fs-md);
  font-family: var(--font-body);
  color: var(--texto-oscuro);
  background: var(--blanco);
  border: 1.5px solid var(--borde);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--naranja);
  box-shadow: 0 0 0 3px rgba(232,80,10,0.12);
}

.form-control.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.12);
}

.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 18px; padding-right: 2.5rem; }

.form-error {
  display: none;
  font-size: var(--fs-xs);
  color: #e74c3c;
  margin-top: 0.3rem;
}
.form-error.visible { display: block; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--naranja);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.form-check label { font-size: var(--fs-sm); color: var(--texto-medio); line-height: 1.5; }
.form-check a { color: var(--naranja); }

/* Mensaje de éxito del formulario */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  background: rgba(39,174,96,0.05);
  border: 1px solid rgba(39,174,96,0.2);
  border-radius: var(--radius);
}
.form-success.visible { display: block; }
.form-success__icon { font-size: 3rem; color: #27ae60; margin-bottom: 1rem; }
.form-success__title { font-family: var(--font-head); font-size: var(--fs-2xl); color: var(--negro); margin-bottom: 0.75rem; }
.form-success__text { color: var(--texto-medio); }

/* Backoffice: form-control en fondo oscuro */
.admin-body .form-control {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: #e0e0e0;
}
.admin-body .form-control:focus {
  border-color: var(--naranja);
  background: rgba(255,255,255,0.08);
}
.admin-body .form-label { color: #ccc; }

/* ── TOPBAR ── */
.topbar {
  background: var(--negro);
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 1rem;
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  transition: color 0.2s;
}
.topbar__item:hover { color: var(--naranja); }
.topbar__item svg { width: 13px; height: 13px; flex-shrink: 0; }

.topbar__right { display: flex; align-items: center; gap: 1rem; }

.topbar__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.topbar__social a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.topbar__social a:hover { color: var(--naranja); }
.topbar__social svg { width: 15px; height: 15px; display: block; }

/* ── HEADER ── */
.header {
  background: var(--negro);
  position: sticky;
  top: 0;
  z-index: 500;
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 72px;
}

.header__logo img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(232,80,10,0.4);
  transition: border-color 0.2s;
}
.header__logo:hover img { border-color: var(--naranja); }

.header__brand {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.header__brand-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blanco);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}
.header__brand-name span { color: var(--naranja); }

.header__brand-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header__phones { display: flex; flex-direction: column; align-items: flex-end; }
.header__phone-label { font-size: 0.65rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; }
.header__phone-num { font-family: var(--font-head); font-size: 1rem; color: var(--blanco); font-weight: 600; letter-spacing: 0.05em; transition: color 0.2s; }
.header__phone-num:hover { color: var(--naranja); }

/* ── NAVEGACIÓN ── */
.nav {
  background: var(--negro-suave);
  border-bottom: 2px solid var(--naranja);
  position: sticky;
  top: 72px;
  z-index: 499;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__link {
  display: block;
  padding: 0.875rem 1rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--naranja);
  transition: left 0.2s, right 0.2s;
}

.nav__link:hover,
.nav__link.active {
  color: var(--blanco);
}

.nav__link:hover::after,
.nav__link.active::after {
  left: 0; right: 0;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blanco);
  transition: all 0.3s;
  transform-origin: center;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 498;
}
.nav-overlay.open { display: block; }

/* ── HERO SLIDER ── */
.hero {
  position: relative;
  height: clamp(480px, 75vh, 800px);
  overflow: hidden;
  background: var(--negro);
}

.hero__slides { position: relative; width: 100%; height: 100%; }

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero__slide.active { opacity: 1; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  background: var(--naranja);
  color: var(--blanco);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--blanco);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.hero__title span { color: var(--naranja); }

.hero__text {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 500px;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__prev,
.hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--blanco);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.hero__prev { left: 1.25rem; }
.hero__next { right: 1.25rem; }
.hero__prev:hover, .hero__next:hover { background: var(--naranja); border-color: var(--naranja); }
.hero__prev svg, .hero__next svg { width: 20px; height: 20px; }

.hero__controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.hero__dot.active { background: var(--naranja); width: 24px; border-radius: 4px; }

/* ── BIENVENIDA ── */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.welcome-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.welcome-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--borde);
}

.welcome-stat__num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--naranja);
  line-height: 1;
}

.welcome-stat__label {
  font-size: var(--fs-xs);
  color: var(--texto-claro);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* ── GRID DE MOTOS (4 tiles) ── */
.motos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.moto-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}

.moto-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.moto-tile:hover img { transform: scale(1.06); }

.moto-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  transition: background 0.3s;
}

.moto-tile:hover .moto-tile__overlay {
  background: linear-gradient(to top, rgba(232,80,10,0.85) 0%, rgba(0,0,0,0.2) 60%);
}

.moto-tile__label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-head);
}

.moto-tile__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blanco);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* ── PILARES ── */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.pilar-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  background: var(--blanco);
  transition: all 0.3s;
}

.pilar-card:hover {
  border-color: var(--naranja);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.pilar-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(232,80,10,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--naranja);
  transition: all 0.3s;
}
.pilar-card__icon svg { width: 28px; height: 28px; }
.pilar-card:hover .pilar-card__icon { background: var(--naranja); color: var(--blanco); }

.pilar-card__title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--negro);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.pilar-card__text {
  font-size: var(--fs-sm);
  color: var(--texto-medio);
  line-height: 1.7;
}

/* ── MODELOS GRID ── */
.modelos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.modelo-card {
  background: var(--negro-medio);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.modelo-card:hover {
  border-color: var(--naranja);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(232,80,10,0.2);
}

.modelo-card__img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.modelo-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.modelo-card:hover .modelo-card__img { transform: scale(1.05); }
.modelo-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; }

.modelo-card__body { padding: 1.25rem; }
.modelo-card__familia { font-size: var(--fs-xs); color: var(--naranja); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.modelo-card__title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--blanco); margin-bottom: 0.5rem; }
.modelo-card__specs { font-size: var(--fs-xs); color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 1rem; }
.modelo-card__actions { display: flex; gap: 0.5rem; }

/* ── OCASIÓN GRID ── */
.ocasion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ocasion-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.ocasion-card:hover {
  border-color: var(--naranja);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.ocasion-card__img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.ocasion-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ocasion-card:hover .ocasion-card__img { transform: scale(1.04); }
.ocasion-card__badges { position: absolute; top: 0.75rem; left: 0.75rem; }

.ocasion-card__body { padding: 1.25rem; }
.ocasion-card__year { font-size: var(--fs-xs); color: var(--naranja); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.ocasion-card__title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--negro); margin-bottom: 0.75rem; }
.ocasion-card__title a { color: inherit; }
.ocasion-card__title a:hover { color: var(--naranja); }

.ocasion-card__specs { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.ocasion-card__spec { display: flex; align-items: center; gap: 0.3rem; font-size: var(--fs-xs); color: var(--texto-claro); }
.ocasion-card__spec svg { width: 13px; height: 13px; flex-shrink: 0; }

.ocasion-card__extras { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.75rem; }
.ocasion-card__extra { font-size: 0.65rem; background: rgba(232,80,10,0.08); color: var(--naranja); padding: 0.2rem 0.5rem; border-radius: 2px; font-weight: 500; }

.ocasion-card__price-row { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 0.75rem; }
.ocasion-card__price { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--naranja); }
.ocasion-card__price-old { font-size: var(--fs-sm); color: var(--texto-claro); text-decoration: line-through; }

/* ── FILTROS DE OCASIÓN ── */
.ocasion-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.ocasion-filters__search {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.ocasion-filters__search svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--texto-claro);
  pointer-events: none;
}

.ocasion-filters__search .form-control {
  padding-left: 2.5rem;
}

/* ── CTA BANNER ── */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner__title {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--blanco);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cta-banner__sub {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.8);
  margin-top: 0.35rem;
}

.cta-banner__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── TALLER SPLIT ── */
.taller-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.taller-split__img {
  overflow: hidden;
}

.taller-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
}

.taller-split__content {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.taller-list { list-style: none; }

.taller-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.taller-list__item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--naranja);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* ── INSTAGRAM GRID ── */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.instagram-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  display: block;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.instagram-item:hover img { transform: scale(1.08); }

.instagram-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(232,80,10,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.instagram-item:hover .instagram-item__overlay { opacity: 1; }
.instagram-item__overlay svg { width: 32px; height: 32px; color: var(--blanco); }

/* ── BLOG GRID ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--blanco);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  border-color: var(--naranja);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.blog-card__img-wrap { overflow: hidden; aspect-ratio: 16/9; }
.blog-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card__img { transform: scale(1.04); }

.blog-card__body { padding: 1.25rem; }
.blog-card__date { font-size: var(--fs-xs); color: var(--naranja); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.blog-card__title { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--negro); line-height: 1.35; margin-bottom: 0.75rem; }
.blog-card__title a:hover { color: var(--naranja); }
.blog-card__excerpt { font-size: var(--fs-sm); color: var(--texto-medio); line-height: 1.65; margin-bottom: 1rem; }

/* ── PAGE HERO (páginas internas) ── */
.page-hero {
  position: relative;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}

.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--naranja); }
.breadcrumb__sep { color: rgba(255,255,255,0.3); }

.page-hero__label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--naranja);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--blanco);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-hero__title span { color: var(--naranja); }

.page-hero__text {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  line-height: 1.65;
}

/* ── CONTACTO ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background: rgba(232,80,10,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--naranja);
  flex-shrink: 0;
}
.contact-info__icon svg { width: 20px; height: 20px; }

.contact-info__label { font-size: var(--fs-xs); color: var(--texto-claro); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.2rem; }
.contact-info__value { font-size: var(--fs-md); color: var(--texto-oscuro); line-height: 1.6; }
.contact-info__value a { color: var(--naranja); }
.contact-info__value a:hover { text-decoration: underline; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
  border: 1px solid var(--borde);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── FICHA DE MOTO ── */
.ficha-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.ficha-gallery__main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gris-claro);
  aspect-ratio: 4/3;
}

.ficha-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: var(--blanco);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 5;
}
.gallery-nav:hover { background: var(--naranja); }
.gallery-nav svg { width: 18px; height: 18px; }
.gallery-prev { left: 0.75rem; }
.gallery-next { right: 0.75rem; }

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 72px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
  padding: 0;
  background: none;
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--naranja); }

.ficha-familia { font-size: var(--fs-xs); color: var(--naranja); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 0.25rem; }
.ficha-titulo { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: var(--negro); text-transform: uppercase; line-height: 1.1; margin-bottom: 0.35rem; }
.ficha-anio { font-size: var(--fs-sm); color: var(--texto-claro); margin-bottom: 1.25rem; }

.ficha-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  margin-bottom: 1.25rem;
}

.ficha-spec__label { font-size: var(--fs-xs); color: var(--texto-claro); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.ficha-spec__val { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; color: var(--negro); }

.ficha-precio-block { margin-bottom: 1.25rem; }
.ficha-precio { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--naranja); line-height: 1; }
.ficha-precio-old { font-size: var(--fs-md); color: var(--texto-claro); text-decoration: line-through; margin-left: 0.5rem; }
.ficha-financiacion { font-size: var(--fs-sm); color: var(--texto-medio); margin-top: 0.35rem; }

.ficha-extras { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.ficha-extra { display: flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; background: rgba(232,80,10,0.08); color: var(--naranja); padding: 0.3rem 0.65rem; border-radius: 2px; font-weight: 500; }

.ficha-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; }

.ficha-section-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--negro);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--naranja);
  display: inline-block;
}

.ficha-descripcion__text p { color: var(--texto-medio); line-height: 1.85; margin-bottom: 1rem; }

.ficha-video-wrap { margin-top: 2rem; }
.ficha-video { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius); overflow: hidden; }
.ficha-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── FOOTER ── */
.footer {
  background: var(--negro);
  color: rgba(255,255,255,0.65);
  padding-top: 4rem;
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid rgba(232,80,10,0.3);
}

.footer__tagline {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}

.footer__address {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}
.footer__address a { color: rgba(255,255,255,0.5); }
.footer__address a:hover { color: var(--naranja); }

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer__social a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer__social a:hover { color: var(--naranja); }
.footer__social svg { width: 18px; height: 18px; display: block; }

.footer__col-title {
  display: block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blanco);
  margin-bottom: 1rem;
}

.footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__link { font-size: var(--fs-sm); color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer__link:hover { color: var(--naranja); }

.footer__schedule-item { font-size: var(--fs-sm); color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 0.75rem; }
.footer__schedule-item strong { color: rgba(255,255,255,0.75); }

.footer__map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--naranja);
  border: 1px solid rgba(232,80,10,0.4);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  margin-top: 0.5rem;
}
.footer__map-btn:hover { background: var(--naranja); color: var(--blanco); border-color: var(--naranja); }

.footer__newsletter-text { font-size: var(--fs-sm); color: rgba(255,255,255,0.5); margin-bottom: 0.75rem; line-height: 1.6; }

.footer__form { display: flex; flex-direction: column; gap: 0.5rem; }

.footer__input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--blanco);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  transition: border-color 0.2s;
  outline: none;
}
.footer__input::placeholder { color: rgba(255,255,255,0.3); }
.footer__input:focus { border-color: var(--naranja); }

.footer__submit {
  background: var(--naranja);
  color: var(--blanco);
  border: none;
  padding: 0.7rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}
.footer__submit:hover { background: var(--naranja-dark); }

.footer__privacy-note { font-size: var(--fs-xs); color: rgba(255,255,255,0.3); margin-top: 0.5rem; }
.footer__privacy-note a { color: rgba(255,255,255,0.4); }
.footer__privacy-note a:hover { color: var(--naranja); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright { font-size: var(--fs-xs); color: rgba(255,255,255,0.3); }

.footer__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer__legal a { font-size: var(--fs-xs); color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer__legal a:hover { color: var(--naranja); }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 600px;
  background: var(--negro);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s, opacity 0.4s;
}

.cookie-banner.hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }

.cookie-banner__text { font-size: var(--fs-sm); color: rgba(255,255,255,0.65); line-height: 1.5; flex: 1; }
.cookie-banner__text a { color: var(--naranja); }

.cookie-banner__actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--naranja);
  color: var(--blanco);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 12px rgba(232,80,10,0.4);
}

.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--naranja-dark); }
.back-to-top svg { width: 20px; height: 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .motos-grid { grid-template-columns: repeat(2, 1fr); }
  .pilares-grid { grid-template-columns: repeat(2, 1fr); }
  .modelos-grid { grid-template-columns: repeat(2, 1fr); }
  .ocasion-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .welcome-grid { grid-template-columns: 1fr; gap: 2rem; }
  .welcome-img img { height: 300px; }
  .welcome-stats { grid-template-columns: repeat(4, 1fr); }
  .taller-split { grid-template-columns: 1fr; }
  .taller-split__img img { min-height: 300px; }
  .taller-split__content { padding: 3rem 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ficha-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --sec-pad: 3.5rem; }

  .topbar { display: none; }

  .header__phones { display: none; }
  .header__inner { gap: 0.75rem; }

  .nav__menu {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: var(--negro);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 0 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 600;
    overflow-y: auto;
    border-left: 1px solid rgba(255,255,255,0.08);
  }

  .nav__menu.open { transform: translateX(0); }
  .nav__toggle { display: flex; }
  .nav__link { width: 100%; padding: 0.875rem 1.5rem; }
  .nav__link::after { display: none; }

  .motos-grid { grid-template-columns: repeat(2, 1fr); }
  .pilares-grid { grid-template-columns: 1fr 1fr; }
  .modelos-grid { grid-template-columns: 1fr; }
  .ocasion-grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 2rem; }
  .welcome-stats { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .sec-head--split { flex-direction: column; align-items: flex-start; }
  .ficha-specs { grid-template-columns: repeat(2, 1fr); }
  .ficha-actions { flex-direction: column; }
  .ficha-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .motos-grid { grid-template-columns: 1fr; }
  .pilares-grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 1.75rem; }
  .hero__text { font-size: var(--fs-md); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .welcome-stats { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .cookie-banner { flex-direction: column; left: 1rem; right: 1rem; bottom: 1rem; }
}
