/* ============================================================
   Hyper · Instituto de la Visión
   Rediseño 2026 — "Dentro de la cámara"
   - Paleta de presión (escala única, sin azules sueltos)
   - Datos en monoespaciada (lectura tipo monitor clínico)
   - Motion "respiración" (~4s) en lugar de glow neón
   - Mismos nombres de clase y estructura que el original
   ============================================================ */

/* ===== Reset base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--clinic);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
svg {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

/* Foco de teclado visible y consistente en toda la web */
:focus-visible {
  outline: 2px solid var(--oxygen);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Paleta / Variables de marca ===== */
:root {
  /* Escala de presión (oscuro = dentro de la cámara) */
  --abyss: #0A1B2E;        /* fondo profundo */
  --pressure: #143454;     /* superficies / tarjetas sobre oscuro */
  --pressure-2: #0F2942;   /* superficie alternativa */

  /* Marca (conservado) */
  --marine: #2B57A8;
  --marine-hover: #3A6BC4;

  /* Acento instrumento (dato, anillos, gauges) */
  --oxygen: #35E0C4;
  --oxygen-dim: #2BB6A0;

  /* Texto */
  --sky: #8FB8F0;               /* labels / texto tenue sobre oscuro */
  --text-on-dark: #E7EFFA;
  --text-on-dark-soft: #9DB6D6;
  --clinic: #F2F6FB;            /* fondo claro (luz clínica) */
  --clinic-2: #E4ECF6;
  --ink: #0E1B2A;              /* texto sobre claro */
  --ink-soft: #41566E;

  /* Líneas */
  --line-dark: rgba(143, 184, 240, 0.16);
  --line-light: rgba(14, 27, 42, 0.10);

  /* WhatsApp */
  --wa-verde: #25D366;
  --wa-verde-oscuro: #20bd5a;

  /* Alias heredados (para no romper reglas viejas) */
  --azul: var(--marine);
  --azul-claro: var(--marine-hover);
  --celeste: var(--text-on-dark);
  --fondo-oscuro: var(--abyss);
  --amarillo: #F4C01B;
  --lila-texto: var(--text-on-dark-soft);

  /* Tipografía */
  --font-display: "Anybody", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-mono: "IBM Plex Mono", "Plus Jakarta Sans", monospace;

  /* Forma / motion */
  --radius: 16px;
  --breath: 4s;
}

/* ===== Motion: reveal al hacer scroll (agregado por JS) ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Layout general ===== */
main {
  flex: 1;
  width: 100%;
  margin-inline: auto;
}

section {
  padding-block: 0;
}

/* ===== Header / Nav ===== */
.site-header {
  border-bottom: 1px solid var(--line-light);
  background: var(--clinic);
  position: sticky;
  top: 0;
  z-index: 500;
}

.ticker {
  width: 100%;
  overflow: hidden;
  background: var(--marine);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
}

.ticker-item {
  padding: 0.35rem 0;
}

.nav {
  position: relative;
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1rem;
  text-transform: uppercase;
}

.nav-logo {
  display: flex;
  gap: 10px;
}

.nav-logo img {
  height: 90px;
}

/* Menú (links + botón juntos a la derecha en desktop) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

/* Hover: subrayado que crece */
.nav-links a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--marine);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--marine);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-activo {
  font-weight: bold;
  color: var(--marine);
}

.nav-activo::after {
  width: 100%;
}

/* Botón MÁS INFO: brillo sobrio + elevación */
.nav-btn {
  color: #fff;
  background-color: var(--marine);
  padding: 8px 35px;
  border-radius: 50px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease, color 0.3s ease;
}

.nav-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.nav-btn:hover::before {
  left: 125%;
}

.nav-btn:hover {
  background-color: var(--marine-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(43, 87, 168, 0.35);
}

/* Hamburguesa (oculta en desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--marine);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ================================ HOME ================================ */

.flex-home {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 4.5rem 2.5rem 5rem;
  overflow: hidden;
  background-color: var(--abyss);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 5rem;
}

/* Campo de presión que respira detrás del hero (reemplaza el glow neón) */
.flex-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 80% 45%, rgba(53, 224, 196, 0.10), transparent 38%),
    radial-gradient(circle at 12% 28%, rgba(43, 87, 168, 0.45), transparent 46%),
    radial-gradient(circle at 95% 90%, rgba(43, 87, 168, 0.30), transparent 40%);
  animation: breathe-field var(--breath) ease-in-out infinite;
}

