/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NOELIA FUSTER â€” PORTFOLIO V4
   Gradient Color Edition â€” Purple Â· Blue Â· Green
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ TOKENS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
  --bg: #09091f;
  --surf-1: #0f0f28;
  --surf-2: #141436;
  --surf-3: #1a1a42;

  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.13);
  --border-3: rgba(255, 255, 255, 0.22);

  /* Paleta cromÃ¡tica */
  --a: #8b5cf6;
  /* violet */
  --b: #3b82f6;
  /* blue   */
  --c: #10b981;
  /* emerald */
  --amber: #f59e0b;

  --a-dim: rgba(139, 92, 246, 0.12);
  --a-glow: rgba(139, 92, 246, 0.25);
  --b-dim: rgba(59, 130, 246, 0.12);
  --c-dim: rgba(16, 185, 129, 0.12);

  --grad: linear-gradient(135deg, #8b5cf6, #3b82f6);
  --grad3: linear-gradient(135deg, #8b5cf6, #3b82f6, #10b981);

  --t1: #f0f0f8;
  --t2: rgba(240, 240, 248, 0.70);
  --t3: rgba(240, 240, 248, 0.65);
  --t4: rgba(240, 240, 248, 0.50);

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --nav-h: 68px;
  --max-w: 1320px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* â”€â”€ RESET â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* ── ESCALADO PROPORCIONAL DE INTERFAZ ──
   Evita el efecto "mucho zoom" en portátiles ajustando la medida base (rem). */
@media (max-width: 1600px) {
  html {
    font-size: 15px;
    /* Reduce ligeramente todo un 6.25% */
  }
}

@media (max-width: 1440px) {
  html {
    font-size: 14px;
    /* Portátiles de 13/15 pulgadas: reduce todo un 12.5% */
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 13px;
    /* Tablets */
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14.5px;
    /* En móvil compensamos un poco para legibilidad */
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--t1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

html {
  cursor: none;
}

/* Rejilla de puntos sutil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(139, 92, 246, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

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

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

input,
textarea {
  font-family: inherit;
}

/* â”€â”€ ORBES DE FONDO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes orbFloat1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30vw, -20vh) scale(1.15);
  }

  66% {
    transform: translate(-25vw, 30vh) scale(0.85);
  }
}

@keyframes orbFloat2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-40vw, 30vh) scale(1.2);
  }

  66% {
    transform: translate(35vw, -25vh) scale(0.9);
  }
}

@keyframes orbFloat3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(45vw, -40vh) scale(1.25);
  }
}

@keyframes orbFloat4 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  40% {
    transform: translate(-35vw, -45vh) scale(1.1);
  }

  80% {
    transform: translate(40vw, 35vh) scale(0.95);
  }
}

@keyframes orbFloat5 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-30vw, 30vh) scale(1.3);
  }
}

.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.bg-orb-1 {
  width: 1800px;
  height: 1800px;
  top: -300px;
  right: -200px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, rgba(99, 60, 220, 0.3) 40%, transparent 70%);
  filter: blur(100px);
  animation: orbFloat1 24s ease-in-out infinite alternate;
}

.bg-orb-2 {
  width: 1500px;
  height: 1500px;
  bottom: -200px;
  left: -150px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.55) 0%, rgba(30, 80, 200, 0.25) 40%, transparent 70%);
  filter: blur(120px);
  animation: orbFloat2 28s ease-in-out infinite alternate;
}

.bg-orb-3 {
  width: 1300px;
  height: 1300px;
  top: 30%;
  left: 30%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.45) 0%, rgba(10, 120, 90, 0.2) 40%, transparent 70%);
  filter: blur(100px);
  animation: orbFloat3 20s ease-in-out infinite alternate;
}

.bg-orb-4 {
  width: 1100px;
  height: 1100px;
  top: 15%;
  left: 5%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.35) 0%, transparent 65%);
  filter: blur(110px);
  animation: orbFloat4 32s ease-in-out infinite alternate;
}

.bg-orb-5 {
  width: 1200px;
  height: 1200px;
  bottom: 10%;
  right: 10%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  filter: blur(120px);
  animation: orbFloat5 26s ease-in-out infinite alternate;
}

body>*:not(.bg-orbs):not(.nav-header):not(.cursor):not(.cursor-ring):not(#videoModal):not(#p-notice):not(.whatsapp-float) {
  position: relative;
  z-index: 1;
}

/* â”€â”€ CURSOR â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cursor,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
}

.cursor {
  width: 8px;
  height: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 0 8px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s ease, width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.cursor-ring.hovered {
  width: 60px;
  height: 60px;
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--a);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
}

/* Ensure no default cursor anywhere */
@media (hover: hover) and (pointer: fine) {

  *,
  *::before,
  *::after {
    cursor: none !important;
  }
}

/* Eliminada restriccion táctil */

@media (hover: none) {

  *,
  *::before,
  *::after {
    cursor: auto !important;
  }
}

/* â”€â”€ SKIP LINK â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.6rem 1.2rem;
  background: var(--grad);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* â”€â”€ UTILIDADES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--a);
  border-radius: 50%;
  flex-shrink: 0;
  /* override gradient clip for pseudo-element */
  -webkit-text-fill-color: initial;
  background: var(--a);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--t1);
}

.section-title em {
  font-style: normal;
  background: var(--grad3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  margin-bottom: 64px;
}

/* â”€â”€ BOTONES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.22s ease, opacity 0.2s ease;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 6px 28px rgba(139, 92, 246, 0.4);
  transform: translateY(-1px);
}

.btn-primary:hover::after {
  left: 160%;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--t2);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 100px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--a);
  color: var(--t1);
  background: var(--a-dim);
  transform: translateY(-1px);
}

:focus-visible {
  outline: 2px solid var(--a);
  outline-offset: 3px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* â”€â”€ FADE-UP â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.08s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.14s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.20s;
}

.fade-up:nth-child(5) {
  transition-delay: 0.26s;
}

/* â”€â”€ NAVEGACIÃ“N â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.nav-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  z-index: 2000 !important;
  display: flex;
  justify-content: center;
  pointer-events: none;
  background: transparent;
}

.nav-inner {
  pointer-events: auto;
  max-width: var(--max-w);
  width: 100%;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 24px;
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-header.scrolled .nav-inner {
  margin-top: 16px;
  height: 64px;
  width: calc(100% - 32px);
  max-width: 860px;
  background: rgba(6, 6, 14, 0.85);
  backdrop-filter: blur(20px);
  border-color: var(--border-2);
  border-radius: 100px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  padding: 0 28px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.nav-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: var(--t1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--t2);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--grad);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--t1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--t1);
}

.nav-cta {
  padding: 8px 20px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-radius: 100px;
  transition: box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  opacity: 0.9;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 4px;
  width: 36px;
  height: 36px;
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--t1);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  width: 100%;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 6, 14, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 999;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.mobile-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 18px 24px;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--t2);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

.mobile-link:hover {
  color: var(--t1);
}

.mobile-link-cta {
  color: transparent;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: none;
  margin-top: 16px;
  font-size: 1rem;
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

/* â”€â”€ HERO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 80px) 24px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* ── HERO SHADER CANVAS ────────────────────────────────── */
#heroShader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
  display: block;
}

#heroShader.is-visible {
  opacity: 0.65;
}

/* Ensure hero content stays on top of canvas */
.hero > *:not(#heroShader) {
  position: relative;
  z-index: 1;
}


.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.07);
  border-radius: 100px;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(16, 185, 129, 0.9);
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
  flex-shrink: 0;
  animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
  }
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.97;
  color: var(--t1);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: normal;
  display: inline-block;
  background: linear-gradient(90deg, #00f5ff, #8b5cf6, #6366f1, #3b82f6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroShimmer 3s linear infinite;
  transition: transform 0.5s ease, filter 0.5s ease;
  cursor: default;
}

