:root {
  --ui-bg: #1d2028;
  --ui-surface: #2c3039;
  --ui-surface-soft: rgba(20, 24, 44, 0.62);
  --ui-text: #f4f7fb;
  --ui-text-muted: #aeb8ca;
  --ui-primary: #8b4cf6;
  --ui-primary-strong: #7c3aed;
  --ui-accent: #2af0c8;
  --ui-border: rgba(176, 108, 255, 0.24);
  --ui-border-strong: rgba(176, 108, 255, 0.42);
  --ui-radius-sm: 10px;
  --ui-radius-md: 12px;
  --ui-radius-lg: 16px;
  --ui-space-1: 8px;
  --ui-space-2: 12px;
  --ui-space-3: 16px;
  --ui-space-4: 24px;
  --ui-space-5: 32px;
  --ui-space-6: 48px;
  --ui-shadow-card: 0 18px 38px rgba(3, 6, 18, 0.25);
  --ui-shadow-focus: 0 0 0 4px rgba(42, 240, 200, 0.16);
  --ui-transition: 0.2s ease;
}

[hidden] {
  display: none !important;
}

/* Animación suave tipo flotación */
.svg-float {
  animation: floaty 6s ease-in-out infinite;
  transform-origin: 50% 50%;
}

/* Respiración (micro zoom) */
.svg-breathe {
  animation: breathe 3.2s ease-in-out infinite;
  transform-origin: 50% 50%;
}

/* Para elementos internos del SVG (si querés animar solo un grupo) */
.svg-pulse {
  animation: pulseGlow 3.6s ease-in-out infinite;
  transform-origin: 50% 50%;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-10px); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.85; filter: brightness(1); }
  50%      { opacity: 1;    filter: brightness(1.15); }
}

/* Respeta accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .svg-float, .svg-breathe, .svg-pulse { animation: none !important; }
}


/* ===== Contenido modal Proyecto ===== */
.il-proyecto { text-align: left; font-size:0.7em;}

.il-proy-desc {
  margin: 6px 0 14px;
  color: rgba(234, 243, 255, 0.82);
  line-height: 1.55;
}

.il-proy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .il-proy-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  #btnApoyar{ width:100% !important}
  #btnProbar{ width:100% !important}
}

.il-proy-card {
  border-radius: 14px;
  padding: 14px 14px 12px;
  background: rgba(8, 12, 24, 0.40);
  border: 1px solid rgba(176, 108, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(20, 184, 255, 0.06) inset;
}

.il-proy-card-title {
  font-weight: 800;
  margin-bottom: 8px;
  color: rgba(234, 243, 255, 0.92);
  letter-spacing: 0.2px;
}

.il-proy-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(234, 243, 255, 0.78);
  line-height: 1.45;
}

.il-proy-list li { margin: 6px 0; }

.il-proy-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(176, 108, 255, 0.18);
  color: rgba(234, 243, 255, 0.85);
}

