/* =========================
   Cortinas Saucedo — style.css
   Tema: Industrial · Rojo · Mexicano
========================= */
:root {
  --brand: #0a0a0a;
  --accent: #ef4444;
  --accent-dark: #b91c1c;
  --muted: #71717a;
  --surface: rgba(24, 24, 27, 0.7);
  --border: rgba(255, 255, 255, 0.07);
}

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

html, body { max-width: 100%; overflow-x: clip; }

body {
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
  font-weight: 400;
}

.font-display { font-family: 'Barlow Condensed', 'Barlow', sans-serif; }
.font-300 { font-weight: 300; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }
.font-800 { font-weight: 800; }
.font-900 { font-weight: 900; }

img, video, canvas, svg { max-width: 100%; height: auto; }
iframe { max-width: 100%; }
p, a, h1, h2, h3, h4, h5, h6 { overflow-wrap: anywhere; }
section { scroll-margin-top: 80px; }
button, a { min-width: 0; }

/* =========================
   NAV
========================= */
.nav-bar {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(239, 68, 68, 0.12);
}
.nav-active { color: #ef4444 !important; }

/* =========================
   LOGO ICON
========================= */
.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  flex-shrink: 0;
}

/* =========================
   BUTTONS
========================= */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  background: #ef4444;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.cta-btn:hover { background: #b91c1c; transform: translateY(-1px); }

.cta-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  background: #0a0a0a;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
}
.cta-btn-dark:hover { background: #18181b; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: #ef4444; background: rgba(239,68,68,0.08); }

.cta-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background: #ef4444;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
}
.cta-sm:hover { background: #b91c1c; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background: #16a34a;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.btn-wa:hover { background: #15803d; }

/* =========================
   SOCIAL BUTTONS
========================= */
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.social-btn:hover { border-color: #ef4444; color: #ef4444; }

.social-btn-sm {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.social-btn-sm:hover { border-color: #ef4444; color: #ef4444; }

/* =========================
   HERO
========================= */
.hero-section { position: relative; }

/* Real photo background */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay-photo {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(9,9,11,0.88) 0%,
    rgba(9,9,11,0.72) 40%,
    rgba(120,10,10,0.45) 80%,
    rgba(9,9,11,0.85) 100%
  );
}

/* Keep fallback bg for browsers that block external images */
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(239,68,68,0.12) 0%, transparent 65%),
              radial-gradient(ellipse 60% 50% at 80% 70%, rgba(180,20,20,0.08) 0%, transparent 60%);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(239,68,68,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,68,68,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(9,9,11,0.9) 100%);
}

.text-outline {
  -webkit-text-stroke: 2px #ef4444;
  color: transparent;
}

/* Stats */
.stat-card {
  background: rgba(24,24,27,0.8);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(8px);
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: #ef4444;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: #71717a;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================
   SHINE
========================= */
.shine { position: relative; overflow: hidden; }
.shine::after {
  content: "";
  position: absolute;
  inset: -150% -50% auto;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  height: 200%;
  width: 40%;
  animation: shine 8s infinite;
}
@keyframes shine {
  0% { left: -50% }
  60% { left: 120% }
  100% { left: 120% }
}

/* =========================
   GLASS
========================= */
.glass {
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(24,24,27,0.55);
  border: 1px solid rgba(255,255,255,0.07);
}

.glass-dark {
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(15,15,18,0.65);
  border: 1px solid rgba(255,255,255,0.07);
}

/* =========================
   SECTION TYPOGRAPHY
========================= */
.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ef4444;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 1;
}

/* =========================
   TRUST TICKER
========================= */
.ticker { position: relative; overflow: hidden; }
.ticker::before, .ticker::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 60px;
  pointer-events: none; z-index: 2;
}
.ticker::before { left: 0; background: linear-gradient(to right, rgba(9,9,11,1), transparent); }
.ticker::after { right: 0; background: linear-gradient(to left, rgba(9,9,11,1), transparent); }

