/* ═══════════════════════════════════════════════════════════
   PRAXIS — REDESIGN EXTREMO
   Cyber-minimalista · Bento Grid · Advanced Glass · Neon Ambient
   Archivo principal de estilos · Multi-página
═══════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg:          #030303;
  --bg-1:        #0a0a0f;
  --bg-2:        #0f0f18;
  --surface:     #120825;
  --surface-2:   #120825;
  --surface-3:   #312151;
  --neon:        #9966ff;
  --neon-l:      #b388ff;
  --neon-d:      #7c4dff;
  --neon-xs:     rgba(153,102,255,0.06);
  --neon-sm:     rgba(153,102,255,0.10);
  --neon-md:     rgba(153,102,255,0.16);
  --neon-glow:   rgba(153,102,255,0.30);
  --text:        #F4F4F5;
  --text-dim:    #8a8a9e;
  --text-faint:  #4a4a6a;
  --text-neon:   #9966ff;
  --border:      rgba(153,102,255,0.12);
  --border-mid:  rgba(255,255,255,0.07);
  --border-hi:   rgba(153,102,255,0.35);
  --glass-bg:    rgba(13,13,22,0.72);
  --glass-bg-2:  rgba(18,18,30,0.85);
  --nav-h:       76px;
  --pad:         clamp(1.5rem, 5vw, 5rem);
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --tr:          0.38s var(--ease);
  --tr-fast:     0.22s var(--ease);
  --font-display: 'Satoshi', sans-serif;
  --font-body:    'Satoshi', sans-serif;
  --font-accent:  'Instrument Serif', serif;
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
}
body { font-weight: 400; }
h1, h2, h3, h4,
.hero-title, .section-title-big, .manifesto-text,
.srv-title, .contact-info-title, .m-num, .logo-text, .team-name,
.page-title, .plan-price, .post-title {
  font-weight: 700 !important;
}
.accent, .highlight, .italic, .big-quote {
  font-family: var(--font-accent) !important;
  font-weight: 400 !important;
  font-style: italic;
  letter-spacing: 0.02em;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--neon-d), var(--neon));
  border-radius: 10px;
}
body::before {
  content: '';
  position: fixed; top: -20vh; right: -15vw;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at 60% 40%,
    rgba(153,102,255,0.07) 0%,
    rgba(124,77,255,0.04) 40%,
    transparent 0%);
  pointer-events: none; z-index: 0;
  filter: blur(60px);
}
body::after {
  content: '';
  position: fixed; bottom: -10vh; left: -10vw;
  width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
  background: radial-gradient(circle,
    rgba(153,102,255,0.05) 0%,
    transparent 65%);
  pointer-events: none; z-index: 0;
  filter: blur(80px);
}
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 8s steps(1) infinite;
}
@keyframes grain-shift {
  0%,100%{transform:translate(0,0)} 10%{transform:translate(-2%,-3%)}
  20%{transform:translate(3%,1%)} 30%{transform:translate(-1%,4%)}
  40%{transform:translate(2%,-2%)} 50%{transform:translate(-3%,3%)}
  60%{transform:translate(1%,-1%)} 70%{transform:translate(-2%,2%)}
  80%{transform:translate(3%,-3%)} 90%{transform:translate(-1%,1%)}
}
#cursor, #cursorFollower {
  position: fixed; top: 0; left: 0;
  border-radius: 50%; pointer-events: none;
  z-index: 10000; transform: translate(-50%, -50%);
  will-change: left, top;
}
#cursor {
  width: 8px; height: 8px;
  background: var(--neon);
  mix-blend-mode: difference;
  box-shadow: 0 0 12px var(--neon-glow), 0 0 24px rgba(153,102,255,0.15);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.2s;
}
#cursorFollower {
  width: 34px; height: 34px;
  border: 1px solid rgba(153,102,255,0.4);
  background: transparent;
  transition: left 0.09s linear, top 0.09s linear, width 0.28s var(--ease), height 0.28s var(--ease), border-color 0.25s, opacity 0.2s;
}
#cursor.hover { width: 48px; height: 48px; background: var(--text); box-shadow: none; }
#cursorFollower.hover { width: 0; height: 0; border-color: transparent; opacity: 0; }

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(3,3,3,0.6);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
#header.scrolled {
  border-color: var(--border);
  background: rgba(3,3,3,0.85);
  box-shadow: 0 1px 40px rgba(0,0,0,0.6), 0 0 0 0.5px rgba(153,102,255,0.08);
}
.logo-link {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; position: relative;
}
.logo-icon { height: 32px; width: auto; border-radius: 4px; display: block; object-fit: contain; }
.logo-main { height: 22px; width: auto; display: block; object-fit: contain; }
.logo-link::after {
  content: '';
  position: absolute; bottom: -8px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--neon), transparent);
  transition: width 0.5s var(--ease);
}
.logo-link:hover::after { width: 100%; }
.logo-link:active { transform: scale(0.96); }
#navLinks { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.11em;
  color: var(--text-dim); text-decoration: none;
  position: relative; transition: color var(--tr-fast);
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); padding: 0;
}
.nav-link::before {
  content: '';
  position: absolute; left: 50%; bottom: -5px;
  width: 0; height: 1px;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  transition: width var(--tr), left var(--tr);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::before, .nav-link.active::before { width: 100%; left: 0; }
.nav-cta {
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-lg);
  color: var(--text);
  background: var(--neon-xs);
  backdrop-filter: blur(8px);
  transition: background var(--tr-fast), border-color var(--tr-fast),
              color var(--tr-fast), box-shadow var(--tr-fast), transform var(--tr-fast);
}
.nav-cta::before { display: none; }
.nav-cta:hover {
  background: var(--neon); border-color: var(--neon); color: #000;
  box-shadow: 0 0 24px var(--neon-glow); transform: translateY(-1px);
}

/* Dropdown nav (servicios) */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(8,4,18,0.96);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 0.6rem;
  display: flex; flex-direction: column; gap: 2px;
  min-width: 240px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(153,102,255,0.06);
  z-index: 510;
}
/* Puente invisible para que el hover no se rompa al cruzar el gap entre link y menú */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 100%;
  height: 20px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  font-size: 0.72rem; padding: 0.7rem 0.9rem;
  border-radius: var(--r-sm); color: var(--text-dim);
  text-decoration: none; text-transform: none;
  letter-spacing: 0.02em; font-weight: 500;
  transition: background var(--tr-fast), color var(--tr-fast);
}
.nav-dropdown-menu a:hover { color: var(--text); background: var(--neon-xs); }
.nav-dropdown-menu a::before { display: none; }