.il-btn-paypal {
  background: linear-gradient(135deg, #00A2FF, #0070BA);
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: white !important;
  box-shadow: 0 8px 22px rgba(0, 112, 186, 0.35);
}

.il-btn-paypal:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

/* ===== FAQ accordion (SweetAlert) ===== */
.il-faq {
  text-align: left;
  margin-top: 6px;
  font-size:0.7em;
}

.il-faq-item {
  margin: 10px 0;
  border-radius: 14px;
  background: rgba(8, 12, 24, 0.40);
  border: 1px solid rgba(176, 108, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(20, 184, 255, 0.06) inset;
  overflow: hidden;
}

.il-faq-q {
  cursor: pointer;
  list-style: none;
  padding: 14px 14px;
  font-weight: 800;
  color: rgba(234, 243, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.il-faq-q::-webkit-details-marker { display: none; }

.il-faq-q::after {
  content: '▾';
  color: rgba(42, 240, 200, 0.75);
  font-weight: 900;
  transform: translateY(-1px);
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}

.il-faq-item[open] .il-faq-q::after {
  transform: rotate(180deg);
}

.il-faq-a {
  padding: 0 14px 14px;
  color: rgba(234, 243, 255, 0.78);
  line-height: 1.55;
}

/* hover suave */
.il-faq-item:hover {
  border-color: rgba(42, 240, 200, 0.18);
}


.il-btn-donate {
  width: 100%;
  margin-top: 4px;
  font-size: 15px;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.35);
}

.il-paypal-note {
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
  color: rgba(234,243,255,0.55);
}
.il-btn-donate {
  width: 100%;
  margin-top: 4px;
  font-size: 15px;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.35);
  transition: transform .15s ease, filter .15s ease;
}

.il-btn-donate:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.il-paypal-note {
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
  color: rgba(234,243,255,0.55);
}

/* ===== Header nav ===== */
.header-with-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Links desktop */
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-link {
  flex: 0 0 auto;
  color: rgba(234,243,255,0.78);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2px;
  text-decoration: none;
  padding: 10px 7px;
  border-radius: 10px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.nav-link:hover {
  color: rgba(234,243,255,0.95);
  background: rgba(124,58,237,0.12);
  transform: translateY(-1px);
}

/* CTA Donar */
.nav-cta {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #B06CFF 0%, #7C3AED 60%, #2A0A4A 130%);
  color: #fff;
  border: 1px solid rgba(176,108,255,0.25);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(124,58,237,0.25);
  transition: transform .15s ease, filter .15s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

/* Botón hamburguesa (solo mobile) */
.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.06);
  color: rgba(234,243,255,0.9);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(44,48,57,0.92);
  border: 1px solid rgba(176,108,255,0.18);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), 0 0 36px rgba(124,58,237,0.18);
}

.mobile-nav a {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(234,243,255,0.82);
  font-weight: 700;
}

.mobile-nav a:hover {
  background: rgba(124,58,237,0.12);
}

.mobile-nav-cta {
  margin-top: 6px;
  background: linear-gradient(135deg, #B06CFF 0%, #7C3AED 60%, #2A0A4A 130%);
  border: 1px solid rgba(176,108,255,0.25);
  box-shadow: 0 10px 24px rgba(124,58,237,0.25);
}

/* Responsive: oculta nav desktop y muestra hamburguesa */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items:center; justify-content:center; }
  .mobile-nav.open { display: block; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  background: rgba(10, 12, 18, 0.45);
  border-bottom: 1px solid rgba(176,108,255,0.10);
}

/* La figura diagonal heredada del tema mide 700 px y no debe capturar clics. */
.site-header::before {
  pointer-events: none;
}

/* ===== Contact form layout inside SweetAlert ===== */
.il-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .il-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .il-form-full {
    grid-column: 1 / -1;
  }
}

.il-label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(234,243,255,0.75);
  letter-spacing: 0.2px;
}

.il-input-compact {
  margin: 0 !important;
  height: 44px !important;
}

.il-textarea-compact {
  margin: 0 !important;
  min-height: 120px !important;
}

/* Quita estilos default extra de swal2-input cuando están dentro del card */
.il-proy-card .swal2-input,
.il-proy-card .swal2-textarea {
  width: 100% !important;
}












.hero-media{
  position:absolute;
  z-index:1;
  width: 100%;
  height: 360px;
  margin-top: 1%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(8, 12, 24, 0.45);
  border: 1px solid rgba(176,108,255,0.18);
  box-shadow: 0 0 0 1px rgba(20,184,255,0.08) inset,
              0 0 34px rgba(124,58,237,0.22);
}

.hero-video{
  width:100%;
  height:100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}




/* ===== Objetivos de Desarrollo Sostenible ===== */
.ods-inner {
  position: relative;
}

.ods-header {
  max-width: 780px;
  margin: 0 auto 42px;
}

.ods-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #2af0c8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ods-header .section-title {
  margin-bottom: 16px;
}

.ods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ods-card {
  --ods-color: #7c3aed;
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 30px 26px 28px;
  background: rgba(20, 24, 44, 0.82);
  border: 1px solid color-mix(in srgb, var(--ods-color) 52%, transparent);
  border-radius: 16px;
  box-shadow: 0 18px 38px rgba(3, 6, 18, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ods-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--ods-color);
}

.ods-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: -70px;
  right: -65px;
  border-radius: 50%;
  background: var(--ods-color);
  opacity: 0.1;
  pointer-events: none;
}

.ods-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(3, 6, 18, 0.34), 0 0 28px color-mix(in srgb, var(--ods-color) 18%, transparent);
}