@keyframes breathe-field {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.flex-home > * {
  position: relative;
  z-index: 1;
}

.info-home {
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Eyebrow en mono con "señal viva" */
.tag-info {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(53, 224, 196, 0.4);
  border-radius: 50px;
  padding: 6px 18px;
  background-color: rgba(53, 224, 196, 0.06);
  max-width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--oxygen);
}

.tag-info::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oxygen);
  box-shadow: 0 0 0 0 rgba(53, 224, 196, 0.5);
  animation: pulse-dot 2.6s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(53, 224, 196, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(53, 224, 196, 0); }
}

.title-info {
  font-size: 4rem;
  line-height: 1.02;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.p-info {
  font-size: 1rem;
  color: var(--text-on-dark-soft);
  max-width: 46ch;
}

.btns-info {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.btn-main {
  background-color: var(--marine);
  padding: 14px 40px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 12px 30px -12px rgba(43, 87, 168, 0.9);
}

.btn-sub {
  border: 1px solid rgba(231, 239, 250, 0.35);
  padding: 14px 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.btn-sub i {
  font-size: 1.4rem;
  color: var(--oxygen);
}

/* Base: transición suave */
.btn-main,
.btn-sub {
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease, border-color 0.25s ease;
}

.btn-main:hover {
  transform: translateY(-3px);
  background-color: var(--marine-hover);
  box-shadow: 0 18px 40px -14px rgba(43, 87, 168, 1);
}

.btn-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-main:hover::before {
  left: 125%;
}

.btn-sub:hover {
  border-color: var(--oxygen);
  background-color: rgba(53, 224, 196, 0.08);
}

.btn-sub i {
  transition: transform 0.25s ease;
}

.btn-sub:hover i {
  transform: scale(1.12);
}

/* Cámara enmarcada como "ojo de buey" con anillo que respira */
.img-home {
  border-radius: var(--radius);
  width: 700px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(53, 224, 196, 0.45),
    0 0 0 8px rgba(53, 224, 196, 0.05),
    0 30px 70px -28px rgba(0, 0, 0, 0.75);
  animation: breathe-ring var(--breath) ease-in-out infinite;
}

@keyframes breathe-ring {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(53, 224, 196, 0.4),
      0 0 0 8px rgba(53, 224, 196, 0.05),
      0 30px 70px -28px rgba(0, 0, 0, 0.75);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(53, 224, 196, 0.7),
      0 0 0 14px rgba(53, 224, 196, 0.09),
      0 30px 70px -28px rgba(0, 0, 0, 0.75);
  }
}

.img-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Instrumentos flotantes (lectura tipo monitor) */
.img-tag1,
.img-tag2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: absolute;
  background-color: rgba(10, 27, 46, 0.86);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 10px 15px;
}

.img-tag1 {
  bottom: 15px;
  right: 15px;
  animation: flotar1 6s ease-in-out infinite;
}

.img-tag2 {
  top: 15px;
  left: 15px;
  animation: flotar2 6s ease-in-out infinite;
}

@keyframes flotar1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes flotar2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.icon-tag1,
.icon-tag2 {
  font-size: 1.4rem;
  color: var(--oxygen);
}

.info-tag1,
.info-tag2 {
  font-size: 0.62rem;
  line-height: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}

.b-info-tag1,
.b-info-tag2 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--oxygen);
}

.b-info-tag2 {
  font-size: 1rem;
}

/* ============================ VITALITY ============================ */

.flex-vitality {
  width: 100%;
  background-color: var(--abyss);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 8rem 5rem;
}

.title-vitality {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 2.5rem;
}

.title-vitality::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--oxygen);
}

.cards-vitality {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.card {
  width: 330px;
  background-color: var(--pressure);
  color: var(--text-on-dark-soft);
  padding: 1.75rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 224, 196, 0.35);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.icon-card {
  width: fit-content;
  background-color: var(--marine);
  padding: 12px;
  border-radius: 14px;
}

.icon {
  font-size: 1.9rem;
  color: #fff;
}

.title-card {
  color: var(--text-on-dark);
}

.p-card {
  line-height: 1.5;
  font-size: 0.95rem;
}

/* ============================ INSTAGRAM (luz clínica) ============================ */

.flex-instagram {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 5em;
  background: var(--clinic);
}

.ig-embed {
  position: relative;
  flex: 1 1 326px;
  min-width: 326px;
  min-height: 560px;
}

.ig-embed .instagram-media {
  margin: 0 auto !important;
}

.ig-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--clinic-2);
  border-radius: var(--radius);
  color: var(--ink-soft);
  transition: opacity 0.4s ease;
  z-index: 2;
}