#hamburger {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer;
  padding: 8px 10px; flex-direction: column; gap: 5px;
  transition: border-color var(--tr-fast);
}
#hamburger:hover { border-color: var(--neon); }
#hamburger span {
  display: block; width: 20px; height: 1px;
  background: var(--text); transition: var(--tr); transform-origin: center;
}
#hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  #hamburger { display: flex; }
  #navLinks {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: rgba(3,3,3,0.97);
    backdrop-filter: blur(32px) saturate(1.5);
    -webkit-backdrop-filter: blur(32px) saturate(1.5);
    padding: 2rem var(--pad); gap: 1.5rem; z-index: 499;
    transform: translateY(-110%); opacity: 0;
    transition: transform 0.42s var(--ease), opacity 0.32s;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 40px 60px rgba(0,0,0,0.8);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  #navLinks.open { transform: translateY(0); opacity: 1; }
  .nav-link { font-size: 0.9rem; }
  .nav-cta { padding: 0.8rem 1.8rem; }
  .nav-dropdown-menu {
    position: static; transform: none; opacity: 1; pointer-events: auto;
    background: transparent; border: none; box-shadow: none; padding: 0.5rem 0 0 1rem;
    min-width: 0;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-menu a { font-size: 0.78rem; padding: 0.45rem 0; }
}

main { padding-top: var(--nav-h); position: relative; z-index: 1; }
section { padding: clamp(4.5rem, 9vw, 8.5rem) var(--pad); position: relative; overflow: hidden; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(3rem, 8vw, 6rem) var(--pad); position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(153,102,255,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(124,77,255,0.06) 0%, transparent 55%);
  pointer-events: none;
}
#heroShader {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 50%;
  pointer-events: none; z-index: 0; opacity: 0.55;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, transparent 100%);
}
.hero-bg-glow, .hero-bg-glow-2 { display: none; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 2.8rem;
  background: var(--glass-bg); border: 1px solid var(--border);
  padding: 0.55rem 1.1rem; border-radius: var(--r-lg);
  backdrop-filter: blur(16px); width: fit-content;
  position: relative; overflow: hidden; z-index: 1;
}
.hero-badge::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(153,102,255,0.06) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: badge-sweep 4s ease-in-out infinite;
}
@keyframes badge-sweep {
  0%   { transform: translateX(-100%); }
  40%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(153,102,255,0.2), 0 0 10px var(--neon);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(153,102,255,0.2), 0 0 10px var(--neon); }
  50%       { box-shadow: 0 0 0 6px rgba(153,102,255,0.08), 0 0 20px var(--neon); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 10vw, 9.5rem);
  line-height: 0.9; letter-spacing: -0.025em;
  margin-bottom: 0.35em; max-width: 20ch;
  position: relative; z-index: 1;
}
.hero-title .stroke {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.473); display: block;
}
.hero-title .accent {
  color: var(--neon);
  text-shadow: 0 0 60px rgba(153,102,255,0.35), 0 0 120px rgba(153,102,255,0.15);
}
.hero-divider {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--neon-d) 0%, rgba(153,102,255,0.2) 50%, transparent 100%);
  margin: 3rem 0; position: relative; z-index: 1;
}
.hero-bottom {
  display: grid; grid-template-columns: 1fr auto;
  gap: 3rem; align-items: start; position: relative; z-index: 1;
}
.hero-desc { font-size: clamp(0.9rem, 1.4vw, 1.05rem); color: var(--text-dim); max-width: 500px; line-height: 1.85; }
.hero-cta-wrap { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
@media (max-width: 768px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 2rem; }
  .hero-cta-wrap { flex-direction: column; align-items: flex-start; }
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.95rem 2rem; background: var(--neon); color: #000;
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: none; border-radius: var(--r-sm); cursor: pointer;
  text-decoration: none; position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background 0.3s;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: left 0.55s var(--ease);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 48px rgba(153,102,255,0.45), 0 0 0 1px rgba(255,255,255,0.06) inset; background: var(--neon-l); }
.btn-primary:hover::before { left: 100%; }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.95rem 2rem; background: transparent;
  border: 1px solid var(--border-mid); color: var(--text-dim);
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: var(--r-sm); cursor: pointer; text-decoration: none;
  position: relative; overflow: hidden;
  transition: border-color var(--tr-fast), color var(--tr-fast), background var(--tr-fast), transform var(--tr-fast);
}
.btn-ghost-outline::before {
  content: ''; position: absolute; inset: 0;
  background: var(--neon-xs); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.btn-ghost-outline:hover { border-color: var(--neon); color: var(--neon); transform: translateY(-2px); }
.btn-ghost-outline:hover::before { transform: scaleX(1); }
.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: var(--pad);
  display: flex; align-items: center; gap: 12px;
  font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-faint); z-index: 1;
}
.scroll-line {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, var(--neon), transparent);
  animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { width: 40px; opacity: 1; }
  50%       { width: 16px; opacity: 0.3; }
}

/* ══════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════ */
.marquee-strip {
  overflow: hidden; padding: 1.2rem 0;
  background: linear-gradient(135deg, var(--neon-d) 0%, var(--neon) 50%, var(--neon-d) 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 60px rgba(153,102,255,0.2), 0 1px 0 rgba(255,255,255,0.04) inset;
  position: relative; z-index: 2;
}
.marquee-track {
  display: flex; white-space: nowrap; width: max-content;
  animation: marquee-scroll 18s linear infinite;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-display); font-size: clamp(0.95rem, 1.8vw, 1.3rem);
  font-style: italic; color: rgba(0,0,0,0.8);
  padding: 0 1.8rem; display: flex; align-items: center; gap: 1.8rem;
}
.marquee-sep { display: inline-block; width: 5px; height: 5px; background: rgba(0,0,0,0.3); border-radius: 50%; flex-shrink: 0; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   MANIFESTO
══════════════════════════════════════════ */
.manifesto {
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative;
}
.manifesto::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(153,102,255,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.manifesto-inner { max-width: 1100px; position: relative; z-index: 1; }
.manifesto-label {
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--neon); margin-bottom: 2rem; display: flex; align-items: center; gap: 10px;
}
.manifesto-label::after { content: ''; flex: 1; max-width: 48px; height: 1px; background: var(--neon); opacity: 0.5; }
.manifesto-text { font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 3rem); line-height: 1.18; letter-spacing: -0.01em; }
.manifesto-text .muted { color: var(--text-dim); }
.manifesto-text .highlight { color: var(--neon); font-style: italic; text-shadow: 0 0 40px rgba(153,102,255,0.3); }