.ticker-track {
  display: flex;
  gap: 2rem;
  align-items: center;
  width: max-content;
  animation: scrollX 24s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes scrollX {
  from { transform: translateX(0) }
  to { transform: translateX(-50%) }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.15);
  white-space: nowrap;
  transition: transform 0.2s, background 0.2s;
}
.badge-pill:hover { transform: translateY(-1px); background: rgba(239,68,68,0.12); }
.badge-icon { color: #ef4444; }

.badge-info {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* =========================
   FILTER CHIPS
========================= */
.chip {
  padding: 0.35rem 0.8rem;
  border-radius: 3px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  color: #a1a1aa;
}
.chip:hover { border-color: rgba(239,68,68,0.5); color: #fff; }
.chip.active { background: #ef4444; color: #fff; border-color: #ef4444; }

/* =========================
   SERVICE CARDS
========================= */
.service-card {
  background: rgba(24,24,27,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.25s, transform 0.2s, background 0.25s;
}
.service-card:hover {
  border-color: rgba(239,68,68,0.35);
  transform: translateY(-3px);
  background: rgba(24,24,27,0.85);
}

.service-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #ef4444;
  margin-bottom: 1rem;
}

/* Models CTA banner */
.models-cta-banner {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 10px;
  padding: 1.5rem 2rem;
}

/* =========================
   PROCESS
========================= */
.proc-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #ef4444;
}

.proc-step {
  transition: border-color 0.2s, background 0.2s;
}
.proc-step.ring-2 {
  border-color: rgba(239,68,68,0.6) !important;
  background: rgba(239,68,68,0.06) !important;
}

.step-nav-btn {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.1);
  color: #a1a1aa;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, color 0.2s;
  background: transparent;
  cursor: pointer;
}
.step-nav-btn:hover { border-color: rgba(239,68,68,0.5); color: #fff; }
.step-nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }

@media (max-width: 1023px) {
  #procTrack { display: flex; gap: 1rem; }
  #process .proc-step { flex: 0 0 100%; width: 100%; }
  #procTrackWrap { overflow: hidden; }
}
#process { padding-bottom: 5rem; }

/* =========================
   REVIEWS
========================= */
.review-card {
  background: rgba(24,24,27,0.7);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 1.5rem;
  flex: 0 0 100%;
}

.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(239,68,68,0.15);
  color: #ef4444;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
}

/* =========================
   FAQ
========================= */
.faq-item {
  background: rgba(24,24,27,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(239,68,68,0.3); }
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  float: right;
  font-size: 1.4rem;
  color: #ef4444;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }

/* =========================
   CTA STRIP
========================= */
.cta-strip {
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 50%, #dc2626 100%);
  color: #fff;
}

/* =========================
   CONTACT
========================= */
.contact-icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  display: flex; align-items: center; justify-content: center;
  color: #ef4444;
  flex-shrink: 0;
}

.about-box {
  background: rgba(239,68,68,0.04);
  border: 1px solid rgba(239,68,68,0.12);
}

/* =========================
   FORM
========================= */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #e4e4e7;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: rgba(239,68,68,0.6);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}
.form-input::placeholder { color: #52525b; }

/* =========================
   CUSTOM SELECT
========================= */
.cs-wrap { position: relative; }

.cs-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: #e4e4e7;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.cs-btn:hover { border-color: rgba(239,68,68,0.5); }
.cs-btn:focus { border-color: rgba(239,68,68,0.7); box-shadow: 0 0 0 3px rgba(239,68,68,0.12); }

.cs-value { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.cs-value span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cs-icon { width: 18px; height: 18px; opacity: 0.9; flex: 0 0 auto; }

.cs-panel {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 0.4rem);
  z-index: 80;
  border-radius: 8px;
  background: rgba(18,18,20,0.98);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  padding: 0.35rem;
  display: none;
}
.cs-wrap.open .cs-panel { display: block; }

.cs-opt {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 5px;
  color: #d4d4d8;
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
}
.cs-opt:hover { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.2); }
.cs-opt[aria-selected="true"] { background: rgba(239,68,68,0.14); border-color: rgba(239,68,68,0.3); }

.cs-kbd { font-size: 0.75rem; color: #52525b; }

.cs-list { max-height: 240px; overflow: auto; }
.cs-list::-webkit-scrollbar { width: 8px; }
.cs-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 999px; }
.cs-list::-webkit-scrollbar-thumb:hover { background: rgba(239,68,68,0.25); }

/* =========================
   FOOTER
========================= */
.footer-bar { background: rgba(9,9,11,0.95); }

/* =========================
   FLOATING ELEMENTS
========================= */
.back-to-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 50;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(239,68,68,0.4);
  transition: opacity 0.2s, transform 0.2s;
}
.back-to-top:hover { transform: translateY(-2px); }

.wa-float {
  position: fixed;
  bottom: 1.5rem; left: 1.5rem;
  z-index: 50;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(22,163,74,0.45);
  transition: opacity 0.2s, transform 0.2s;
}
.wa-float:hover { transform: translateY(-2px); }

