:root {
  --bg: #101211;
  --bg-soft: #151816;
  --card: #181715;
  --text: #f5efe6;
  --muted: #c7beb4;
  --line: #2e2b27;
  --accent: #68bdc7;
  --accent-dark: #17464d;
  --orange: #ff9d4d;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

body.light {
  --bg: #f5f2ec;
  --bg-soft: #ebe7dc;
  --card: #ffffff;
  --text: #171717;
  --muted: #555;
  --line: #ddd5c9;
  --accent: #287c8a;
  --accent-dark: #d6eef1;
  --orange: #c96921;
}

* {
  box-sizing: border-box;
}



.join-section {
  padding: 110px 20px;
}

/* 
.join-card {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(127, 211, 222, 0.14);
  background:
    radial-gradient(circle at 12% 10%, rgba(127, 211, 222, 0.16), transparent 28%),
    radial-gradient(circle at 88% 90%, rgba(255, 255, 255, 0.06), transparent 30%),
    linear-gradient(135deg, rgba(17, 20, 20, 0.98), rgba(9, 11, 11, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
} */

.join-card {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 10%, rgba(127, 211, 222, 0.16), transparent 28%),
    radial-gradient(circle at 88% 90%, rgba(255, 255, 255, 0.06), transparent 30%),
    var(--card);
  box-shadow: var(--shadow);
}


.join-card::before {
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 28%,
    transparent 72%,
    rgba(255, 255, 255, 0.03) 100%
  );
}
.join-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("fotos/logo_sin_fondo.png");
  background-repeat: no-repeat;
  background-position: right -20px bottom -20px;
  background-size: 260px;
  opacity: 0.06;
  pointer-events: none;
  filter: grayscale(1);
}

.join-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 0.85fr;
  gap: 28px;
  padding: 58px;
  align-items: center;
}

.join-copy {
  text-align: center;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  margin-bottom: 16px;
}

.join-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.join-copy p {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.join-features {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 0;
 
}


.join-features div {
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
}


.join-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.btn-whatsapp-ppal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        rgba(37, 211, 102, 0.50),
        rgba(30, 190, 93, 0.50)
    );
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 10px 25px rgba(37, 211, 102, .20);
    transition: all .25s ease;
}

.btn-whatsapp-ppal:hover {
    background: linear-gradient(
        135deg,
        rgba(37, 211, 102, 0.95),
        rgba(30, 190, 93, 0.95)
    );
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(37, 211, 102, .30);
}


.btn-whatsapp,
.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
   min-width: 220px;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, filter .18s ease;
}

.btn-whatsapp {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, #31e06f, #1db954);
  box-shadow: none;
}

.btn-whatsapp::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(49, 224, 111, 0.35), rgba(127, 211, 222, 0));
  z-index: -1;
  filter: blur(10px);
  opacity: 0.8;
}

.btn-instagram {
  position: relative;
  color: #fff;

  background: linear-gradient(
    135deg,
    #833ab4,
    #fd1d1d,
    #fcb045
  );

  box-shadow: none;
}

.btn-instagram::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;

  background: linear-gradient(
    135deg,
    rgba(245, 133, 41, 0.35),
    rgba(221, 42, 123, 0.35),
    rgba(129, 52, 175, 0.25)
  );

  z-index: -1;
  filter: blur(17px);
 
}
.btn-whatsapp:hover,
.btn-instagram:hover {
  transform: translateY(-3px) scale(1.02);
}

.join-aside {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  position: relative;
}


.join-aside::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), rgba(127, 211, 222, 0.1));
}

.join-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding: 10px 14px;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(127, 211, 222, 0.12);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.92rem;
}

.join-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(127, 211, 222, 0.15);
}

.join-stat {
  margin-left: 8px;
  padding: 16px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.join-stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.join-stat span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .join-grid {
    grid-template-columns: 1fr;
    padding: 28px 18px;
  }

  .join-copy {
    text-align: center;
  }

  .join-aside {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }

  .join-badge {
    justify-self: center;
    margin-left: 0;
  }

  .join-stat {
    margin-left: 0;
  }

  .join-card::after {
    background-size: 180px;
    opacity: 0.04;
  }
}










html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(104, 189, 199, 0.12), transparent 32%),
    var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}