/* ══════════════════════════════════════════
   SECTION LABELS / TITLES
══════════════════════════════════════════ */
.section-label {
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--neon); display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem;
}
.section-label::after { content: ''; flex: 1; max-width: 48px; height: 1px; background: var(--neon); opacity: 0.5; }
.section-title-big {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 1; letter-spacing: -0.025em; margin-bottom: 1rem;
}
.section-title-big .accent { color: var(--neon); text-shadow: 0 0 40px rgba(153,102,255,0.3); }
.section-title-big .italic { font-style: italic; }

/* ══════════════════════════════════════════
   METRICS
══════════════════════════════════════════ */
.metrics-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border); overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(153,102,255,0.04) inset;
}
.metric-card {
  background: var(--surface-2); padding: 3rem 2.5rem;
  transition: background var(--tr-fast); position: relative; overflow: hidden;
}
.metric-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--neon-d), var(--neon), var(--neon-l));
  opacity: 0; transition: opacity var(--tr-fast);
}
.metric-card:hover { background: var(--surface-3); }
.metric-card:hover::after { opacity: 1; }
.m-num {
  font-family: var(--font-display); font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  color: var(--neon); line-height: 1; margin-bottom: 1rem; letter-spacing: -0.03em;
  text-shadow: 0 0 40px rgba(153,102,255,0.25);
}
.m-label { font-size: 0.62rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.7rem; }
.m-text { font-size: 0.82rem; color: var(--text-dim); line-height: 1.75; }
@media (max-width: 768px) { .metrics-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════
   WORK / PORTFOLIO 3D
══════════════════════════════════════════ */
#portfolio3d {
  position: relative; width: 100%; height: 480px; margin-top: 3rem;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: grab;
}
#portfolio3d:active { cursor: grabbing; }
#portfolio3d .hint3d {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(153,102,255,0.38); pointer-events: none; white-space: nowrap;
}
.g3d-scene { perspective: 1600px; width: 260px; height: 260px; position: relative; transition: transform 0.3s ease; }
#g3dRing { width: 100%; height: 100%; transform-style: preserve-3d; position: relative; }
.g3d-card {
  position: absolute; width: 280px; height: 200px; left: 50%; top: 50%;
  margin-left: -140px; margin-top: -100px; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(153,102,255,0.28); background: #120825; cursor: pointer;
  transition: box-shadow 0.35s;
}
.g3d-card:hover { box-shadow: 0 0 50px rgba(153,102,255,0.25), 0 20px 50px rgba(0,0,0,0.6); }
.g3d-card img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.82) saturate(0.88); transition: filter 0.4s; }
.g3d-card:hover img { filter: brightness(1) saturate(1); }
.g3d-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 13px 13px;
  background: linear-gradient(to top, rgba(3,3,3,0.9) 0%, transparent 100%);
  font-family: var(--font-body, sans-serif); font-size: 0.6rem; letter-spacing: 0.11em;
  text-transform: uppercase; color: #9966ff;
}
@media (max-width: 900px) { .g3d-scene { transform: scale(0.85); } }
@media (max-width: 600px) { .g3d-scene { transform: scale(0.70); } }
@media (max-width: 400px) { .g3d-scene { transform: scale(0.60); } }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.services-intro { font-size: clamp(0.86rem, 1.2vw, 0.98rem); color: var(--text-dim); max-width: 560px; margin-bottom: 4rem; line-height: 1.85; }
.services-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.service-row {
  display: grid; grid-template-columns: 56px 1fr auto;
  align-items: start; gap: 1.5rem;
  padding: 2rem 2.2rem;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(13,13,22,0.55) 0%, rgba(18,18,30,0.55) 100%);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer; position: relative; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.42s var(--ease), border-color 0.42s var(--ease),
              background 0.42s var(--ease), box-shadow 0.42s var(--ease);
}
/* glow radial que sigue al mouse */
.service-row::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle 220px at var(--mx, 50%) var(--my, 50%),
              rgba(153,102,255,0.13) 0%, transparent 60%);
  opacity: 0; pointer-events: none;
  transition: opacity 0.32s var(--ease);
}
/* línea neon arriba */
.service-row::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--neon), transparent);
  box-shadow: 0 0 12px var(--neon);
  transition: width 0.6s var(--ease);
}
.service-row:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  background: linear-gradient(135deg, rgba(18,18,30,0.7) 0%, rgba(28,18,50,0.6) 100%);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(153,102,255,0.18);
}
.service-row:hover::before { opacity: 1; }
.service-row:hover::after { width: 100%; }
.service-row:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 4px;
}
.service-row:active { transform: translateY(-2px); }

.srv-num {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--neon-d); font-family: var(--font-body);
  padding-top: 0.45rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border-mid); border-radius: 50%;
  background: var(--neon-xs);
  transition: all 0.32s var(--ease);
}
.service-row:hover .srv-num {
  color: var(--neon); border-color: var(--border-hi);
  background: var(--neon-sm); transform: rotate(8deg);
}

.srv-body { position: relative; z-index: 1; }
.srv-title {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.015em; margin-bottom: 0.7rem; line-height: 1.2;
  transition: color 0.28s;
}
.service-row:hover .srv-title { color: var(--neon-l); }
.srv-desc {
  font-size: 0.82rem; color: var(--text-dim);
  line-height: 1.75; margin-bottom: 1rem;
}
.srv-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 1.2rem; }
.srv-tag {
  font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border-mid); padding: 4px 9px; border-radius: var(--r-lg);
  transition: border-color var(--tr-fast), background var(--tr-fast), color var(--tr-fast);
}
.service-row:hover .srv-tag {
  border-color: rgba(153,102,255,0.4);
  background: var(--neon-xs);
  color: var(--neon-l);
}

/* CTA visible "Ver servicio →" */
.srv-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--neon);
  padding: 9px 16px;
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  background: var(--neon-xs);
  transition: all 0.32s var(--ease);
}
.srv-cta-arrow {
  display: inline-block;
  transition: transform 0.32s var(--ease-spring);
}
.service-row:hover .srv-cta {
  background: var(--neon);
  color: #0a0a0f;
  border-color: var(--neon);
  box-shadow: 0 6px 20px rgba(153,102,255,0.35);
}
.service-row:hover .srv-cta-arrow { transform: translateX(4px); }

.srv-arrow {
  font-size: 1.4rem; color: var(--text-faint);
  padding-top: 0.3rem;
  transition: transform 0.32s var(--ease-spring), color 0.28s;
}
.service-row:hover .srv-arrow {
  transform: translate(6px, -6px); color: var(--neon);
}

