/* ══════════════════════════════════════════════
   MAGITALS SOLUTIONS — Stylesheet v3 (Creative)
   ══════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────── */
:root {
  --bg:        #07070F;
  --bg-2:      #0E0D1C;
  --surface:   #161429;
  --surface-2: #1F1A38;
  --border:    #2E2848;
  --border-2:  #3D3660;

  --amber:      #FFB830;
  --amber-2:    #FFD080;
  --amber-3:    #FFE8A0;
  --amber-dim:  rgba(255,184,48,.08);
  --amber-glow: rgba(255,184,48,.22);

  --coral:      #FF5733;
  --coral-dim:  rgba(255,87,51,.08);
  --coral-glow: rgba(255,87,51,.22);

  --violet:      #9747FF;
  --violet-dim:  rgba(151,71,255,.08);
  --violet-glow: rgba(151,71,255,.22);

  --cyan:     #00E5FF;
  --cyan-dim: rgba(0,229,255,.07);

  --grad-warm: linear-gradient(135deg, var(--amber), var(--coral));
  --grad-full: linear-gradient(135deg, var(--amber) 0%, var(--coral) 45%, var(--violet) 100%);

  --ink:       #F0EBE3;
  --ink-2:     #A099B8;
  --ink-3:     #6B6480;

  --green:     #4ADE80;
  --red:       #F87171;
  --wa:        #25D366;

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 36px;

  --ease:     0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: 0.5s  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: 0.6s 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; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none; /* Custom cursor */
}
@media (hover: none) { body { cursor: auto; } }
img    { max-width: 100%; display: block; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }

/* ── NOISE TEXTURE OVERLAY ───────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9997;
}

/* ── LAYOUT ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section       { padding: 120px 0; }
.section--dark { background: var(--bg-2); }

/* ── SECTION AMBIENT BACKGROUNDS ────────────── */

/* Servicios — violet top-left + coral bottom-right */
#servicios {
  background:
    radial-gradient(ellipse 55% 50% at 5% 10%,  rgba(151,71,255,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 95% 90%, rgba(255,87,51,.06)  0%, transparent 60%),
    var(--bg-2);
}

/* Portfolio — amber top-right + cyan bottom-left + dot grid */
#portfolio {
  background:
    radial-gradient(ellipse 50% 55% at 92% 5%,  rgba(255,184,48,.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 8%  90%, rgba(0,229,255,.05)  0%, transparent 60%),
    radial-gradient(rgba(151,71,255,.035) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 40px 40px, auto;
}

/* Nosotros — violet left streak + amber top-right hint */
#nosotros {
  background:
    radial-gradient(ellipse 40% 80% at 0%   50%, rgba(151,71,255,.08) 0%, transparent 65%),
    radial-gradient(ellipse 35% 35% at 88% 15%,  rgba(255,184,48,.06) 0%, transparent 55%),
    var(--bg);
}

/* Proceso — cyan right + violet bottom-left + horizontal lines */
#proceso {
  background:
    radial-gradient(ellipse 40% 60% at 100% 50%, rgba(0,229,255,.06)  0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10%  85%, rgba(151,71,255,.07) 0%, transparent 60%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 63px,
      rgba(151,71,255,.03) 63px,
      rgba(151,71,255,.03) 64px
    ),
    var(--bg-2);
}

/* FAQ — amber top-center glow */
#faq {
  background:
    radial-gradient(ellipse 65% 45% at 50% 0%,  rgba(255,184,48,.06) 0%, transparent 65%),
    radial-gradient(ellipse 35% 35% at 92% 92%, rgba(151,71,255,.05) 0%, transparent 55%),
    var(--bg);
}

/* Contacto — amber bottom-center heat + violet top-left */
#contacto {
  background:
    radial-gradient(ellipse 70% 55% at 50% 105%, rgba(255,184,48,.09) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 0%   20%,  rgba(151,71,255,.07) 0%, transparent 55%),
    radial-gradient(rgba(255,184,48,.025) 1px, transparent 1px),
    var(--bg-2);
  background-size: auto, auto, 48px 48px, auto;
}

/* ── TYPOGRAPHY UTILITIES ────────────────────── */
.section__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(255,184,48,.18);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.section__header {
  text-align: center;
  margin-bottom: 72px;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.13;
  color: #fff;
  margin-bottom: 16px;
}
.section__subtitle {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.07);
  opacity: 0;
  transition: opacity var(--ease);
}
.btn:hover::after { opacity: 1; }

.btn--primary {
  background: linear-gradient(135deg, var(--amber), var(--coral));
  color: #07070F;
  box-shadow: 0 0 0 0 var(--amber-glow);
  transition: all var(--ease), box-shadow 0.4s ease;
  background-size: 200%;
  background-position: 0% 50%;
}
.btn--primary:hover {
  box-shadow: 0 6px 32px var(--coral-glow);
  background-position: 100% 50%;
}
.btn--ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--border-2);
}
.btn--ghost:hover  { border-color: var(--amber); color: var(--amber); }
.btn--outline {
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--amber);
}
.btn--outline:hover { background: var(--amber-dim); }
.btn--lg   { padding: 16px 36px; font-size: 0.925rem; }
.btn--full { width: 100%; }

.btn__play {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
}