.header {
  position: fixed; /* mejor que sticky para que se vea sobre el hero */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;

  background: transparent;
  border-bottom: 1px solid transparent;

  transition: all 0.3s ease;
}

/* Estado cuando se hace scroll */
.header.scrolled {
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

body.light .header.scrolled {
  background: rgba(245, 242, 236, 0.92);
}


.header.scrolled .menu-btn,
.header.scrolled .theme-btn {
  border-color: var(--line);
}




/* .header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
 /*  backdrop-filter: blur(18px); 
  border-bottom: 1px solid var(--line);
}
 */
body.light .header {
  background: rgba(245, 242, 236, 0.92);
}

.navbar {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
}.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 15px;
    white-space: nowrap;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    color: var(--text);
}

.nav-links {
  position: fixed;
  top: 68px;
  left: 12px;
  right: 12px;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  margin: 0;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  display: block;
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 800;
  border-radius: 12px;
}

.nav-links a:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.menu-btn,
.theme-btn {
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  flex: 0 0 auto;
}

.menu-btn {
  display: grid;
  place-items: center;
  font-size: 22px;
}

.theme-btn {
  display: grid;
  place-items: center;
  font-size: 16px;
}

.nav-cta {
  display: none;
}

.btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #071010;
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--text);
}

.hero {
  min-height: auto;
  padding-top: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}


.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
}

.orange {
  color: var(--orange);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(40px, 13vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(32px, 9vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

h3 {
  margin-bottom: 10px;
}


#hero-text1,
.section-heading p,
.contact-info p,
.group-grid p,
.featured-content p,
.route-card p,
.info-card p {
  color: var(--muted);
  line-height: 1.65;
}

#hero-text1 {
  font-size: 20px;
}
.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.featured-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

.featured-card img {
  width: 100%;
  height: clamp(230px, 58vw, 360px);
  object-fit: cover;
}

.featured-content {
  padding: 22px;
}

.featured-content h2 {
  font-size: 25px;
  letter-spacing: -0.04em;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  background: var(--accent-dark);
  color: var(--accent);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.info-grid,
.routes-grid,
.gallery-grid,
.group-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.info-card,
.route-card,
.team-box,
.contact-info,
.contact-form,
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
}

.info-card {
  padding: 22px;
}

.card-number {
  color: var(--accent);
  font-weight: 900;
  display: block;
  margin-bottom: 14px;
}

.route-card {
  overflow: hidden;
}

.route-card img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}

.route-card div {
  padding: 22px;
}

.route-card span {
  color: var(--accent);
  font-weight: 900;
}

.gallery-heading {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.gallery-tip {
  font-size: 14px;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 22px;
  scrollbar-width: none;
}

.filter-buttons::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}

.filter-btn.active {
  background: var(--accent);
  color: #071010;
  border-color: var(--accent);
}

.gallery-carousel {
  display: grid;
  gap: 14px;
}

.carousel-topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.carousel-topbar p {
  margin: 0;
}

.carousel-viewport {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 14px;
  padding: 2px 2px 8px;
}

.carousel-slide {
  position: relative;
  flex: 0 0 88%;
  min-height: clamp(360px, 118vw, 560px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  cursor: pointer;
  scroll-snap-align: center;
  box-shadow: var(--shadow);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.carousel-slide span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: white;
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent);
  pointer-events: none;
}

.gallery-item.hide {
  display: none;
}

.carousel-controls {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
}

.carousel-dots button.active {
  width: 26px;
  background: var(--accent);
}
/* =========================
   SECCIÓN NUESTROS VÍDEOS
========================= */

.videos-section {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(127, 211, 222, .13), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 157, 77, .11), transparent 28%);
}

.videos-heading {
  max-width: 860px;
}

.videos-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.video-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.video-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .7s ease, filter .7s ease;
  z-index: -2;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.08) 0%,
      rgba(0,0,0,.26) 42%,
      rgba(0,0,0,.82) 100%
    ),
    radial-gradient(circle at 20% 20%, rgba(127, 211, 222, .18), transparent 30%);
}

.video-card:hover video {
  transform: scale(1.07);
  filter: saturate(1.12) contrast(1.05);
}

.video-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  color: #fff;
}

.video-content span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(127, 211, 222, .18);
  border: 1px solid rgba(255,255,255,.14);
  color: #dffaff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .15em;
  backdrop-filter: blur(10px);
}