.hero-headline em:hover {
  transform: scale(1.02);
  filter: brightness(1.2) drop-shadow(0 0 15px rgba(139, 92, 246, 0.5));
}

@keyframes heroShimmer {
  to {
    background-position: 200% center;
  }
}

/* Calendly specific */
.calendly-link {
  background: rgba(59, 130, 246, 0.05) !important;
  border-color: rgba(59, 130, 246, 0.2) !important;
}

.calendly-link:hover {
  background: rgba(59, 130, 246, 0.12) !important;
  border-color: var(--b) !important;
}

.calendly-link svg {
  color: var(--b) !important;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--t2);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.trust-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--t3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 28px;
  border-radius: 100px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.trust-logos img {
  height: 22px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.4s var(--ease);
}

.trust-logos img:hover {
  opacity: 1;
  transform: translateY(-1px) scale(1.05);
}

@media (max-width: 640px) {
  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .trust-logos {
    width: 100%;
    justify-content: space-around;
    padding: 10px 20px;
    gap: 20px;
  }

  .trust-logos img {
    height: 18px;
  }
}

/* â”€â”€ IMPACT DASHBOARD (OPCIÃ“N 4) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.impact-dashboard {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 400px;
  perspective: 1000px;
}

.dashboard-card {
  position: absolute;
  background: rgba(15, 15, 40, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s var(--ease), border-color 0.3s ease;
  z-index: 10;
}

.dashboard-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-5px) scale(1.02);
  z-index: 20;
}

/* Tarjeta Principal */
.card-main {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  padding: 24px;
  z-index: 15;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--c);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot-live {
  width: 6px;
  height: 6px;
  background: var(--c);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--c);
  animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}