.ig-loader.oculto {
  opacity: 0;
  pointer-events: none;
}

.ig-spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid #cdd8e6;
  border-top-color: var(--marine);
  animation: girar 0.9s linear infinite;
}

@keyframes girar {
  to { transform: rotate(360deg); }
}

.info-cards {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateX(4px);
}

.info-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.info-card p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0;
}

.info-card p i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-size: 1.05rem;
}

.info-card--light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-light);
}

.info-card--light p i {
  background: var(--marine);
  color: #fff;
}

.info-card--dark {
  background: var(--marine);
  color: #fff;
}

.info-card--dark p i {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* ============================ CELLULAR RECHARGE ============================ */

.flex-recharge {
  background-color: var(--abyss);
  color: var(--text-on-dark);
  padding: 4em 0 6em;
}

.head-recharge {
  padding: 1rem 3rem;
}

.head-recharge .title-recharge {
  font-size: 2.5rem;
  line-height: 1.05;
  margin-bottom: 0.35em;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.p-recharge {
  font-size: 1.05rem;
  color: var(--text-on-dark-soft);
  line-height: 1.5;
  max-width: 65ch;
}

.plus-recharge {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-align: end;
  color: var(--oxygen);
  letter-spacing: 0.02em;
}

.grid-recharge {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(6, 1fr);
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
  padding: 1rem 3rem;
}

.recharde-div p {
  line-height: 1.5;
}

.recharge-div1 {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line-dark);
  grid-area: 1 / 1 / 7 / 5;
  height: 400px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 2rem;
}

.recharge-div1::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(10, 27, 46, 0), rgba(10, 27, 46, 0.92)),
    url("./imgs/machine.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
}

.recharge-div1 > * {
  position: relative;
  z-index: 1;
}

.recharge-div1:hover::before {
  transform: scale(1.06);
}

.recharge-div1 h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.recharge-div2 {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line-dark);
  grid-area: 1 / 5 / 4 / 9;
  padding: 1rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.recharge-div2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(10, 27, 46, 0.3), rgba(10, 27, 46, 0.92)),
    url("./imgs/regen_1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
}

.recharge-div2 > * {
  position: relative;
  z-index: 1;
}

.recharge-div2:hover::before {
  transform: scale(1.06);
}

.recharge-div2-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.head-i i {
  font-size: 2.4rem;
  color: var(--oxygen);
}

.head-p {
  text-align: end;
  line-height: 1.4rem;
  color: #fff;
}

.head-p h3 {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  line-height: 1.1;
  font-weight: 600;
  color: var(--oxygen);
}

.recharge-div2-text {
  color: var(--text-on-dark-soft);
}

/* Azulejos de propiedad: superficie de presión + acento oxígeno */
.recharge-div3,
.recharge-div4 {
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1rem;
  background-color: var(--pressure);
  border: 1px solid var(--line-dark);
  color: var(--text-on-dark);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.recharge-div3:hover,
.recharge-div4:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 224, 196, 0.35);
}

.recharge-div3 {
  grid-area: 4 / 5 / 7 / 7;
}

.recharge-div4 {
  grid-area: 4 / 7 / 7 / 9;
}

.recharge-div3 i,
.recharge-div4 i {
  font-size: 1.9rem;
  color: var(--oxygen);
  margin-bottom: 0.25em;
}

.recharge-div3 h3,
.recharge-div4 h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.recharge-div3 p,
.recharge-div4 p {
  color: var(--text-on-dark-soft);
  font-size: 0.9rem;
}

/* ============================ PEAK PERFORMANCE ============================ */

.flex-performance {
  position: relative;
  overflow: hidden;
  background-color: var(--abyss);
  color: var(--text-on-dark);
  padding: 4rem 1rem 6rem 1rem;
}

.flex-performance::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 62% 45%, rgba(53, 224, 196, 0.10), transparent 32%),
    radial-gradient(circle at 62% 45%, rgba(43, 87, 168, 0.35), transparent 46%);
}

.flex-performance > * {
  position: relative;
  z-index: 1;
}