@media (max-width: 900px) {
  .services-list { grid-template-columns: 1fr; gap: 1rem; }
  .services-intro { margin-bottom: 2.5rem; }
}
@media (max-width: 600px) {
  .service-row {
    grid-template-columns: auto 1fr;
    grid-template-areas: "num arrow" "body body";
    gap: 0.9rem 1rem;
    padding: 1.5rem 1.4rem;
  }
  .srv-num { grid-area: num; padding-top: 0; }
  .srv-arrow { grid-area: arrow; justify-self: end; display: block; padding-top: 0.4rem; }
  .srv-body { grid-area: body; }
  .srv-cta { width: fit-content; }
  /* Sin hover en táctil — mostramos la línea neon siempre para indicar interactividad */
  .service-row::after { width: 60%; opacity: 0.6; }
  /* Active state (al tocar) en lugar de hover */
  .service-row:active {
    transform: scale(0.98);
    border-color: var(--border-hi);
    background: linear-gradient(135deg, rgba(18,18,30,0.7) 0%, rgba(28,18,50,0.6) 100%);
  }
  .service-row:active .srv-cta {
    background: var(--neon); color: #0a0a0f; border-color: var(--neon);
  }
}
/* Pantallas táctiles sin hover: estado visual permanente más activo */
@media (hover: none) and (pointer: coarse) {
  .service-row::after { width: 45%; opacity: 0.5; }
  .service-row:hover { transform: none; box-shadow: none; }
  .service-row:hover .srv-num { transform: none; }
}

/* ══════════════════════════════════════════
   ABOUT / TEAM
══════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; margin-bottom: 5rem; }
.about-text p { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 1.5rem; line-height: 1.9; }
.about-text p strong { color: var(--text); font-weight: 700; }
.about-text .big-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.35; color: var(--text);
  border-left: 2px solid var(--neon); padding-left: 1.5rem; margin: 2rem 0;
  letter-spacing: -0.01em; text-shadow: 0 0 30px rgba(153,102,255,0.1);
}
.about-visual { position: sticky; top: calc(var(--nav-h) + 2rem); display: flex; justify-content: center; }
.about-img-stack { position: relative; width: 100%; max-width: 380px; }
.about-img-main {
  width: 100%; aspect-ratio: 9/16; object-fit: cover;
  border-radius: var(--r-lg); display: block;
  max-height: calc(100vh - var(--nav-h) - 4rem);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(153,102,255,0.06) inset, 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(153,102,255,0.08);
}
.about-img-badge {
  position: absolute; bottom: -1.2rem; right: -1.2rem;
  background: var(--glass-bg-2); border: 1px solid var(--border-hi);
  backdrop-filter: blur(20px); padding: 1.1rem 1.4rem; border-radius: var(--r-md);
  box-shadow: 0 0 30px rgba(153,102,255,0.2), 0 16px 40px rgba(0,0,0,0.5); z-index: 2;
}
.about-img-badge span { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--neon); text-shadow: 0 0 20px rgba(153,102,255,0.5); }
.about-img-badge small { font-size: 0.58rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-dim); }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.about-tag {
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: var(--r-lg);
  transition: border-color var(--tr-fast), color var(--tr-fast), background var(--tr-fast);
}
.about-tag:hover { border-color: var(--border-hi); color: var(--neon); background: var(--neon-xs); }
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border); overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--border);
}
.team-card { background: var(--surface-2); padding: 2.5rem; transition: background var(--tr-fast); position: relative; overflow: hidden; }
.team-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(153,102,255,0.06) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--tr-fast); pointer-events: none;
}
.team-card:hover { background: var(--surface-3); }
.team-card:hover::before { opacity: 1; }
.team-avatar {
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  background: var(--neon-sm); border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; font-style: italic;
  color: var(--neon); margin-bottom: 1.5rem; overflow: visible;
  box-shadow: 0 0 20px rgba(153,102,255,0.15);
  transition: box-shadow var(--tr-fast), border-color var(--tr-fast);
}
.team-card:hover .team-avatar { box-shadow: 0 0 30px rgba(153,102,255,0.3); border-color: rgba(153,102,255,0.55); }
.team-avatar img.avatar-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.flag-bubble {
  position: absolute; bottom: -2px; right: -4px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid var(--surface-2); overflow: hidden;
  background: var(--surface-3); box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  transition: border-color var(--tr-fast);
}
.team-card:hover .flag-bubble { border-color: var(--surface-3); }
.flag-bubble img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.3rem; }
.team-role { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--neon); margin-bottom: 1rem; }
.team-bio { font-size: 0.78rem; color: var(--text-dim); line-height: 1.75; }
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { position: static; }
  .about-img-badge { right: 0; }
  .team-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq-list { margin-top: 3rem; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item.open { border-color: rgba(153,102,255,0.2); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.7rem 0; cursor: pointer; gap: 2rem;
  font-family: var(--font-body); font-size: 0.88rem; color: var(--text);
  transition: color var(--tr-fast);
}
.faq-q:hover { color: var(--neon); }
.faq-q .faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid var(--border-mid); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--text-dim);
  transition: transform 0.35s var(--ease), border-color 0.28s, color 0.28s, box-shadow 0.28s;
}
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); border-color: var(--neon); color: var(--neon); box-shadow: 0 0 12px rgba(153,102,255,0.3); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease), padding 0.3s; font-size: 0.84rem; color: var(--text-dim); line-height: 1.82; }
.faq-a-inner { padding: 0 0 1.5rem; }
.faq-item.open .faq-a { max-height: 600px; }

/* ══════════════════════════════════════════
   CONTENT CARDS (YT/IG/TT)
══════════════════════════════════════════ */
.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 2.5rem; }
.yt-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--text);
  transition: border-color var(--tr-fast), transform var(--tr-fast), box-shadow var(--tr-fast);
  display: block; position: relative;
}
.yt-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(153,102,255,0.04) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--tr-fast); pointer-events: none;
}
.yt-card:hover { border-color: var(--border-hi); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 30px rgba(153,102,255,0.1); }
.yt-card:hover::before { opacity: 1; }
.yt-thumb { width: 100%; aspect-ratio: 16/9; background: var(--surface-3); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease), filter 0.4s; filter: brightness(0.85); }
.yt-card:hover .yt-thumb img { transform: scale(1.05); filter: brightness(1); }
.yt-play {
  position: absolute; width: 44px; height: 44px;
  background: var(--glass-bg); border: 1px solid var(--border-hi); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease-spring), background 0.28s, box-shadow 0.28s;
}
.yt-card:hover .yt-play { transform: scale(1.12); background: var(--neon); border-color: var(--neon); box-shadow: 0 0 20px rgba(153,102,255,0.5); }
.yt-play svg { width: 16px; height: 16px; fill: var(--text); margin-left: 2px; }
.yt-card:hover .yt-play svg { fill: #000; }
.yt-body { padding: 1.1rem 1.2rem 1.3rem; }
.yt-title { font-size: 0.82rem; line-height: 1.55; margin-bottom: 0.4rem; }
.yt-meta { font-size: 0.65rem; color: var(--text-faint); letter-spacing: 0.05em; }
@media (max-width: 768px) { .yt-grid { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .yt-grid { gap: 10px; } }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.contact-info-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 3.2rem); line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.contact-info-title .accent { color: var(--neon); font-style: italic; text-shadow: 0 0 40px rgba(153,102,255,0.3); }
.contact-desc { font-size: 0.86rem; color: var(--text-dim); line-height: 1.85; margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail { display: flex; align-items: center; gap: 12px; font-size: 0.83rem; color: var(--text-dim); text-decoration: none; transition: color var(--tr-fast); }
.contact-detail:hover { color: var(--neon); }
.contact-icon { width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.85rem; transition: border-color var(--tr-fast), background var(--tr-fast); }
.contact-detail:hover .contact-icon { border-color: var(--neon); background: var(--neon-xs); }
.contact-form {
  display: flex; flex-direction: column; gap: 1.1rem;
  background: var(--glass-bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2.5rem; backdrop-filter: blur(24px);
  box-shadow: 0 0 0 1px rgba(153,102,255,0.04) inset, 0 40px 80px rgba(0,0,0,0.3);
}
.form-input {
  width: 100%; background: rgba(255,255,255,0.025);
  border: 1px solid var(--border-mid); color: var(--text);
  padding: 0.9rem 1rem; font-family: var(--font-body); font-size: 0.8rem;
  border-radius: var(--r-sm); outline: none;
  transition: border-color var(--tr-fast), background var(--tr-fast), box-shadow var(--tr-fast);
}
.form-input:focus { border-color: var(--neon); background: rgba(153,102,255,0.04); box-shadow: 0 0 0 3px rgba(153,102,255,0.1); }
.form-input::placeholder { color: var(--text-faint); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer { padding: 4rem var(--pad) 2.5rem; border-top: 1px solid var(--border); background: var(--surface); position: relative; }
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--neon-d) 30%, var(--neon) 50%, var(--neon-d) 70%, transparent 100%);
  opacity: 0.5;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 3rem; }
.footer-brand .logo-text { font-family: var(--font-display); font-size: 1.9rem; }
.footer-tagline { font-size: 0.72rem; color: var(--text-dim); margin-top: 0.5rem; max-width: 280px; }
.footer-col h4 { font-size: 0.62rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--neon); margin-bottom: 1.2rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-size: 0.8rem; color: var(--text-dim); text-decoration: none; transition: color var(--tr-fast); }
.footer-links a:hover { color: var(--neon); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-copy { font-size: 0.68rem; color: var(--text-faint); }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--text-dim);
  transition: border-color var(--tr-fast), color var(--tr-fast), background var(--tr-fast), box-shadow var(--tr-fast), transform var(--tr-fast);
  text-decoration: none; font-size: 0.75rem;
}
.footer-social a:hover { border-color: var(--neon); color: var(--neon); background: var(--neon-xs); box-shadow: 0 0 14px rgba(153,102,255,0.2); transform: translateY(-2px); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; width: 56px; height: 56px;
  background: #25D366; color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; z-index: 400;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35), 0 0 0 1px rgba(37,211,102,0.15);
  transition: transform 0.38s var(--ease-spring), box-shadow 0.3s; text-decoration: none;
}
.wa-float:hover { transform: scale(1.12) rotate(-8deg); box-shadow: 0 14px 36px rgba(37,211,102,0.55), 0 0 0 1px rgba(37,211,102,0.2); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1); }
[data-animate].visible { opacity: 1; transform: translateY(0); }
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="350"] { transition-delay: 0.35s; }
[data-delay="400"] { transition-delay: 0.4s; }
.bg-surface { background: var(--surface); }
.bg-default  { background: var(--bg); }
.divider { height: 1px; background: linear-gradient(90deg, transparent 0%, var(--border) 30%, var(--border) 70%, transparent 100%); margin: 0 var(--pad); }
/* ══════════════════════════════════════════
   RESPONSIVE — Pasada integral
   1024 · 900 · 768 · 480 · 360
══════════════════════════════════════════ */