.card-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--t3);
  letter-spacing: 0.05em;
}

.card-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}

.card-value {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-trend {
  font-weight: 700;
  font-size: 1.2rem;
}

.card-trend.up {
  color: var(--c);
}

.card-chart {
  height: 60px;
  width: 100%;
}

.chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawChart 3s ease-out forwards 0.5s;
}

@keyframes drawChart {
  to {
    stroke-dashoffset: 0;
  }
}

.chart-fill {
  opacity: 0;
  animation: fadeIn 1s ease forwards 3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Mini Tarjetas Flotantes */
.card-time {
  top: 10%;
  right: 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 5s ease-in-out infinite;
}

.card-data-accuracy {
  bottom: 15%;
  left: -10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite reverse;
}

.card-icon-min {
  width: 32px;
  height: 32px;
  background: var(--a-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
}

.card-val-sm {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--t1);
  line-height: 1;
}

.card-desc-sm {
  font-size: 0.72rem;
  color: var(--t3);
  white-space: nowrap;
}

/* Consola / Log */
.card-console {
  bottom: 0;
  right: 20px;
  width: 220px;
  padding: 14px;
  background: rgba(6, 6, 14, 0.9);
  border-color: rgba(59, 130, 246, 0.2);
}

.console-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--b);
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.console-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.con-line {
  font-size: 0.65rem;
  color: var(--t3);
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid transparent;
}

.con-line:nth-child(1) {
  animation: typeLine 4s steps(40) infinite;
}

.con-line:nth-child(2) {
  animation: typeLine 4s steps(40) infinite 1s;
}

.con-line:nth-child(3) {
  animation: typeLine 4s steps(40) infinite 2s;
}