/* =========================
   LIGHTBOX
========================= */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.9);
  display: none; align-items: center; justify-content: center;
  z-index: 9999; padding: 16px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 12px; }

/* =========================
   MODELS PAGE
========================= */
.models-hero { min-height: 45vh; display: flex; align-items: center; }
.models-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(239,68,68,0.1) 0%, transparent 70%),
    repeating-linear-gradient(0deg, rgba(239,68,68,0.03) 0, rgba(239,68,68,0.03) 2px, transparent 2px, transparent 28px);
}

.model-card {
  background: rgba(24,24,27,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.model-card:hover { border-color: rgba(239,68,68,0.4); transform: translateY(-4px); }

.model-visual {
  position: relative;
  background: rgba(15,15,18,0.8);
  padding: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 200px;
  display: flex; align-items: center; justify-content: center;
}

.model-illustration { width: 100%; max-width: 220px; }

.model-badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  background: #ef4444;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.model-badge-blue { background: #2563eb; }
.model-badge-green { background: #16a34a; }
.model-badge-purple { background: #7c3aed; }

.model-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.model-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.model-desc {
  color: #a1a1aa;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.model-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
}

.spec-item { display: flex; flex-direction: column; gap: 0.1rem; }
.spec-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: #52525b; }
.spec-val { font-size: 0.82rem; color: #d4d4d8; font-weight: 500; }

.model-features { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.feature-tag {
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.18);
  color: #fca5a5;
  font-size: 0.72rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================
   TOUCH / SCROLLBAR
========================= */
#projTrack, #revTrack, #procTrack { min-width: 0; touch-action: pan-x; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 640px) {
  .section-title { font-size: 2rem; }
  .model-specs { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .shine::after { animation: none; }
}
/* ——— PROCESO: mobile polish ——— */
@media (max-width: 1023px) {
  #procTrack {
    gap: 0; /* ya no hace falta gap porque solo se ve 1 a la vez */
  }
  #procTrack .proc-step {
    padding: 1.25rem 1.25rem 1.5rem;
    border: 1px solid rgba(255,255,255,.08);
  }
  #procTrack .proc-step .proc-icon {
    margin: 0 0 .75rem 0; /* ícono a la izquierda en móvil */
  }
  #procTrack .proc-step > div:nth-child(2) { /* título */
    font-size: 1.05rem;
    margin-bottom: .25rem;
  }
  #procTrack .proc-step > div:nth-child(3) { /* descripción */
    font-size: .875rem;
    line-height: 1.4;
  }

  /* panel de detalle más amplio y legible */
  #procPanel { padding: 1.25rem; }

  /* botones prev/next en fila, no apilados */
  #procPrev, #procNext { flex: 1; }
}

/* estado activo del paso actual (para que se note en el carrusel) */
.proc-step.is-active {
  border-color: rgba(239,68,68,.6) !important;
  box-shadow: 0 0 0 1px rgba(239,68,68,.3);
}
/* ===== FILTER BAR: fix mobile overlap ===== */
.filter-bar .chip{
  flex-shrink: 0;           /* que no se encoja */
  white-space: nowrap;      /* texto en una sola línea */
  padding: .45rem .9rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 3px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #a1a1aa;
  transition: all .2s;
  cursor: pointer;
}
.filter-bar .chip:hover{
  border-color: rgba(239,68,68,.4);
  color: #fca5a5;
}
.filter-bar .chip.active{
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}

/* scroll horizontal suave en móvil sin barra visible */
.no-scrollbar{
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.no-scrollbar::-webkit-scrollbar{ display: none; }

/* un poco más de aire al inicio/fin para que el primer/último chip no quede pegado al borde */
@media (max-width: 640px){
  .filter-bar > div{
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .filter-bar .chip{
    font-size: .72rem;
    padding: .4rem .75rem;
  }
}

/* indicador sutil de que hay más chips hacia la derecha (fade en el borde) */
.filter-bar{
  position: relative;
}
.filter-bar::after{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 32px;
  background: linear-gradient(to right, transparent, rgba(9,9,11,.96));
  pointer-events: none;
}
@media (min-width: 1024px){
  .filter-bar::after{ display: none; } /* en desktop ya entran todos, no hace falta */
}
/* Mapa en modo oscuro para combinar con el tema */
#ubicacion iframe{
  filter: invert(92%) hue-rotate(180deg) saturate(.8) contrast(.95);
}
/* Volver a colores normales al pasar el mouse, para que se vea bien al usarlo */
#ubicacion iframe:hover{
  filter: none;
}