.head-performance {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 60ch;
  margin-inline: auto;
}

.head-performance h1 {
  font-family: var(--font-display);
  font-size: 2.6em;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.head-performance p {
  font-size: 1.05em;
  line-height: 1.5;
  color: var(--text-on-dark-soft);
}

.body-performance {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 2rem;
  gap: 3rem;
}

.list-performance {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.li-performance {
  display: flex;
  align-items: start;
  gap: 1.75em;
}

/* Numeral como marcador de instrumento (mono en anillo fino) */
.li-num {
  position: relative;
  background-color: transparent;
  color: var(--oxygen);
  font-family: var(--font-mono);
  font-weight: 500;
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(53, 224, 196, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.li-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.15rem;
}

.li-text p {
  color: var(--text-on-dark-soft);
  line-height: 1.5;
}

.img-performance {
  border: 1px solid var(--line-dark);
  padding: 15px;
  border-radius: 30px;
  width: 500px;
  position: relative;
  background: var(--pressure-2);
}

.img-performance img {
  border-radius: 18px;
}

.img-performance .tag-performance {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: -35px;
  right: 0;
  min-width: 150px;
  min-height: 150px;
  background-color: rgba(10, 27, 46, 0.9);
  border-radius: 100px;
  border: 1px solid rgba(53, 224, 196, 0.3);
  font-family: var(--font-mono);
}

/* Anillo giratorio (instrumento) */
.img-performance .tag-performance::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: conic-gradient(
    var(--oxygen) 0deg 90deg,
    transparent 90deg 120deg,
    var(--oxygen) 120deg 250deg,
    transparent 250deg 270deg,
    var(--oxygen) 270deg 285deg,
    transparent 285deg 320deg,
    var(--oxygen) 320deg 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 8px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 8px));
  animation: spin-peak 3.5s cubic-bezier(0.9, 0.1, 0.35, 0.9) infinite;
}

@keyframes spin-peak {
  to { transform: rotate(360deg); }
}

.tag-performance span {
  font-size: 33px;
  margin-bottom: -6px;
  color: var(--oxygen);
}

.tag-performance p {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-on-dark);
}

/* ============================ Footer ============================ */

.site-footer {
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(var(--abyss), var(--marine));
  color: #fff;
  padding: 4rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  padding: 2rem 1rem;
  gap: 10rem;
}

.footer-top-l {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 15px;
  max-width: 42ch;
}

.footer-top-l p {
  color: rgba(255, 255, 255, 0.85);
}

.top-l-links {
  display: flex;
  gap: 0.6em;
  font-size: 1.5rem;
  margin-top: 0.4rem;
}