.video-content h3 {
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  letter-spacing: -.04em;
}

.video-content p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
}


/* =========================
   EFECTO AL BAJAR / SCROLL
========================= */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .75s ease, transform .75s ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.reveal-left {
  transform: translateX(-34px);
}

.reveal-on-scroll.reveal-right {
  transform: translateX(34px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-on-scroll.reveal-delay-1 {
  transition-delay: .08s;
}

.reveal-on-scroll.reveal-delay-2 {
  transition-delay: .16s;
}

.reveal-on-scroll.reveal-delay-3 {
  transition-delay: .24s;
}


/* =========================
   FLECHA ANIMADA HERO
========================= */

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  width: 34px;
  height: 54px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(0,0,0,.20);
  backdrop-filter: blur(10px);
}

.scroll-cue span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: scrollCue 1.4s ease-in-out infinite;
}

@keyframes scrollCue {
  0% {
    transform: translateY(0);
    opacity: .35;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(25px);
    opacity: .08;
  }
}


/* =========================
   RESPONSIVE VÍDEOS
========================= */

@media (min-width: 760px) {
  .videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-feature {
    grid-column: 1 / -1;
    min-height: 520px;
  }
}

@media (min-width: 1080px) {
  .videos-grid {
    grid-template-columns: 1.18fr .82fr .82fr;
  }

  .video-feature {
    grid-column: auto;
  }

  .video-card {
    min-height: 500px;
  }
}

@media (max-width: 640px) {
  .scroll-cue {
    bottom: 18px;
  }

  .video-card {
    min-height: 390px;
    border-radius: 24px;
  }

  .video-content {
    padding: 18px;
  }

  .videos-section .container {
    width: min(100% - 24px, 1180px);
  }
}


/* =========================
   ACCESIBILIDAD
========================= */

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .video-card video,
  .reveal-on-scroll,
  .scroll-cue span {
    transition: none;
    animation: none;
  }
}



.steps {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.step {
  display: flex;
  gap: 14px;
  padding: 18px;
}

.step span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-dark);
  color: var(--accent);
  font-weight: 900;
}

.team-box {
  padding: 22px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.team-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.team-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #e7b66c);
  color: #101211;
  font-weight: 900;
  margin-bottom: 14px;
}

.team-grid h4 {
  margin-bottom: 6px;
}

.team-grid p {
  font-size: 14px;
}

.rules {
  margin-top: 24px;
}

.contact-info,
.contact-form {
  padding: 22px;
}

.contact-info ul {
  padding-left: 0;
  margin: 24px 0 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 12px;
  padding: 14px;
  outline: none;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-message {
  margin: 0;
  color: var(--accent);
  font-weight: 900;
}

/* 
.merch-section {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 77, 0.1), transparent 30%),
    var(--bg);
    .merch-card {
    background: #171717;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    overflow: hidden;
}

} */

.merch-section {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 77, 0.1), transparent 30%),
    var(--bg);
  color: var(--text);
}

.merch-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.merch-steps div {
  background: var(--bg-soft);
  border: 1px solid var(--line);
}


.merch-heading {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: end;
}

.merch-cta {
  width: 100%;
}

.merch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}


/* 

.merch-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
} */




/* .merch-visual {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(104, 189, 199, 0.18), rgba(255, 157, 77, 0.12)),
    var(--bg-soft);
}

.tshirt {
  position: relative;
  width: min(210px, 70vw);
  height: 230px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  border-radius: 26px 26px 18px 18px;
  background: linear-gradient(145deg, #242421, #111);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
}
 */


.merch-visual {
    width: 100%;
    height: 300px; /* ajusta la altura que necesites */
    overflow: hidden;
    border-radius: 12px; /* opcional */
}

.merch-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* rellena el recuadro recortando lo que sobre */
    display: block;
}

/* 

.tshirt::before,
.tshirt::after {
  content: "";
  position: absolute;
  top: 28px;
  width: 62px;
  height: 92px;
  background: linear-gradient(145deg, #242421, #111);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tshirt::before {
  left: -42px;
  border-radius: 22px 0 22px 22px;
  transform: rotate(16deg);
}

.tshirt::after {
  right: -42px;
  border-radius: 0 22px 22px 22px;
  transform: rotate(-16deg);
} */

