:root {
  --bg-color: #f0f4f8;
  --navy-blue: #002b49;
  --navy-light: #0d416b;
  --canary-yellow: #ffcc00;
  --canary-yellow-hover: #e6b800;
  --pure-white: #ffffff;
  --text-main: #1f2d3d;
  --text-muted: #5e6d82;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- BARRA SUPERIOR UTILIDADES --- */
.top-utility-bar {
  background: var(--navy-blue);
  color: var(--pure-white);
  padding: 8px 2rem;
  font-size: 0.82rem;
}

.utility-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.live-info-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.info-badge {
  background: var(--canary-yellow);
  color: var(--navy-blue);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
}

.info-text {
  color: #d0e0f0;
}

.weather-pill {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.social-top-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  background: var(--canary-yellow);
  color: var(--navy-blue);
  border-color: var(--canary-yellow);
  transform: scale(1.1);
}

.social-icon-btn.whatsapp-clr:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

/* --- HEADER Y MENÚ --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-color);
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 16px;
  background: var(--pure-white);
  border: 1px solid #d1d8e0;
}

.logo-svg {
  width: 44px;
  height: 44px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-blue);
  line-height: 1.1;
}

.logo-text .subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: #b39200;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-menu {
  display: flex;
  gap: 0.8rem;
  list-style: none;
}

.neu-btn-nav {
  padding: 10px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--navy-blue);
  background: transparent;
  color: var(--navy-blue);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.neu-btn-nav:hover,
.neu-btn-nav.active {
  background: var(--canary-yellow);
  border-color: var(--canary-yellow);
  color: var(--navy-blue);
}

.contact-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--canary-yellow);
  color: var(--navy-blue);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1.5px solid #e6b800;
  transition: all 0.2s ease;
}

.contact-header-btn:hover {
  background: var(--navy-blue);
  color: var(--pure-white);
  border-color: var(--navy-blue);
}

.lang-switcher {
  display: flex;
  gap: 6px;
  background: var(--pure-white);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid #d1d8e0;
}

.flag-btn {
  border: 1px solid transparent;
  background: transparent;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy-blue);
  transition: all 0.2s ease;
}

.flag-btn img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.flag-btn.active {
  background: var(--canary-yellow);
  border-color: #e6b800;
}

/* --- HERO SOLO VÍDEO --- */
.hero {
  position: relative;
  max-width: 1300px;
  margin: 2rem auto;
  border-radius: 24px;
  overflow: hidden;
  height: 60vh;
  min-height: 400px;
  background: #000;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- SERVICIOS CON PANELES COLORIDOS --- */
.services-section {
  max-width: 1300px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--navy-blue);
  font-weight: 800;
}

.section-title p {
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  border-radius: 20px;
  padding: 1.8rem;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Temas de Color */
.theme-yellow { background-color: #fffde6; border-color: #ffeb3b; }
.theme-yellow h3 { color: #8c6d00; }

.theme-navy { background-color: #002b49; border-color: #0d416b; color: #f0f4f8; }
.theme-navy h3 { color: #ffcc00; }
.theme-navy p { color: #d0e0f0; }

.theme-white { background-color: #ffffff; border-color: #d1d8e0; }
.theme-white h3 { color: var(--navy-blue); }

.theme-blue-light { background-color: #e6f2ff; border-color: #99ccff; }
.theme-blue-light h3 { color: #002b49; }

.card-icon-wrapper {
  width: 55px;
  height: 55px;
  border-radius: 16px;
  background: var(--pure-white);
  border: 1px solid rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
}

.card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(0,0,0,0.1);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.service-card p {
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.neu-btn-info {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1.5px solid var(--navy-blue);
  background: var(--canary-yellow);
  color: var(--navy-blue);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.neu-btn-info:hover {
  background: var(--navy-blue);
  color: var(--pure-white);
}

/* --- MODAL Y FORMULARIO --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 43, 73, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--pure-white);
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  padding: 2.5rem;
  border: 2px solid var(--navy-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #c1c8d3;
  background: var(--pure-white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-blue);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.5rem;
  color: var(--navy-blue);
  font-weight: 800;
}

.modal-body p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
}

/* --- ESTILO BLANCO PURO PARA EL MODAL DE QUADS --- */
.modal-content.theme-quad-modal {
  background-color: #ffffff;
  border-color: #2e7d32;
  color: #1f2d3d;
}

.modal-content.theme-quad-modal .modal-title {
  color: #2e7d32;
}

.modal-content.theme-quad-modal .modal-close {
  background: #ffffff;
  color: #2e7d32;
  border-color: #a5d6a7;
}

.modal-content.theme-quad-modal .modal-body p {
  color: #5e6d82;
}

.modal-content.theme-quad-modal .includes-box {
  background: #f1f8f3;
  border-color: #c8e6c9;
}

.modal-content.theme-quad-modal .includes-box h4,
.modal-content.theme-quad-modal .includes-box li {
  color: #1b5e20;
}

.modal-content.theme-quad-modal .contact-info-box {
  background: #e8f5e9;
  border-color: #a5d6a7;
}

.modal-content.theme-quad-modal .contact-info-box p {
  color: #1b5e20;
}

.modal-content.theme-quad-modal .direct-phone-link {
  color: #2e7d32;
}

/* --- ESTILOS PARA IMAGEN PRINCIPAL Y CATÁLOGO DE BICIS EN MODAL --- */
.modal-main-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid #d1d8e0;
}

.bike-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.bike-catalog-item {
  background: #f8fafc;
  border: 1px solid #d1d8e0;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}

.bike-catalog-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.bike-catalog-item h4 {
  font-size: 0.9rem;
  color: var(--navy-blue);
  margin-bottom: 4px;
}

.bike-catalog-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.includes-box {
  background: #f4f8fb;
  border: 1px solid #d1d8e0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 1.5rem;
}

.includes-box h4 {
  color: var(--navy-blue);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.includes-box ul {
  list-style-type: none;
  padding-left: 0;
}

.includes-box li {
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.contact-info-box {
  background: #e6f2ff;
  border: 1.5px solid #99ccff;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 1rem;
}

.contact-info-box p {
  margin-bottom: 4px;
  color: var(--navy-blue);
  font-size: 0.9rem;
}

.direct-phone-link {
  color: #0066cc;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-block;
}

.direct-phone-link:hover {
  text-decoration: underline;
}

.modal-divider {
  border: none;
  height: 2px;
  background: var(--canary-yellow);
  margin: 1.5rem 0;
}

.neu-input, .neu-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid #a0b0c0;
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
}

.neu-textarea {
  resize: vertical;
  min-height: 90px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 1.2rem 0;
}

.neu-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #ffffff;
  border: 1.5px solid #a0b0c0;
  cursor: pointer;
  display: grid;
  place-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.neu-checkbox:checked {
  background-color: var(--canary-yellow);
  border-color: var(--navy-blue);
}

.neu-checkbox::before {
  content: "✓";
  font-weight: 800;
  color: var(--navy-blue);
  font-size: 13px;
  transform: scale(0);
}

.neu-checkbox:checked::before {
  transform: scale(1);
}

.checkbox-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* BARRA DE CONFIANZA */
.trust-bar-section {
  max-width: 1300px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.trust-container {
  background: var(--pure-white);
  border: 1.5px solid #d1d8e0;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  font-size: 2rem;
}

.trust-item strong {
  display: block;
  color: var(--navy-blue);
  font-size: 0.95rem;
}

.trust-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- CONTROL PAD FLOTANTE --- */
.floating-nav-pad {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  background: transparent;
  padding: 8px;
  display: grid;
  grid-template-areas: 
    ". up ."
    "prev home next"
    ". down .";
  gap: 6px;
}

.pad-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--navy-blue);
  background: transparent;
  color: var(--navy-blue);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.pad-btn:hover {
  background: var(--canary-yellow);
  border-color: var(--canary-yellow);
}

.pad-btn.btn-up { grid-area: up; }
.pad-btn.btn-down { grid-area: down; }
.pad-btn.btn-prev { grid-area: prev; }
.pad-btn.btn-next { grid-area: next; }
.pad-btn.btn-home { grid-area: home; background: var(--canary-yellow); border-color: #e6b800; }

footer {
  text-align: center;
  padding: 2.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .hero { height: 40vh; min-height: 280px; }
  .nav-container { flex-direction: column; }
  .utility-container { justify-content: center; text-align: center; }
  .floating-nav-pad { bottom: 1rem; right: 1rem; scale: 0.85; }
}