/* Anti-overflow universal */
h1, h2, h3, h4,
.hero-title, .page-title, .section-title-big,
.contact-info-title, .post-title, .case-title, .plan-name,
.testimonial-quote, .srv-title, .team-name {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}
img { max-width: 100%; height: auto; }

/* ── Tablet landscape (≤1024px) ── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid .testimonial:nth-child(3) {
    grid-column: 1 / -1; max-width: 580px;
    margin-left: auto; margin-right: auto; width: 100%;
  }
  .plans-grid { gap: 1.2rem; }
}

/* ── Tablet (≤900px) ── */
@media (max-width: 900px) {
  .plan.featured { transform: none; }
  .plan.featured::before { top: 1rem; right: 1rem; }
  .blog-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .testimonials-grid {
    grid-template-columns: 1fr; max-width: 580px;
    margin-left: auto; margin-right: auto;
  }
  .testimonials-grid .testimonial:nth-child(3) {
    grid-column: auto; max-width: none;
  }
  .cases-grid { gap: 1rem; }
  .lead-magnet { padding: 2rem; gap: 1.4rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── Tablet pequeña / móvil grande (≤768px) ── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  section { padding: clamp(3rem, 8vw, 5rem) var(--pad); }
  .page-header { padding: clamp(4.5rem, 10vw, 7rem) var(--pad) clamp(2rem, 5vw, 3rem); }

  /* Tipografía fluida */
  .page-title { font-size: clamp(2.2rem, 7vw, 3.8rem); }
  .hero-title { font-size: clamp(2.8rem, 10.5vw, 5.5rem); }
  .section-title-big { font-size: clamp(1.9rem, 6vw, 3rem); }
  .manifesto-text { font-size: clamp(1.4rem, 4.5vw, 2.4rem); }
  .contact-info-title { font-size: clamp(1.7rem, 5.5vw, 2.6rem); }

  /* Paddings cards */
  .metric-card { padding: 2rem 1.6rem; }
  .team-card { padding: 1.8rem; }
  .testimonial { padding: 1.6rem; }
  .plan { padding: 2rem 1.6rem; }
  .plan-price { font-size: 2.2rem; }
  .case-body { padding: 1.3rem 1.4rem 1.6rem; }
  .post-body { padding: 1.1rem 1.3rem 1.5rem; }
  .placeholder { padding: 1.2rem 1.4rem; }

  /* Forms */
  .lead-magnet { grid-template-columns: 1fr; padding: 1.8rem 1.4rem; gap: 1.4rem; }
  .lead-magnet form { width: 100%; flex-direction: column; }
  .lead-magnet form input { min-width: 0 !important; width: 100%; }
  .lead-magnet form .btn-primary { width: 100%; justify-content: center; }

  /* Hero CTA buttons stack a ancho completo */
  .hero-cta-wrap { width: 100%; }
  .hero-cta-wrap > .btn-primary,
  .hero-cta-wrap > .btn-ghost-outline { width: 100%; justify-content: center; }

  /* Breadcrumb */
  .breadcrumb { gap: 0.4rem; font-size: 0.6rem; }

  /* WhatsApp float */
  .wa-float { width: 48px; height: 48px; bottom: 1.2rem; right: 1.2rem; }
  .wa-float svg { width: 22px; height: 22px; }

  /* About */
  .about-text .big-quote { font-size: 1.1rem; padding-left: 1rem; }
  .about-visual { max-width: 320px; margin: 0 auto; }

  /* Page lead */
  .page-lead { font-size: 0.95rem; }

  /* Content 2-col scrolleable */
  .content-2col { gap: 2rem; }
}

/* ── Móvil (≤480px) ── */
@media (max-width: 480px) {
  :root { --pad: clamp(1rem, 4vw, 2rem); }

  section { padding: 3.5rem var(--pad); }
  .page-header { padding: 4.5rem var(--pad) 2rem; }

  /* Hero */
  .hero { padding: 2.5rem var(--pad) 4rem; }
  .hero-badge { font-size: 0.55rem; padding: 0.45rem 0.85rem; letter-spacing: 0.10em; }
  .hero-title { font-size: clamp(2.4rem, 12vw, 3.8rem); max-width: 100%; }
  .hero-divider { margin: 1.8rem 0; }
  .hero-desc { font-size: 0.86rem; }

  /* Titles */
  .page-title { font-size: clamp(1.9rem, 8.5vw, 2.8rem); max-width: 100%; }
  .page-lead { font-size: 0.9rem; }
  .section-title-big { font-size: clamp(1.6rem, 7.5vw, 2.4rem); }
  .manifesto-text { font-size: clamp(1.2rem, 5.5vw, 1.9rem); }
  .contact-info-title { font-size: clamp(1.5rem, 6.5vw, 2.2rem); }

  /* Cards y métricas */
  .m-num { font-size: clamp(2.2rem, 9vw, 3rem); }
  .metric-card { padding: 1.6rem 1.2rem; }
  .team-card { padding: 1.5rem; }
  .testimonial { padding: 1.4rem; }
  .testimonial-quote { font-size: 0.86rem; }
  .plan { padding: 1.8rem 1.4rem; }
  .plan-name { font-size: 1.2rem; }
  .plan-price { font-size: 1.9rem; }
  .plan-features li { font-size: 0.78rem; padding-left: 1.4rem; }
  .case-body { padding: 1.1rem 1.2rem 1.5rem; }
  .case-metrics { gap: 0.8rem; }
  .case-metric .num { font-size: 1.1rem; }
  .case-metric .lbl { font-size: 0.55rem; }
  .case-title { font-size: 1.25rem; }

  /* Forms */
  .contact-form { padding: 1.5rem 1.2rem; gap: 0.9rem; }
  .form-input { padding: 0.85rem 0.9rem; font-size: 0.78rem; }

  /* About */
  .about-img-badge { right: 0; bottom: -1rem; padding: 0.85rem 1rem; }
  .about-img-badge span { font-size: 1.5rem; }
  .about-text .big-quote { font-size: 1rem; padding-left: 0.9rem; margin: 1.4rem 0; }

  /* Service rows — móvil muy pequeño */
  .service-row { padding: 1.5rem 1.2rem; gap: 0.9rem; }
  .srv-desc { font-size: 0.8rem; line-height: 1.65; margin-bottom: 0.85rem; }
  .srv-title { font-size: 1.15rem; margin-bottom: 0.5rem; }
  .srv-tag { font-size: 0.5rem; padding: 3px 7px; }
  .srv-tags { gap: 5px; margin-bottom: 0.9rem; }
  .srv-cta { font-size: 0.62rem; padding: 8px 14px; letter-spacing: 0.1em; }
  .srv-num { width: 34px; height: 34px; font-size: 0.62rem; }

  /* Post article */
  .post-article { padding: 1.8rem 1rem; }
  .post-article h2 { font-size: 1.3rem; margin: 1.8rem 0 0.8rem; }
  .post-article h3 { font-size: 1.1rem; margin: 1.4rem 0 0.6rem; }
  .post-article p { font-size: 0.88rem; }
  .post-article blockquote { font-size: 1rem; padding: 0.8rem 1rem; }

  /* Lead magnet */
  .lead-magnet { padding: 1.6rem 1.2rem; }
  .lead-magnet h3 { font-size: 1.15rem; }

  /* CTA section */
  .cta-section { padding: 3rem var(--pad); }
  .cta-section h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .cta-section .hero-cta-wrap { flex-direction: column; align-items: stretch; }

  /* FAQ */
  .faq-q { font-size: 0.82rem; padding: 1.3rem 0; gap: 1rem; }
  .faq-a-inner { font-size: 0.8rem; padding-bottom: 1.2rem; }

  /* Buttons */
  .btn-primary, .btn-ghost-outline { padding: 0.85rem 1.4rem; font-size: 0.66rem; }

  /* Marquee */
  .marquee-item { font-size: clamp(0.85rem, 4vw, 1.1rem); padding: 0 1.2rem; gap: 1.2rem; }
  .marquee-strip { padding: 0.9rem 0; }

  /* Page 404 */
  .page-404 .big { font-size: clamp(5rem, 22vw, 9rem); }
  .page-404 h1 { font-size: 1.4rem; }
  .page-404 .actions { flex-direction: column; width: 100%; max-width: 280px; }
  .page-404 .actions a { width: 100%; justify-content: center; }

  /* Logo header */
  .logo-icon { height: 28px; }
  .logo-main { height: 18px; }

  /* Footer */
  .footer-top { gap: 1.8rem; margin-bottom: 2rem; }
  .footer-tagline { max-width: 100%; }

  /* Plans grid stacking — quitar transform en featured */
  .plans-grid { gap: 1rem; }

  /* Blog grid */
  .blog-grid { gap: 1rem; }

  /* Cliente logos más espacio */
  .client-logos { gap: 1rem; padding: 1.8rem 0; }
  .client-logos .logo-slot { font-size: 0.55rem; }

  /* Section label */
  .section-label { font-size: 0.55rem; margin-bottom: 1.2rem; }
  .section-label::after { max-width: 32px; }

  /* Placeholders más compactos */
  .placeholder { padding: 1rem 1.1rem; }
  .placeholder::before { font-size: 0.5rem; }
  .placeholder strong { font-size: 0.7rem; }
  .placeholder span { font-size: 0.74rem; }
  .placeholder code { font-size: 0.74em; }
}

/* ── Móvil muy pequeño (≤360px) ── */
@media (max-width: 360px) {
  :root { --pad: 0.9rem; }
  .hero-title { font-size: 2.2rem; line-height: 0.95; }
  .page-title { font-size: 1.7rem; }
  .section-title-big { font-size: 1.4rem; }
  .manifesto-text { font-size: 1.1rem; }
  .hero-badge { font-size: 0.5rem; padding: 0.4rem 0.7rem; }
  .nav-link { font-size: 0.78rem; }
  .footer-social { gap: 0.5rem; }
  .footer-social a { width: 28px; height: 28px; }
}

/* ── Pantallas muy altas / orientación landscape mobile ── */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 5rem var(--pad) 3rem; }
  .hero-title { font-size: 2.4rem; }
  .scroll-indicator { display: none; }
}