/* ── REVEAL ANIMATIONS ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
  transition-delay: var(--fd, 0s);
}
.hero-revealed .reveal-fade { opacity: 1; }

/* Staggered line reveal */
.line-wrap {
  display: block;
  overflow: hidden;
  line-height: 1.1;
  padding-bottom: 0.05em;
}
.line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--d) * 0.14s + 0.2s);
}
.hero-revealed .line-inner { transform: translateY(0); }

/* ══════════════════════════════════════════════
   PAGE LOAD OVERLAY
   ══════════════════════════════════════════════ */
.page-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  transform-origin: top;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.page-overlay.gone { transform: scaleY(0); pointer-events: none; }

/* ══════════════════════════════════════════════
   CUSTOM CURSOR
   ══════════════════════════════════════════════ */
.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  will-change: left, top;
}
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255,184,48,.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              border-color 0.3s, background 0.3s;
  will-change: left, top;
}
.cursor-ring.hovered {
  width: 56px; height: 56px;
  border-color: var(--amber);
  background: rgba(255,184,48,.06);
}
.cursor-ring.clicking {
  width: 20px; height: 20px;
  background: rgba(255,184,48,.15);
}
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ══════════════════════════════════════════════
   NAVBAR — Floating Island
   ══════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 24px;
  pointer-events: none; /* clicks pass through to page */
}

/* ── Island pill ─────────────────────────────── */
.nav__island {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px 4px 14px;
  background: rgba(7,7,15,.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow:
    0 4px 24px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.10),
    0 0 0 1px rgba(255,255,255,.04),
    0 0 28px rgba(255,184,48,.06);
  transition: padding var(--ease-out), background var(--ease-out), box-shadow var(--ease-out);
}
.nav__island::before { display: none; }
.nav.scrolled .nav__island {
  background: rgba(7,7,15,.88);
  border-color: rgba(255,255,255,.16);
  box-shadow:
    0 4px 32px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.12),
    0 0 36px rgba(255,184,48,.08);
  padding: 4px 8px 4px 14px;
}

/* ── Nav halves (left / right of logo) ──────── */
.nav__half {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* ── Links ───────────────────────────────────── */
.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 7px 14px;
  border-radius: 999px;
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}
.nav__link::after { display: none; } /* pill style — no underline */
.nav__link:hover  { color: #fff; background: rgba(255,255,255,.07); }
.navbar__link--active {
  color: var(--amber) !important;
  background: rgba(255,184,48,.1) !important;
}

/* ── Centre logo ─────────────────────────────── */
.nav__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  flex-shrink: 0;
}
.nav__logo-wrap {
  position: relative;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__logo-img {
  width: 42px; height: 42px;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: brightness(1.15) drop-shadow(0 0 6px rgba(255,184,48,.35));
  transition: filter 0.4s ease, transform 0.4s ease;
}
.nav__logo:hover .nav__logo-img {
  filter: brightness(1.3) drop-shadow(0 0 14px rgba(0,229,255,.6));
  transform: scale(1.08);
}
.nav__logo-halo,
.nav__logo-halo--2 { display: none; }

/* ── CTA ─────────────────────────────────────── */
.nav__cta {
  margin-left: 6px;
  padding: 7px 18px;
  font-size: 0.78rem;
  border-radius: 999px;
}

/* ── Burger ──────────────────────────────────── */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 9px;
  margin-left: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
  transition: background var(--ease);
}
.nav__burger:hover { background: rgba(255,255,255,.11); }
.nav__burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--ease);
}

/* ── Mobile dropdown ─────────────────────────── */
.nav__mobile-menu {
  display: none; /* shown via media query */
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
  background-image: url('../assets/hero-image.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
/* Dark overlay so text stays readable */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7,7,15,.92) 0%,
    rgba(7,7,15,.75) 45%,
    rgba(7,7,15,.30) 100%
  );
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

/* Animated blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  will-change: transform;
}
.blob--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,184,48,.14) 0%, rgba(255,87,51,.06) 50%, transparent 70%);
  top: -15%; right: -8%;
  animation: blob-float 9s ease-in-out infinite;
}
.blob--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(151,71,255,.13) 0%, rgba(151,71,255,.04) 50%, transparent 70%);
  bottom: 0%; left: -10%;
  animation: blob-float 13s ease-in-out infinite reverse;
}
.blob--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,87,51,.10) 0%, transparent 70%);
  top: 60%; right: 30%;
  animation: blob-float 7s ease-in-out infinite 2s;
}
@keyframes blob-float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,-30px) scale(1.08); }
  66%     { transform: translate(-25px,20px) scale(0.93); }
}

/* Grid background */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(151,71,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151,71,255,.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 80%);
}

/* Giant decorative "07" */
.hero__deco {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(180px, 26vw, 380px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(151,71,255,.09);
  line-height: 0.85;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  animation: deco-breathe 6s ease-in-out infinite;
}
@keyframes deco-breathe {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.5; }
}

