/* =============================================================
   SYNTHETIX CODE — styles.css
   Luxury editorial · negro · liquid glass · serif italic
   1. Tokens
   ============================================================= */
:root {
  --bg:        #000000;
  --ink:       #ffffff;
  --ink-70:    rgba(255, 255, 255, 0.7);
  --ink-60:    rgba(255, 255, 255, 0.6);
  --ink-50:    rgba(255, 255, 255, 0.5);
  --ink-40:    rgba(255, 255, 255, 0.4);
  --line:      rgba(255, 255, 255, 0.1);
  --wa:        #25d366;

  --glass-bg:     rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.25);

  --heading: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --grad-1: #3a86ff;
  --grad-2: #8338ec;
  --grad-3: #00d4ff;

  /* Acento de jerarquía: cian-azul del logo + su glow */
  --accent:      #38bdf8;
  --accent-soft: #7dd3fc;
  --glow:        0 0 22px rgba(56, 189, 248, 0.55);
  --glow-soft:   0 0 16px rgba(56, 189, 248, 0.4);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-gap: clamp(6rem, 14vh, 11rem);
  --radius: 9999px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }

.font-heading {
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -0.04em;
}
h1, h2, h3 { text-wrap: balance; }

.text-grad {
  background: linear-gradient(100deg, var(--grad-3), var(--grad-1) 45%, var(--grad-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

::selection { background: rgba(255, 255, 255, 0.9); color: #000; }

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: 0.6rem 1rem; background: var(--ink); color: #000;
  z-index: 9999; border-radius: 999px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Liquid glass (efecto central del diseño)
   ============================================================= */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.liquid-glass-strong {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  border: none;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.liquid-glass-strong::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.2) 80%,
    rgba(255, 255, 255, 0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* Fallback sólido si no hay soporte de backdrop-filter */
@supports not (backdrop-filter: blur(4px)) {
  .liquid-glass, .liquid-glass-strong { background: rgba(20, 20, 22, 0.85); }
}

/* =============================================================
   4. Utilidades compartidas
   ============================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: var(--glow-soft);
}
/* Punto luminoso que ancla cada marcador de sección */
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--glow);
  animation: badgePulse 2.6s var(--ease-soft) infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

.section-head {
  max-width: 1200px;
  margin: 0 auto 3.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}
.section-title {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1;
}

/* Fundidos de video */
.fade {
  position: absolute;
  left: 0; right: 0;
  height: 200px;
  z-index: 1;
  pointer-events: none;
}
.fade-top    { top: 0;    background: linear-gradient(to bottom, #000, transparent); }
.fade-bottom { bottom: 0; background: linear-gradient(to top, #000, transparent); }
.fade-lg     { height: 300px; }

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
}
.bg-video-mono { filter: saturate(0); opacity: 0.4; }

/* Iconos en botones */
.ico { width: 15px; height: 15px; flex: none; }
.ico-play { width: 13px; height: 13px; }

/* Reveals suaves (blur + fade) */
html.is-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
}
html.is-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.reveal[data-split],
html.is-ready .reveal[data-split] { opacity: 1; transform: none; filter: none; }

/* Blur-in de elementos del hero (CSS puro, corre sin JS) */
[data-blur-in] {
  opacity: 0;
  animation: blurIn 0.7s var(--ease-out) forwards;
  animation-delay: var(--d, 0.3s);
}
@keyframes blurIn {
  from { opacity: 0; transform: translateY(20px); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* BlurText: palabras animadas una a una (JS añade .bw a cada palabra) */
[data-blur-text] .bw {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px);
  filter: blur(10px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
  transition-delay: var(--wd, 0s);
}
[data-blur-text].in .bw {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* =============================================================
   5. Botones
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
              background 0.45s var(--ease-out), opacity 0.45s var(--ease-out);
  white-space: nowrap;
}
.btn .ico { transition: transform 0.45s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ico { transform: translate(2px, -2px); }
.btn:active { transform: translateY(0); }

.btn.liquid-glass-strong:hover {
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 0 30px -8px rgba(255, 255, 255, 0.25);
}

.btn-white {
  background: #fff;
  color: #000;
}
.btn-white:hover { box-shadow: 0 14px 40px -12px rgba(255, 255, 255, 0.4); }

.btn-text {
  padding-inline: 0.6rem;
  color: var(--ink);
  opacity: 0.9;
}
.btn-text:hover { opacity: 1; }

/* =============================================================
   6. Navbar flotante
   ============================================================= */
.nav {
  position: fixed;
  top: 1rem; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem clamp(1.25rem, 4vw, 4rem);
  pointer-events: none;
}
.nav > * { pointer-events: auto; }

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.logo-mark { width: 42px; height: auto; flex: none; }
.logo-infinity {
  stroke-dasharray: 148;
  stroke-dashoffset: 148;
  animation: logoDraw 1.6s var(--ease-out) 0.2s forwards;
}
@keyframes logoDraw { to { stroke-dashoffset: 0; } }
.logo-text {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}
@media (hover: hover) {
  .logo-mark { transition: filter 0.4s var(--ease-out); }
  .nav-logo:hover .logo-mark { filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5)); }
}

.nav-pill {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 0.3rem 0.35rem;
  align-items: center;
  gap: 0.1rem;
}
.nav-pill a {
  padding: 0.5rem 0.85rem;
  font-size: 0.87rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out),
              text-shadow 0.3s var(--ease-out);
}
.nav-pill a:not(.nav-cta):hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
/* Sección activa: acento + glow para saber dónde estás */
.nav-pill a.is-active {
  color: var(--accent-soft);
  text-shadow: var(--glow-soft);
}
.nav-pill .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  color: #000;
  padding: 0.45rem 0.95rem;
  margin-left: 0.25rem;
  font-weight: 600;
}
.nav-pill .nav-cta:hover { background: #fff; color: #000; opacity: 0.9; }

.nav-burger {
  width: 44px; height: 44px;
  display: grid;
  place-content: center;
  gap: 7px;
  border-radius: 999px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.2px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.2px) rotate(-45deg); }

@media (min-width: 960px) {
  .nav-pill { display: inline-flex; }
  .nav-burger { display: none; }
}

/* Menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--gutter);
  padding-top: 7rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
@supports (backdrop-filter: blur(24px)) {
  .mobile-menu {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
}
.mobile-menu-links a {
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 8vw, 2.8rem);
  line-height: 1.15;
  padding-block: 0.45rem;
  border-bottom: 1px solid var(--line);
  transform: translateY(24px);
  opacity: 0;
  filter: blur(6px);
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu-links a {
  transform: none;
  opacity: 1;
  filter: blur(0);
}
.mobile-menu.is-open .mobile-menu-links a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(5) { transition-delay: 0.30s; }

.mobile-menu-cta { margin-top: 2.2rem; width: 100%; }
.mobile-menu-meta {
  margin-top: 1.2rem;
  color: var(--ink-50);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

body.menu-locked { overflow: hidden; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip;
  padding-inline: var(--gutter);
}

/* Escenario liquid glass — monocromo, elementos en movimiento */
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: clip;
}
/* Rejilla técnica sutil */
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
  pointer-events: none;
}

/* Luces blancas muy sutiles: dan profundidad y algo que refractar al vidrio */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.11), transparent 65%);
}
.glow-1 {
  width: 58vmax; height: 58vmax;
  left: -16vmax; top: -22vmax;
  animation: drift1 30s var(--ease-soft) infinite alternate;
}
.glow-2 {
  width: 48vmax; height: 48vmax;
  right: -18vmax; bottom: -26vmax;
  opacity: 0.8;
  animation: drift2 36s var(--ease-soft) infinite alternate;
}
@keyframes drift1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(8vw, 6vh, 0) scale(1.12); }
}
@keyframes drift2 {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to   { transform: translate3d(-7vw, -5vh, 0) scale(0.94); }
}