/* ── Reducir movimiento (accesibilidad) ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track, .badge-dot, .scroll-line { animation: none !important; }
}

/* ══════════════════════════════════════════
   ── NUEVOS COMPONENTES MULTI-PÁGINA ──
══════════════════════════════════════════ */

/* PAGE HEADER (cabecera de páginas internas) */
.page-header {
  padding: clamp(6rem, 12vw, 10rem) var(--pad) clamp(3rem, 6vw, 5rem);
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 70% 30%, rgba(153,102,255,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(124,77,255,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; max-width: 1100px; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color var(--tr-fast); }
.breadcrumb a:hover { color: var(--neon); }
.breadcrumb span.sep { opacity: 0.4; }
.breadcrumb span.current { color: var(--neon); }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.0; letter-spacing: -0.025em;
  margin-bottom: 1.5rem; max-width: 22ch;
}
.page-title .accent { color: var(--neon); text-shadow: 0 0 60px rgba(153,102,255,0.3); }
.page-title .italic { font-style: italic; font-family: var(--font-accent); font-weight: 400 !important; }
.page-lead {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--text-dim); max-width: 640px; line-height: 1.8;
}

/* PLACEHOLDER GUIDED (huecos visibles para tu contenido) */
.placeholder {
  border: 1.5px dashed rgba(153,102,255,0.35);
  background: rgba(153,102,255,0.04);
  border-radius: var(--r-md);
  padding: 1.6rem 1.8rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  position: relative;
}
.placeholder::before {
  content: 'COMPLETA AQUÍ';
  position: absolute; top: -10px; left: 14px;
  background: var(--bg); padding: 2px 10px;
  font-size: 0.55rem; letter-spacing: 0.16em;
  color: var(--neon); border: 1px solid rgba(153,102,255,0.35);
  border-radius: var(--r-sm);
}
.placeholder strong { color: var(--neon); font-size: 0.75rem; }
.placeholder span { color: var(--text-dim); font-size: 0.78rem; line-height: 1.7; }
.placeholder code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  background: rgba(153,102,255,0.10); color: var(--neon-l);
  padding: 1px 7px; border-radius: 4px; font-size: 0.78em;
}