@keyframes typeLine {

  0%,
  10% {
    width: 0;
  }

  30%,
  80% {
    width: 100%;
    border-right-color: var(--b);
  }

  90%,
  100% {
    width: 100%;
    border-right-color: transparent;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Conexiones decorativas */
.dash-conn {
  position: absolute;
  background: linear-gradient(to right, transparent, var(--border-3), transparent);
  height: 1px;
  z-index: 5;
  pointer-events: none;
}

.conn-1 {
  width: 150px;
  top: 30%;
  left: 0%;
  transform: rotate(-25deg);
}

.conn-2 {
  width: 200px;
  bottom: 30%;
  right: -5%;
  transform: rotate(15deg);
}

@media (max-width: 900px) {
  .impact-dashboard {
    transform: scale(0.8);
    height: 340px;
  }
}

@media (max-width: 480px) {
  .impact-dashboard {
    transform: scale(0.65);
    margin-bottom: -60px;
  }

  .card-console {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-visual {
    order: -1;
  }

  .orbital-system {
    width: 300px;
    height: 300px;
    transform: scale(0.72);
    transform-origin: center;
  }

  .hero-headline {
    font-size: clamp(2.4rem, 8vw, 3.6rem);
  }
}

/* ── LOGOS SECTION ──────────────────────── */
.logos-section {
  padding: 40px 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.logos-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--t1);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 1;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 40px 60px;
  border-radius: 32px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  max-width: var(--max-w);
  margin: 0 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.logos-grid img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.8;
  transition: all 0.4s var(--ease);
}

.logos-grid img:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.05);
}

@media (max-width: 768px) {
  .logos-grid {
    gap: 30px;
    padding: 30px;
    border-radius: 24px;
  }

  .logos-grid img {
    height: 24px;
  }
}

@media (max-width: 1024px) {
  .carousel-3d-nav {
    left: -20px;
    right: -20px;
  }
}

@media (max-width: 768px) {
  .carousel-3d-nav {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    pointer-events: auto;
  }

  .carousel-dots {
    bottom: -10px;
    position: relative;
    margin-top: 20px;
  }

  .carousel-btn {
    width: 48px;
    height: 48px;
  }
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 60px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--t4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--border-2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--a);
  animation: scrollSlide 2s ease-in-out infinite;
}

