:root {
  --purple:      #73168C;
  --dark-purple: #2E093A;
  --arsenic:     #424242;
  --black:       #121212;
  --cultured:    #F8F8F8;
  --white:       #ffffff;
  --gradient:    linear-gradient(135deg, #2E093A 0%, #73168C 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--cultured);
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 2px; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  transition: background 0.4s, backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(115, 22, 140, 0.2);
}
.nav-logo img { height: 38px; filter: brightness(0) invert(1); }
.nav-right { display: flex; align-items: center; gap: 2.5rem; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(248,248,248,0.7);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-social { display: flex; align-items: center; gap: 1rem; }
.nav-social a { display: flex; color: rgba(248,248,248,0.6); transition: color 0.2s; }
.nav-social a:hover { color: var(--white); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  letter-spacing: 0.01em;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: #8a1da8; transform: translateY(-2px); }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/lab.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}
#hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(18,18,18,0.94) 0%,
    rgba(46,9,58,0.85) 55%,
    rgba(115,22,140,0.4) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3rem;
  max-width: 900px;
  min-width: 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--purple);
}
.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.5s forwards;
}
.hero-title .accent { color: var(--purple); }
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(248,248,248,0.75);
  max-width: 600px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.7s forwards;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.9s forwards;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.hero-cta:hover {
  background: #8a1da8;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(115,22,140,0.5);
}
.hero-cta svg { transition: transform 0.2s; }
.hero-cta:hover svg { transform: translateX(4px); }
.hero-microline {
  font-size: 0.8rem;
  color: rgba(248,248,248,0.45);
  padding-left: 0.3rem;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}
.scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248,248,248,0.4);
}
.scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(115,22,140,0.8), transparent);
  animation: scrollPulse 2s 2s infinite;
}

/* ── SECTIONS COMMON ── */
section { padding: 7rem 3rem; }
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--purple);
  flex-shrink: 0;
}
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.section-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(248,248,248,0.65);
  max-width: 620px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── TE SUENA ── */
#te-suena {
  background: var(--dark-purple);
  background-image: radial-gradient(ellipse at 15% 20%, rgba(115,22,140,0.18) 0%, transparent 55%);
}
.suena-header { max-width: 680px; margin: 0 auto 4rem; text-align: center; }
.suena-header .section-body { margin: 0 auto; }
.suena-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
}
.suena-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(18,18,18,0.5);
  border: 1px solid rgba(115,22,140,0.2);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
}
.suena-item svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--purple); }
.suena-item p { font-size: 0.98rem; line-height: 1.6; color: rgba(248,248,248,0.8); }
.suena-closing {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
}

/* ── QUE ES ── */
#que-es {
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.que-es-text .section-title { max-width: 520px; }
.que-es-text .section-body + .section-body { margin-top: 1.2rem; }
.que-es-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--gradient);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}
.que-es-visual img {
  width: 70%;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}
.que-es-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ── COMO FUNCIONA ── */
#como-funciona {
  background: var(--dark-purple);
  background-image: radial-gradient(ellipse at 85% 15%, rgba(115,22,140,0.15) 0%, transparent 60%);
}
.cf-header { max-width: 680px; margin: 0 auto 4rem; text-align: center; }
.cf-header .section-body { margin: 0 auto; }
.cf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.cf-card {
  background: rgba(18,18,18,0.6);
  border: 1px solid rgba(115,22,140,0.2);
  border-radius: 20px;
  padding: 2.5rem 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s;
}
.cf-card:hover { transform: translateY(-6px); border-color: rgba(115,22,140,0.5); }
.cf-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: rgba(115,22,140,0.55);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.cf-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.cf-card p { font-size: 0.93rem; line-height: 1.7; color: rgba(248,248,248,0.62); }

/* ── QUE PONEMOS ── */
#que-ponemos { background: var(--black); }
.qp-header { max-width: 680px; margin: 0 auto 4rem; text-align: center; }
.qp-header .section-body { margin: 0 auto; }
.qp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.qp-item {
  border-top: 2px solid var(--purple);
  padding-top: 1.5rem;
}
.qp-item h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}
.qp-item p { font-size: 0.85rem; line-height: 1.6; color: rgba(248,248,248,0.6); }