.tshirt-logo {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #071010;
  font-size: 24px;
  font-weight: 900;
  z-index: 1;
}

.tshirt-text {
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  z-index: 1;
}
.tshirt img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.keychain-visual {
  gap: 0;
}

.keychain-ring {
  width: 82px;
  height: 82px;
  border: 12px solid var(--accent);
  border-radius: 50%;
  margin-bottom: -12px;
  z-index: 1;
}

.keychain-body {
  width: 150px;
  height: 180px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  background: linear-gradient(145deg, var(--accent-dark), var(--card));
  border: 1px solid var(--line);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
}

.keychain-body span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #101211;
  font-size: 28px;
  font-weight: 900;
}

.merch-content,
.merch-info-card {
  padding: 22px;
}

.merch-content h3,
.merch-info-card h3 {
  font-size: 26px;
  letter-spacing: -0.04em;
}

.merch-content p,
.merch-steps p {
  color: var(--muted);
  line-height: 1.65;
}

.merch-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.merch-options span {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.merch-bottom {
  display: grid;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
}

.merch-bottom strong {
  color: var(--orange);
  font-size: 24px;
}

.merch-steps {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.merch-steps div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-soft);
}

.merch-steps span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #071010;
  font-weight: 900;
}

.merch-steps p {
  margin: 0;
}



/* 
.footer {
  background: #090b0b;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
 */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  margin-top: 80px;
}

.social-links a {
  background: var(--bg-soft);
}



.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 90px;
 
  justify-items: center;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  
}
.footer-brand p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 400px;
  text-align: center;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4 {
  margin-bottom: 10px;
  color: var(--text);
}

.footer-links a,
.footer-links span {
  color: var(--muted);
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-links a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(127,211,222,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: 0.3s;
}

.social-links a:hover {
  transform: translateY(-4px);
  background: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-logo img {
  width: 200px;
  max-width: 100%;
  height: auto;
  display: block;
}
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 34px;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  z-index: 9999;
  transition: all .3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
  }
}


