/* ============================================================
   Cellux · Manzaneros Tech — Landing
   Paleta: fondo #0B0A0F · acento magenta #ED1CC6
   Fuentes: Space Grotesk (títulos) · Hanken Grotesk (texto)
   ============================================================ */

:root {
  --bg: #0B0A0F;
  --text: #F4F1F6;
  --muted: #A7A1B0;
  --muted-2: #C2BCC9;
  --pink: #ED1CC6;
  --pink-bright: #FF2DD6;
  --line: rgba(255, 255, 255, 0.08);
  --font-title: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; }
::selection { background: var(--pink); color: #fff; }

.text-pink { color: var(--pink); }
.text-white { color: var(--text); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn--lg { font-size: 16px; padding: 15px 30px; }
.btn--pink {
  background: var(--pink); color: #fff;
  box-shadow: 0 14px 40px -12px rgba(237, 28, 198, 0.7);
}
.btn--pink:hover { background: var(--pink-bright); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.10); }
.btn--dark { background: #0B0A0F; color: #fff; }
.btn--dark:hover { background: #1a1820; }
.btn--glass {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.26); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(11, 10, 15, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 34px; width: auto; }
.brand__manz { opacity: .92; }
.brand__sep { width: 1px; height: 26px; background: rgba(255, 255, 255, 0.14); }

/* Nav brand oculto al inicio, aparece al scrollear */
.header .brand {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.header.scrolled .brand {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.nav__cta) {
  color: #B7B1BE; font-size: 14.5px; font-weight: 500;
  transition: color .2s;
}
.nav > a:not(.nav__cta):hover { color: #fff; }
.nav__cta { padding: 9px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 11vw, 140px) clamp(20px, 5vw, 64px) clamp(56px, 8vw, 110px);
  text-align: center;
  overflow: hidden;
}
.hero__glow {
  position: absolute; top: 0; left: 0;
  width: min(700px, 90vw); height: 700px;
  background: radial-gradient(closest-side, rgba(180, 20, 198, 0.38), rgba(140, 10, 180, 0.08) 55%, transparent);
  filter: blur(18px);
  pointer-events: none;
  will-change: transform;
  animation: floatGlowMobile 12s ease-in-out infinite;
  transition: transform .08s ease-out;
}
@keyframes floatGlowMobile {
  0%   { transform: translate(10%, 5%)  scale(1); }
  25%  { transform: translate(55%, 10%) scale(1.06); }
  50%  { transform: translate(40%, 40%) scale(0.96); }
  75%  { transform: translate(-5%, 30%) scale(1.08); }
  100% { transform: translate(10%, 5%)  scale(1); }
}
@media (pointer: fine) {
  .hero__glow { animation: none; transition: transform .12s ease-out; }
}
.hero__inner { position: relative; max-width: 920px; margin: 0 auto; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; margin-bottom: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px;
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #C9C3D0;
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px 1px var(--pink); }
.hero__logos {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(22px, 5vw, 52px); margin-bottom: 40px; flex-wrap: wrap;
}
.hero__logo { height: clamp(78px, 13vw, 128px); width: auto; }
.hero__logo--cellux { filter: drop-shadow(0 10px 40px rgba(237, 28, 198, 0.4)); }
.hero__logos-sep { width: 1px; height: clamp(70px, 11vw, 110px); background: linear-gradient(transparent, rgba(255, 255, 255, 0.22), transparent); }
.hero__title {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(34px, 6.4vw, 68px); line-height: 1.04;
  letter-spacing: -0.02em; margin-bottom: 22px; text-wrap: balance;
}
.hero__sub {
  font-size: clamp(16px, 2.2vw, 19px); line-height: 1.55; color: var(--muted);
  max-width: 540px; margin: 0 auto 40px; text-wrap: pretty;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__actions--center { justify-content: center; }

/* ---------- Secciones ---------- */
.section {
  padding: clamp(40px, 7vw, 90px) clamp(20px, 5vw, 64px);
  max-width: var(--maxw); margin: 0 auto; width: 100%;
}
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 34px;
}
.section__title {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(28px, 4.5vw, 44px); line-height: 1.05; letter-spacing: -0.02em;
}
.eyebrow {
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  color: #9B95A3; font-weight: 600; margin-bottom: 12px;
}
.eyebrow--pink { color: var(--pink); }
.link-pink {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--pink); font-family: var(--font-title); font-weight: 600; font-size: 15.5px;
  border-bottom: 1px solid rgba(237, 28, 198, 0.4); padding-bottom: 3px;
  transition: color .2s;
}
.link-pink:hover { color: var(--pink-bright); }

/* ---------- Servicios ---------- */
.servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px; padding: clamp(28px, 4vw, 44px);
}
.card--pink {
  background: linear-gradient(160deg, rgba(237, 28, 198, 0.14), rgba(237, 28, 198, 0.02));
  border-color: rgba(237, 28, 198, 0.28);
}
.card__blob {
  position: absolute; top: -60px; right: -40px; width: 200px; height: 200px;
  background: radial-gradient(closest-side, rgba(237, 28, 198, 0.4), transparent);
  filter: blur(10px); pointer-events: none;
}
.card__body { position: relative; }
.card__logo { height: 54px; width: auto; margin-bottom: 26px; }
.card__logo--manz { opacity: .95; }
.card__title {
  font-family: var(--font-title); font-weight: 600;
  font-size: clamp(22px, 3vw, 28px); line-height: 1.12; letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.card__text { font-size: 16px; line-height: 1.55; color: var(--muted-2); max-width: 380px; }

/* ---------- Plan Canje ---------- */
.canje-section { padding-top: 0; }
.canje {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  background: linear-gradient(160deg, rgba(237, 28, 198, 0.07), rgba(237, 28, 198, 0.01));
  border: 1px solid rgba(237, 28, 198, 0.16);
  border-radius: 28px;
  padding: clamp(36px, 5vw, 64px);
}
.canje__title {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(26px, 4vw, 40px); line-height: 1.06;
  letter-spacing: -0.02em; margin-bottom: 28px;
}
.canje__steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.canje__step { display: flex; align-items: flex-start; gap: 14px; }
.canje__num {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(237, 28, 198, 0.1); border: 1px solid rgba(237, 28, 198, 0.35);
  color: var(--pink); font-family: var(--font-title); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.canje__step-text { font-size: 15px; color: var(--muted-2); line-height: 1.5; padding-top: 4px; }

/* Ilustración */
.canje__visual {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
}
.phone {
  width: clamp(72px, 9vw, 96px);
  height: clamp(136px, 17vw, 180px);
  border-radius: clamp(14px, 2vw, 18px);
  border: 2px solid;
  display: flex; flex-direction: column;
  align-items: center; padding-top: 14px;
  overflow: hidden;
}
.phone--old {
  background: #141019; border-color: #3D3650;
  animation: floatOld 3s ease-in-out infinite;
}
.phone--new {
  background: #1A0822; border-color: var(--pink);
  box-shadow: 0 0 32px rgba(237, 28, 198, 0.2);
  animation: floatNew 3s ease-in-out infinite;
}
@keyframes floatOld {
  0%, 100% { transform: translateY(-4px) rotate(-4deg); }
  50%       { transform: translateY(4px) rotate(-4deg); }
}
@keyframes floatNew {
  0%, 100% { transform: translateY(4px) rotate(4deg); }
  50%       { transform: translateY(-4px) rotate(4deg); }
}
.phone__notch { width: 28px; height: 5px; background: #2A2438; border-radius: 3px; margin-bottom: 12px; }
.phone__notch--new { background: #3D1840; }
.phone__lines { display: flex; flex-direction: column; gap: 6px; padding: 0 12px; width: 100%; }
.phone__line { display: block; height: 5px; border-radius: 3px; background: #2A2438; width: 100%; }
.phone__line--short { width: 65%; }
.phone__line--mid { width: 80%; }
.phone__line--pink { background: rgba(237, 28, 198, 0.22); }
.phone__cam {
  width: 20px; height: 20px; border-radius: 50%;
  background: #1A0622; border: 1.5px solid rgba(237, 28, 198, 0.4);
  margin-top: 10px; position: relative;
}
.phone__cam::after {
  content: ''; position: absolute; inset: 5px;
  border-radius: 50%; background: rgba(237, 28, 198, 0.45);
}

.canje__arrows {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.canje__arr { width: 48px; display: block; }
.canje__arr--up { animation: slideUp 2.4s ease-in-out infinite; }
.canje__arr--down { animation: slideDown 2.4s ease-in-out infinite; }
@keyframes slideUp {
  0%, 100% { opacity: 0.6; transform: translateY(3px); }
  50%       { opacity: 1;   transform: translateY(-3px); }
}
@keyframes slideDown {
  0%, 100% { opacity: 0.35; transform: translateY(-3px); }
  50%       { opacity: 0.65; transform: translateY(3px); }
}
.canje__pill {
  background: var(--pink); color: #fff;
  font-family: var(--font-title); font-size: 12px; font-weight: 700;
  padding: 6px 16px; border-radius: 999px;
  animation: pulsePill 2.4s ease-in-out infinite;
  white-space: nowrap;
}
@keyframes pulsePill {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237, 28, 198, 0.55); }
  50%       { box-shadow: 0 0 0 8px rgba(237, 28, 198, 0); }
}

@media (max-width: 640px) {
  .canje { grid-template-columns: 1fr; gap: 40px; }
  .canje__visual { order: -1; }
}

/* ---------- Servicio Técnico ---------- */
.serv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-bottom: 32px;
}
.serv__title {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(26px, 3.8vw, 38px); line-height: 1.06; letter-spacing: -0.025em;
}
.serv__list { display: flex; flex-direction: column; }
.serv__item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.serv__item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.serv__num {
  font-size: 11px; color: var(--pink); font-weight: 700;
  font-variant-numeric: tabular-nums; min-width: 20px; opacity: 0.7;
  font-family: var(--font-title);
}
.serv__label { font-size: 15px; color: #D4CFDC; font-weight: 500; }
.serv__cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
}
.serv__cta-title { font-family: var(--font-title); font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; margin-bottom: 3px; }
.serv__cta-sub { font-size: 12px; color: #6B6480; }
.serv__btn { white-space: nowrap; flex: none; font-size: 13px; padding: 10px 16px; }

@media (max-width: 560px) {
  .serv { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Redes Sociales ---------- */
.redes-section { padding-bottom: 0; }
.redes-header { text-align: center; margin-bottom: 48px; }
.redes-title {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(36px, 6vw, 64px); line-height: 1.04;
  letter-spacing: -0.025em; margin-bottom: 18px; text-wrap: balance;
}
.redes-sub {
  font-size: clamp(15px, 2vw, 17px); color: var(--muted); line-height: 1.6;
  max-width: 560px; margin: 0 auto 28px;
}
.redes-sub strong { color: var(--text); font-weight: 600; }
.redes-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.redes-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  font-size: 13px; color: #C2BCC9; font-weight: 500;
}
.redes-pill__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--pink); flex: none; }

.redes-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 780px; margin: 0 auto;
}
.redes-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 10px;
}
.redes-card--pink {
  background: rgba(237,28,198,0.05);
  border-color: rgba(237,28,198,0.2);
}
.redes-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px; padding: 14px;
  position: relative;
}
.redes-avatar--cellux {
  background: #1A0822;
  box-shadow: 0 0 0 3px #ED1CC6, 0 0 0 6px rgba(237,28,198,0.15);
}
.redes-avatar--manz {
  background: #111019;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.2), 0 0 0 6px rgba(255,255,255,0.05);
}
.redes-avatar img { width: 100%; height: 100%; object-fit: contain; }
.redes-name {
  font-family: var(--font-title); font-size: 18px; font-weight: 700; color: var(--text);
}
.redes-handle { font-size: 14px; color: var(--muted); }
.redes-handle--pink { color: var(--pink); }
.redes-desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 4px 0 12px; }
.redes-btn {
  display: inline-flex; align-items: center; gap: 8px;
  width: 100%; justify-content: center;
  font-family: var(--font-title); font-size: 15px; font-weight: 600;
  padding: 14px 24px; border-radius: 999px; border: none; cursor: pointer;
  text-decoration: none; transition: opacity .2s;
  margin-top: auto;
}
.redes-btn:hover { opacity: .88; }
.redes-btn--pink {
  background: var(--pink); color: #fff;
  box-shadow: 0 10px 32px -8px rgba(237,28,198,0.65);
}
.redes-btn--ghost {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
}

/* ---------- Ubicación ---------- */
.ubicacion {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px; align-items: stretch;
}
.ubicacion__info { display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.info-list { display: flex; flex-direction: column; gap: 22px; }
.info-item { display: flex; gap: 15px; align-items: flex-start; }
.info-item__icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(237, 28, 198, 0.12); border: 1px solid rgba(237, 28, 198, 0.3);
  font-size: 19px;
}
.info-item__title { font-family: var(--font-title); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.info-item__text { font-size: 15px; color: var(--muted); line-height: 1.6; }
.ubicacion__map {
  border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1); min-height: 360px;
}
.ubicacion__map iframe {
  width: 100%; height: 100%; min-height: 360px; border: 0;
  filter: grayscale(0.3) contrast(1.05) brightness(0.85);
}

/* ---------- CTA ---------- */
.cta-wrap { padding-top: 0; }
.cta {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(120deg, #ED1CC6, #A50E8C);
  padding: clamp(36px, 6vw, 64px); text-align: center;
}
.cta__shine {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.25), transparent 50%);
  pointer-events: none;
}
.cta__body { position: relative; }
.cta__title {
  font-family: var(--font-title); font-weight: 700;
  font-size: clamp(26px, 4.5vw, 42px); line-height: 1.08; letter-spacing: -0.02em;
  color: #fff; margin-bottom: 16px; text-wrap: balance;
}
.cta__text { font-size: 17px; color: rgba(255, 255, 255, 0.88); max-width: 480px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(40px, 5vw, 60px) clamp(20px, 5vw, 64px) 40px;
}
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.footer__brand { max-width: 340px; }
.footer__brand .brand { margin-bottom: 18px; }
.footer__desc { font-size: 14.5px; color: #8E8898; line-height: 1.55; }
.footer__cols { display: flex; gap: clamp(40px, 8vw, 80px); flex-wrap: wrap; }
.footer__label {
  font-family: var(--font-title); font-size: 12.5px; letter-spacing: .14em;
  text-transform: uppercase; color: #6E6878; margin-bottom: 14px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__links span { font-size: 15px; color: var(--muted-2); transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__ig:hover { color: var(--pink) !important; }
.footer__bottom {
  max-width: var(--maxw); margin: 36px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px; color: #6E6878;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .nav { gap: 16px; }
  .nav > a:not(.nav__cta) { display: none; }
}