@keyframes scrollSlide {
  0% {
    left: -100%;
  }

  50%,
  100% {
    left: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: calc(var(--nav-h) + 48px) 20px 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-logos {
    gap: 14px;
  }

  .trust-logos img {
    height: 16px;
  }
}


/* â”€â”€ EMPRESAS LOGOS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.logos-section {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logos-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--t1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 48px 32px;
  align-items: center;
  justify-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logos-grid img {
  height: 38px;
  width: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.logos-grid img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
  }

  .logos-grid img {
    height: 32px;
  }
}

@media (max-width: 600px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* â”€â”€ MANIFIESTO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.manifesto-section {
  padding: 120px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.manifesto-inner {
  max-width: 820px;
  margin: 0 auto;
  border-left: 3px solid transparent;
  border-image: var(--grad) 1;
  padding-left: 40px;
}

.manifesto-text {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.4;
  color: var(--t1);
  margin-bottom: 24px;
}

.manifesto-rotate {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.manifesto-cursor {
  display: inline-block;
  color: var(--a);
  font-weight: 300;
  animation: blink-cursor 0.75s step-end infinite;
  margin-left: 1px;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.manifesto-sig {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--t3);
  letter-spacing: 0.04em;
}

/* â”€â”€ ESTADÃSTICAS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stats-section {
  padding: 80px 0;
  background: var(--surf-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: flex;
  align-items: stretch;
}

.stat-block {
  flex: 1;
  padding: 32px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-num {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-suf {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-desc {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--t3);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.stat-sep {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .stats-row {
    flex-wrap: wrap;
  }

  .stat-block {
    flex: 1 1 45%;
  }

  .stat-sep {
    display: none;
  }
}

/* â”€â”€ SERVICIOS - FLIP CARDS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.services-section {
  padding: 120px 0;
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.flip-card {
  height: 390px;
  perspective: 1200px;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.flip-card:hover .flip-inner,
.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--r-xl);
  padding: 36px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.flip-front {
  background: var(--surf-1);
}

.flip-back {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.14) 0%, rgba(59, 130, 246, 0.12) 60%, rgba(16, 185, 129, 0.08) 100%);
  border-color: rgba(139, 92, 246, 0.28);
  transform: rotateY(180deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.flip-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.flip-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--t1);
  margin-bottom: 20px;
  line-height: 1.3;
}

.flip-problems {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.flip-problems li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--t2);
  line-height: 1.4;
}

.x-mark {
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  width: 14px;
  text-align: center;
}

.flip-hint {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #a78bfc;
  font-weight: 500;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.flip-card:hover .flip-hint {
  color: var(--a);
}

.flip-hint .flip-spin {
  display: inline-block;
  transition: transform 0.3s ease;
}

.flip-card:hover .flip-spin {
  transform: rotate(180deg);
}

.flip-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  display: block;
}

.flip-result-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--t1);
  margin-bottom: 14px;
  line-height: 1.2;
}

.flip-result-sub {
  font-size: 0.88rem;
  color: var(--t2);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.flip-kpi {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.flip-kpi-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.flip-kpi-label {
  font-size: 0.78rem;
  color: var(--t3);
}

.flip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flip-tags span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(139, 92, 246, 0.9);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(139, 92, 246, 0.22);
  background: rgba(139, 92, 246, 0.08);
}

@media (max-width: 768px) {
  .flip-grid {
    grid-template-columns: 1fr;
  }

  .flip-card {
    height: auto;
    perspective: none;
  }

  .flip-card:hover .flip-inner {
    transform: none;
  }

  .flip-card.flipped .flip-inner {
    transform: none;
  }

  .flip-inner {
    transform-style: flat;
    position: static;
    height: auto;
  }

  .flip-front,
  .flip-back {
    position: static;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transform: none !important;
    border-radius: var(--r-xl);
  }

  .flip-back {
    margin-top: 2px;
  }

  .flip-hint {
    display: none;
  }
}

/* â”€â”€ SOBRE MÃ â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.about-section {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 80px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-2);
  aspect-ratio: 3/4;
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}

.about-photo-wrap:hover .about-photo-frame img {
  transform: scale(1.03);
}

.about-photo-tag {
  position: absolute;
  bottom: -16px;
  right: -16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surf-1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.about-content {
  padding-top: 8px;
}

.about-body {
  font-size: 1.02rem;
  color: var(--t2);
  line-height: 1.75;
  margin-bottom: 48px;
}

/* ── INLINE NEWSLETTER ──────────────────────── */
.inline-newsletter {
  margin: -16px 0 48px;
  padding: 28px 32px;
  background: rgba(15, 15, 30, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.inline-newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--grad);
}

.nl-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.nl-desc {
  font-size: 0.9rem;
  color: var(--t3);
  line-height: 1.5;
  margin-bottom: 20px;
}

.nl-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.nl-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  padding: 0 16px;
  color: var(--t1);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
  min-height: 44px;
}

.nl-input::placeholder {
  color: var(--t4);
}

.nl-input:focus {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.nl-submit {
  padding: 0 24px;
  white-space: nowrap;
  font-size: 0.85rem;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nl-footer {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--t4);
  letter-spacing: 0.02em;
}

@media (max-width: 600px) {
  .inline-newsletter {
    padding: 24px;
  }
  
  .nl-input-group {
    flex-direction: column;
  }
  
  .nl-input {
    min-height: 48px;
  }
  
  .nl-submit {
    width: 100%;
    height: 48px;
  }
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.pillar {
  padding: 20px 24px;
  background: var(--surf-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  border-left: 3px solid;
  border-image: var(--grad) 1;
  transition: background 0.25s ease;
}

.pillar:hover {
  background: var(--surf-2);
}

.pillar h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--t1);
  margin-bottom: 6px;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--t2);
  line-height: 1.6;
}