/* Móviles muy pequeños */
@media (max-width: 360px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .logo span:last-child {
    font-size: 13px;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .featured-content,
  .info-card,
  .team-box,
  .contact-info,
  .contact-form,
  .merch-content,
  .merch-info-card {
    padding: 18px;
  }

  .merch-visual {
    min-height: 230px;
  }
}

/* Móviles grandes y tablets pequeñas */
@media (min-width: 640px) {
  .btn {
    width: auto;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .info-grid,
  .routes-grid,
  .merch-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .merch-card-featured {
    grid-column: span 2;
  }

  .merch-bottom {
    grid-template-columns: auto 1fr;
  }

  .carousel-slide {
    flex-basis: 62%;
    min-height: 460px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  
}

/* Tablets */
@media (min-width: 900px) {
  .section {
    padding: 90px 0;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
  }

  .gallery-heading,
  .merch-heading,
  .group-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .merch-cta {
    width: auto;
    justify-self: end;
  }

  .contact-grid {
    grid-template-columns: 0.85fr 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Escritorio */
@media (min-width: 1080px) {
  .navbar {
    height: 74px;
    gap: 28px;
  }

  .menu-btn {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-links a {
    padding: 0;
  }

  .nav-links a:hover {
    background: transparent;
  }

  .nav-cta {
    display: inline-flex;
  }

  .info-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .routes-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .merch-grid {
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
  }

  .merch-card-featured {
    grid-column: auto;
  }

  .nav-links {
    gap: 18px;
  }

  .carousel-slide {
    flex-basis: 32%;
    min-height: 430px;
    scroll-snap-align: start;
  }
}

/* PORTADA CON VIDEO DE FONDO funciona bien pero recorta en movil*/

.hero-video {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 0;

  background: transparent;
  
  /* 
   background: #00000070; */
  isolation: isolate;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  
  object-position: center bottom 110%;
  z-index: -2;
  background: transparent; 
  
  /* 
    background: #00000070; */
} 

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.25) 50%,
      rgba(0, 0, 0, 0.15)
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.10),
      rgba(0, 0, 0, 0.20)
    );

  pointer-events: none;
}

.hero-center {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  color: #fff;
}

.hero-brand {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero-center h1 {
  margin: 0 0 26px;
  color: #fff;
  font-size: clamp(44px, 8vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-center .hero-text {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}

.hero-center .hero-actions {
  justify-content: center;
  margin-top: 34px;
}

.btn-glass {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(10px);
}

@media (max-width: 640px) {
  .hero-video {
    min-height: 92vh;
    padding: 110px 0 64px;
  }

  .hero-center h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero-center .hero-actions {
    display: grid;
  }
}

/* ===== URBAN RIDERS AJUSTES CHATGPT 10-07 ===== */

/* Hero: etiqueta superior con estilo premium */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 0 auto 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .24);
}

.hero-kicker span {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(127, 211, 222, .85);
}

.hero-kicker p {
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-center .btn-whatsapp-ppal {
  width: fit-content;
  max-width: 320px;
  margin: 24px auto 0;
  justify-content: center;
}

/* Reveal seguro: si JS falla, el contenido NO desaparece */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity .72s ease, transform .72s ease;
  will-change: opacity, transform;
}

.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
}

.js .reveal-on-scroll.reveal-left {
  transform: translateX(-34px);
}

.js .reveal-on-scroll.reveal-right {
  transform: translateX(34px);
}

.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-delay-1 {
  transition-delay: .08s;
}

.reveal-delay-2 {
  transition-delay: .16s;
}

.reveal-delay-3 {
  transition-delay: .24s;
}

/* Vídeos: todos iguales en ordenador y cómodos en móvil */
.videos-section {
  overflow: hidden;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.video-card,
.video-card.video-feature {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: #090b0b;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.video-card video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .7s ease, filter .7s ease;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .28) 42%, rgba(0, 0, 0, .82) 100%),
    radial-gradient(circle at 20% 20%, rgba(127, 211, 222, .18), transparent 30%);
  pointer-events: none;
}

.video-card:hover video {
  transform: scale(1.07);
  filter: saturate(1.12) contrast(1.05);
}

.video-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px;
  color: #fff;
}

@media (min-width: 900px) {
  .videos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .video-card,
  .video-card.video-feature {
    grid-column: auto;
    min-height: 460px;
  }
}

/* Galería: autoplay compatible con flechas, dots, filtros y gesto táctil */
.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 14px;
  align-items: stretch;
}

.carousel-slide {
  scroll-snap-align: start;
}

.carousel-dots button {
  transition: width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.carousel-btn:disabled {
  opacity: 1;
  cursor: pointer;
}

/* Botones de WhatsApp compactos en móvil */
@media (max-width: 640px) {
  .hero-kicker {
    margin-bottom: 14px;
    padding: 8px 13px;
  }

  .hero-kicker p {
    font-size: 10px;
    letter-spacing: .13em;
  }

  .hero-center .btn-whatsapp-ppal {
    width: min(76vw, 280px);
    max-width: 280px;
    min-width: 0;
    padding: 13px 20px;
    font-size: .92rem;
  }

  .join-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .join-buttons .btn-whatsapp,
  .join-buttons .btn-instagram {
    width: min(82vw, 280px);
    min-width: 0;
    max-width: 280px;
    padding: 13px 20px;
    font-size: .92rem;
  }

  .gallery-heading h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
    line-height: .95;
  }

  .filter-buttons {
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .filter-btn {
    flex: 0 0 auto;
    padding: 13px 19px;
  }

  .carousel-track {
    gap: 14px;
  }

  .carousel-slide {
    flex-basis: 84vw;
    min-height: min(430px, 118vw);
    border-radius: 22px;
  }

  .carousel-controls {
    margin-top: 4px;
    gap: 12px;
  }

  .video-card,
  .video-card.video-feature {
    min-height: min(470px, 125vw);
    border-radius: 24px;
  }

  .video-content {
    padding: 18px;
  }

  .video-content h3 {
    font-size: clamp(1.45rem, 7vw, 2.1rem);
  }
}

@media (max-width: 380px) {
  .hero-center .btn-whatsapp-ppal,
  .join-buttons .btn-whatsapp,
  .join-buttons .btn-instagram {
    width: min(78vw, 250px);
    max-width: 250px;
    padding: 12px 17px;
    font-size: .88rem;
  }

  .carousel-slide {
    flex-basis: 86vw;
    min-height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .js .reveal-on-scroll,
  .video-card video,
  .carousel-viewport {
    transition: none;
    animation: none;
    scroll-behavior: auto;
  }

  .js .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