.ods-card-10 { --ods-color: #dd1367; }
.ods-card-4 { --ods-color: #c5192d; }
.ods-card-9 { --ods-color: #fd6925; }

.ods-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: var(--ods-color);
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--ods-color) 32%, transparent);
}

.ods-label {
  margin: 0 0 8px;
  color: var(--ods-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ods-card h3 {
  min-height: 58px;
  margin: 0 0 14px;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
}

.ods-card-content > p:last-child {
  margin: 0;
  color: rgba(234, 243, 255, 0.76);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .ods-grid { grid-template-columns: 1fr; }
  .ods-card { display: grid; grid-template-columns: 88px 1fr; column-gap: 22px; align-items: start; }
  .ods-number { grid-row: 1; margin-bottom: 0; }
  .ods-card-content { grid-column: 2; }
  .ods-card h3 { min-height: 0; }
}

@media (max-width: 520px) {
  .ods-header { margin-bottom: 30px; }
  .ods-card { display: block; padding: 26px 22px 24px; }
  .ods-number { width: 68px; height: 68px; margin-bottom: 20px; font-size: 34px; }
}

/* ===== Perfil del autor ===== */
.profile-card {
  text-align: center;
  padding: 10px 8px 0;
}

.profile-photo {
  width: 100%;
  height: 190px;
  object-fit: scale-down;
  border-radius: 10%;
  margin-bottom: 14px;
  border: 2px solid rgba(176,108,255,0.35);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.12),
              0 0 30px rgba(124,58,237,0.25);
}

.project-photo { object-fit: contain; padding: 18px; background: rgba(8, 12, 24, 0.40); }

.profile-description {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(234,243,255,0.78);
  margin: 0 auto 10px;
  max-width: 240px;
}

/* ===== Equipo desarrollador ===== */
.developers-section { margin-top: 64px; }
.developers-header { max-width: 720px; margin: 0 auto 32px; }
.developers-header .section-title { font-size: 30px; margin-bottom: 12px; }
.developers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.developer-card { min-width: 0; padding: 30px 18px 24px; text-align: center; background: rgba(20, 24, 44, 0.78); border: 1px solid rgba(176, 108, 255, 0.24); border-radius: 14px; box-shadow: 0 12px 30px rgba(3, 6, 18, 0.24); }
.developer-photo { display: block; width: 180px; height: 180px; max-width: 90%; margin: 0 auto 22px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(176, 108, 255, 0.62); box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.12), 0 0 28px rgba(124, 58, 237, 0.2); }
.developer-photo-placeholder { object-fit: scale-down;  background: rgba(255,255,255); }
.developer-name { margin: 0; font-size: 16px; line-height: 1.35; color: #fff; }

@media (max-width: 760px) {
  .developers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 480px) {
  .developers-section { margin-top: 48px; }
  .developers-grid { grid-template-columns: 1fr; }
  .developer-card { max-width: 280px; width: 100%; margin: 0 auto; }
  .developer-photo { width: 170px; height: 170px; }
}









/* ===== Timeline (Interprete LESCO) ===== */
.timeline-header {
  margin-bottom: 28px;
}

.timeline-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 26px;
}

/* Línea vertical */
.timeline-wrap::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(176,108,255,0.15),
    rgba(42,240,200,0.12),
    rgba(176,108,255,0.18)
  );
  box-shadow: 0 0 18px rgba(124,58,237,0.25);
}

.timeline-item {
  position: relative;
  padding: 14px 0;
}

.timeline-dot {
  position: absolute;
  left: 3px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgb(15, 221, 172);
  border: 1px solid rgba(176,108,255,0.40);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.12),
              0 0 26px rgba(124,58,237,0.25);
}

.timeline-dot-actual {
  position: absolute;
  left: 3px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgb(156, 29, 29);
  border: 1px solid rgba(176,108,255,0.40);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.12),
              0 0 26px rgba(124,58,237,0.25);
}

.timeline-dot-pendiente {
  position: absolute;
  left: 3px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgb(21, 45, 48);
  border: 1px solid rgba(176,108,255,0.40);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.12),
              0 0 26px rgba(124,58,237,0.25);
}