.ts-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--t4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ts-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ts-pills span {
  padding: 6px 14px;
  background: var(--a-dim);
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(139, 92, 246, 0.95);
  transition: background 0.2s ease;
}

.ts-pills span:hover {
  background: rgba(139, 92, 246, 0.2);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-photo-frame {
    aspect-ratio: 3/4;
    max-width: 480px;
  }

  .about-photo-tag {
    right: 8px;
  }
}

/* â”€â”€ PROYECTOS - CARRUSEL 3D â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.work-section {
  padding: 120px 0;
  background: var(--surf-1);
}

.portfolio-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.ptab {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t3);
  transition: all 0.25s ease;
}

.ptab:hover {
  border-color: var(--border-2);
  color: var(--t2);
  background: rgba(255, 255, 255, 0.04);
}

.ptab.active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.carousel-3d-wrap {
  position: relative;
  padding: 50px 0 100px;
  perspective: 1600px;
  min-height: 900px;
}

.carousel-3d-track {
  position: relative;
  height: 820px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  width: min(600px, 90%);
  left: 50%;
  transform: translateX(-50%) scale(0.7) rotateY(50deg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.carousel-slide.is-active {
  transform: translateX(-50%) scale(1) rotateY(0deg);
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

.carousel-slide.is-prev {
  transform: translateX(-138%) scale(0.78) rotateY(22deg);
  opacity: 0.5;
  pointer-events: auto;
  z-index: 2;
  cursor: pointer;
}

.carousel-slide.is-next {
  transform: translateX(38%) scale(0.78) rotateY(-22deg);
  opacity: 0.5;
  pointer-events: auto;
  z-index: 2;
  cursor: pointer;
}

.carousel-slide-inner {
  background: var(--surf-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-xl);
  padding: 36px;
  height: 100%;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.carousel-slide.is-active .carousel-slide-inner {
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(139, 92, 246, 0.1), 0 0 0 1px rgba(139, 92, 246, 0.15);
}

.carousel-slide-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cs-accent, var(--grad));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.cs-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cs-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cs-year {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--t4);
}

.cs-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--t1);
  margin-bottom: 20px;
  line-height: 1.3;
}

.cs-kpi {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.cs-kpi-num {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.cs-kpi-unit {
  font-size: 0.85rem;
  color: var(--t3);
}

.cs-desc {
  font-size: 0.88rem;
  color: var(--t2);
  line-height: 1.65;
  margin-bottom: 20px;
}

.cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.cs-tags span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--t4);
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.cs-visual {
  border-radius: var(--r-md);
  overflow: hidden;
  height: 300px;
  background: var(--surf-3);
  cursor: none;
  position: relative;
  margin-top: 4px;
}

.cs-visual::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}

.cs-visual:hover::after {
  opacity: 1;
}

.cs-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-slide.is-vertical .cs-visual {
  height: 520px;
  background: rgba(0, 0, 0, 0.4);
}

.carousel-slide.is-vertical .cs-visual img {
  object-fit: contain;
}

.cs-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.carousel-3d-nav {
  position: absolute;
  top: 50%;
  left: -60px;
  right: -60px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.carousel-btn {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  color: var(--t1);
  background: var(--surf-2);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s var(--ease);
}

.carousel-btn:hover {
  border-color: var(--a);
  background: var(--surf-3);
  transform: scale(1.1);
  color: var(--a);
}

.carousel-dots {
  position: absolute;
  bottom: 40px;
  /* Clearly below the slides */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
  pointer-events: auto;
  z-index: 10;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--a);
  width: 22px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .carousel-3d-track {
    height: 740px;
  }

  .carousel-slide.is-prev,
  .carousel-slide.is-next {
    opacity: 0 !important;
    pointer-events: none;
  }

  .carousel-slide.is-active {
    width: 92%;
  }
}