/* ── ES PARA VOS ── */
#es-para-vos {
  background: var(--dark-purple);
  background-image: radial-gradient(ellipse at 10% 80%, rgba(115,22,140,0.15) 0%, transparent 55%);
}
.epv-header { max-width: 680px; margin: 0 auto 4rem; text-align: center; }
.epv-header .section-body { margin: 0 auto; }
.epv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
}
.epv-card {
  background: rgba(18,18,18,0.55);
  border-radius: 20px;
  padding: 2.5rem;
}
.epv-card.si { border: 1px solid rgba(115,22,140,0.45); }
.epv-card.no { border: 1px solid rgba(248,248,248,0.1); }
.epv-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.epv-card.si h3 { color: var(--white); }
.epv-card.no h3 { color: rgba(248,248,248,0.55); }
.epv-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.epv-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.93rem;
  line-height: 1.6;
}
.epv-card.si .epv-list li { color: rgba(248,248,248,0.85); }
.epv-card.no .epv-list li { color: rgba(248,248,248,0.55); }
.epv-list li svg { flex-shrink: 0; margin-top: 0.25rem; }
.epv-card.si .epv-list li svg { color: var(--purple); }
.epv-card.no .epv-list li svg { color: rgba(248,248,248,0.35); }
.epv-list a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.epv-note {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(248,248,248,0.5);
}

/* ── POR QUE INVERTIMOS ── */
#por-que-invertimos {
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#por-que-invertimos::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(115,22,140,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.pqi-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.pqi-inner .eyebrow { justify-content: center; }
.pqi-inner .section-title { margin-bottom: 1.75rem; }
.pqi-inner .section-body { margin: 0 auto 1.2rem; max-width: 620px; }

/* ── POR QUE CARLSTEIN ── */
#por-que-carlstein { background: var(--dark-purple); }
.pqc-header { max-width: 680px; margin: 0 auto 4rem; text-align: center; }
.pqc-header .section-body { margin: 0 auto; }
.pqc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}
.pqc-card {
  background: rgba(18,18,18,0.6);
  border: 1px solid rgba(115,22,140,0.2);
  border-radius: 20px;
  padding: 2.25rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s;
}
.pqc-card:hover { transform: translateY(-6px); border-color: rgba(115,22,140,0.5); }
.pqc-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
}
.pqc-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.25rem; font-weight: 700; }
.pqc-card p { font-size: 0.9rem; line-height: 1.65; color: rgba(248,248,248,0.6); }
.pqc-products {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(248,248,248,0.7);
}
.pqc-products strong { color: var(--white); }

/* ── LOGOS SLIDER ── */
.logos-slider {
  max-width: 1100px;
  margin: 3.5rem auto 0;
}
.logos-slider-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248,248,248,0.4);
  margin-bottom: 1.5rem;
}
.logos-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.logos-row + .logos-row { margin-top: 1.25rem; }
.logos-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  animation: scrollLeft 26s linear infinite;
}
.logos-track.reverse { animation-name: scrollRight; animation-duration: 22s; }
.logos-row:hover .logos-track { animation-play-state: paused; }
.logo-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  min-width: 160px;
  padding: 0 1.75rem;
  background: rgba(18,18,18,0.5);
  border: 1px solid rgba(115,22,140,0.2);
  border-radius: 14px;
}
.logo-chip img { max-height: 32px; max-width: 120px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; }
.logo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(248,248,248,0.55);
  letter-spacing: 0.01em;
}
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes scrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ── CLOSING ── */
#closing {
  background: var(--black);
  text-align: center;
  padding: 9rem 3rem;
  position: relative;
  overflow: hidden;
}
#closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(115,22,140,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.closing-inner .section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  margin-bottom: 1.5rem;
}
.closing-inner .section-body { margin: 0 auto 2.5rem; max-width: 560px; }
.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}
.closing-cta:hover {
  background: #8a1da8;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(115,22,140,0.5);
}
.closing-microline {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(248,248,248,0.4);
}

/* ── FOOTER ── */
footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(115,22,140,0.2);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.footer-logo img { height: 26px; filter: brightness(0) invert(1); }
.footer-tagline {
  font-size: 0.78rem;
  color: rgba(248,248,248,0.35);
  letter-spacing: 0.05em;
  margin-top: 0.6rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: center;
}
.footer-links a {
  color: rgba(248,248,248,0.4);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--purple); }
.footer-copy {
  text-align: right;
  font-size: 0.75rem;
  color: rgba(248,248,248,0.25);
}

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .suena-grid { grid-template-columns: 1fr; }
  .cf-grid { grid-template-columns: 1fr; }
  .qp-grid { grid-template-columns: repeat(2, 1fr); }
  .pqc-grid { grid-template-columns: 1fr; }
  .epv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 5rem 1.5rem; }
  .hero-content { padding: 0 1.5rem; }
  #que-es { grid-template-columns: 1fr; gap: 3rem; }
  .que-es-visual { aspect-ratio: 16/9; padding: 2rem; }
  .qp-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
  nav { padding: 0.85rem 1rem; }
  .nav-logo img { height: 26px; }
  .nav-right { gap: 0.65rem; }
  .nav-social { gap: 0.5rem; }
  .nav-social svg { width: 15px; height: 15px; }
  .nav-cta { padding: 0.5rem 0.85rem; font-size: 0.7rem; }
}

/* ── CURSOR GLOW (desktop) ── */
.cursor-glow {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(115,22,140,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.1s, top 0.1s;
}
