@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: auto;
  overflow: auto;
  /* cursor: url('/assets/img/cursor/cursor.cur'), auto; */
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
}

body.scrollable {
  overflow: auto;
}

/* Sección Sponsors Profesional */
.sponsors-section {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #f9f9ff, #ffffff);
  text-align: center;
}

/* Bloque visual del encabezado */
.sponsors-header {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sponsors-icon {
  font-size: 2rem;
  color: #f4c542;
  margin-bottom: 0.5rem;
}

.sponsors-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #4c2c92;
  position: relative;
  display: inline-block;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sponsors-title::after {
  content: "";
  display: block;
  margin: 0.5rem auto 0;
  width: 60%;
  height: 3px;
  background-color: #4c2c92;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.sponsors-header:hover .sponsors-title::after {
  width: 80%;
}

.sponsors-subtitle {
  font-size: 1rem;
  color: #666;
  margin-top: 0.5rem;
  max-width: 400px;
  line-height: 1.4;
}

.sponsors-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sponsors-group + .sponsors-group {
  margin-top: 3rem;
}

/* Animación entrada */
.sponsor-card {
  background: white;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.6s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 120px;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
}

.sponsor-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sponsor-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: filter 0.3s ease;
}

/* Tamaños y delays por tier */
.sponsor-card.tier-1 {
  width: 220px;
  height: 140px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition-delay: 0.1s;
}

.sponsor-card.tier-2 {
  width: 200px;
  height: 130px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition-delay: 0.2s;
}

.sponsor-card.tier-3 {
  width: 180px;
  height: 120px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition-delay: 0.3s;
}

.sponsor-card.tier-4 {
  width: 160px;
  height: 110px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition-delay: 0.4s;
  opacity: 0.95;
}

.sponsor-card.tier-5 {
  width: 140px;
  height: 100px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition-delay: 0.5s;
  opacity: 0.85;
}

/* Hover premium */
.sponsor-card.tier-1:hover,
.sponsor-card.tier-2:hover {
  transform: scale(1.05);
  z-index: 1;
}

.sponsor-card.tier-3:hover {
  transform: scale(1.03);
}

.sponsor-card.tier-4:hover,
.sponsor-card.tier-5:hover {
  transform: scale(1.02);
}

/* Responsive (mobile) */
@media (max-width: 768px) {
  .sponsor-card {
    width: 120px !important;
    height: 90px !important;
    padding: 0.5rem;
  }

  .sponsors-group {
    gap: 1rem;
  }

  .sponsors-title {
    font-size: 1.5rem;
  }

  .sponsors-subtitle {
    font-size: 0.875rem;
  }

  .sponsors-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
}