.timeline-card {
  background: rgba(8, 12, 24, 0.40);
  border: 1px solid rgba(176,108,255,0.14);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 0 0 1px rgba(20,184,255,0.06) inset;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.timeline-card-actual {
  background: #4e1f7c;
  opacity: 0.7;
  border: 1px solid rgba(176,108,255,0.14);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 0 0 1px rgba(20,184,255,0.06) inset;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}


.timeline-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.timeline-badge {
  font-size: 12px;
  font-weight: 800;
  color: rgba(234,243,255,0.86);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(124,58,237,0.14);
  border: 1px solid rgba(176,108,255,0.18);
}

.timeline-badge.current {
  background: rgba(42,240,200,0.10);
  border: 1px solid rgba(42,240,200,0.22);
  box-shadow: 0 0 18px rgba(42,240,200,0.16);
}

.timeline-title {
  font-weight: 800;
  color: rgba(234,243,255,0.92);
  font-size: 16px;
}

.timeline-text {
  margin: 0;
  color: rgba(234,243,255,0.75);
  line-height: 1.55;
  font-size: 14px;
}

/* Hover */
.timeline-card:hover {
  transform: translateY(-2px);
  border-color: rgba(42,240,200,0.18);
  box-shadow: 0 0 0 1px rgba(20,184,255,0.10) inset,
              0 0 34px rgba(124,58,237,0.18);
}

/* Hover */
.timeline-card-actual:hover {
  transform: translateY(-2px);
  border-color: rgba(42,240,200,0.18);
  box-shadow: 0 0 0 1px rgba(20,184,255,0.10) inset,
              0 0 34px rgba(124,58,237,0.18);
}

/* Resalta etapa actual */
.timeline-item.is-current .timeline-dot {
  border-color: rgba(42,240,200,0.55);
  box-shadow: 0 0 0 4px rgba(42,240,200,0.14),
              0 0 34px rgba(42,240,200,0.22);
}




.video-sound-toggle{
  position:absolute;
  bottom:10px;
  right:10px;
  background: rgba(8, 12, 24, 0.6);
  border: 1px solid rgba(176,108,255,0.3);
  color: #fff;
  border-radius: 50%;
  width:36px;
  height:36px;
  cursor:pointer;
  font-size:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 18px rgba(124,58,237,0.25);
  transition: transform .15s ease, filter .15s ease;
}

.video-sound-toggle:hover{
  transform: scale(1.08);
  filter: brightness(1.1);
}



/* ===== Botón Volver Arriba ===== */
#btnToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;

  background: linear-gradient(135deg, #7c3aed, #2af0c8);
  color: #0b0f1a; /* el SVG usa currentColor */
  border: none;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 0 18px rgba(124,58,237,0.45),
    0 0 36px rgba(42,240,200,0.25);

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);

  transition: opacity .25s ease, transform .25s ease, filter .2s ease;
  z-index: 9999;
}

#btnToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#btnToTop:hover {
  filter: brightness(1.15);
  transform: scale(1.08);
}

/* Oculta el botón mientras un SweetAlert esté abierto */
body.swal2-shown #btnToTop {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(10px) !important;
}