/* â”€â”€ PROCESO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.process-section {
  padding: 120px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--a), var(--b), var(--c), transparent);
  z-index: 0;
}

.process-step {
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.ps-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--surf-2);
  border: 1px solid var(--border-2);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  background-clip: padding-box;
  color: var(--a);
  letter-spacing: 0.04em;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.process-step:hover .ps-number {
  background: var(--a-dim);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

.ps-connector {
  display: none;
}

.ps-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  margin: 0 auto 14px;
  transition: color 0.25s ease;
}

.process-step:hover .ps-icon {
  color: var(--a);
}

.process-step h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--t1);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--t2);
  line-height: 1.65;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    text-align: left;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    align-items: start;
  }

  .ps-number {
    margin: 0;
  }

  .ps-icon {
    margin: 0;
    width: 32px;
    height: 32px;
  }

  .process-step h3,
  .process-step p {
    grid-column: 2;
  }
}

/* â”€â”€ CONTACTO â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.contact-section {
  padding: 100px 0 40px 0;
  background: var(--surf-1);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--t1);
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact-sub {
  font-size: 0.95rem;
  color: var(--t2);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.channel-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surf-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--t2);
  transition: all 0.25s ease;
}

.channel-link:hover {
  border-color: rgba(139, 92, 246, 0.35);
  background: var(--surf-3);
  color: var(--t1);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.12);
}

.channel-link svg {
  flex-shrink: 0;
  color: var(--a);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 100px;
  /* Bajamos el formulario para que no alinee con el tÃ­tulo */
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--t3);
  letter-spacing: 0.02em;
}

.opt {
  font-weight: 400;
  color: var(--t4);
}

.field input,
.field textarea {
  background: var(--surf-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  color: var(--t1);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--t4);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.btn-submit {
  align-self: flex-start;
  padding: 14px 32px;
  font-size: 0.95rem;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
}

.form-success:not([hidden]) {
  display: flex;
  padding: 16px 20px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--r-md);
  color: var(--c);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .contact-form {
    margin-top: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .btn-submit {
    align-self: stretch;
    justify-content: center;
  }
}

/* â”€â”€ FOOTER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.02em;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  height: 22px;
  width: auto;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--t4);
}

.back-top {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--t3);
  transition: all 0.2s ease;
}

.back-top:hover {
  border-color: var(--a);
  color: var(--a);
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* â”€â”€ PREFERS REDUCED MOTION â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .bg-orb {
    animation: none !important;
  }
}

/* â”€â”€ MODAL â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
}

.modal-content {
  position: relative;
  width: 95%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surf-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  z-index: 1;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.6s var(--ease);
}

.modal.is-large .modal-content {
  max-width: 1800px;
}

.modal.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--t1);
  transform: rotate(90deg);
}

/* â”€â”€ BA SLIDER â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ba-slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  user-select: none;
}

.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-after {
  clip-path: inset(0 0 0 50%);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  cursor: ew-resize;
  z-index: 2;
  transform: translateX(-50%);
}

/* ── SPLIT VIDEO (DENTISTA) ────────────────────────────────── */
.split-video-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 10px;
}

.video-column {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.column-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--t3);
  padding-left: 4px;
}

.accent-label {
  color: var(--a);
}

.video-column video {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .split-video-container {
    grid-template-columns: 1fr;
  }
}

.ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 8 4 4-4 4M6 8l-4 4 4 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
}

.ba-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.label-before {
  left: 20px;
}

.label-after {
  right: 20px;
}