/* CIRCUITOS */
.circuitos-section {
  background-image: url("/assets/img/mari-menuco/mari-menuco-run-foto6.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 2rem;
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Overlay oscuro translúcido */
.circuitos-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

/* Contenedor que garantiza que el contenido esté sobre el overlay */
.container-circuitos {
  position: relative;
  z-index: 1;
}

/* Título visible con sombra para mejor contraste */
.circuitos-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #3b3291;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Subtítulo con sombra más sutil */
.circuitos-subtitle {
  color: #444;
  font-weight: 500;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Ajuste para centrar el texto en los cuadros de circuitos */
.circuito-box p {
  margin: 0;
  line-height: 1.5;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Grid de circuitos con fondo oscuro semitransparente */
.circuitos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.circuito-box {
  background-color: rgba(0, 0, 0, 0.5);
  border: 2px dashed white;
  border-radius: 12px;
  padding: 1.5rem;
  min-height: 120px;
  width: 100%;
  max-width: 250px;
  color: white;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

/* DESCARGAS */
.documentos-section {
  background-color: #ffffff;
  /* padding: 5rem 2rem; */
  text-align: center;
}

.documentos-overlay {
  padding: 2rem;
  color: #3b3291;
}

.titulo-documentos {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: #3b3291;
}

.documentos-box {
  background-color: #e8d9fc;
  padding: 2.5rem;
  border-radius: 20px;
  max-width: 900px;
  margin: 0 auto;
  color: #1c1363;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.documentos-box p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.documentos-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn-doc {
  background-color: #3b3291;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  font-size: 1rem;
  display: inline-block;
}

.btn-doc:hover {
  background-color: #4e40b4;
  color: white;
  text-decoration: none;
}

/* desktop */
@media (min-width: 1024px) {
  /* circuitos */
  section.categories {
    flex-direction: row;
    justify-content: space-around;
    padding-top: 120px;
    height: 100%;
    position: relative;
  }

  section.categories h1.cat-title {
    margin: auto 0px;
    font-size: 3em;
  }

  section.categories .category {
    margin: auto 0px;
    cursor: pointer;
    height: 200px;
    width: 50%;
  }

  section.categories .category .cat-info-container ul {
    font-size: 1em;
    margin-bottom: 5%;
  }

  section.categories .category .cat-info-container ul li {
    margin: 8px 0px;
    text-align: start;
    font-size: 1.1em;
  }

  section.categories .category .cat-info-container ul li.price {
    margin-top: 32px;
    text-align: center;
    font-size: 1.4em;
  }

  section.categories .category .cat-info-container ul li.price p {
    font-weight: 600;
  }

  section.categories .category .cat-info-container ul li p {
    color: #3b3291;
    font-size: 0.9em;
    font-weight: 400;
    margin: 1px 0px;
    padding: 4px 0px;
    text-align: center;
    background: #00faba;
    border-radius: 2px 2px 5px 5px;
  }

  section.categories .sponsors-bar {
    width: 100%;
    height: 120px;
    background: #3b3291;
    position: absolute;
    bottom: -15%;
    padding: 4px 8px;
    text-align: center;
  }

  section.categories .sponsors-bar h1 {
    font-weight: 800;
    color: #fff;
    /* font-style: italic; */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
  }

  section.sponsors {
    height: 100vh;
    display: flex;
  }

  section.sponsors .sponsors-container {
    margin: auto 0px;
    flex-direction: row;
    height: 50vh;
  }

  section.sponsors .sponsors-container img {
    width: 300px;
  }

  section.categories .category .cat-info-container .suscribe-btn {
    padding: 16px 40%;
    margin: auto 12px;
    text-align: center;
    color: #fff;
    font-size: 1.2em;
  }
}

@media (min-width: 1281px) {
  section.sponsors {
    height: 120vh;
    display: flex;
  }

  section.sponsors .sponsors-container {
    margin: auto 0px;
    flex-direction: row;
    height: 50vh;
  }

  section.sponsors .sponsors-container img {
    width: 240px;
  }

  section.categories .category .km h1 {
    font-size: 4em;
  }

  section.categories .category .cat-info-container {
    position: relative;
    overflow: hidden;
  }

  section.categories .category .cat-info-container ul {
    margin-top: 10%;
    max-height: 90%;
    overflow-y: auto;
    box-sizing: border-box;
  }

  section.categories .category .cat-info-container .suscribe-btn {
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 90%;
    margin: 0px auto;
    transform: translate(-50%, 0);
    padding: 8px auto;
  }
}

.arrow-down {
  display: inline-block;
  font-size: 1.8rem;
  margin-top: 0.6rem;
  animation: blink 1.2s infinite;
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

/* Solo mostrar el botón de inscripción en desktop */
.btn-desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .btn-desktop-only {
    display: flex;
  }
}

/* NAVBAR: estilos responsive */
@media (max-width: 768px) {
  .main-navbar .menu,
  .main-navbar .btn-desktop-only {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .main-navbar .menu {
    display: flex !important;
    /* gap: 3rem; */
  }
}

.navbar-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #333;
  width: 100%;
}

/* Ajustes para el wizard en dispositivos móviles */
@media (max-width: 768px) {
  .login-sec-bg p {
    font-size: 1rem;
    margin: 10px 0;
  }

  .sponsors-container {
    gap: 20px;
  }

  .sponsor-card {
    width: 140px;
    height: 140px;
  }
}
/* Ajustes para dispositivos ultra pequeños */
@media (max-width: 480px) {
  .login-sec-bg p {
    font-size: 0.9rem;
    margin: 8px 0;
  }
}

@media (min-width: 1024px) and (max-width: 2556px) {
  .navbar-sticky {
    background-color: #333;
    padding: 10px;
  }
}

.documentos-section {
  margin-bottom: 20px;
}

/* Transición suave para mostrar/ocultar el navbar */
#header {
  transition: transform 0.4s ease;
  position: fixed;
}

.timeline-section {
  background: linear-gradient(to bottom, #f3f3f3 0%, #ececec 100%);
  padding: 4rem 1rem 0;
  text-align: center;
  position: relative;
}

.timeline {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.timeline-item {
  background: #fff;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  min-width: 90px;
  transition: transform 0.3s ease;
  opacity: 0.6;
}

.timeline-item:hover {
  transform: translateY(-5px);
  opacity: 1;
}

.timeline-item .icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-item .label {
  font-weight: 600;
  color: #444;
  font-size: 0.9rem;
}

/* Curva hacia la siguiente sección */
.svg-curve-footer {
  position: relative;
  height: 100px;
  overflow: hidden;
  background-color: transparent;
  margin-top: -1rem;
  z-index: 1;
}
.svg-curve-footer svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ADN TRAIL */
/* ===== ADN TRAIL – Paleta ===== */
:root {
  --adn-bg: #ffffff; /* fondo navbar */
  --adn-text: #1a1a1a; /* texto principal */
  --adn-muted: #f5f5f5; /* fondos suaves */
  --adn-border: #e6e6e6; /* bordes sutiles */

  --adn-accent: #ff6b35; /* botón principal */
  --adn-accent-700: #e65f2f;
  --adn-accent-800: #cc542a;

  --adn-blue: #1e4983; /* base */
  --adn-blue-500: #3678d1; /* claro */
  --adn-blue-600: #2860ac; /* hover */
  --adn-blue-800: #14325a; /* oscuro */

  --navbar-h: 70px; /* altura del header */
  --logo-w: 130px; /* ancho reservado para el logo (no empuja) */
  --logo-h: 170px; /* tamaño real del logo */
  --logo-tilt: -8deg; /* inclinación */
  --logo-lift: 45px; /* NEGATIVO = más arriba */

  --cta-text: #fff;
  --cta-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Main navbar */
/* Header base */
header {
  width: 100%;
  height: var(--navbar-h);
}

/* Contenedor navbar */
.main-navbar {
  position: relative;
  background: var(--adn-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap; /* no salta a otra línea */
  padding: 8px 5%;
  height: var(--navbar-h);
  z-index: 998;
  overflow: visible; /* permite que el logo sobresalga */
  transition: transform 0.35s ease, background 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

/* Fijo al hacer scroll */
.main-navbar.scrolled {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--adn-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Si tu JS aplica transform inline, recorta lo que sobresale cuando se oculta */
.main-navbar[style*="translateY(-"] {
  overflow: hidden;
}

/* === Logo “estampa” === */
.logo-area {
  position: relative;
  width: var(--logo-w);
  height: var(--navbar-h);
  flex: 0 0 var(--logo-w); /* no crece ni encoge */
  overflow: visible;
}

.logo {
  position: absolute;
  left: 0;
  top: calc(50% + var(--logo-lift)); /* sube/baja rápido */
  transform: translateY(-50%) rotate(var(--logo-tilt));
  display: block;
}

.logo-img {
  height: var(--logo-h);
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12));
  transition: transform 0.25s ease;
}

.logo-img:hover {
  transform: translateY(0) rotate(var(--logo-tilt)) scale(1.04);
}

/* === Menú === */
.main-navbar .menu {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap; /* evita que baje */
}

.main-navbar .menu a {
  text-transform: uppercase;
  font-weight: 600;
  color: var(--adn-text);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.3rem 0.8rem;
  position: relative;
  padding-left: 1.2rem; /* espacio para el puntito */
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-navbar .menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.2s ease;
}

.main-navbar .menu a:hover,
.main-navbar .menu a.active {
  color: var(--adn-accent-700);
  text-decoration: none;
}

.main-navbar .menu a:hover::before,
.main-navbar .menu a.active::before {
  background: var(--adn-accent-700);
}

/* === Icons === */
.main-navbar .icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-navbar .icons ion-icon {
  font-size: 1.3rem;
  color: var(--adn-text);
}

/* === Breakpoint tablets === */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-navbar {
    padding: 0 2rem;
  }
  .main-navbar .menu {
    justify-content: center;
  }
  .main-navbar .logo-area {
    padding-left: 1rem;
  }
  .main-navbar .btn-inscribirse,
  .btn-inscribirse {
    margin-right: 1rem;
  }
  .main-navbar .menu a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .topbar-icons a {
    margin: 0 8px;
  }
}

/* === Mobile: achico logo y permito wrap si es necesario === */
@media (max-width: 640px) {
  :root {
    --logo-w: 100px;
    --logo-h: 150px;
  }
  .main-navbar {
    flex-wrap: wrap;
  }
}
/* Bloque del login (último <div>) separado del menú */
.main-navbar > div:last-child {
  margin-left: clamp(16px, 3vw, 48px);
}

/* Estilo del icono de organizadores: discreto para no confundir al usuario */
.org-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f5f5f5; /* claro, bajo contraste */
  color: #1a1a1a;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.04s ease;
}
.org-icon:hover {
  filter: brightness(1.05);
  transform: translateY(0);
}

/* Mobile: menos separación */
@media (max-width: 768px) {
  .main-navbar {
    padding: 0 16px;
  }
  .main-navbar > div:last-child {
    margin-left: 14px;
  }

  .org-icon {
    display: none;
  }
}
/*HERO */

.hero-adn {
  background: #fff;
  padding-top: 170px; /* separa del navbar */
  color: var(--adn-text);
}
.hero-adn .container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 100;
}
/* Título gigante minimal */
.hero-title {
  font-family: "Inter", "Montserrat", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.01em;
  font-size: clamp(40px, 7.6vw, 96px);
  margin: 0 0 28px 0;
}
.hero-title .accent {
  font-weight: 800;
}

/* Fecha / lugar */
.hero-subtitle {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  margin: 0 0 clamp(36px, 5vw, 56px) 0;
}

/* Read more con círculo */
.hero-readmore:hover,
.hero-readmore:focus,
.hero-readmore:active,
.hero-readmore:visited {
  text-decoration: none;
}

.hero-readmore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--adn-text);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-readmore .dot {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #efefef;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-readmore .arrow {
  font-size: 18px;
  line-height: 1;
}
.hero-readmore:hover .dot {
  transform: translateY(2px);
  background: #e6e6e6;
}

@media (max-width: 1400px) {
  .container {
    padding: 0 100px;
  }
}
/* Imagen que aparece debajo (sin overlay) */
.hero-image {
  margin-top: clamp(32px, 8vw, 72px);
}
.hero-image img {
  width: 100%;
  max-height: 600px;
  display: block;
  object-fit: cover;
}

/* SVG */
/* 1) Responsivo: ocupa todo el ancho, conserva proporciones y ancla a la derecha */
.cordillera {
  position: absolute;
  top: 350px;
  display: block;
  width: 100%;
  /* max-height: 220px; */
  aspect-ratio: 1920 / 602; /* mantiene proporción original */
}

/* 2) Aparición izquierda→derecha con “autodibujo” */
#montanas path {
  /* Todos los paths animan; si querés escalonar, mirá más abajo */
  stroke-width: 2;
  stroke: var(--adn-accent-700);
  /* valores altos para que cubra la longitud total */
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 5s ease-out forwards;
}

/* Pequeño escalonado entre capas*/
#montanas path:nth-child(2) {
  animation-delay: 0.15s;
}
#montanas path:nth-child(3) {
  animation-delay: 0.3s;
}
#montanas path:nth-child(4) {
  animation-delay: 0.45s;
}
#montanas path:nth-child(5) {
  animation-delay: 0.6s;
}
#montanas path:nth-child(6) {
  animation-delay: 0.75s;
}
#montanas path:nth-child(7) {
  animation-delay: 0.9s;
}
#montanas path:nth-child(8) {
  animation-delay: 1.05s;
}
#montanas path:nth-child(9) {
  animation-delay: 1.1s;
}
#montanas path:nth-child(10) {
  animation-delay: 1.2s;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 1400px) {
  .cordillera {
    top: 400px;
  }
}