/* Proceso horizontal en escritorio */
@media (min-width: 901px) {
  .features-wrap {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
  }

  .features-wrap:first-of-type,
  .features-wrap:last-of-type {
    margin-top: 0;
    margin-bottom: 0;
  }

  .feature {
    width: auto;
    max-width: none;
    padding: 0;
  }

  .feature-inner {
    padding: 24px 16px;
  }

  .feature-icon img {
    width: 100%;
    max-width: 150px;
    height: 118px;
    object-fit: contain;
  }

  .feature-title {
    min-height: 52px;
    margin-top: 18px !important;
    font-size: 17px;
  }

  .timeline-header {
    max-width: 760px;
    margin: 0 auto 64px;
  }

  .timeline-wrap {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    max-width: none;
    margin: 0;
    padding: 42px 0 0;
  }

  .timeline-wrap::before {
    top: 13px;
    right: 10%;
    bottom: auto;
    left: 10%;
    width: auto;
    height: 3px;
    background: linear-gradient(90deg,
      var(--ui-accent) 0%,
      var(--ui-accent) 40%,
      var(--ui-primary) 52%,
      rgba(174, 184, 202, 0.2) 66%,
      rgba(174, 184, 202, 0.12) 100%);
  }

  .timeline-item {
    min-width: 0;
    padding: 0;
  }

  .timeline-dot,
  .timeline-dot-actual,
  .timeline-dot-pendiente {
    top: -38px;
    left: 50%;
    width: 22px;
    height: 22px;
    border: 4px solid #1d2028;
    transform: translateX(-50%);
  }

  .timeline-dot {
    background: var(--ui-accent);
    box-shadow: 0 0 0 2px rgba(42,240,200,0.35), 0 0 24px rgba(42,240,200,0.3);
  }

  .timeline-dot-actual {
    background: var(--ui-primary);
    box-shadow: 0 0 0 3px rgba(139,76,246,0.34), 0 0 28px rgba(139,76,246,0.48);
  }

  .timeline-dot-pendiente {
    background: #343a49;
    box-shadow: 0 0 0 2px rgba(174,184,202,0.18);
  }

  .timeline-card,
  .timeline-card-actual {
    height: 100%;
    padding: 20px 16px 18px;
    border-radius: var(--ui-radius-lg);
  }

  .timeline-card-actual {
    opacity: 1;
    background: linear-gradient(160deg, rgba(124,58,237,0.34), rgba(20,24,44,0.82));
    border-color: rgba(139,76,246,0.58);
    box-shadow: 0 16px 36px rgba(76,29,149,0.22), inset 0 0 0 1px rgba(42,240,200,0.08);
    transform: translateY(-8px);
  }

  .timeline-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .timeline-title {
    font-size: 15px;
    line-height: 1.4;
  }

  .timeline-text {
    font-size: 13px;
    line-height: 1.55;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .features-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
  }

  .feature {
    width: auto;
    max-width: none;
    padding: 0;
  }
}

.timeline-badge.complete {
  color: var(--ui-accent);
  background: rgba(42, 240, 200, 0.08);
  border: 1px solid rgba(42, 240, 200, 0.2);
}

.timeline-badge.next {
  color: #d9c7ff;
  background: rgba(139, 76, 246, 0.12);
  border: 1px solid rgba(139, 76, 246, 0.26);
}

.timeline-badge.future {
  color: var(--ui-text-muted);
}


/* ===== Refinamiento UI / UX 2026 ===== */
.skip-link {
  position: fixed;
  top: var(--ui-space-2);
  left: var(--ui-space-2);
  z-index: 10000;
  padding: var(--ui-space-2) var(--ui-space-3);
  color: #111827;
  background: var(--ui-accent);
  border-radius: var(--ui-radius-sm);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--ui-transition);
}

.skip-link:focus {
  transform: translateY(0);
}

main {
  display: flex;
  flex-direction: column;
}

main > section[id] {
  scroll-margin-top: 96px;
}

.hero { order: 1; }
.pricing { order: 2; }
.features { order: 3; }
.ods { order: 4; }
.timeline { order: 5; }
.team { order: 6; }
.cta { order: 7; }

.section-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--ui-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.features-header {
  max-width: 760px;
  margin: 0 auto 44px;
}

.features-header .section-title {
  margin-bottom: 16px;
}

.feature-inner {
  height: 100%;
  padding: 24px 18px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-lg);
  background: var(--ui-surface-soft);
  box-shadow: var(--ui-shadow-card);
  transition: transform var(--ui-transition), border-color var(--ui-transition), background var(--ui-transition);
}

.feature-inner:hover {
  transform: translateY(-4px);
  border-color: rgba(42, 240, 200, 0.34);
  background: rgba(20, 24, 44, 0.62);
}

.feature-icon img {
  max-height: 160px;
}

.feature-title {
  font-size: 19px;
  line-height: 1.35;
}

.hero-cta {
  position: relative;
  z-index: 10;
  gap: 12px;
}

.hero-copy {
  position: relative;
  z-index: 10;
}

.hero-figure-box {
  pointer-events: none;
}

.hero-cta .button {
  width: auto !important;
  min-width: 190px;
}

.button-secondary,
.button-ghost {
  background: transparent;
  color: var(--ui-text) !important;
  border: 1px solid var(--ui-border-strong);
  box-shadow: none;
}

.button-primary,
.nav-cta,
.mobile-nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--ui-primary-strong), #5b21b6);
}

.button-secondary:hover,
.button-ghost:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(42, 240, 200, 0.4);
}