/* Content */
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  max-width: 760px;
  margin-left: 48px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(255,184,48,.18);
  padding: 7px 18px;
  border-radius: 999px;
}
.hero__pulse {
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse-ring 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(255,184,48,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(255,184,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,184,48,0); }
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin: 0;
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--amber) 0%, var(--coral) 35%, var(--violet) 70%, var(--amber) 100%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: full-shimmer 4s linear infinite;
}
@keyframes full-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.75;
  max-width: 520px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 28px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(8px);
}
.hero__stat { text-align: left; }
.hero__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.hero__stat span {
  font-size: 0.68rem;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
  display: block;
}
.hero__stat-sep {
  width: 1px; height: 32px;
  background: var(--border-2);
  flex-shrink: 0;
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: scroll-float 2.5s ease-in-out infinite;
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--amber) 0%, transparent 100%);
  animation: scroll-line 2.5s ease-in-out infinite;
}
@keyframes scroll-float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }
@keyframes scroll-line  { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ══════════════════════════════════════════════
   TICKER
   ══════════════════════════════════════════════ */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  background: var(--bg-2);
}
.ticker__track { overflow: hidden; }
.ticker__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.ticker__inner:hover { animation-play-state: paused; }
.ticker__inner span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}
.ticker__inner b { color: var(--amber); font-weight: 400; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════
   SERVICIOS — Editorial list
   ══════════════════════════════════════════════ */
.svc-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.svc-header__left .section__title { text-align: left; margin-bottom: 0; }
.svc-header__right {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.75;
  padding-bottom: 4px;
}

.svc-list { border-top: 1px solid var(--border); }

.svc-item {
  display: grid;
  grid-template-columns: 56px 1fr 52px;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: padding var(--ease-out), background var(--ease);
}
/* Fill effect from left */
.svc-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,184,48,.04) 0%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out);
}
.svc-item:hover::before { transform: translateX(0); }
/* Gold left bar */
.svc-item::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--amber), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.svc-item:hover::after { transform: scaleY(1); }
.svc-item:hover { padding-left: 16px; }

.svc-item__num {
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-3);
  position: relative;
  z-index: 1;
  transition: color var(--ease);
}
.svc-item:hover .svc-item__num { color: var(--amber); }

.svc-item__body { position: relative; z-index: 1; }
.svc-item__body h3 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0;
  transition: color var(--ease);
  line-height: 1;
}
.svc-item:hover .svc-item__body h3 { color: #fff; }
.svc-item__body p {
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out), margin-top 0.45s var(--ease-out), opacity 0.45s ease;
  opacity: 0;
}
.svc-item:hover .svc-item__body p { max-height: 80px; margin-top: 8px; opacity: 1; }

.svc-item__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  color: var(--ink-2);
  position: relative;
  z-index: 1;
  transition: all var(--ease-spring);
  flex-shrink: 0;
}
.svc-item:hover .svc-item__icon {
  border-color: var(--amber);
  color: var(--amber);
  background: var(--amber-dim);
  transform: rotate(15deg) scale(1.08);
}

/* ══════════════════════════════════════════════
   STATS — Count-up
   ══════════════════════════════════════════════ */