@media (max-width: 370px) {
  .cordillera {
    top: 450px;
  }
}

/* ABOUT */
.about-adn {
  background: #fff;
  padding: clamp(48px, 10vw, 120px) 0;
  color: var(--adn-text);
  border-top: 1px solid #eee; /* opcional, línea sutil */
}

/* Grid 2 columnas */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr; /* texto un poco más ancho */
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
}

/* Tipografía */
.about-eyebrow {
  font-size: clamp(14px, 1.6vw, 16px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #555;
  margin: 0 0 8px;
}

.about-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 clamp(20px, 3vw, 32px);
}

.about-title span {
  font-weight: 700;
} /* palabra fuerte */

.about-text {
  max-width: 62ch; /* ancho de lectura cómodo */
}

.about-text p {
  line-height: 1.8;
  color: #555;
  margin: 0 0 1.2em;
}

/* Imagen a la derecha, alta y limpia */
.about-media {
  margin: 0;
}

.about-media img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center bottom;
  will-change: transform;
}
/* .about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
} */

/* zoom suave mientras la sección entra y sale del viewport */
@supports (animation-timeline: view()) {
  .about-media {
    view-timeline-name: --about; /* crea una línea de tiempo ligada a la vista */
    view-timeline-axis: block;
  }
  .about-media img {
    animation: zoom-on-scroll both linear;
    animation-timeline: --about;
    animation-range: entry 0% exit 100%; /* desde que entra hasta que sale */
  }
  @keyframes zoom-on-scroll {
    from {
      transform: scale(1) translateY(0);
    }
    to {
      transform: scale(1.15) translateY(-12px);
    } /* ajustá 1.10~1.2 y el translate */
  }
}