/* â”€â”€ VIDEO SPLIT â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.split-video-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.video-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.column-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--t4);
  text-transform: uppercase;
}

.accent-label {
  color: var(--a);
}

/* â”€â”€ VIDEO HOTSPOTS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.video-modal-container {
  position: relative;
}

.video-hotspot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--a);
  border-radius: 50%;
  z-index: 5;
  cursor: help;
}

.video-hotspot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1.5px solid var(--a);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.video-hotspot.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0);
  transition: all 0.4s ease;
}

.video-hotspot:not(.hidden) {
  opacity: 1;
  transform: scale(1);
}

.video-hotspot-popover {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  padding: 12px;
  background: var(--surf-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.75rem;
  color: var(--t2);
  line-height: 1.4;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-hotspot-popover.right {
  bottom: 50%;
  left: calc(100% + 12px);
  transform: translateY(50%);
}

.video-hotspot-popover.left {
  bottom: 50%;
  right: calc(100% + 12px);
  left: auto;
  transform: translateY(50%);
}

.video-hotspot-popover.down {
  top: calc(100% + 12px);
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
}

.video-hotspot-popover.up {
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* --- AUDITORÍA DE RESPONSIVIDAD FIXES --- */

video {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1366px) {
  html {
    font-size: 14.5px;
  }

  .hero-grid {
    gap: 50px;
  }

  .impact-dashboard {
    max-width: 420px;
    height: 360px;
  }

  .card-main {
    width: 240px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .carousel-3d-wrap {
    min-height: 800px;
  }
}

@media (max-width: 1024px) {
  .carousel-3d-wrap {
    min-height: 750px;
    padding: 30px 0 80px;
  }

  .carousel-3d-track {
    height: 700px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .flip-card-inner {
    height: 520px;
  }
}

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 99999 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 16px !important;
    right: 16px !important;
    width: 50px !important;
    height: 50px !important;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .flip-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .bg-orb-1 {
    width: 600px;
    height: 600px;
  }

  .bg-orb-2 {
    width: 500px;
    height: 500px;
  }

  .bg-orb-3 {
    width: 400px;
    height: 400px;
  }

  .bg-orb-4 {
    display: none;
  }

  .bg-orb-5 {
    display: none;
  }

  .hero-visual {
    min-height: 350px;
  }

  .impact-dashboard {
    transform: scale(0.7);
    transform-origin: center;
  }

  .card-console {
    display: none;
  }

  .dash-conn {
    display: none;
  }
}

@media (max-width: 600px) {
  .impact-dashboard {
    transform: scale(0.6);
    height: 300px;
  }

  .card-time {
    right: -10px;
  }

  .card-data-accuracy {
    left: -20px;
  }
}

@media (max-width: 480px) {
  .bg-orb-1 {
    width: 400px;
    height: 400px;
    filter: blur(60px);
  }

  .bg-orb-2 {
    width: 300px;
    height: 300px;
    filter: blur(60px);
  }

  .bg-orb-3 {
    display: none;
  }

  .carousel-3d-wrap {
    min-height: 650px;
  }

  .carousel-3d-track {
    height: 620px;
  }

  .carousel-slide-inner {
    padding: 24px;
  }

  .cs-visual {
    height: 200px;
  }

  .carousel-slide.is-vertical .cs-visual {
    height: 350px;
  }
}

@media (max-width: 375px) {
  .hero-headline {
    font-size: 2rem;
    letter-spacing: -0.02em;
  }

  .hero-sub {
    font-size: 0.88rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn-primary,
  .btn-ghost {
    font-size: 0.82rem;
    padding: 11px 20px;
  }
}

/* ── PRIVACY NOTICE ──────────────────────── */
.p-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 380px;
  background: rgba(15, 15, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-md);
  padding: 24px;
  z-index: 9999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, visibility 0.6s;
}

.p-notice.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.p-notice-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 12px;
}

.p-notice-text {
  font-size: 0.85rem;
  color: var(--t3);
  line-height: 1.5;
  margin-bottom: 20px;
}

.p-notice-actions {
  display: flex;
  gap: 12px;
}

@media (max-width: 600px) {
  .p-notice {
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: none;
    border-radius: var(--r-md);
  }
}