.stats-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 80% at 20% 50%, rgba(255,184,48,.05), transparent),
    radial-gradient(ellipse 40% 80% at 80% 50%, rgba(151,71,255,.05), transparent);
}
.stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 1;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}
.stat-item__val {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
}
.countup {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  display: block;
}
.stat-item__unit {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--amber-2);
  opacity: 0.7;
}
.stat-item__plus {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--amber);
  opacity: 0.6;
}
.stat-item p {
  font-size: 0.78rem;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stat-item__div {
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--border-2), transparent);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   PORTFOLIO — CSS Mockups with 3D tilt
   ══════════════════════════════════════════════ */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.portfolio-card:hover {
  border-color: var(--border-2);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px var(--border-2);
}
.portfolio-card__meta {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
}
.portfolio-card__meta h3 {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 3px;
}
.portfolio-card__meta span { font-size: 0.78rem; color: var(--ink-2); }
.portfolio-card__tag {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(255,184,48,.15);
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Portfolio mini-windows */
.pwin { border-bottom: 1px solid var(--border); }
.pwin__bar {
  background: var(--surface-2);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.pwin__dots { display: flex; gap: 5px; }
.pwin__dots span { width: 9px; height: 9px; border-radius: 50%; }
.dot--red    { background: #FF5F56; }
.dot--yellow { background: #FFBD2E; }
.dot--green  { background: #27C93F; }
.pwin__url {
  font-size: 0.64rem;
  color: var(--ink-3);
  background: var(--border);
  padding: 2px 10px;
  border-radius: 5px;
}
.pwin__screen {
  height: 200px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pwin--med { background: linear-gradient(160deg, #1A0D08 0%, #0D0603 100%); }
.pwin--jpn { background: linear-gradient(160deg, #10080A 0%, #080407 100%); }
.pwin--mod { background: linear-gradient(160deg, #0D0D18 0%, #080812 100%); }
.pwin--cln { background: linear-gradient(160deg, #081018 0%, #040A10 100%); }
.pwin--app { background: linear-gradient(160deg, #0A0818 0%, #060512 100%); }

/* Clínica mockup styles */
.pm-logo--cln   { background: rgba(0,180,216,.6); }
.pm-label--cln  { background: rgba(0,180,216,.25); }
.pm-h--cln      { background: rgba(0,180,216,.8); width: 52%; }
.pm-btn--cln    { background: rgba(0,150,199,.85); }

/* App / Dashboard mockup styles */
.pm-nav--app    { background: rgba(151,71,255,.08); border-bottom-color: rgba(151,71,255,.15); }
.pm-logo--vio   { background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.pm-stats-row   { display: flex; gap: 5px; padding: 6px 12px; }
.pm-stat-box    { flex: 1; height: 22px; background: rgba(255,184,48,.12); border: 1px solid rgba(255,184,48,.2); border-radius: 4px; }
.pm-stat-box--cor { background: rgba(255,87,51,.12); border-color: rgba(255,87,51,.2); }
.pm-stat-box--vio { background: rgba(151,71,255,.12); border-color: rgba(151,71,255,.2); }
.pm-chart       { display: flex; align-items: flex-end; gap: 4px; padding: 4px 12px 0; height: 36px; }
.pm-bar         { flex: 1; border-radius: 2px 2px 0 0; }

.pm-nav {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,.04);
  flex-shrink: 0;
}
.pm-nav--light { border-bottom-color: rgba(255,255,255,.06); }
.pm-logo          { width: 36px; height: 5px; border-radius: 3px; background: rgba(255,184,48,.5); }
.pm-logo--ter     { background: rgba(196,90,40,.7); }
.pm-logo--white   { background: rgba(255,255,255,.7); }
.pm-logo--gold    { background: linear-gradient(90deg, var(--amber), var(--amber-2)); }
.pm-navlinks { display: flex; gap: 7px; margin-left: auto; }
.pm-navlinks span { width: 18px; height: 5px; background: rgba(255,255,255,.1); border-radius: 2px; }
.pm-navlinks--light span { background: rgba(255,255,255,.2); }
.pm-hero { padding: 16px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pm-label     { width: 40px; height: 10px; background: rgba(255,184,48,.2); border-radius: 8px; }
.pm-label--red { background: rgba(176,24,40,.3); }
.pm-h         { height: 9px; background: rgba(255,255,255,.75); border-radius: 3px; width: 72%; }
.pm-h--ter    { background: rgba(196,90,40,.8); width: 55%; }
.pm-h--white  { background: rgba(255,255,255,.9); }
.pm-h--red    { background: rgba(200,40,40,.85); width: 58%; }
.pm-h--gold   { background: linear-gradient(90deg, var(--amber), var(--amber-2)); width: 55%; }
.pm-h--xl     { width: 82%; }
.pm-p         { height: 5px; background: rgba(255,255,255,.18); border-radius: 2px; width: 62%; }
.pm-p--light  { background: rgba(255,255,255,.28); }
.pm-btns { display: flex; gap: 6px; margin-top: 4px; }
.pm-btn        { height: 14px; width: 48px; border-radius: 3px; }
.pm-btn--ter   { background: rgba(196,90,40,.8); }
.pm-btn--o     { border: 1px solid rgba(255,255,255,.18); }
.pm-btn--red   { background: rgba(176,24,40,.85); }
.pm-btn--gold  { background: linear-gradient(135deg, var(--amber), var(--amber-2)); }
.pm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 8px 12px; flex-shrink: 0; }
.pm-card { height: 28px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.05); border-radius: 4px; }
.pm-card--tall { height: 58px; }
.pm-card--split { display: flex; flex-direction: column; gap: 4px; height: 58px; background: none; border: none; padding: 0; grid-column: span 2; }
.pm-card-half { flex: 1; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.05); border-radius: 4px; }

/* ══════════════════════════════════════════════
   ABOUT / WHY US
   ══════════════════════════════════════════════ */
.about__layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 100px;
  align-items: start;
}
.about__left {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about__left .section__title { text-align: left; margin-bottom: 0; }
.about__desc {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.8;
  margin: 24px 0 36px;
}
.about__right { display: flex; flex-direction: column; }
.about-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.about-item:first-child { padding-top: 0; }
.about-item:last-child  { border-bottom: none; }
.about-item__num {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(255,184,48,.15);
  border-radius: 50%;
  margin-top: 2px;
}
.about-item__body h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 8px;
}
.about-item__body p { font-size: 0.875rem; color: var(--ink-2); line-height: 1.7; }

/* ══════════════════════════════════════════════
   PROCESO — Cards with ghost numbers
   ══════════════════════════════════════════════ */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pstep {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.pstep:hover {
  transform: translateY(-4px);
}
.pstep__ghost {
  position: absolute;
  bottom: -18px; right: -8px;
  font-family: var(--serif);
  font-size: 6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,184,48,.06);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transition: -webkit-text-stroke-color var(--ease), opacity var(--ease);
}
.pstep:hover .pstep__ghost { -webkit-text-stroke-color: rgba(255,184,48,.12); }
.pstep__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--amber-dim);
  border: 1.5px solid var(--amber);
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 20px;
  transition: all var(--ease-spring);
}
.pstep:hover .pstep__num {
  background: var(--amber);
  color: #080808;
  transform: scale(1.1);
}
.pstep h3 { font-family: var(--serif); font-size: 1.1rem; color: #fff; margin-bottom: 10px; }
.pstep p  { font-size: 0.85rem; color: var(--ink-2); line-height: 1.65; position: relative; z-index: 1; }

/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */
.faq__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}
.faq__left {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.faq__left .section__title { text-align: left; margin-bottom: 0; }
.faq__hint { font-size: 0.875rem; color: var(--ink-2); line-height: 1.65; }
.faq__list { display: flex; flex-direction: column; gap: 8px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--ease);
}
.faq__item:hover    { border-color: var(--border-2); }
.faq__item.open     { border-color: rgba(255,184,48,.22); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
  text-align: left;
  transition: color var(--ease);
}
.faq__question:hover        { color: var(--ink); }
.faq__item.open .faq__question { color: #fff; }
.faq__icon {
  font-size: 1.25rem;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring);
  line-height: 1;
  font-weight: 300;
}
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__item.open .faq__answer { max-height: 300px; }
.faq__answer p { padding: 0 24px 20px; font-size: 0.875rem; color: var(--ink-2); line-height: 1.75; }

/* ══════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════ */
/* Layout: two columns from the start */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 72px;
  align-items: start;
}

/* LEFT panel */
.contact__panel { display: flex; flex-direction: column; gap: 28px; }
.contact__panel .section__badge { align-self: flex-start; }
.contact__heading {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.contact__sub { font-size: 0.95rem; color: var(--ink-2); line-height: 1.65; }

/* Phone card */
.contact__phone-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,184,48,.06);
  border: 1px solid rgba(255,184,48,.18);
  border-radius: var(--r-md);
  transition: all var(--ease);
}
.contact__phone-card:hover {
  background: rgba(255,184,48,.10);
  border-color: rgba(255,184,48,.38);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,184,48,.10);
}
.contact__phone-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,184,48,.12);
  border: 1px solid rgba(255,184,48,.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}
.contact__phone-body {
  display: flex; flex-direction: column; gap: 2px;
  flex: 1;
}
.contact__phone-label { font-size: 0.72rem; color: var(--amber); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.contact__phone-num   { font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.contact__phone-arrow { color: var(--amber); opacity: 0.6; transition: transform var(--ease), opacity var(--ease); flex-shrink: 0; }
.contact__phone-card:hover .contact__phone-arrow { transform: translate(3px, -3px); opacity: 1; }

/* WhatsApp */
.contact__wa {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(37,211,102,.06);
  border: 1px solid rgba(37,211,102,.16);
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--wa);
  transition: all var(--ease);
}
.contact__wa:hover {
  background: rgba(37,211,102,.11);
  border-color: rgba(37,211,102,.36);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.10);
}
.contact__wa-arrow { margin-left: auto; transition: transform var(--ease); }
.contact__wa:hover .contact__wa-arrow { transform: translate(3px, -3px); }

/* Details row */
.contact__details { display: flex; flex-direction: column; gap: 10px; }
.contact__detail {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.83rem; color: var(--ink-2);
}
.contact__detail svg { color: var(--amber); flex-shrink: 0; }

/* Form */
.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: 0.78rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0.02em; }
.form__input {
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form__input::placeholder { color: var(--ink-3); }
.form__input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(255,184,48,.1);
}
.form__textarea { resize: vertical; min-height: 100px; }
.form__disclaimer { font-size: 0.76rem; color: var(--ink-3); text-align: center; }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
  border-top: none;
  padding-top: 56px;
  padding-bottom: 0;
}
.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 56px;
}
.footer__logo {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.footer__logo em  { color: var(--amber); font-style: normal; }
.footer__tagline  { font-size: 0.82rem; color: var(--ink-2); }
.footer__nav,
.footer__legal    { display: flex; flex-direction: column; gap: 10px; }
.footer__link     { font-size: 0.85rem; color: var(--ink-2); transition: color var(--ease); }
.footer__link:hover { color: var(--amber); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  font-size: 0.74rem;
  color: var(--ink-3);
  text-align: center;
}

/* ══════════════════════════════════════════════
   WHATSAPP FLOAT
   ══════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--wa);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--ease), box-shadow var(--ease);
  animation: wa-pop 0.5s var(--ease-spring) 1.5s both;
}
.wa-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,.55);
}
@keyframes wa-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .about__layout { grid-template-columns: 1fr; gap: 56px; }
  .about__left   { position: static; }
  .faq__layout   { grid-template-columns: 1fr; gap: 48px; }
  .faq__left     { position: static; }
  .contact__layout { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 960px) {
  .svc-header      { grid-template-columns: 1fr; gap: 16px; }
  .portfolio__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .process__grid   { grid-template-columns: repeat(2, 1fr); }
  .hero__deco      { display: none; }
  .stats__grid     { flex-wrap: wrap; gap: 0; }
  .stat-item       { flex: 0 0 50%; padding: 24px; }
  .stat-item__div  { display: none; }
}
@media (max-width: 768px) {
  .section  { padding: 72px 0; }
  .container { padding: 0 20px; }

  /* Island nav — mobile */
  .nav { padding: 14px 16px; align-items: stretch; }
  .nav__island { border-radius: 20px; }
  .nav__half, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  /* Mobile dropdown menu */
  .nav__mobile-menu {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 14px;
    margin-top: 8px;
    background: rgba(7,7,15,.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-2);
    border-radius: var(--r-lg);
    transition: max-height 0.42s var(--ease-out), opacity 0.3s ease, padding 0.3s ease;
  }
  .nav__mobile-menu.open {
    max-height: 440px;
    opacity: 1;
    padding: 14px;
  }
  .nav__mobile-link {
    font-size: 0.92rem;
    padding: 13px 16px;
    border-radius: var(--r-sm);
    border-bottom: 1px solid var(--border);
    color: var(--ink-2);
  }
  .nav__mobile-link:last-of-type { border-bottom: none; }
  .nav__mobile-link:hover { color: #fff; background: rgba(255,255,255,.05); }

  .hero__title  { font-size: 2.8rem; }
  .hero__stats  { flex-direction: column; gap: 14px; }
  .hero__stat-sep { width: 48px; height: 1px; }
  .hero__ctas   { flex-direction: column; align-items: stretch; }
  .portfolio__grid { max-width: 100%; }
  .process__grid   { grid-template-columns: 1fr; }
  .svc-item { grid-template-columns: 44px 1fr 44px; gap: 16px; }
  .contact__phone-num { font-size: 1.2rem; }
  .contact__form { padding: 24px; }
  .footer__inner { flex-direction: column; gap: 32px; }
  .wa-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .stats-section { padding: 48px 0; }
  .stat-item { flex: 0 0 100%; }
  .cursor-dot, .cursor-ring { display: none; }
}
@media (max-width: 480px) {
  .hero__title     { font-size: 2.4rem; }
  .contact__heading { font-size: 2.2rem; }
  .contact__form   { border-radius: var(--r-lg); }
}

/* ══════════════════════════════════════════════
   SCROLLBAR
   ══════════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--amber), var(--coral), var(--violet));
  border-radius: 3px;
}

/* ══════════════════════════════════════════════
   TICKER — cycling separator colors
   ══════════════════════════════════════════════ */
.ticker__inner b:nth-child(4n+1) { color: var(--amber); }
.ticker__inner b:nth-child(4n+2) { color: var(--coral); }
.ticker__inner b:nth-child(4n+3) { color: var(--violet); }
.ticker__inner b:nth-child(4n+4) { color: var(--cyan); }

/* ══════════════════════════════════════════════
   SERVICES — cycling accent colors per item
   ══════════════════════════════════════════════ */
/* 01 — amber (default, already set by var(--amber)) */
/* 02 — coral */
.svc-item:nth-child(2)::after { background: linear-gradient(180deg, var(--coral), transparent); }
.svc-item:nth-child(2)::before { background: linear-gradient(90deg, rgba(255,87,51,.06) 0%, transparent 60%); }
.svc-item:nth-child(2):hover .svc-item__num { color: var(--coral); }
.svc-item:nth-child(2):hover .svc-item__icon { border-color: var(--coral); color: var(--coral); background: var(--coral-dim); }
/* 03 — violet */
.svc-item:nth-child(3)::after { background: linear-gradient(180deg, var(--violet), transparent); }
.svc-item:nth-child(3)::before { background: linear-gradient(90deg, rgba(151,71,255,.06) 0%, transparent 60%); }
.svc-item:nth-child(3):hover .svc-item__num { color: var(--violet); }
.svc-item:nth-child(3):hover .svc-item__icon { border-color: var(--violet); color: var(--violet); background: var(--violet-dim); }
/* 04 — cyan */
.svc-item:nth-child(4)::after { background: linear-gradient(180deg, var(--cyan), transparent); }
.svc-item:nth-child(4)::before { background: linear-gradient(90deg, rgba(0,229,255,.05) 0%, transparent 60%); }
.svc-item:nth-child(4):hover .svc-item__num { color: var(--cyan); }
.svc-item:nth-child(4):hover .svc-item__icon { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); }
/* 05 — coral */
.svc-item:nth-child(5)::after { background: linear-gradient(180deg, var(--coral), transparent); }
.svc-item:nth-child(5)::before { background: linear-gradient(90deg, rgba(255,87,51,.06) 0%, transparent 60%); }
.svc-item:nth-child(5):hover .svc-item__num { color: var(--coral); }
.svc-item:nth-child(5):hover .svc-item__icon { border-color: var(--coral); color: var(--coral); background: var(--coral-dim); }
/* 06 — violet */
.svc-item:nth-child(6)::after { background: linear-gradient(180deg, var(--violet), transparent); }
.svc-item:nth-child(6)::before { background: linear-gradient(90deg, rgba(151,71,255,.06) 0%, transparent 60%); }
.svc-item:nth-child(6):hover .svc-item__num { color: var(--violet); }
.svc-item:nth-child(6):hover .svc-item__icon { border-color: var(--violet); color: var(--violet); background: var(--violet-dim); }

/* ══════════════════════════════════════════════
   STATS — cycling count-up colors
   ══════════════════════════════════════════════ */
.stats__grid > .stat-item:nth-child(1) .countup,
.stats__grid > .stat-item:nth-child(1) .stat-item__unit,
.stats__grid > .stat-item:nth-child(1) .stat-item__plus { color: var(--amber); }

.stats__grid > .stat-item:nth-child(3) .countup,
.stats__grid > .stat-item:nth-child(3) .stat-item__unit,
.stats__grid > .stat-item:nth-child(3) .stat-item__plus { color: var(--coral); }

.stats__grid > .stat-item:nth-child(5) .countup,
.stats__grid > .stat-item:nth-child(5) .stat-item__unit,
.stats__grid > .stat-item:nth-child(5) .stat-item__plus { color: var(--violet); }

.stats__grid > .stat-item:nth-child(7) .countup,
.stats__grid > .stat-item:nth-child(7) .stat-item__unit,
.stats__grid > .stat-item:nth-child(7) .stat-item__plus { color: var(--cyan); }

/* ══════════════════════════════════════════════
   PORTFOLIO CARDS — colored top borders
   ══════════════════════════════════════════════ */
.portfolio__grid > .portfolio-card:nth-child(1) { border-top: 2px solid var(--amber); }
.portfolio__grid > .portfolio-card:nth-child(2) { border-top: 2px solid var(--coral); }
.portfolio__grid > .portfolio-card:nth-child(3) { border-top: 2px solid var(--violet); }

.portfolio__grid > .portfolio-card:nth-child(1):hover { box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px var(--border-2), 0 -2px 20px rgba(255,184,48,.15); }
.portfolio__grid > .portfolio-card:nth-child(2):hover { box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px var(--border-2), 0 -2px 20px rgba(255,87,51,.15); }
.portfolio__grid > .portfolio-card:nth-child(3):hover { box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px var(--border-2), 0 -2px 20px rgba(151,71,255,.15); }

/* ══════════════════════════════════════════════
   ABOUT ITEMS — cycling circle colors
   ══════════════════════════════════════════════ */
.about-item:nth-child(1) .about-item__num { color: var(--amber); background: var(--amber-dim); border-color: rgba(255,184,48,.2); }
.about-item:nth-child(2) .about-item__num { color: var(--coral); background: var(--coral-dim); border-color: rgba(255,87,51,.2); }
.about-item:nth-child(3) .about-item__num { color: var(--violet); background: var(--violet-dim); border-color: rgba(151,71,255,.2); }
.about-item:nth-child(4) .about-item__num { color: var(--cyan); background: var(--cyan-dim); border-color: rgba(0,229,255,.18); }

/* ══════════════════════════════════════════════
   PROCESS STEPS — cycling circle + ghost colors
   ══════════════════════════════════════════════ */
.pstep:nth-child(1) .pstep__num { color: var(--amber); background: var(--amber-dim); border-color: var(--amber); }
.pstep:nth-child(1):hover .pstep__num { background: var(--amber); color: #07070F; box-shadow: 0 0 16px var(--amber-glow); }
.pstep:nth-child(1) .pstep__ghost { -webkit-text-stroke: 1px rgba(255,184,48,.07); }
.pstep:nth-child(1):hover .pstep__ghost { -webkit-text-stroke-color: rgba(255,184,48,.16); }
.pstep:nth-child(1):hover { border-color: rgba(255,184,48,.3); box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(255,184,48,.15); }

.pstep:nth-child(2) .pstep__num { color: var(--coral); background: var(--coral-dim); border-color: var(--coral); }
.pstep:nth-child(2):hover .pstep__num { background: var(--coral); color: #07070F; box-shadow: 0 0 16px var(--coral-glow); }
.pstep:nth-child(2) .pstep__ghost { -webkit-text-stroke: 1px rgba(255,87,51,.07); }
.pstep:nth-child(2):hover .pstep__ghost { -webkit-text-stroke-color: rgba(255,87,51,.16); }
.pstep:nth-child(2):hover { border-color: rgba(255,87,51,.3); box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(255,87,51,.15); }

.pstep:nth-child(3) .pstep__num { color: var(--violet); background: var(--violet-dim); border-color: var(--violet); }
.pstep:nth-child(3):hover .pstep__num { background: var(--violet); color: #07070F; box-shadow: 0 0 16px var(--violet-glow); }
.pstep:nth-child(3) .pstep__ghost { -webkit-text-stroke: 1px rgba(151,71,255,.07); }
.pstep:nth-child(3):hover .pstep__ghost { -webkit-text-stroke-color: rgba(151,71,255,.16); }
.pstep:nth-child(3):hover { border-color: rgba(151,71,255,.3); box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(151,71,255,.15); }

.pstep:nth-child(4) .pstep__num { color: var(--cyan); background: var(--cyan-dim); border-color: var(--cyan); }
.pstep:nth-child(4):hover .pstep__num { background: var(--cyan); color: #07070F; box-shadow: 0 0 16px rgba(0,229,255,.3); }
.pstep:nth-child(4) .pstep__ghost { -webkit-text-stroke: 1px rgba(0,229,255,.07); }
.pstep:nth-child(4):hover .pstep__ghost { -webkit-text-stroke-color: rgba(0,229,255,.16); }
.pstep:nth-child(4):hover { border-color: rgba(0,229,255,.3); box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(0,229,255,.15); }

/* ══════════════════════════════════════════════
   HERO SPOTLIGHT
   ══════════════════════════════════════════════ */
.hero__spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(151,71,255,.06) 0%,
    rgba(255,184,48,.03) 40%,
    transparent 70%);
  transition: opacity 0.4s ease;
  opacity: 0;
}
.hero:hover .hero__spotlight { opacity: 1; }

/* ══════════════════════════════════════════════
   SECTION BADGE — accent glow on hover
   ══════════════════════════════════════════════ */
.section__badge {
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.section__badge:hover {
  box-shadow: 0 0 16px rgba(255,184,48,.18);
}

/* ══════════════════════════════════════════════
   SECTION ATMOSPHERES
   Cada sección tiene su propia atmósfera de
   gradiente + acento de color propio
   ══════════════════════════════════════════════ */

/* ── TICKER — banda de transición amber central */
.ticker {
  background:
    radial-gradient(ellipse 60% 200% at 50% 50%, rgba(255,184,48,.05) 0%, transparent 70%),
    #09081A;
  border-top: 1px solid rgba(255,184,48,.08);
  border-bottom: 1px solid rgba(255,184,48,.08);
}

/* ── SERVICIOS — atmósfera amber derecha + violet izquierda baja */
#servicios {
  background:
    radial-gradient(ellipse 75% 70% at 92% 40%, rgba(255,184,48,.07) 0%, transparent 60%),
    radial-gradient(ellipse 45% 60% at 5% 85%,  rgba(151,71,255,.05) 0%, transparent 55%),
    #100E26;
  border-top: 1px solid rgba(255,184,48,.07);
}

/* ── STATS — escenario dramático: amber izq + violet der */
.stats-section {
  background:
    radial-gradient(ellipse 50% 120% at 8%  50%, rgba(255,184,48,.09) 0%, transparent 60%),
    radial-gradient(ellipse 50% 120% at 92% 50%, rgba(151,71,255,.09) 0%, transparent 60%),
    radial-gradient(ellipse 60%  60% at 50% 50%, rgba(255,87,51,.03)  0%, transparent 50%),
    #07070F;
}
/* neutralizar el ::before previo */
.stats-section::before { background: none; }

/* ── PORTFOLIO — violet top + coral esquina inferior derecha */
#portfolio {
  background:
    radial-gradient(ellipse 85% 55% at 50%   0%, rgba(151,71,255,.09) 0%, transparent 58%),
    radial-gradient(ellipse 45% 50% at 92%  90%, rgba(255,87,51,.05)  0%, transparent 50%),
    #0C0A1E;
  border-top: 1px solid rgba(151,71,255,.12);
}

/* ── NOSOTROS — sección más cálida: coral izq + amber top-right */
#nosotros {
  background:
    radial-gradient(ellipse 65% 85% at 0%   55%, rgba(255,87,51,.07)  0%, transparent 58%),
    radial-gradient(ellipse 55% 55% at 95%  10%, rgba(255,184,48,.06) 0%, transparent 52%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(151,71,255,.04) 0%, transparent 50%),
    #171434;
  border-top: 1px solid rgba(255,87,51,.09);
}

/* ── PROCESO — blueprint: grid violet + atmósfera inferior */
#proceso {
  position: relative;
  background:
    radial-gradient(ellipse 70% 65% at 50% 110%, rgba(151,71,255,.11) 0%, transparent 62%),
    radial-gradient(ellipse 40% 40% at 10%  10%, rgba(255,184,48,.04) 0%, transparent 50%),
    #0B0920;
  border-top: 1px solid rgba(151,71,255,.12);
}
/* Patrón blueprint encima */
#proceso::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(151,71,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151,71,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, #000 25%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
#proceso > * { position: relative; z-index: 1; }

/* ── FAQ — cyan suave centrado + amber esquina */
#faq {
  background:
    radial-gradient(ellipse 65% 75% at 25%  50%, rgba(0,229,255,.05)  0%, transparent 58%),
    radial-gradient(ellipse 50% 55% at 90%  15%, rgba(255,184,48,.04) 0%, transparent 50%),
    radial-gradient(ellipse 35% 45% at 70%  90%, rgba(255,87,51,.03)  0%, transparent 45%),
    #171434;
  border-top: 1px solid rgba(0,229,255,.08);
}

/* ── CONTACTO — el más dramático: coral arriba + violet explosión abajo */
#contacto {
  background:
    radial-gradient(ellipse 80% 55% at 50%  10%, rgba(255,87,51,.09)  0%, transparent 55%),
    radial-gradient(ellipse 85% 65% at 50% 100%, rgba(151,71,255,.14) 0%, transparent 62%),
    radial-gradient(ellipse 40% 30% at 50%  48%, rgba(255,184,48,.03) 0%, transparent 40%),
    #07070F;
  border-top: 1px solid rgba(255,87,51,.12);
}

/* ── FOOTER — cierre oscuro con línea degradada superior */
.footer {
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(151,71,255,.06) 0%, transparent 65%),
    #0D0C20;
  background-image:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(151,71,255,.06) 0%, transparent 65%),
    linear-gradient(90deg, transparent 0%, var(--amber) 20%, var(--coral) 50%, var(--violet) 80%, transparent 100%),
    linear-gradient(#0D0C20, #0D0C20);
  background-size: 100% 100%, 100% 2px, 100% 100%;
  background-position: center, top, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  padding-top: 56px;
  padding-bottom: 0;
}