/* CLIENT LOGOS STRIP */
.client-logos {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem;
  align-items: center; justify-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.client-logos .logo-slot {
  width: 100%; aspect-ratio: 3/1; max-width: 160px;
  border: 1.5px dashed rgba(153,102,255,0.25);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); font-size: 0.65rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: border-color var(--tr-fast), color var(--tr-fast);
}
.client-logos .logo-slot:hover { border-color: var(--neon); color: var(--neon); }
.client-logos img { max-width: 100%; max-height: 60px; opacity: 0.7; filter: grayscale(1); transition: opacity var(--tr-fast), filter var(--tr-fast); }
.client-logos img:hover { opacity: 1; filter: grayscale(0); }
@media (max-width: 900px) { .client-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .client-logos { grid-template-columns: repeat(2, 1fr); } }

/* TESTIMONIALS */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.2rem;
  position: relative; overflow: hidden;
  transition: border-color var(--tr-fast), transform var(--tr-fast);
}
.testimonial::before {
  content: '"'; position: absolute; top: -1.5rem; left: 1.2rem;
  font-family: var(--font-accent); font-size: 7rem;
  color: rgba(153,102,255,0.10); line-height: 1; pointer-events: none;
}
.testimonial:hover { border-color: var(--border-hi); transform: translateY(-4px); }
.testimonial-quote { font-size: 0.92rem; line-height: 1.7; color: var(--text); position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--neon-sm); border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); color: var(--neon); font-size: 1rem;
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-meta { display: flex; flex-direction: column; }
.testimonial-name { font-size: 0.82rem; color: var(--text); font-weight: 600; }
.testimonial-role { font-size: 0.7rem; color: var(--text-faint); }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* CASE STUDIES (portfolio multi-card) */
.cases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.case-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column;
  transition: border-color var(--tr-fast), transform var(--tr-fast), box-shadow var(--tr-fast);
  position: relative;
}
.case-card:hover { border-color: var(--border-hi); transform: translateY(-5px); box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 30px rgba(153,102,255,0.10); }
.case-thumb { width: 100%; aspect-ratio: 16/10; background: var(--surface-3); position: relative; overflow: hidden; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: transform 0.55s var(--ease), filter 0.4s; }
.case-card:hover .case-thumb img { transform: scale(1.05); filter: brightness(1); }
.case-thumb-empty {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
  color: var(--text-faint); font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.case-body { padding: 1.6rem 1.8rem 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.case-meta {
  display: flex; gap: 1rem; align-items: center;
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint);
}
.case-meta .dot { color: var(--neon); }
.case-title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.015em; line-height: 1.1; }
.case-desc { font-size: 0.82rem; color: var(--text-dim); line-height: 1.75; }
.case-metrics { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 0.4rem; }
.case-metric { display: flex; flex-direction: column; }
.case-metric .num { font-family: var(--font-display); font-size: 1.3rem; color: var(--neon); }
.case-metric .lbl { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
@media (max-width: 768px) { .cases-grid { grid-template-columns: 1fr; } }

/* PLANES / PRECIOS */
.plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.plan {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2.5rem 2rem;
  display: flex; flex-direction: column; gap: 1.2rem;
  position: relative; overflow: hidden;
  transition: border-color var(--tr-fast), transform var(--tr-fast);
}
.plan.featured {
  border-color: var(--border-hi);
  background: linear-gradient(180deg, rgba(153,102,255,0.08), var(--surface-2));
  box-shadow: 0 0 60px rgba(153,102,255,0.10), 0 0 0 1px rgba(153,102,255,0.10) inset;
  transform: translateY(-4px);
}
.plan.featured::before {
  content: 'MÁS POPULAR';
  position: absolute; top: 1.4rem; right: 1.4rem;
  font-size: 0.55rem; letter-spacing: 0.14em;
  background: var(--neon); color: #000;
  padding: 4px 10px; border-radius: var(--r-sm); font-weight: 700;
}
.plan:hover { transform: translateY(-6px); border-color: var(--border-hi); }
.plan-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); }
.plan-notice {
  display: inline-flex; align-items: center;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--neon); background: var(--neon-xs);
  border: 1px solid rgba(153,102,255,0.25);
  padding: 5px 10px; border-radius: var(--r-sm);
  margin: 0.5rem 0 0.3rem; line-height: 1.4;
  text-transform: uppercase;
}
.plan-sub { font-size: 0.75rem; color: var(--text-dim); line-height: 1.6; min-height: 2.6em; }
.plan-price {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--neon);
  line-height: 1; display: flex; align-items: baseline; gap: 8px;
  margin: 0.5rem 0; letter-spacing: -0.02em;
}
.plan-price small { font-size: 0.7rem; color: var(--text-dim); font-weight: 400 !important; }
.plan-features { display: flex; flex-direction: column; gap: 0.7rem; margin: 0.5rem 0 1.5rem; flex: 1; }
.plan-features li {
  list-style: none; padding-left: 1.6rem; position: relative;
  font-size: 0.82rem; color: var(--text-dim); line-height: 1.55;
}
.plan-features li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--neon-sm); color: var(--neon);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}
.plan-features li.excluded { color: var(--text-faint); text-decoration: line-through; opacity: 0.5; }
.plan-features li.excluded::before { content: '×'; background: rgba(255,255,255,0.04); color: var(--text-faint); }
@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; } .plan.featured { transform: none; } }