.top-l-links a {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.top-l-links a:hover {
  transform: translateY(-3px);
}

.top-l-links .fa-instagram {
  background: linear-gradient(#ffd900, #ff009d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.top-l-links .fa-whatsapp {
  color: #25D366;
}

.footer-top-r {
  display: flex;
  gap: 15px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.footer-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease, transform 0.2s ease;
  width: fit-content;
}

.footer-info a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-info .info-number {
  display: flex;
  align-items: center;
  gap: 0.5em;
  min-width: max-content;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.info-number .fa-whatsapp {
  color: #25D366;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-flow: row-reverse;
  padding: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer img {
  height: 140px;
}

/* ============================================================
   WIDGET FLOTANTE DE WHATSAPP
   ============================================================ */

.wa-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  pointer-events: none;
}

.wa-fab {
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background-color: var(--wa-verde);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  animation: wa-pulse 2.5s ease-in-out infinite;
  pointer-events: auto;
}

.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
}

.wa-widget.abierto .wa-fab {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

@keyframes wa-pulse {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

.wa-popup {
  width: min(320px, calc(100vw - 2.5rem));
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #2b2b2b;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  transform-origin: bottom right;
  opacity: 0;
  transform: scale(0.85) translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.wa-widget.abierto .wa-popup {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.wa-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background-color: var(--wa-verde);
  color: #fff;
}

.wa-popup-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.wa-popup-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  font-size: 1.2rem;
}

.wa-popup-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.wa-popup-close:hover {
  background-color: rgba(0, 0, 0, 0.35);
}

.wa-popup-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.25rem 1rem 1.5rem;
}

.wa-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  background-color: #4a4a4a;
  color: #fff;
  border-radius: 4px 16px 16px 16px;
  line-height: 1.35;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.wa-bubble p {
  margin: 0;
}

.wa-popup-cta {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  background-color: var(--wa-verde);
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.wa-popup-cta:hover {
  background-color: var(--wa-verde-oscuro);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

@media (max-width: 575px) {
  .wa-widget {
    right: 16px;
    bottom: 16px;
  }

  .site-footer img {
    height: 110px;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---------- Tablet y mobile ---------- */
@media (max-width: 991px) {

  .nav-toggle {
    display: flex;
  }

  .nav.abierto .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav.abierto .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.abierto .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
  }

  .nav.abierto .nav-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--line-light);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-btn {
    margin: 0.75rem 1.5rem 0.5rem;
    padding: 12px 0;
    text-align: center;
  }

  /* --- Home --- */
  .flex-home {
    flex-direction: column;
    margin: 0;
    padding: 3rem 1.5rem 4rem;
    gap: 3.5rem;
  }

  .flex-home::before {
    background-image:
      radial-gradient(circle at 20% 30%, rgba(53, 224, 196, 0.10), transparent 40%),
      radial-gradient(circle at 85% 75%, rgba(43, 87, 168, 0.4), transparent 40%);
  }

  .title-info {
    font-size: 3rem;
  }

  .p-info {
    max-width: none;
  }

  .btn-main {
    padding: 13px 26px;
  }

  .btn-sub {
    padding: 13px 16px;
    gap: 10px;
  }

  .img-home {
    width: 350px;
  }

  .img-tag1,
  .img-tag2 {
    gap: 0.5rem;
    padding: 5px 10px;
  }

  .icon-tag1,
  .icon-tag2 {
    font-size: 1rem;
  }

  .info-tag1,
  .info-tag2 {
    font-size: 0.5rem;
    line-height: 0.8rem;
  }

  .b-info-tag1 {
    font-size: 1.1rem;
  }

  .b-info-tag2 {
    font-size: 0.9rem;
  }

  /* --- Vitality --- */
  .flex-vitality {
    padding: 2rem 1rem 3rem;
  }

  .title-vitality {
    font-size: 2.25rem;
  }

  .cards-vitality {
    flex-direction: column;
    gap: 0.75rem;
  }

  .card {
    width: 100%;
  }

  /* --- Instagram --- */
  .flex-instagram {
    padding: 2em 1em 3em;
    gap: 5em;
    flex-direction: column;
  }

  /* --- Cellular Recharge --- */
  .head-recharge {
    padding: 1rem 1rem 3rem;
  }

  .head-recharge h2 {
    font-size: 2.25rem;
  }

  .grid-recharge {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(7, 1fr);
    grid-column-gap: 0.75rem;
    grid-row-gap: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .recharge-div1 {
    grid-area: 1 / 1 / 4 / 5;
    height: 300px;
    padding: 1.5rem;
  }

  .recharge-div1 h3 {
    font-size: 1.5rem;
  }

  .recharge-div2 {
    grid-area: 4 / 1 / 6 / 5;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }

  .head-i i {
    font-size: 2.5rem;
  }

  .head-p {
    line-height: 1.5rem;
  }

  .head-p h3 {
    font-size: 1.75rem;
  }

  .recharge-div3 {
    grid-area: 6 / 1 / 8 / 3;
  }

  .recharge-div3 i,
  .recharge-div4 i {
    font-size: 1.9rem;
  }

  .recharge-div4 {
    grid-area: 6 / 3 / 8 / 5;
  }

  /* --- Peak Performance --- */
  .flex-performance {
    padding: 0 1rem 6rem;
  }

  .body-performance {
    flex-direction: column;
    padding: 0.5rem;
    gap: 3rem;
  }

  /* --- Footer --- */
  .site-footer {
    padding: 2rem;
  }

  .footer-top {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .footer-top-r {
    flex-direction: column;
  }
}

/* ---------- Ajustes finos solo para teléfonos ---------- */
@media (max-width: 575px) {

  .nav-logo img {
    height: 60px;
  }

  .title-info {
    font-size: 2.5rem;
  }

  .img-performance {
    width: 350px;
  }

  .img-performance .tag-performance {
    bottom: -65px;
    right: 0;
    min-width: 125px;
    min-height: 125px;
  }

  .site-footer {
    padding: 1rem;
  }
}

/* ============================================================
   PREFERS-REDUCED-MOTION — se respeta en toda la web
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}