.nav-button,
.mobile-nav button,
.footer-link-button {
  font-family: inherit;
  cursor: pointer;
}

.footer-links a,
.footer-link-button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 4px;
}

.video-sound-toggle {
  width: 44px;
  height: 44px;
}

.nav-button {
  appearance: none;
  background: transparent;
  border: 0;
}

.mobile-nav button {
  display: block;
  width: 100%;
  padding: 12px 10px;
  text-align: left;
  color: rgba(234, 243, 255, 0.86);
  font-weight: 700;
  background: transparent;
  border: 0;
  border-radius: 12px;
}

.mobile-nav button:hover {
  background: rgba(124, 58, 237, 0.12);
}

.footer-link-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: inherit;
}

/* Footer editorial: marca, navegación y participación */
.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--ui-border);
  background:
    radial-gradient(circle at 12% 0%, rgba(124, 58, 237, 0.13), transparent 34%),
    #151821;
}

.site-footer-inner {
  display: block;
  padding: 56px 0 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(160px, 0.7fr) minmax(280px, 1fr);
  gap: 64px;
  width: 100%;
  padding-bottom: 44px;
}

.footer-intro p,
.footer-support > p:not(.footer-heading) {
  max-width: 360px;
  margin: 18px 0 0;
  color: var(--ui-text-muted);
  line-height: 1.65;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ui-text) !important;
  font-size: 20px;
  font-weight: 800;
}

.footer-logo:hover { text-decoration: none !important; }
.footer-logo img { width: 56px; height: 56px; object-fit: contain; }

.footer-heading {
  margin: 4px 0 18px;
  color: var(--ui-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-main .footer-links {
  display: grid;
  justify-content: start;
  gap: 8px;
  width: auto;
  margin: 0;
}

.footer-main .footer-links li + li { margin-left: 0; }

.footer-main .footer-links a,
.footer-actions .footer-link-button {
  min-height: 36px;
  color: var(--ui-text-muted);
  text-align: left;
  transition: color var(--ui-transition), transform var(--ui-transition);
}

.footer-main .footer-links a:hover,
.footer-actions .footer-link-button:hover {
  color: var(--ui-accent);
  text-decoration: none;
  transform: translateX(3px);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 14px;
}

.footer-contact {
  width: auto !important;
  min-width: 150px;
  margin-top: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(174, 184, 202, 0.14);
  color: #8f9aae;
  font-size: 13px;
}

.footer-bottom p { margin: 0; }

/* Oculta únicamente la estructura anterior conservada en Index.aspx. */
.site-footer-inner > .footer-brand,
.site-footer-inner > .footer-links,
.site-footer-inner > .footer-social-links,
.site-footer-inner > .footer-copyright {
  display: none !important;
}

@media (max-width: 860px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 42px 32px;
  }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .site-footer-inner { padding: 44px 0 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-bottom: 34px; }
  .footer-intro { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-contact { width: 100% !important; }
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ui-accent) !important;
  outline-offset: 3px;
  box-shadow: var(--ui-shadow-focus);
}

.pricing {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.06), rgba(42, 240, 200, 0.025));
}