/* BLOG LIST + POST */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.post-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  text-decoration: none; color: var(--text);
  display: flex; flex-direction: column;
  transition: border-color var(--tr-fast), transform var(--tr-fast);
}
.post-card:hover { border-color: var(--border-hi); transform: translateY(-4px); }
.post-thumb { width: 100%; aspect-ratio: 16/10; background: linear-gradient(135deg, var(--surface-2), var(--surface-3)); position: relative; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb-empty { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-faint); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; }
.post-body { padding: 1.4rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; }
.post-meta { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); display: flex; gap: 0.8rem; align-items: center; }
.post-cat { color: var(--neon); }
.post-title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; }
.post-excerpt { font-size: 0.78rem; color: var(--text-dim); line-height: 1.7; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* BLOG POST (article) */
.post-article {
  max-width: 760px; margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--pad);
}
.post-article h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.4rem 0 1rem; letter-spacing: -0.015em; }
.post-article h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 1.8rem 0 0.8rem; color: var(--neon); }
.post-article p { font-size: 0.95rem; color: var(--text-dim); line-height: 1.85; margin-bottom: 1.2rem; }
.post-article ul, .post-article ol { padding-left: 1.5rem; margin: 1rem 0 1.4rem; }
.post-article li { font-size: 0.92rem; color: var(--text-dim); margin: 0.4rem 0; line-height: 1.7; }
.post-article blockquote {
  border-left: 3px solid var(--neon); padding: 1rem 1.4rem;
  background: var(--neon-xs); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--font-accent); font-style: italic; font-size: 1.1rem;
  margin: 1.6rem 0; color: var(--text);
}
.post-article a { color: var(--neon-l); border-bottom: 1px dotted rgba(153,102,255,0.4); text-decoration: none; }
.post-article a:hover { color: var(--neon); border-bottom-color: var(--neon); }
.post-share {
  display: flex; gap: 0.8rem; align-items: center; margin: 3rem 0;
  padding: 1.2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  font-size: 0.7rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase;
}
.post-share a {
  width: 32px; height: 32px; border: 1px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); text-decoration: none;
  transition: border-color var(--tr-fast), color var(--tr-fast);
}
.post-share a:hover { border-color: var(--neon); color: var(--neon); }

/* LEAD MAGNET CTA STRIP */
.lead-magnet {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-3) 100%);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  padding: 2.5rem; margin: 4rem auto; max-width: 900px;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem;
  align-items: center; position: relative; overflow: hidden;
}
.lead-magnet::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(153,102,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.lead-magnet > * { position: relative; z-index: 1; }
.lead-magnet h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 0.5rem; line-height: 1.2; }
.lead-magnet p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; }
@media (max-width: 768px) { .lead-magnet { grid-template-columns: 1fr; text-align: left; } }

/* 404 PAGE */
.page-404 {
  min-height: calc(100vh - var(--nav-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: var(--pad);
}
.page-404 .big { font-family: var(--font-display); font-size: clamp(7rem, 18vw, 14rem); color: var(--neon); line-height: 1; text-shadow: 0 0 80px rgba(153,102,255,0.4); }
.page-404 h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 1rem 0; }
.page-404 p { color: var(--text-dim); max-width: 480px; margin-bottom: 2rem; }
.page-404 .actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* TWO-COL CONTENT (servicio detail) */
.content-2col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; margin: 3rem 0; }
.content-2col h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 1rem; letter-spacing: -0.015em; }
.content-2col p { font-size: 0.92rem; color: var(--text-dim); line-height: 1.85; margin-bottom: 1rem; }
.content-side { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 2rem; position: sticky; top: calc(var(--nav-h) + 2rem); }
.content-side h4 { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--neon); margin-bottom: 1rem; }
.content-side ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.content-side ul li { font-size: 0.8rem; color: var(--text-dim); padding-left: 1.2rem; position: relative; }
.content-side ul li::before { content: '→'; position: absolute; left: 0; color: var(--neon); }
@media (max-width: 900px) { .content-2col { grid-template-columns: 1fr; gap: 2rem; } .content-side { position: static; } }

/* CTA Section (genérica para cualquier página) */
.cta-section {
  text-align: center; padding: clamp(4rem, 7vw, 6rem) var(--pad);
  background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(153,102,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1rem; max-width: 22ch; margin-inline: auto; letter-spacing: -0.02em; line-height: 1.15; }
.cta-section h2 .accent { color: var(--neon); font-style: italic; font-family: var(--font-accent); font-weight: 400 !important; }
.cta-section p { color: var(--text-dim); max-width: 540px; margin: 0 auto 2rem; }
.cta-section .hero-cta-wrap { justify-content: center; }