/* Infinito de vidrio con haz de luz recorriéndolo en bucle */
.stage-float {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  animation: floatTilt 12s ease-in-out infinite alternate;
}
.glass-infinity {
  width: min(80vw, 660px);
  height: auto;
  margin-top: -4vh;
  opacity: 0.5;
  filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.08));
}
.inf-base {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: baseBreath 7s ease-in-out infinite alternate;
}
@keyframes baseBreath {
  from { stroke: rgba(255, 255, 255, 0.05); }
  to   { stroke: rgba(255, 255, 255, 0.1); }
}
.inf-dash {
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 34 114;
  opacity: 0.55;
  animation: infTravel 6.5s linear infinite;
}
.inf-dash-2 {
  opacity: 0.32;
  animation-delay: -3.25s;
}
@keyframes infTravel {
  to { stroke-dashoffset: -148; }
}
@keyframes floatY {
  from { transform: translateY(-14px); }
  to   { transform: translateY(14px); }
}
/* Balanceo suave: flota y se inclina apenas, como suspendido en agua */
@keyframes floatTilt {
  from { transform: translateY(-12px) rotate(-1.2deg); }
  to   { transform: translateY(12px) rotate(1.2deg); }
}

/* Orbes de vidrio esmerilado flotando */
.orb {
  position: absolute;
  border-radius: 50%;
  backdrop-filter: blur(10px) brightness(1.15);
  -webkit-backdrop-filter: blur(10px) brightness(1.15);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    inset 0 -12px 26px rgba(255, 255, 255, 0.05),
    0 20px 50px rgba(0, 0, 0, 0.35);
  will-change: transform;
}
/* Brillo especular: el puntito de luz que hace creíble el vidrio */
.orb::after {
  content: "";
  position: absolute;
  top: 14%; left: 20%;
  width: 26%; height: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.55), transparent 70%);
  filter: blur(3px);
  transform: rotate(-20deg);
}
.orb-1 {
  width: 150px; height: 150px;
  left: 10%; top: 26%;
  animation: floatY 8s ease-in-out infinite alternate;
}
.orb-2 {
  width: 92px; height: 92px;
  right: 12%; top: 34%;
  animation: floatY 11s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 56px; height: 56px;
  left: 22%; bottom: 16%;
  animation: floatY 7s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(8rem, 18vh, 11rem);
}
/* Penumbra sutil tras el texto: garantiza lectura sobre el infinito */
.hero-inner::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 860px);
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0.55), transparent 68%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.hero-badge {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.9rem 0.3rem 0.3rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}
.hero-badge .chip {
  background: #fff;
  color: #000;
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-title {
  margin-top: 1.6rem;
  font-size: clamp(2.7rem, 8.5vw, 5.2rem);
  line-height: 1;
  max-width: 16ch;
}
/* Sin background-clip aquí: con las palabras animadas dentro
   el clip se rompe y el texto queda invisible. Usamos color +
   glow, que sí heredan las palabras animadas. */
.hero-title em {
  font-style: normal;
  color: var(--accent-soft);
  text-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 30rem;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.hero-partners {
  margin-top: auto;
  padding-block: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.hero-partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 0.6rem;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

/* =============================================================
   8. Manifiesto
   ============================================================= */
.manifesto {
  position: relative;
  padding: var(--section-gap) var(--gutter);
  max-width: 60rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2rem;
  text-align: center;
}
.manifesto-text {
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  text-wrap: balance;
}

/* =============================================================
   9. Servicios (accordion glass)
   ============================================================= */
.services { padding: 0 var(--gutter) calc(var(--section-gap) * 0.6); }

.service-list {
  max-width: 1000px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.service { border-radius: 24px; }
.service summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3.5vw, 2.4rem);
  padding: clamp(1.2rem, 3vw, 1.7rem) clamp(1.2rem, 3vw, 2rem);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.service summary::-webkit-details-marker { display: none; }

.service-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-40);
  letter-spacing: 0.08em;
  transition: color 0.4s var(--ease-out), text-shadow 0.4s var(--ease-out);
}
.service-name {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.05;
}
.service-icon {
  position: relative;
  margin-left: auto;
  width: 38px; height: 38px;
  flex: none;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  transition: background 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.service-icon span {
  position: absolute;
  top: 50%; left: 50%;
  width: 13px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--ease-out);
}
.service-icon span:last-child { transform: translate(-50%, -50%) rotate(90deg); }

@media (hover: hover) {
  .service summary:hover .service-num {
    color: var(--accent);
    text-shadow: var(--glow-soft);
  }
  .service summary:hover .service-icon {
    background: rgba(56, 189, 248, 0.14);
    transform: rotate(90deg);
  }
}

.service[open] .service-icon span:first-child { transform: translate(-50%, -50%) rotate(180deg); }
.service[open] .service-icon span:last-child  { transform: translate(-50%, -50%) rotate(180deg); }
.service[open] .service-num {
  color: var(--accent);
  text-shadow: var(--glow-soft);
}
.service[open] .service-icon span { background: var(--accent); }

.service-body { overflow: hidden; }
.service-body-inner {
  max-width: 44rem;
  padding: 0 clamp(1.2rem, 3vw, 2rem) clamp(1.4rem, 3vw, 1.9rem);
}
.service-body-inner p {
  color: var(--ink-70);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
}
.service-tags {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.service-tags li {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-60);
  font-size: 0.75rem;
  font-weight: 400;
  transition: border-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.service-tags li:hover { border-color: var(--glass-border); color: var(--ink); }

@supports (interpolate-size: allow-keywords) {
  .service::details-content {
    block-size: 0;
    overflow-y: clip;
    transition: content-visibility 0.55s allow-discrete, block-size 0.55s var(--ease-out);
  }
  .service[open]::details-content { block-size: auto; }
}

/* Enlace "Ver trabajos" dentro de un servicio */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-soft);
  text-shadow: var(--glow-soft);
  transition: gap 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.service-link .ico { width: 16px; height: 16px; }
.service-link:hover { gap: 0.8rem; color: #fff; }

/* =============================================================
   9b. Portafolio (página propia · grid de trabajos que enlazan a la web)
   ============================================================= */
.works { padding: var(--section-gap) var(--gutter) 0; }

.works-intro {
  max-width: 34rem;
  color: var(--ink-60);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
}

/* Cabecera de la página de portafolio */
.works-hero {
  position: relative;
  padding: clamp(9rem, 22vh, 13rem) var(--gutter) 0;
  max-width: 940px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.3rem;
  overflow: clip;
}
.works-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(56, 189, 248, 0.16), transparent 62%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.works-hero .section-title { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 0.98; }
.works-hero-sub {
  max-width: 38rem;
  color: var(--ink-70);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.works-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--ink-50);
}
.works-hero-meta strong { color: var(--accent-soft); font-weight: 600; text-shadow: var(--glow-soft); }

/* Contenedor del grid en la página de portafolio */
.works-page { padding: clamp(3rem, 7vh, 5rem) var(--gutter) 0; }

/* Cierre / CTA de la página de portafolio */
.works-outro {
  margin-top: var(--section-gap);
  padding: clamp(3.5rem, 9vh, 6rem) var(--gutter) 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.works-outro h2 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1;
  margin-bottom: 1.2rem;
}
.works-outro p {
  max-width: 34rem;
  color: var(--ink-60);
  margin-bottom: 2rem;
}

.work-grid {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 640px)  { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

.work-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  padding: 0.7rem 0.7rem 0.3rem;
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}
@media (hover: hover) {
  .work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px -26px rgba(0, 0, 0, 0.8),
                0 0 40px -18px rgba(56, 189, 248, 0.5);
  }
}