/* Responsive: apilar en mobile */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-media {
    order: 2; /* imagen debajo del texto */
    margin-top: 24px;
  }

  .about-media img {
    display: none;
  }
}

/* FIXED BTN */
/* Base (se adapta por media queries) */
.cta-inscripcion-fixed {
  position: fixed;
  z-index: 9999;
  right: max(0px, env(safe-area-inset-right)); /* iOS safe area */
  text-decoration: none;
  color: var(--cta-text);
  background: var(--adn-accent);
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: var(--cta-shadow);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

/* Desktop / Tablet: cinta vertical en el centro derecho */
@media (min-width: 768px) {
  .cta-inscripcion-fixed {
    top: 30%;
    transform: translateY(-50%);
    border-radius: 12px 0 0 12px;
    padding: 14px 16px;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    gap: 8px;
    right: 0;
  }
}

/* Mobile: FAB abajo a la derecha */
@media (max-width: 767px) {
  .cta-inscripcion-fixed {
    top: 30%;
    transform: translateY(-50%);
    border-radius: 12px 0 0 12px;
    padding: 14px 16px;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    gap: 8px;
    right: 0;
  }
}

/* Interacciones */
.cta-inscripcion-fixed:hover {
  background: var(--adn-accent-700);
  text-decoration: none;
}
.cta-inscripcion-fixed:active {
  transform: translateY(-50%) scale(0.98);
}
@media (max-width: 767px) {
  .cta-inscripcion-fixed:active {
    transform: scale(0.96);
  }
}

/* Respeta usuarios con reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cta-inscripcion-fixed {
    transition: none;
  }
}

/* ===== FOOTER ADN — centrado, fondo negro, acento naranja ===== */
/* por si hay pseudo-elementos globales que tapen el footer */
.site-footer::before,
.site-footer::after {
  content: none !important;
}

.site-footer {
  background: #000; /* fondo negro */
  color: #eaeaea;
  z-index: 1;
}

.site-footer .footer-overlay {
  background: #000;
  padding: 48px 20px;
}

.site-footer .footer-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

/* logo */
.site-footer .footer-logo img {
  height: 150px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

/* email */
.site-footer .footer-email {
  margin: 6px 0;
  font-size: 0.95rem;
}
.site-footer .footer-email i {
  color: var(--adn-accent, #ff6b35);
  margin-right: 8px;
}
.site-footer .footer-mail {
  color: #eaeaea;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-footer .footer-mail:hover {
  color: var(--adn-accent, #ff6b35);
  border-color: var(--adn-accent, #ff6b35);
  text-decoration: none;
}

/* instagram */
.site-footer .btn-canal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  border: none;
  font-weight: 600;
  font-size: x-large;
  text-decoration: none;
  transition: transform 0.06s ease, filter 0.2s ease;
}
.site-footer .btn-canal:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.site-footer .footer-social i {
  color: #fff;
}

/* responsive suave */
@media (max-width: 640px) {
  .site-footer .footer-overlay {
    padding: 40px 16px;
  }
  .site-footer .footer-logo img {
    height: 52px;
  }
}

/* SCROLL TO TOP */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: #efefef;
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: scale(1.05);
}

.scroll-to-top .arrow-up {
  color: #000;
  font-size: 20px;
  line-height: 1;
}