.pricing-header {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.pricing-table-inner,
.developer-card,
.ods-card,
.timeline-card,
.timeline-card-actual {
  border-radius: var(--ui-radius-lg);
}

.developers-section {
  margin-top: 0;
}

.developer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.developer-name {
  font-size: 15px;
}

.cta-inner {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.cta .section-paragraph {
  color: var(--ui-text-muted);
}

.ods-label {
  color: var(--ui-text);
}

.ods-card-9 .ods-number {
  color: #111827;
}

.hero-paragraph,
.section-paragraph,
.feature .text-sm,
.timeline-text,
.ods-card-content > p:last-child,
.profile-description {
  color: var(--ui-text-muted);
}

@media (max-width: 768px) {
  .hero-copy {
    padding-top: 42px;
    padding-bottom: 28px;
  }

  .hero-title {
    font-size: 34px;
    line-height: 1.18;
  }

  .hero-paragraph {
    font-size: 17px;
    line-height: 1.65;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-cta .button {
    width: 100% !important;
    min-width: 0;
  }

  .hero-figure {
    margin-top: 12px;
  }

  .features-header,
  .ods-header,
  .developers-header {
    margin-bottom: 30px;
  }

  .feature-inner {
    padding: 20px 18px;
  }

  .feature-icon img {
    max-height: 120px;
  }

  .feature-title {
    margin-top: 14px !important;
  }

  .ods-card {
    padding: 24px 22px;
  }

  .ods-number {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }

  .developers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .developer-card {
    padding: 20px 10px 18px;
  }

  .developer-photo {
    width: 132px;
    height: 132px;
    max-width: 92%;
    margin-bottom: 16px;
  }

  .developer-name {
    font-size: 13px;
  }
}

@media (max-width: 1240px) {
  .header-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-nav.open { display: block; }
}

@media (min-width: 1241px) and (max-width: 1380px) {
  .header-nav { gap: 3px; }
  .nav-link { padding-right: 5px; padding-left: 5px; font-size: 12px; }
  .nav-cta { padding-right: 11px; padding-left: 11px; font-size: 12px; }
}

@media (max-width: 480px) {
  .developers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .developer-card {
    max-width: none;
    margin: 0;
  }

  .developer-photo {
    width: 122px;
    height: 122px;
  }
}

@media (max-width: 600px) {
  .features-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-right: 0;
    margin-left: 0;
  }

  .feature {
    width: auto;
    max-width: none;
    padding: 0;
  }

  .feature-inner {
    padding: 18px 12px;
  }

  .feature-icon img {
    width: 100%;
    max-width: 120px;
    height: 92px;
    object-fit: contain;
  }

  .feature-title {
    min-height: 66px;
    font-size: 15px;
  }

  .feature .text-sm {
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Glassmorfismo y geometría ambiental ===== */
.features,
.timeline,
.team {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.features > .container,
.timeline > .container,
.team > .container {
  position: relative;
  z-index: 1;
}

.features::before,
.features::after,
.timeline::before,
.timeline::after,
.team::before,
.team::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.features::before {
  top: 15%;
  right: -80px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(42, 240, 200, 0.16);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(42, 240, 200, 0.06), rgba(124, 58, 237, 0.08));
  transform: rotate(28deg);
}

.features::after {
  bottom: 4%;
  left: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.11);
  filter: blur(58px);
}

.timeline::before {
  top: 15%;
  left: 50%;
  width: min(920px, 86vw);
  height: 520px;
  background-image: url("../images/pricing-illustration.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.58;
  filter: saturate(1.25) drop-shadow(0 0 28px rgba(0, 191, 251, 0.08));
  transform: translateX(-50%) scale(1.12);
}

.timeline::after {
  right: -72px;
  bottom: 8%;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(176, 108, 255, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 45px rgba(124, 58, 237, 0.05), 0 0 55px rgba(42, 240, 200, 0.04);
}

.team::before {
  top: 20%;
  right: -105px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(176, 108, 255, 0.15);
  background: linear-gradient(150deg, rgba(124, 58, 237, 0.09), transparent 68%);
  transform: rotate(42deg);
}

.team::after {
  bottom: 5%;
  left: -85px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 240, 200, 0.09), transparent 68%);
  filter: blur(10px);
}

.feature-inner,
.developer-card,
.timeline-card,
.timeline-card-actual,
.pricing-table-inner {
  background: linear-gradient(145deg, rgba(35, 40, 58, 0.68), rgba(15, 19, 34, 0.5));
  border: 1px solid rgba(205, 185, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 0 1px rgba(42, 240, 200, 0.025),
    0 18px 42px rgba(3, 6, 18, 0.24);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
}

.feature-inner,
.developer-card {
  position: relative;
  overflow: hidden;
}

.feature-inner::before,
.developer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.36), transparent);
  pointer-events: none;
}

.feature-inner:hover,
.developer-card:hover {
  border-color: rgba(42, 240, 200, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 22px 48px rgba(3, 6, 18, 0.3),
    0 0 30px rgba(124, 58, 237, 0.1);
  transform: translateY(-5px);
}

.developer-card {
  transition: transform var(--ui-transition), border-color var(--ui-transition), box-shadow var(--ui-transition);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .feature-inner,
  .developer-card,
  .timeline-card,
  .timeline-card-actual,
  .pricing-table-inner {
    background: rgba(24, 29, 45, 0.96);
  }
}

@media (max-width: 760px) {
  .features::before,
  .timeline::after,
  .team::before {
    transform: scale(0.72) rotate(28deg);
    opacity: 0.7;
  }

  .features::after,
  .team::after {
    opacity: 0.55;
  }

  .timeline::before {
    top: 18%;
    width: 760px;
    height: 620px;
    opacity: 0.3;
    transform: translateX(-50%) rotate(90deg) scale(0.8);
  }

  .feature-inner,
  .developer-card,
  .timeline-card,
  .timeline-card-actual,
  .pricing-table-inner {
    -webkit-backdrop-filter: blur(8px) saturate(115%);
    backdrop-filter: blur(8px) saturate(115%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-inner:hover,
  .developer-card:hover {
    transform: none;
  }
}

/* ===== SweetAlert con glassmorfismo ===== */
.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-noanimation {
  background: rgba(5, 8, 18, 0.62) !important;
  -webkit-backdrop-filter: blur(9px) saturate(115%);
  backdrop-filter: blur(9px) saturate(115%);
}

.swal2-popup.il-popup {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(205, 185, 255, 0.28) !important;
  border-radius: 22px !important;
  background: linear-gradient(145deg, rgba(43, 48, 67, 0.88), rgba(18, 22, 38, 0.78)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 0 1px rgba(42, 240, 200, 0.025),
    0 30px 90px rgba(0, 0, 0, 0.52),
    0 0 45px rgba(124, 58, 237, 0.14) !important;
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  backdrop-filter: blur(24px) saturate(135%);
}

.swal2-popup.il-popup::before,
.swal2-popup.il-popup::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.swal2-popup.il-popup::before {
  top: -95px;
  right: -75px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(42, 240, 200, 0.18);
  background: linear-gradient(145deg, rgba(0, 191, 251, 0.12), rgba(124, 58, 237, 0.16));
  transform: rotate(36deg);
}

.swal2-popup.il-popup::after {
  bottom: -110px;
  left: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent 68%);
  filter: blur(10px);
}

.swal2-popup.il-popup > * {
  position: relative;
  z-index: 1;
}

.swal2-popup .il-title {
  color: var(--ui-text) !important;
  text-shadow: 0 2px 22px rgba(124, 58, 237, 0.2);
}

.swal2-popup .il-proy-card,
.swal2-popup .il-faq-item,
.swal2-popup .il-proy-note {
  background: linear-gradient(145deg, rgba(24, 29, 47, 0.58), rgba(8, 12, 24, 0.42));
  border-color: rgba(205, 185, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 12px 28px rgba(3, 6, 18, 0.15);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
}

.swal2-popup .swal2-input,
.swal2-popup .swal2-textarea,
.swal2-popup .swal2-select {
  color: var(--ui-text) !important;
  background: rgba(8, 12, 24, 0.52) !important;
  border: 1px solid rgba(205, 185, 255, 0.22) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

.swal2-popup .swal2-input:focus,
.swal2-popup .swal2-textarea:focus,
.swal2-popup .swal2-select:focus {
  border-color: rgba(42, 240, 200, 0.58) !important;
  box-shadow: 0 0 0 4px rgba(42, 240, 200, 0.1) !important;
}

.swal2-popup .il-actions {
  gap: 10px;
}

.swal2-popup .il-btn {
  min-height: 46px;
  border: 1px solid rgba(255,255,255,0.13) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 10px 24px rgba(3,6,18,0.2);
  transition: transform var(--ui-transition), filter var(--ui-transition), border-color var(--ui-transition);
}

.swal2-popup .il-btn:hover {
  border-color: rgba(42, 240, 200, 0.34) !important;
  transform: translateY(-2px);
}

.swal2-popup .il-btn-ghost {
  color: var(--ui-text) !important;
  background: rgba(255,255,255,0.055) !important;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .swal2-popup.il-popup {
    background: #252a39 !important;
  }
}

@media (max-width: 640px) {
  .swal2-container.swal2-backdrop-show,
  .swal2-container.swal2-noanimation {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }

  .swal2-popup.il-popup {
    width: calc(100% - 24px) !important;
    border-radius: 18px !important;
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    backdrop-filter: blur(16px) saturate(125%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .swal2-popup .il-btn:hover {
    transform: none;
  }
}