/* ══════════════════════════════════════════════
   CLARITY OVERRIDES
   — Elements that must be brighter than --ink-2
   ══════════════════════════════════════════════ */

/* Hero subtitle — primary pitch copy, not chrome */
.hero__sub { color: #C8C2D8; }

/* Section subtitles — content, not decoration */
.section__subtitle { color: #B8B0CC; }

/* Services right-header paragraph */
.svc-header__right { color: #B0A8C4; }

/* Service descriptions on hover — show full contrast when active */
.svc-item:hover .svc-item__body p { color: var(--ink); opacity: 1; }

/* Stat labels — need to be read to give numbers meaning */
.stat-item p { color: #B0A8C4; letter-spacing: 0.09em; }

/* About descriptions */
.about__desc { color: #B0A8C4; line-height: 1.85; }
.about-item__body p { color: #A8A0BC; line-height: 1.75; }

/* Process step descriptions */
.pstep p { color: #A8A0BC; line-height: 1.72; }

/* FAQ — question buttons are scan targets, not chrome */
.faq__question { color: var(--ink); }
.faq__item.open .faq__question { color: #fff; }
.faq__answer p { color: #B0A8C4; line-height: 1.8; }

/* Contact */
.contact__sub    { color: #B0A8C4; }
.contact__detail { color: var(--ink); }

/* Form — functional UI elements need full legibility */
.form__label { color: #D0C8E0; font-weight: 500; }
.form__input::placeholder { color: #6B6480; }
.form__disclaimer { color: #8880A0; }

/* Footer */
.footer__tagline { color: #8880A0; }
.footer__link    { color: #A099B8; }
.footer__bottom  { font-size: 0.76rem; color: #7A7490; }

/* Hero scroll hint — add motion contrast since colour is low */
.hero__scroll { color: #7A7490; }
