/* ======================================================
   LAYOUT GLOBAL
====================================================== */
:root{
  --container: 1280px;
  --gutter: 24px;
}

@media (max-width: 980px){
  :root{
    --gutter: 16px;
  }
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}


/* ======================================================
   NAVBAR
====================================================== */
:root{
  --bg: #060B1A;
  --glass: rgba(255,255,255,0.10);
  --glass-strong: rgba(255,255,255,0.14);
  --stroke: rgba(255,255,255,0.18);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --shadow: 0 18px 50px rgba(0,0,0,0.35);
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(31,107,255,0.35), transparent 60%),
    radial-gradient(800px 500px at 80% 0%, rgba(42,167,255,0.25), transparent 60%),
    radial-gradient(900px 700px at 50% 100%, rgba(255,255,255,0.06), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

.nav-wrap{
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 16px;
}

.navbar{
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 170px;
}

.brand-logo-img{
  height: 38px;
  width: auto;
  display: block;
}

.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
}

.nav-toggle-lines{
  width: 18px;
  height: 2px;
  background: var(--text);
  display: inline-block;
  position: relative;
  border-radius: 999px;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.nav-toggle-lines::before{ top: -6px; }
.nav-toggle-lines::after{ top: 6px; }

.nav-menu{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-link{
  text-decoration: none;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
}

/* ======================================================
   SUBMENU
====================================================== */
.has-submenu{
  position: relative;
}

.submenu{
  list-style: none;
  position: absolute;
  top: 100%;
  margin-top: 6px;
  left: 0;
  min-width: 190px;
  background: rgba(20,30,60,0.96);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 8px;
  display: none;
  flex-direction: column;
  box-shadow: var(--shadow);
  z-index: 100;
}

.submenu a{
  color: var(--text);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  display: block;
}

.submenu a:hover{
  background: rgba(255,255,255,0.12);
}

.has-submenu::after{
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

@media (min-width: 981px){
  .has-submenu:hover .submenu{
    display: flex;
    animation: fadeIn 0.15s ease;
  }
}

@keyframes fadeIn{
  from{
    opacity: 0;
    transform: translateY(-4px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================================================
   FLECHA SUBMENU
====================================================== */
.arrow{
  font-size: 12px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

@media (min-width: 981px){
  .has-submenu:hover .arrow{
    transform: rotate(180deg);
  }
}

/* ======================================================
   NAVBAR (CELULAR)
====================================================== */
@media (max-width: 980px){
  .navbar{
    padding: 12px;
  }

  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu{
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: var(--glass-strong);
    border: 1px solid var(--stroke);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .nav-menu.open{
    display: flex;
  }

  .nav-link{
    width: 100%;
    justify-content: space-between;
    padding: 12px 12px;
    border-radius: 14px;
  }

  .submenu{
    position: static;
    margin-top: 0;
    display: none;
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 10px;
    min-width: auto;
  }

  .submenu a{
    padding: 10px 12px;
    border-radius: 12px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.85);
  }


  .has-submenu.open .submenu{
    display: flex;
  }

  .has-submenu.open .arrow{
    transform: rotate(180deg);
  }
}

/* ======================================================
   NAV MENU (MÓVIL) - MÁS LEGIBLE
====================================================== */
@media (max-width: 980px){
  .nav-menu{
    background: rgba(10,16,36,0.92);
    border-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .nav-link{
    color: rgba(255,255,255,0.92);
  }

  .nav-link:hover{
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.98);
  }

  .submenu a{
    color: rgba(255,255,255,0.90);
  }
}

/* ======================================================
   HERO PRECIOS (ESTÉTICA CATÁLOGO)
====================================================== */
.pricing-hero{
  padding: 40px 16px 18px;
}

.pricing-hero-inner{
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: center;

  border-radius: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 22px;
  overflow: hidden;
  position: relative;
}

.pricing-hero-badge{
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  font-weight: 900;
  font-size: 13px;
  color: rgba(255,255,255,0.92);
}

.pricing-hero-title{
  margin: 12px 0 10px;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.6px;
}

.pricing-hero-title span{
  background: linear-gradient(135deg, rgba(31,107,255,1), rgba(42,167,255,1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-hero-subtitle{
  margin: 0;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.76);
  font-weight: 650;
}

.pricing-hero-actions{
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pricing-hero-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 950;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.pricing-hero-btn:active{ transform: translateY(1px); }

.pricing-hero-btn.primary{
  color: #061127;
  background: linear-gradient(135deg, rgba(31,107,255,1), rgba(42,167,255,1));
  box-shadow: 0 12px 28px rgba(31,107,255,0.22);
}

.pricing-hero-btn.secondary{
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.14);
}

.pricing-hero-right{
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}

.pricing-hero-panel{
  width: 100%;
  max-width: 440px;
  border-radius: 22px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 18px 50px rgba(0,0,0,0.30);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.pricing-hero-panel-top{
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pricing-hero-dots{
  display: inline-flex;
  gap: 8px;
}

.pricing-hero-dots span{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
}

.pricing-hero-pill{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 850;
  font-size: 12px;
  color: rgba(255,255,255,0.80);
  white-space: nowrap;
}

.pricing-hero-panel-body{
  padding: 14px;
  display: grid;
  gap: 12px;
}

.pricing-hero-minirow{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
}

.pricing-hero-miniicon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  font-size: 18px;
}

.pricing-hero-minititle{
  font-weight: 950;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
}

.pricing-hero-minidesc{
  margin-top: 3px;
  font-weight: 700;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
}

.pricing-hero-bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
}

.pricing-hero-glow{
  position: absolute;
  inset: -70px;
  background:
    radial-gradient(520px 360px at 70% 40%, rgba(31,107,255,0.26), transparent 60%),
    radial-gradient(460px 340px at 30% 70%, rgba(42,167,255,0.16), transparent 60%);
  filter: blur(18px);
  z-index: -1;
}

/* ======================================================
   HERO PRECIOS - PANEL METRICAS (SIN PLANES)
====================================================== */
.pricing-metrics{
  width: 100%;
  max-width: 440px;
  border-radius: 22px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 18px 50px rgba(0,0,0,0.30);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.pricing-metrics-top{
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pricing-metrics-body{
  padding: 14px;
  display: grid;
  gap: 12px;
}

.pricing-metrics-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pricing-metric{
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 12px;
  text-align: center;
}

.pricing-metric-num{
  font-weight: 950;
  font-size: 20px;
  letter-spacing: -0.2px;
  background: linear-gradient(135deg, rgba(31,107,255,1), rgba(42,167,255,1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-metric-label{
  margin-top: 4px;
  font-weight: 800;
  font-size: 12px;
  color: rgba(255,255,255,0.74);
}

.pricing-metrics-bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
}

.pricing-metrics-note{
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 10px 12px;
  font-weight: 850;
  font-size: 12px;
  color: rgba(255,255,255,0.76);
  text-align: center;
}

@media (max-width: 980px){
  .pricing-metrics{ max-width: 100%; }
}


/* ======================================================
   PRECIOS - SECCIÓN
====================================================== */
.pricing-section{
  padding: 40px 16px 34px;
}

.pricing-inner{
  max-width: 1180px;
  margin: 0 auto;
}

.pricing-head{
  max-width: 820px;
  margin-bottom: 18px;
}

.pricing-badge{
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  font-weight: 900;
  font-size: 13px;
  color: rgba(255,255,255,0.90);
}

.pricing-title{
  margin: 12px 0 8px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.4px;
}

.pricing-subtitle{
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.74);
  font-weight: 650;
}

/* Cards */
.pricing-grid{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price-card{
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 18px;
  display: grid;
  gap: 14px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.price-card:hover{
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
}

.price-card.featured{
  background: rgba(31,107,255,0.10);
  border-color: rgba(31,107,255,0.24);
}

.price-top{
  display: grid;
  gap: 10px;
}

.price-tag{
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 950;
  font-size: 12px;
  color: rgba(255,255,255,0.92);
}

.price-value{
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-currency{
  font-weight: 950;
  font-size: 16px;
  opacity: 0.9;
}

.price-amount{
  font-weight: 950;
  font-size: 40px;
  letter-spacing: -0.6px;
}

.price-mxn{
  font-weight: 900;
  font-size: 13px;
  opacity: 0.75;
}

.price-desc{
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.76);
  font-weight: 650;
}

.price-list{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.price-list li{
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,0.74);
  font-weight: 650;
}

.price-actions{
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.price-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 950;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}

.price-btn:active{ transform: translateY(1px); }

.price-btn.primary{
  color: #061127;
  background: linear-gradient(135deg, rgba(31,107,255,1), rgba(42,167,255,1));
  box-shadow: 0 12px 28px rgba(31,107,255,0.22);
}

.price-btn.primary:hover{
  box-shadow: 0 16px 34px rgba(31,107,255,0.30);
}

.price-btn.ghost{
  color: rgba(255,255,255,0.90);
  background: transparent;
  border-color: rgba(255,255,255,0.14);
}

.price-btn.ghost:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
}

.pricing-footnote{
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.pricing-footnote-pill{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.74);
  font-weight: 750;
  font-size: 13px;
  line-height: 1.5;
}

.pricing-footnote-pill a{
  color: rgba(42,167,255,0.95);
  text-decoration: none;
  font-weight: 900;
}

.pricing-footnote-pill a:hover{
  text-decoration: underline;
}


/* ======================================================
   CTA CONTACTO
====================================================== */
.contact-cta{
  padding: 56px 16px 44px;
}

.contact-cta-inner{
  max-width: 1180px;
  margin: 0 auto;
}

.contact-cta-content{
  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  padding: 28px;
  text-align: center;
}

.contact-cta-badge{
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  font-weight: 900;
  font-size: 13px;
  color: rgba(255,255,255,0.92);
}

.contact-cta-title{
  margin: 14px 0 10px;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.4px;
}

.contact-cta-text{
  margin: 0 auto;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.76);
  font-weight: 650;
}

.contact-cta-actions{
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-cta-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}

.contact-cta-btn i{
  font-size: 16px;
}

.contact-cta-btn.primary{
  color: #061127;
  background: linear-gradient(135deg, rgba(31,107,255,1), rgba(42,167,255,1));
  box-shadow: 0 12px 28px rgba(31,107,255,0.22);
}

.contact-cta-btn.primary:hover{
  box-shadow: 0 16px 34px rgba(31,107,255,0.30);
}

.contact-cta-btn.secondary{
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.14);
}

.contact-cta-btn.secondary:hover{
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.20);
}

.contact-cta-btn.ghost{
  color: rgba(255,255,255,0.90);
  background: transparent;
  border-color: rgba(255,255,255,0.14);
}

.contact-cta-btn.ghost:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
}

/* ======================================================
   CTA CONTACTO (MÓVIL)
====================================================== */
@media (max-width: 980px){
  .pricing-hero{
    padding: 15px 16px 18px;
  }

  .contact-cta{
    padding: 40px 16px 28px;
  }

  .contact-cta-title{
    font-size: 26px;
  }

  .contact-cta-actions{
    flex-direction: column;
  }

  .contact-cta-btn{
    width: 100%;
    justify-content: center;
  }
}

/* ======================================================
   PRECIOS (MÓVIL)
====================================================== */
@media (max-width: 980px){
  .pricing-hero-inner{
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .pricing-hero-title{
    font-size: 30px;
  }
}


/* ======================================================
   PRECIOS (MÓVIL)
====================================================== */
@media (max-width: 980px){
  .pricing-section{
    padding: 28px 16px 22px;
  }

  .pricing-grid{
    grid-template-columns: 1fr;
  }

  .price-btn{
    width: 100%;
  }
}




/* ======================================================
   FOOTER
====================================================== */
.site-footer{
  padding: 54px 0 26px;
}

.site-footer-inner{
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.site-footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  gap: 18px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-footer-brand{
  display: grid;
  gap: 12px;
  align-content: start;
}

.site-footer-logo{
  height: 36px;
  width: auto;
  display: block;
}

.site-footer-tagline{
  margin: 0;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.74);
  font-weight: 650;
}

.site-footer-social{
  display: flex;
  gap: 10px;
  align-items: center;
}

.site-footer-social-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  font-size: 22px;
  line-height: 1;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.site-footer-social-link:hover{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.16);
  opacity: 0.92;
}

.site-footer-social-link:active{
  transform: translateY(1px);
}

.site-footer-col{
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer-title{
  font-weight: 950;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.90);
}

.site-footer-link{
  width: fit-content;
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  transition: color 160ms ease, transform 160ms ease;
}

.site-footer-link:hover{
  color: rgba(255,255,255,0.92);
}

.site-footer-link:active{
  transform: translateY(1px);
}

.site-footer-note{
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.62);
  font-weight: 650;
}

.site-footer-bottom{
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 6px 0;
}

.site-footer-copy{
  font-weight: 750;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}

.site-footer-legal{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-footer-legal-link{
  text-decoration: none;
  font-weight: 850;
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  transition: color 160ms ease;
}

.site-footer-legal-link:hover{
  color: rgba(255,255,255,0.92);
}

.site-footer-legal-sep{
  opacity: 0.5;
}

/* ======================================================
   FOOTER (CELULAR)
====================================================== */
@media (max-width: 980px){
  .site-footer{
    padding: 40px 0 22px;
  }

  .site-footer-grid{
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }

  .site-footer-bottom{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ======================================================
   ANIMACIONES DE ENTRADA (REVEAL)
====================================================== */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity 520ms ease, transform 520ms ease, filter 520ms ease;
  will-change: opacity, transform, filter;
}

.reveal[data-reveal="left"]{ transform: translateX(-18px); }
.reveal[data-reveal="right"]{ transform: translateX(18px); }
.reveal[data-reveal="up"]{ transform: translateY(18px); }

.reveal.is-visible{
  opacity: 1;
  transform: translate(0,0);
  filter: blur(0);
}

.reveal-stagger .reveal{
  transition-delay: var(--reveal-delay, 0ms);
}

/* ======================================================
   REVEAL (MÓVIL SIN BLUR)
====================================================== */
@media (max-width: 980px){
  .reveal{
    filter: none;
    transition: opacity 420ms ease, transform 420ms ease;
    will-change: opacity, transform;
  }

  .reveal.is-visible{
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce){
  .reveal,
  .reveal.is-visible{
    transition: none;
    transform: none;
    opacity: 1;
    filter: none;
  }
}

/* ======================================================
   FONDO DINÁMICO (GLASSMORPHISM) - OPTIMIZADO
====================================================== */
body{
  position: relative;
  overflow-x: hidden;
}

/* PC: blur MUCHO más ligero + movimiento muy leve */
body::before{
  content: "";
  position: fixed;
  inset: -18%;
  z-index: -2;

  background:
    radial-gradient(520px 420px at 20% 20%, rgba(31,107,255,0.32), transparent 62%),
    radial-gradient(520px 420px at 85% 18%, rgba(42,167,255,0.24), transparent 62%),
    radial-gradient(650px 520px at 60% 85%, rgba(31,107,255,0.14), transparent 66%),
    radial-gradient(520px 520px at 12% 75%, rgba(255,255,255,0.06), transparent 62%),
    linear-gradient(180deg, rgba(6,11,26,1), rgba(6,11,26,1));

  filter: blur(6px) saturate(112%);
  transform: translate3d(0,0,0);
  animation: bgFloatLite 28s ease-in-out infinite alternate;
}

/* Grano: más sutil para no pesar */
body::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      transparent 2px,
      transparent 5px
    );

  opacity: 0.12;
  mix-blend-mode: overlay;
  animation: grainMoveLite 10s steps(10) infinite;
}

@keyframes bgFloatLite{
  0%{ transform: translate3d(-8px, -6px, 0) scale(1.01); }
  50%{ transform: translate3d(6px, 8px, 0) scale(1.02); }
  100%{ transform: translate3d(8px, -4px, 0) scale(1.01); }
}

@keyframes grainMoveLite{
  0%{ transform: translate3d(0,0,0); }
  25%{ transform: translate3d(-3px, 2px, 0); }
  50%{ transform: translate3d(2px, -2px, 0); }
  75%{ transform: translate3d(-2px, -3px, 0); }
  100%{ transform: translate3d(0,0,0); }
}

/* ======================================================
   FONDO (MÓVIL) - SIN ANIMACIÓN Y MÁS LIGERO
====================================================== */
@media (max-width: 980px){
  body::before{
    animation: none;
    filter: blur(2px) saturate(106%);
    inset: -10%;
  }

  body::after{
    animation: none;
    opacity: 0.08;
  }
}

/* ======================================================
   OPCIÓN EXTRA: QUITAR COMPLETAMENTE EL "BLOB" EN MÓVIL
   (Si lo quieres, descomenta este bloque)
====================================================== */
/*
@media (max-width: 980px){
  body::before{ display: none; }
}
*/

@media (prefers-reduced-motion: reduce){
  body::before,
  body::after{
    animation: none;
  }
}


/* ======================================================
   REVEAL (MÓVIL) - SIN ANIMACIONES
====================================================== */
@media (max-width: 980px){
  .reveal{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  .reveal.is-visible{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