/* Preview tipo ventana de navegador */
.work-shot {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.work-shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid var(--line);
}
.work-shot-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.work-shot-bar em {
  margin-left: 0.6rem;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--ink-40);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-shot-canvas {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 120% at 20% 10%, color-mix(in srgb, var(--c1) 55%, transparent), transparent 60%),
    radial-gradient(120% 120% at 90% 100%, color-mix(in srgb, var(--c2) 55%, transparent), transparent 55%),
    linear-gradient(150deg, #0b0b0f, #050507);
  overflow: hidden;
}
.work-shot-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent 75%);
}
.work-logo {
  position: relative;
  z-index: 1;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
/* Si más adelante usas logos reales en vez del monograma de texto */
.work-logo-img {
  position: relative;
  z-index: 1;
  width: auto;
  max-height: 54px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4));
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0.8rem 1rem;
}
.work-info { display: flex; flex-direction: column; gap: 0.25rem; }
.work-name { font-size: 1.15rem; line-height: 1.1; }
.work-cat {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink-50);
}
.work-go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-soft);
  transition: gap 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.work-go .ico { width: 14px; height: 14px; }
@media (hover: hover) {
  .work-card:hover .work-go { gap: 0.7rem; color: #fff; }
  .work-card:hover .work-go .ico { transform: translate(2px, -2px); }
}

.works-cta {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

/* =============================================================
   10. Proceso
   ============================================================= */
.process { padding: var(--section-gap) var(--gutter) 0; }

.process-grid {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  gap: 1.4rem;
}
.process-step {
  border-radius: 24px;
  padding: 1.9rem 1.7rem 2.1rem;
  transition: transform 0.55s var(--ease-out);
}
@media (hover: hover) {
  .process-step:hover { transform: translateY(-6px); }
}
.process-icon {
  width: 42px; height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  color: var(--accent);
  filter: drop-shadow(var(--glow-soft));
  transition: transform 0.5s var(--ease-out);
}
.process-icon svg { width: 19px; height: 19px; }
@media (hover: hover) {
  .process-step:hover .process-icon { transform: scale(1.1); }
}
.process-step h3 {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.process-step p {
  color: var(--ink-60);
  font-weight: 400;
  font-size: 0.95rem;
}

@media (min-width: 720px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   11. Stats (video desaturado + tarjeta glass)
   ============================================================= */
.stats {
  position: relative;
  margin-top: var(--section-gap);
  padding: clamp(6rem, 12vh, 9rem) var(--gutter);
  overflow: clip;
}

.stats-card {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-inline: auto;
  border-radius: 32px;
  padding: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}
.stat-value {
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
  color: var(--accent-soft);
  text-shadow: 0 0 26px rgba(56, 189, 248, 0.45);
}
.stat-label {
  color: var(--ink-60);
  font-weight: 400;
  font-size: 0.86rem;
  max-width: 15rem;
  margin-inline: auto;
}

@media (min-width: 960px) {
  .stats-card { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   11b. Reseñas (estrellas + testimonios)
   ============================================================= */
.reviews { padding: var(--section-gap) var(--gutter) 0; }

/* Estrellas */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #ffc93c;
}
.stars svg {
  width: 17px; height: 17px;
  fill: currentColor;
  filter: drop-shadow(0 0 6px rgba(255, 201, 60, 0.45));
}
.stars-lg svg { width: 22px; height: 22px; }

.reviews-score {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}
.reviews-score-text {
  font-size: 0.9rem;
  color: var(--ink-60);
}
.reviews-score-text strong {
  color: var(--ink);
  font-weight: 600;
}

.review-grid {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 640px)  { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

.review {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  border-radius: 24px;
  padding: 1.8rem 1.7rem;
  transition: transform 0.55s var(--ease-out);
}
@media (hover: hover) {
  .review:hover { transform: translateY(-5px); }
}
.review-text {
  flex: 1;
  color: var(--ink-70);
  font-size: 0.98rem;
  line-height: 1.55;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.review-avatar {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(150deg, var(--c1, #3a86ff), var(--c2, #8338ec));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
}
.review-who { display: flex; flex-direction: column; gap: 0.1rem; }
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-role {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--ink-50);
}

/* =============================================================
   12. Sobre mí
   ============================================================= */
.about { padding: var(--section-gap) var(--gutter) 0; }

.about-card {
  max-width: 1080px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: clamp(1.8rem, 5vw, 3.5rem);
  border-radius: 32px;
}

.about-figure {
  position: relative;
  flex: none;
  width: min(100%, 320px);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background:
    radial-gradient(85% 70% at 50% 25%, rgba(255, 255, 255, 0.14), transparent 65%),
    linear-gradient(175deg, #101012, #060608);
  border: 1px solid var(--line);
  overflow: clip;
  isolation: isolate;
}
.about-figure-glow {
  position: absolute;
  left: 50%; top: 14%;
  width: 80%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%,
    rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.1) 50%, transparent 72%);
  filter: blur(36px);
  animation: glowBreath 6.5s var(--ease-soft) infinite alternate;
}
@keyframes glowBreath {
  from { opacity: 0.7; transform: translateX(-50%) scale(1); }
  to   { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}
.about-photo {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 96%;
  height: auto;
  transform: translateX(-50%);
  filter: saturate(1.02) contrast(1.04)
          drop-shadow(0 -6px 40px rgba(255, 255, 255, 0.12))
          drop-shadow(0 24px 50px rgba(0, 0, 0, 0.65));
  transition: transform 0.7s var(--ease-out);
  z-index: 1;
}
@media (hover: hover) {
  .about-figure:hover .about-photo { transform: translateX(-50%) scale(1.03); }
}
.about-figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 2;
  pointer-events: none;
}
.about-figure-badge {
  position: absolute;
  left: 50%; bottom: 0.9rem;
  transform: translateX(-50%);
  z-index: 3;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.about-name {
  margin-top: 1.2rem;
  font-size: clamp(2.4rem, 5.5vw, 3.4rem);
  line-height: 0.95;
}
.about-role {
  margin-top: 0.6rem;
  color: var(--ink-50);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-text {
  margin-top: 1.4rem;
  max-width: 34rem;
  color: var(--ink-70);
  font-weight: 400;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
}
.about-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
}
.about-phone {
  color: var(--ink-50);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.35s var(--ease-out);
}
.about-phone:hover { color: var(--ink); }

@media (min-width: 720px) {
  .about-card { flex-direction: row; align-items: center; }
}

/* =============================================================
   13. Contacto + footer
   ============================================================= */
.contact {
  position: relative;
  margin-top: var(--section-gap);
  padding: clamp(7rem, 15vh, 11rem) var(--gutter) 2.5rem;
  overflow: clip;
}

.contact-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-title {
  margin-top: 1.4rem;
  font-size: clamp(3rem, 11vw, 6.5rem);
  line-height: 0.9;
}
.contact-sub {
  margin-top: 1.4rem;
  color: var(--ink-70);
  font-weight: 400;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
}
.contact-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-bar {
  margin-top: clamp(6rem, 12vh, 8rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink-40);
  font-size: 0.75rem;
  font-weight: 400;
}
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a { transition: color 0.3s var(--ease-out); }
.footer-links a:hover { color: var(--ink); }

@media (min-width: 720px) {
  .footer-bar { flex-direction: row; justify-content: space-between; }
}

/* =============================================================
   14. WhatsApp flotante
   ============================================================= */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: 80;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 34px -8px rgba(37, 211, 102, 0.55);
  transform: translateY(120px) scale(0.6);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.5s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
}
.wa-float svg { width: 29px; height: 29px; }
.wa-float.is-shown { transform: none; opacity: 1; }
.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 44px -8px rgba(37, 211, 102, 0.7);
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: waPing 2.6s var(--ease-soft) infinite;
}
@keyframes waPing {
  0%   { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

/* =============================================================
   15. Responsive fino
   ============================================================= */
@media (max-width: 539px) {
  .hero-inner { padding-top: 7rem; }
  .hero-actions .btn.liquid-glass-strong { width: 100%; }
  .glass-infinity { width: 94vw; }
  .orb-1 { width: 96px; height: 96px; left: 4%; top: 20%; }
  .orb-2 { width: 60px; height: 60px; right: 6%; top: 30%; }
  .orb-3 { display: none; }
  .glow { filter: blur(60px); }
  .hero-partners-row { column-gap: 1.4rem; font-size: 1.15rem; }
  .service summary { gap: 0.9rem; }
  .wa-float { width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* =============================================================
   16. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .bg-video { display: none; }
  .glow, .orb, .stage-float { animation: none; }
  .wa-float::after { animation: none; opacity: 0; }
  .about-figure-glow { animation: none; }
  /* Hovers, fades y blur-reveals se mantienen: son feedback funcional */
}
