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

/* === TOKENS === */
:root {
  --bg:        #080808;
  --bg-card:   rgba(255,255,255,0.03);
  --bg-card-h: rgba(255,255,255,0.055);
  --purple:    #7C3AED;
  --purple-lt: #9F67FF;
  --gold:      #C9A254;
  --white:     #F8F8F8;
  --muted:     rgba(248,248,248,0.45);
  --border:    rgba(255,255,255,0.07);
  --border-lt: rgba(255,255,255,0.13);
}

/* === BASE === */
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--white); font-family: 'Inter', sans-serif; overflow-x: hidden; }
@media (pointer: fine) { body { cursor: none; } a, button { cursor: none; } }

/* === CUSTOM CURSOR === */
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 99999; pointer-events: none;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(159,103,255,0.7);
  margin: -18px 0 0 -18px;
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.cursor-ring.ring--hover {
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  background: rgba(124,58,237,0.12);
  border-color: var(--purple-lt);
}
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 99999; pointer-events: none;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--purple-lt);
  margin: -2.5px 0 0 -2.5px;
  will-change: transform;
}
h1, h2, h3, h4 { font-family: 'Manrope', sans-serif; }
a { text-decoration: none; color: inherit; }

/* === HEADER === */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 6vw;
  transition: background 0.4s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  padding: 14px 6vw;
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(24px);
  border-color: var(--border);
}
.logo { display: flex; align-items: center; gap: 1px; }
.logo-s    { font-family: 'Manrope', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--purple-lt); }
.logo-rest { font-family: 'Manrope', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--white); }
nav { display: flex; align-items: center; gap: 36px; }
nav a { font-size: 0.82rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
nav a:hover { color: var(--white); }
.nav-cta {
  background: var(--purple) !important; color: var(--white) !important;
  padding: 9px 22px; border-radius: 100px;
  font-size: 0.8rem !important; font-weight: 600 !important;
  transition: background 0.25s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--purple-lt) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero-scroll-zone {
  height: 200vh;
  position: relative;
}
.hero {
  position: sticky; top: 0;
  height: 100vh; min-height: 640px;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; }
.vanta-hero { position: absolute; inset: 0; z-index: 0; }
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
}

/* Aurora layer (removed — replaced by Vanta) */
.aurora-layer {
  position: absolute; inset: -50%; width: 200%; height: 200%;
  background:
    radial-gradient(ellipse 55% 55% at 20% 45%, rgba(124,58,237,0.75) 0%, transparent 60%),
    radial-gradient(ellipse 45% 65% at 78% 25%, rgba(236,72,153,0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 55% 85%, rgba(201,162,84,0.45) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 8% 75%,  rgba(59,130,246,0.45) 0%, transparent 60%);
  filter: blur(55px);
  animation: auroraDrift 8s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  0%   { transform: translate(0,0) rotate(0deg) scale(1); }
  100% { transform: translate(-8%,4%) rotate(4deg) scale(1.06); }
}

/* Morphing blob near photo */
.morph-blob {
  position: absolute; width: 560px; height: 560px;
  background: linear-gradient(135deg, rgba(124,58,237,0.55), rgba(236,72,153,0.35));
  filter: blur(90px); pointer-events: none;
  right: -80px; top: 50%; transform: translateY(-50%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blobMorph 9s ease-in-out infinite alternate;
}
@keyframes blobMorph {
  0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50%  { border-radius: 50% 60% 30% 60% / 30% 40% 60% 50%; }
  75%  { border-radius: 60% 40% 60% 40% / 40% 50% 60% 30%; }
  100% { border-radius: 40% 60% 40% 60% / 60% 40% 50% 60%; }
}

/* Sweeping light beams */
.light-beam {
  position: absolute; top: -10%; width: 3px; height: 120%;
  background: linear-gradient(to bottom, transparent 0%, rgba(159,103,255,0.6) 40%, rgba(201,162,84,0.4) 60%, transparent 100%);
  filter: blur(6px); pointer-events: none;
  animation: beamSweep 8s ease-in-out infinite;
}
.beam-2 { animation: beamSweep 8s ease-in-out infinite; animation-delay: -4s; opacity: 0.6; }
@keyframes beamSweep {
  0%   { left: -5%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}

/* Dot grid */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
}
.noise {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.04;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 0 6vw; width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.hero-text { flex: 1; max-width: 580px; }

/* === PHOTO PLACEHOLDER === */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.hero-photo-wrap {
  position: relative; flex-shrink: 0;
  width: 340px; height: 440px;
  --border-angle: 0deg;
  animation: rotateBorder 4s linear infinite;
}
@keyframes rotateBorder { to { --border-angle: 360deg; } }
.hero-photo-wrap::before {
  content: ''; position: absolute; inset: -3px; border-radius: 28px; z-index: -1;
  background: conic-gradient(from var(--border-angle), #7C3AED, #C084FC 25%, #C9A254 50%, #EC4899 75%, #7C3AED);
}
.hero-photo-inner {
  width: 100%; height: 100%; border-radius: 24px;
  background: #0F0F14;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; border: 1px solid rgba(255,255,255,0.06);
}
.photo-placeholder-icon { font-size: 4rem; opacity: 0.25; }
.photo-placeholder-text { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero-photo-layer {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  opacity: 0;
  transition: opacity 0.25s ease;
  display: block;
  border-radius: inherit;
}
.hero-photo-layer.active { opacity: 1; }
.photo-accent {
  position: absolute; border-radius: 50%;
  filter: blur(40px); pointer-events: none; z-index: -2;
}
.photo-accent-1 { width: 200px; height: 200px; background: rgba(124,58,237,0.5); top: -40px; right: -40px; }
.photo-accent-2 { width: 150px; height: 150px; background: rgba(201,162,84,0.4); bottom: -30px; left: -30px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.3);
  padding: 7px 18px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 600; color: var(--purple-lt);
  letter-spacing: 0.04em; margin-bottom: 30px;
}
.tag-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple-lt);
  flex-shrink: 0; animation: tagPulse 2s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.hero-h1 {
  position: relative;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -0.03em; color: var(--white);
  margin-bottom: 24px;
  animation: glitchFire 6s infinite;
  text-wrap: balance;
}
.hero-h1::before, .hero-h1::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  font-size: inherit; font-weight: inherit; line-height: inherit;
  letter-spacing: inherit; white-space: pre-wrap;
  pointer-events: none;
}
.hero-h1::before {
  color: var(--purple-lt); opacity: 0;
  animation: glitchTop 6s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 38%, 0 38%);
}
.hero-h1::after {
  color: var(--gold); opacity: 0;
  animation: glitchBot 6s infinite 0.08s;
  clip-path: polygon(0 62%, 100% 62%, 100% 100%, 0 100%);
}
@keyframes glitchFire {
  0%,88%,100% { transform: none; }
  89% { transform: translate(-3px,0); }
  90% { transform: translate(3px,0); }
  91% { transform: translate(0); }
  93% { transform: translate(2px,1px); }
  94% { transform: none; }
}
@keyframes glitchTop {
  0%,88%,100% { opacity:0; transform:none; }
  89% { opacity:0.8; transform:translate(-4px,-2px); }
  90% { opacity:0.8; transform:translate(4px,0); }
  91% { opacity:0; }
}
@keyframes glitchBot {
  0%,88%,100% { opacity:0; transform:none; }
  89% { opacity:0.7; transform:translate(4px,2px); }
  90% { opacity:0.7; transform:translate(-4px,0); }
  91% { opacity:0; }
}
.hero-h1 .hero-line {
  display: block;
  white-space: nowrap;
}
.hero-h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-lt) 0%, #C084FC 45%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: clamp(0.95rem, 1.6vw, 1.1rem); color: var(--muted); line-height: 1.6; margin-bottom: 36px; }
.hero-sub .sub-line { display: block; white-space: nowrap; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* === BUTTONS === */
.btn-primary {
  display: inline-block; background: var(--purple); color: var(--white);
  padding: 13px 26px; border-radius: 100px;
  font-size: 0.87rem; font-weight: 600;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--purple-lt); transform: translateY(-2px); }
.btn-primary.btn-lg { padding: 16px 36px; font-size: 0.95rem; }
.btn-ghost {
  display: inline-block; background: rgba(255,255,255,0.05); color: var(--white);
  padding: 13px 26px; border-radius: 100px;
  font-size: 0.87rem; font-weight: 500;
  border: 1px solid var(--border-lt);
  transition: background 0.25s, transform 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-wa {
  display: inline-flex; align-items: center; gap: 9px;
  background: #25D366; color: #fff;
  padding: 14px 28px; border-radius: 100px;
  font-size: 0.87rem; font-weight: 600;
  transition: background 0.25s, transform 0.2s;
}
.btn-wa:hover { background: #1ebe59; transform: translateY(-2px); }

/* === SCROLL INDICATOR === */
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
}
.scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--border-lt));
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.hero-scroll span { font-size: 0.58rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* === ABOUT === */
.about-s, .about-page { background: var(--bg); padding: 90px 6vw; }
.about-page { padding-top: 130px; min-height: 100vh; }
.back-link {
  display: inline-flex; align-items: center;
  font-size: 0.85rem; font-weight: 600;
  color: var(--purple-lt);
  margin-bottom: 50px;
  transition: color 0.2s, transform 0.2s;
}
.back-link:hover { color: var(--white); transform: translateX(-4px); }
.nav-active { color: var(--purple-lt) !important; }
.about-cta {
  margin-top: 90px;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(159,103,255,0.04));
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 24px;
  text-align: center;
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.about-cta h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.about-cta p {
  font-size: 1rem; color: var(--muted);
  line-height: 1.6;
  margin-bottom: 26px;
}
.about-cta-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
@media (max-width: 768px) {
  .about-page { padding: 100px 20px 60px; }
  .about-cta { padding: 40px 24px; margin-top: 60px; }
  .about-cta-actions .btn-primary, .about-cta-actions .btn-ghost { width: 100%; text-align: center; }
}
.about-grid {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  display: block;
  position: relative; z-index: 2;
}
.about-photo-glow {
  position: absolute;
  width: 140%; height: 140%;
  top: -20%; left: -20%;
  background: radial-gradient(circle, rgba(124,58,237,0.4), transparent 60%);
  filter: blur(50px);
  z-index: 1;
}
.about-text h2 { margin-bottom: 22px; }
.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 22px;
}
.about-text p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 18px;
}
.about-name-origin {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(159,103,255,0.04));
  border-left: 3px solid var(--purple);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 22px 0 8px !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
}
.about-name-origin strong { color: var(--white); }
.about-name-origin em {
  color: var(--purple-lt);
  font-style: normal;
  font-weight: 600;
}
.about-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 26px;
}
.about-tag {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-lt);
  padding: 7px 14px;
  border-radius: 100px;
  color: rgba(248,248,248,0.85);
}

/* === FAQ === */
.faq-s { background: var(--bg); }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-list {
  margin-top: 50px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.faq-item[open] {
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.04);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 1rem; font-weight: 600;
  color: var(--white);
  transition: color 0.2s;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--purple-lt); }
.faq-icon {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem; font-weight: 400;
  color: var(--purple-lt);
  transition: transform 0.3s;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-content {
  padding: 0 24px 22px;
}
.faq-content p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* === STATS BAR === */
.stats-bar {
  display: flex; align-items: center; justify-content: center; gap: 64px;
  padding: 44px 6vw;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.stat { text-align: center; }
.stat-val { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.stat-n  { font-family: 'Manrope', sans-serif; font-size: 2.8rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-suf { font-family: 'Manrope', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--purple-lt); }
.stat p  { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.stat-sep { width: 1px; height: 52px; background: var(--border); flex-shrink: 0; }

/* === SECTIONS === */
.section { padding: 80px 6vw; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--purple-lt); margin-bottom: 16px;
}
.section-h {
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.025em;
  color: var(--white); margin-bottom: 56px;
}
.section-h em { font-style: normal; color: var(--purple-lt); }

/* === REVEAL === */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.75s, transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal.up { opacity: 1; transform: none; }
.reveal-hero { opacity: 0; }

/* === SERVICIOS === */
.servicios-s { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-card {
  position: relative; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 44px 40px;
  transition: border-color 0.35s, background 0.35s;
}
.service-card:hover { background: var(--bg-card-h); border-color: var(--border-lt); }
.service-card--purple { border-color: rgba(124,58,237,0.25); }
.service-card--purple:hover { border-color: rgba(124,58,237,0.55); background: rgba(124,58,237,0.06); }
.service-glow {
  position: absolute; width: 250px; height: 250px; border-radius: 50%;
  background: rgba(255,255,255,0.04); filter: blur(60px);
  top: -80px; left: -60px; pointer-events: none;
}
.service-glow--purple { background: rgba(124,58,237,0.18); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.service-icon { font-size: 1.8rem; }
.service-badge {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255,255,255,0.07); border: 1px solid var(--border-lt);
  padding: 4px 12px; border-radius: 100px; color: var(--muted);
}
.service-badge--purple { background: rgba(124,58,237,0.15); border-color: rgba(124,58,237,0.35); color: var(--purple-lt); }
.service-card h3 { font-size: 1.65rem; font-weight: 800; color: var(--white); margin-bottom: 14px; letter-spacing: -0.02em; }
.service-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.78; margin-bottom: 28px; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 36px; }
.service-list li { font-size: 0.84rem; color: rgba(248,248,248,0.68); display: flex; align-items: center; gap: 10px; }
.service-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--purple-lt); flex-shrink: 0; }
.service-guarantee {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.25);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 24px;
}
.guarantee-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.service-guarantee strong { font-size: 0.82rem; font-weight: 700; color: var(--white); display: block; margin-bottom: 4px; }
.service-guarantee p { font-size: 0.76rem; color: var(--muted); line-height: 1.55; margin: 0; }
.service-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 24px; }
.service-price { font-size: 0.82rem; color: var(--muted); }
.service-price strong { font-size: 1.15rem; font-weight: 700; color: var(--white); }
.service-cta { font-size: 0.82rem; font-weight: 600; color: var(--purple-lt); transition: color 0.2s; }
.service-cta:hover { color: var(--white); }

/* === PORTFOLIO HORIZONTAL === */
.portfolio-h {
  position: relative;
  background: rgba(255,255,255,0.012);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0 80px;
  overflow: hidden;
}
.portfolio-h-header {
  text-align: center;
  margin: 0 auto 50px;
  padding: 0 6vw;
  max-width: 800px;
}
.portfolio-h-hint {
  margin-top: 18px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248,248,248,0.3);
}
.portfolio-h-hint span {
  display: inline-block;
  animation: hintPulse 2.4s ease-in-out infinite;
}
@keyframes hintPulse {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50%      { transform: translateX(6px); opacity: 1; }
}
.portfolio-track-wrap { position: relative; width: 100%; }
.portfolio-track {
  display: flex;
  gap: 24px;
  padding: 10px 6vw 30px;
  will-change: transform;
}
.portfolio-card {
  flex: 0 0 460px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
  cursor: pointer;
}
.portfolio-card:hover {
  border-color: rgba(124,58,237,0.5);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -20px rgba(124,58,237,0.3);
}
.portfolio-card[data-demo] .portfolio-link {
  pointer-events: none;
}
.portfolio-browser { background: #0E0E0E; border-bottom: 1px solid var(--border); padding: 14px 16px 0; }
.browser-dots { display: flex; gap: 6px; margin-bottom: 12px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #28CA42; }
.portfolio-mock {
  height: 220px; border-radius: 8px 8px 0 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.portfolio-mock--img {
  padding: 0; overflow: hidden;
  background: #0E0E0E;
}
.portfolio-mock--img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.6s ease;
}
.portfolio-card:hover .portfolio-mock--img img {
  transform: scale(1.06);
}

/* Logo cards (sin caras) */
.portfolio-mock--logo {
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.portfolio-mock--logo::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.mock-logo {
  max-width: 80%; max-height: 80%;
  width: auto; height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
  position: relative; z-index: 1;
}
.mock-logo--zrl  { max-width: 70%; max-height: 75%; }
.mock-logo--nails { max-width: 75%; max-height: 90%; mix-blend-mode: multiply; }
.portfolio-card:hover .mock-logo { transform: scale(1.05); }

.mock-joe {
  font-family: 'Anton', 'Manrope', sans-serif;
  font-size: 3.6rem; font-weight: 400;
  color: #FFFFFF; line-height: 0.95;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  position: relative; z-index: 1;
  transition: transform 0.5s ease;
}
.mock-joe-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 14px;
  position: relative; z-index: 1;
}
.portfolio-card:hover .mock-joe { transform: scale(1.05); }
.mock-lines { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; width: 60%; }
.mock-line { height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; }
.portfolio-info { padding: 24px 28px 28px; }
.portfolio-tag { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-lt); }
.portfolio-info h4 { font-size: 1.2rem; font-weight: 700; color: var(--white); margin: 8px 0 10px; }
.portfolio-info p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.portfolio-quote {
  position: relative;
  background: rgba(124,58,237,0.07);
  border-left: 3px solid var(--purple);
  border-radius: 8px;
  padding: 14px 16px 14px 18px;
  margin: 0 0 18px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(248,248,248,0.92);
  font-style: italic;
}
.portfolio-quote .quote-mark {
  font-family: 'Manrope', sans-serif;
  font-size: 2.2rem; font-weight: 800;
  color: var(--purple-lt);
  position: absolute;
  top: 4px; right: 12px;
  line-height: 1;
  opacity: 0.45;
}
.portfolio-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.02em;
}
.portfolio-quote--pending {
  background: rgba(255,255,255,0.025);
  border-left-color: rgba(255,255,255,0.15);
}
.portfolio-quote--pending .quote-mark { color: rgba(255,255,255,0.18); }
.portfolio-quote--pending .quote-pending {
  color: rgba(248,248,248,0.4);
  font-style: italic;
  display: block;
  position: relative;
  padding-right: 28px;
}
.portfolio-quote--pending .quote-pending::after {
  content: '⏳';
  position: absolute; top: 0; right: 0;
  filter: grayscale(0.4); opacity: 0.7;
}
.portfolio-link {
  font-size: 0.82rem; font-weight: 600;
  color: var(--purple-lt);
  transition: color 0.2s, transform 0.2s;
  display: inline-block; cursor: pointer;
}
.portfolio-link:hover { color: var(--white); transform: translateX(4px); }

/* === DEMO MODAL === */
.demo-modal {
  width: 92vw; max-width: 1280px;
  height: 88vh; max-height: 900px;
  padding: 0;
  background: #0A0A0A;
  border: 1px solid var(--border-lt);
  border-radius: 18px;
  overflow: hidden;
  flex-direction: column;
  box-shadow: 0 50px 100px -20px rgba(0,0,0,0.85);
}
.demo-modal:not([open]) { display: none !important; }
.demo-modal[open] { display: flex; }
.demo-modal::backdrop {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
}
.demo-modal-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, #161616, #0E0E0E);
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  flex-shrink: 0;
}
.demo-modal-title {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Inter', sans-serif;
  color: var(--white);
  font-size: 0.92rem; font-weight: 700;
}
.demo-modal-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--purple-lt);
  box-shadow: 0 0 12px var(--purple-lt);
  animation: dotPulse 1.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}
.demo-modal-badge {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--border-lt);
  padding-left: 12px;
}
.demo-modal-close {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-lt);
  color: var(--white);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.demo-modal-close:hover {
  background: rgba(124,58,237,0.25);
  border-color: var(--purple);
  transform: rotate(90deg);
}
.demo-modal-frame {
  flex: 1; width: 100%;
  border: none;
  background: #0A0A0A;
}
@media (max-width: 768px) {
  .demo-modal {
    width: 100vw; height: 100vh;
    max-width: none; max-height: none;
    border-radius: 0; border: none;
  }
  .demo-modal-badge { display: none; }
}

/* === PROCESO === */
.proceso-s { background: var(--bg); }
.proceso-steps { display: flex; align-items: stretch; gap: 0; }
.paso {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 38px 32px;
  transition: border-color 0.3s, background 0.3s;
}
.paso:hover { border-color: rgba(124,58,237,0.4); background: var(--bg-card-h); }
.paso-num { font-family: 'Manrope', sans-serif; font-size: 3rem; font-weight: 800; color: rgba(159,103,255,0.2); line-height: 1; display: block; margin-bottom: 20px; }
.paso h4 { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.paso p { font-size: 0.84rem; color: var(--muted); line-height: 1.75; }
.paso-arrow { font-size: 1.4rem; color: var(--border-lt); flex-shrink: 0; align-self: center; padding: 0 20px; }

/* === CTA FINAL === */
.cta-s {
  position: relative; padding: 130px 6vw;
  text-align: center; overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-orb {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: rgba(124,58,237,0.18); filter: blur(130px);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--white); margin-bottom: 18px; line-height: 1.08; }
.cta-inner h2 em { font-style: normal; color: var(--purple-lt); }
.cta-inner p { font-size: 1rem; color: var(--muted); line-height: 1.72; margin-bottom: 40px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-s .eyebrow { margin-bottom: 20px; }

/* === FOOTER === */
footer { padding: 28px 6vw; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 0.76rem; color: var(--muted); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.76rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  header { padding: 16px 20px; }
  header.scrolled { padding: 12px 20px; }
  nav {
    display: none; position: fixed; inset: 0;
    background: rgba(8,8,8,0.97); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 36px; z-index: 99;
  }
  nav.open { display: flex; }
  nav a { font-size: 1.3rem; color: var(--white) !important; }
  .hamburger { display: flex; z-index: 100; }

  /* Hero respira en movil — sticky activado (patron LZR/Ally) */
  .hero-scroll-zone {
    height: 146vh;
  }
  .hero {
    position: sticky; top: 0;
    height: 100vh; min-height: 100svh;
    padding: 110px 0 80px;
    align-items: center;
  }
  .hero-inner {
    flex-direction: column-reverse;
    gap: 28px;
    padding: 0 24px;
    text-align: center;
    align-items: center;
    justify-content: center;
  }
  .hero-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-tag {
    font-size: 0.68rem;
    padding: 6px 14px;
    margin-bottom: 22px;
  }
  .hero-h1 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
  }
  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 88%;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%; text-align: center;
    padding: 15px 22px;
    font-size: 0.92rem;
  }

  /* Foto = avatar circular arriba */
  .hero-photo-wrap {
    position: static;
    top: auto;
    align-self: auto;
    width: 170px; height: 170px;
    border-radius: 50%;
    margin-bottom: 8px;
    animation: none;
  }
  .hero-photo-wrap::before {
    display: none;
  }
  .hero-photo-inner {
    border-radius: 50%;
    flex-direction: row;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.12);
  }
  .photo-placeholder-icon { font-size: 3.2rem; opacity: 0.35; }
  .photo-placeholder-text { display: none; }
  .photo-accent-1,
  .photo-accent-2 { display: none; }

  .section { padding: 60px 20px; }

  .about-s { padding: 60px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 240px; margin: 0 auto; aspect-ratio: 4/5; }
  .about-text { text-align: center; }
  .about-tags { justify-content: center; }
  .about-lead { font-size: 1.02rem; }

  .faq-item summary { padding: 18px 20px; font-size: 0.93rem; }
  .faq-content { padding: 0 20px 18px; }
  .services-grid { grid-template-columns: 1fr; }

  /* Portfolio = swipe carousel en movil */
  .portfolio-h { padding: 70px 0 60px; }
  .portfolio-h-header { margin-bottom: 32px; padding: 0 24px; }
  .portfolio-h-hint { display: none; }
  .portfolio-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 24px 20px;
    gap: 14px;
  }
  .portfolio-track::-webkit-scrollbar { display: none; }
  .portfolio-card {
    flex: 0 0 88%;
    scroll-snap-align: center;
  }
  .portfolio-mock { height: 180px; }
  .proceso-steps { flex-direction: column; gap: 12px; }
  .paso {
    opacity: 1 !important;
    transform: none !important;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 28px 22px;
  }
  .paso:first-child,
  .paso:last-child { border-radius: 16px; }
  .paso-num { color: rgba(159,103,255,0.55); font-size: 2.2rem; margin-bottom: 12px; }
  .paso h4 { color: #F8F8F8; }
  .paso p { color: rgba(248,248,248,0.7); }
  .paso-arrow { display: none; }
  .stats-bar { gap: 32px; flex-wrap: wrap; padding: 36px 20px; }
  .stat-sep { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .br-d { display: none; }
  .hero-scroll { display: none; }
  .service-card { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .tag-dot, .scroll-line { animation: none !important; }
  .reveal, .reveal-hero { transition: none !important; opacity: 1 !important; transform: none !important; }
}



/* ═══════════════ TABS SERVICIOS ═══════════════ */
:root {
  --meta:    #1877F2;
  --meta-lt: #4F9DF9;
}

.tabs-services {
  margin-top: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.5s, box-shadow 0.5s;
}
.tabs-services[data-active="web"] {
  border-color: rgba(201,162,84,0.35);
  box-shadow: 0 0 60px -20px rgba(201,162,84,0.4);
}
.tabs-services[data-active="ads"] {
  border-color: rgba(24,119,242,0.4);
  box-shadow: 0 0 60px -20px rgba(24,119,242,0.45);
}

.tabs-header {
  position: relative;
  display: flex;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
}
.tabs-services .tab {
  flex: 1;
  background: transparent; border: none; border-bottom: 2px solid transparent;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  font-size: 1rem; font-weight: 700;
  padding: 22px 24px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  letter-spacing: 0.01em;
  transition: color 0.3s, border-color 0.4s, background 0.3s;
  position: relative;
}
.tabs-services .tab span { font-size: 1.3rem; transition: transform 0.3s, text-shadow 0.3s; }
.tabs-services .tab:hover { color: var(--white); }
.tabs-services .tab:hover span { transform: scale(1.15); }

/* Iconos SIEMPRE con su color (activo o no) */
.tabs-services .tab[data-tab="web"] span {
  color: var(--gold);
  text-shadow: 0 0 10px rgba(201,162,84,0.35);
}
.tabs-services .tab[data-tab="ads"] span {
  color: var(--meta-lt);
  text-shadow: 0 0 10px rgba(24,119,242,0.4);
}

/* Tab Web activo = dorado */
.tabs-services .tab[data-tab="web"].active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: linear-gradient(180deg, rgba(201,162,84,0.08), transparent);
}
.tabs-services .tab[data-tab="web"].active span {
  text-shadow: 0 0 18px rgba(201,162,84,0.7);
}

/* Tab Meta activo = azul Meta */
.tabs-services .tab[data-tab="ads"].active {
  color: var(--meta-lt);
  border-bottom-color: var(--meta);
  background: linear-gradient(180deg, rgba(24,119,242,0.1), transparent);
}
.tabs-services .tab[data-tab="ads"].active span {
  text-shadow: 0 0 18px rgba(24,119,242,0.75);
}

.tab-panel {
  display: none;
  padding: 50px 56px;
  animation: tabFade 0.45s ease;
}
.tab-panel.active { display: block; }
@keyframes tabFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-panel h3 {
  font-size: 2.2rem; font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  display: inline-block;
}
[data-panel="web"] h3 {
  background: linear-gradient(135deg, #E5C170 0%, var(--gold) 50%, #8B6B2E 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
[data-panel="ads"] h3 {
  background: linear-gradient(135deg, var(--meta-lt) 0%, var(--meta) 50%, #0B5BC9 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.tab-panel > p {
  font-size: 1rem; color: var(--muted);
  line-height: 1.7; margin-bottom: 28px;
  max-width: 600px;
}
.tab-panel .service-list { margin-bottom: 36px; }

/* Bullets pintados según tab */
[data-panel="web"] .service-list li::before { background: var(--gold); }
[data-panel="ads"] .service-list li::before { background: var(--meta); }

.tabs-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.tabs-footer .service-price strong { font-size: 1.5rem; }
[data-panel="web"]  .service-price strong { color: var(--gold); }
[data-panel="ads"]  .service-price strong { color: var(--meta-lt); }

/* ============================================
   BUILT-IN-24H BANNER (diferenciador anti-IA-genérica)
   ============================================ */
.built-banner {
  position: relative;
  background: linear-gradient(90deg, rgba(124,58,237,0.10) 0%, rgba(159,103,255,0.04) 50%, rgba(124,58,237,0.10) 100%);
  border-top: 1px solid rgba(124,58,237,0.25);
  border-bottom: 1px solid rgba(124,58,237,0.25);
  padding: 28px 6vw;
  overflow: hidden;
}
.built-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 200px at 50% 50%, rgba(159,103,255,0.18), transparent);
  pointer-events: none;
}
.built-banner__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  z-index: 1;
}
.built-banner__icon {
  font-size: 2.2rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(159,103,255,0.6));
}
.built-banner__text { flex: 1; }
.built-banner__lead {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 6px;
}
.built-banner__lead strong {
  color: var(--purple-lt);
  font-weight: 800;
}
.built-banner__sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
}
.built-banner__sub em {
  font-style: normal;
  color: rgba(248,248,248,0.65);
}
.built-banner__link {
  color: var(--purple-lt);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(159,103,255,0.35);
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.built-banner__link:hover {
  color: var(--white);
  border-color: var(--white);
}
@media (max-width: 768px) {
  .built-banner { padding: 24px 20px; }
  .built-banner__inner { flex-direction: column; text-align: center; gap: 14px; }
  .built-banner__lead { font-size: 0.98rem; }
  .built-banner__sub { font-size: 0.8rem; }
}

.service-price-wrap { display: flex; flex-direction: column; gap: 4px; }
.service-price-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,162,84,0.12);
  border: 1px solid rgba(201,162,84,0.3);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Botones colored */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #E5C170 100%) !important;
  color: #1a1206 !important;
  box-shadow: 0 8px 28px -10px rgba(201,162,84,0.6);
  font-weight: 700;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #E5C170 0%, var(--gold) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -10px rgba(201,162,84,0.75);
}
.btn-meta {
  background: linear-gradient(135deg, var(--meta) 0%, var(--meta-lt) 100%) !important;
  color: var(--white) !important;
  box-shadow: 0 8px 28px -10px rgba(24,119,242,0.65);
  font-weight: 700;
}
.btn-meta:hover {
  background: linear-gradient(135deg, var(--meta-lt) 0%, var(--meta) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -10px rgba(24,119,242,0.8);
}

/* Mobile */
@media (max-width: 768px) {
  .tabs-services { margin-top: 32px; border-radius: 20px; }
  .tabs-services .tab { font-size: 0.88rem; padding: 16px 12px; gap: 8px; }
  .tabs-services .tab span { font-size: 1.1rem; }
  .tab-panel { padding: 32px 24px; }
  .tab-panel h3 { font-size: 1.7rem; }
  .tab-panel > p { font-size: 0.95rem; }
  .tabs-footer { flex-direction: column; align-items: stretch; gap: 18px; }
  .tabs-footer .service-price { text-align: center; }
  .tabs-footer .service-price-wrap { align-items: center; }
  .tabs-footer .btn-primary { width: 100%; text-align: center; }
}

/* ============================================
   ALEX MASCOT POPUP — asomado por el lateral DERECHO
   ============================================ */
.alex-mascot{
  position:fixed;
  right:0;
  left:auto;
  bottom:14%;
  z-index:9998;
  display:flex;
  align-items:flex-start;
  gap:.4rem;
  pointer-events:none;
  opacity:0;
  transition:opacity .4s ease;
}
.alex-mascot.is-visible{ opacity:1; pointer-events:auto; }
.alex-mascot.is-dismissed{ opacity:0; pointer-events:none; transform:translateX(30px); transition:opacity .35s, transform .35s; }
.alex-mascot.is-leaving{
  opacity:0;
  transform:translateX(80px);
  pointer-events:none;
  transition:opacity .55s ease, transform .7s cubic-bezier(.5,.05,.7,0);
}
.alex-mascot.is-bubble-leaving .alex-mascot__bubble{
  opacity:0;
  transform:translateX(18px) scale(.9);
  transition:opacity .8s ease, transform .9s cubic-bezier(.5,.05,.7,0);
  pointer-events:none;
}

.alex-mascot__inner{
  display:flex;
  flex-direction:row-reverse;
  align-items:flex-start;
  gap:0;
  margin-right:-12px;
  cursor:pointer;
  outline:none;
}
.alex-mascot__inner:focus-visible .alex-mascot__bubble{ outline:2px solid #25D366; outline-offset:4px; }

.alex-mascot__peek{
  position:relative;
  width:215px;
  height:280px;
  overflow:hidden;
  flex-shrink:0;
}

.alex-mascot__char{
  position:absolute;
  left:0;
  bottom:0;
  width:270px;
  height:320px;
  transform:translateX(110%);
}
.alex-mascot.is-visible .alex-mascot__char{
  animation:mascotEnter 1.15s cubic-bezier(.34,1.4,.64,1) forwards;
}
.alex-mascot__img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:left bottom;
  display:block;
  pointer-events:none;
  user-select:none;
}

@keyframes mascotEnter{
  0%   { transform:translateX(110%); }
  60%  { transform:translateX(-6px); }
  100% { transform:translateX(0); }
}

.alex-mascot__bubble{
  position:relative;
  align-self:flex-start;
  margin-top:18px;
  background:#fff;
  color:#0a0a0a;
  padding:.95rem 1.15rem;
  border-radius:18px 18px 4px 18px;
  font-family:'Manrope', sans-serif;
  font-size:.95rem;
  line-height:1.45;
  max-width:260px;
  min-width:200px;
  box-shadow:0 18px 50px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08);
  opacity:0;
  transform:translateX(8px) scale(.9);
  transform-origin:right center;
  transition:opacity .4s ease 1.1s, transform .5s cubic-bezier(.34,1.45,.64,1) 1.1s;
}
.alex-mascot.is-visible .alex-mascot__bubble{
  opacity:1;
  transform:translateX(0) scale(1);
}
.alex-mascot__bubble::before{
  content:'';
  position:absolute;
  top:18px;
  right:-7px;
  width:14px;
  height:14px;
  background:#fff;
  transform:rotate(45deg);
}
.alex-mascot__bubble-text{
  display:block;
  font-weight:500;
  min-height:1.45em;
}
.alex-mascot__bubble-cta{
  display:block;
  margin-top:.55rem;
  padding-top:.55rem;
  border-top:1px solid rgba(0,0,0,.08);
  font-size:.78rem;
  font-weight:700;
  color:#1aa653;
  letter-spacing:.02em;
}

.alex-mascot__close{
  position:absolute;
  top:-10px;
  left:-10px;
  width:26px;
  height:26px;
  border-radius:50%;
  border:none;
  background:#0a0a0a;
  color:#fff;
  font-size:15px;
  font-weight:600;
  line-height:1;
  cursor:pointer;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transform:scale(.6);
  transition:opacity .3s ease 1.3s, transform .3s ease 1.3s, background .2s ease;
  padding:0;
}
.alex-mascot.is-visible .alex-mascot__close{
  opacity:.85;
  transform:scale(1);
}
.alex-mascot__close:hover{ opacity:1; background:#25D366; }

@media (max-width: 768px){
  .alex-mascot{ bottom:18%; }
  .alex-mascot__peek{ width:160px; height:220px; }
  .alex-mascot__char{ width:205px; height:245px; }
  .alex-mascot__bubble{
    max-width:200px;
    min-width:160px;
    font-size:.82rem;
    padding:.7rem .85rem;
    margin-top:12px;
  }
  .alex-mascot__bubble-cta{ font-size:.7rem; }
  .alex-mascot__close{ width:24px; height:24px; font-size:14px; }
}

/* ============================================
   PILL persistente (post-saludo)
   ============================================ */
.alex-mascot-pill{
  position:fixed;
  right:22px;
  bottom:22px;
  width:62px;
  height:62px;
  border-radius:50%;
  background:linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9998;
  box-shadow:0 14px 32px rgba(124,58,237,.5), 0 0 0 1px rgba(255,255,255,.12);
  text-decoration:none;
  opacity:0;
  transform:scale(.4);
  pointer-events:none;
  transition:opacity .5s ease, transform .55s cubic-bezier(.34,1.45,.64,1);
}
.alex-mascot-pill.is-visible{
  opacity:1;
  transform:scale(1);
  pointer-events:auto;
  animation:mascotPillPulse 2.4s ease-in-out 1.6s infinite;
}
.alex-mascot-pill:hover{ transform:scale(1.08); }
.alex-mascot-pill__logo{
  font-family:'Manrope', sans-serif;
  font-weight:800;
  font-size:32px;
  color:#fff;
  letter-spacing:-1px;
  line-height:1;
  pointer-events:none;
  text-shadow:0 1px 2px rgba(0,0,0,.25);
}
@keyframes mascotPillPulse{
  0%, 100% { box-shadow:0 14px 32px rgba(124,58,237,.5), 0 0 0 0 rgba(167,139,250,.55); }
  60%      { box-shadow:0 14px 32px rgba(124,58,237,.55), 0 0 0 16px rgba(167,139,250,0); }
}
@media (max-width: 768px){
  .alex-mascot-pill{ width:54px; height:54px; right:14px; bottom:14px; }
  .alex-mascot-pill__logo{ font-size:28px; }
}

/* X aparece cuando el chat está abierto */
.alex-mascot-pill{ border:none; cursor:pointer; padding:0; }
.alex-mascot-pill__x{
  display:none;
  font-size:34px;
  font-weight:300;
  line-height:1;
  color:#fff;
  pointer-events:none;
}
.alex-mascot-pill.is-active .alex-mascot-pill__logo{ display:none; }
.alex-mascot-pill.is-active .alex-mascot-pill__x{ display:block; }
.alex-mascot-pill.is-active{ animation:none; }

/* ============================================
   CHAT WHATSAPP-STYLE
   ============================================ */
.alex-chat{
  position:fixed;
  right:22px;
  bottom:96px;
  width:360px;
  max-width:calc(100vw - 28px);
  height:540px;
  max-height:calc(100vh - 130px);
  background:#ECE5DD;
  border-radius:14px;
  z-index:9999;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
  opacity:0;
  transform:translateY(16px) scale(.95);
  transform-origin:bottom right;
  pointer-events:none;
  transition:opacity .3s ease, transform .35s cubic-bezier(.34,1.45,.64,1);
}
.alex-chat.is-open{
  opacity:1;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}

.alex-chat__header{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  background:#075E54;
  color:#fff;
  flex-shrink:0;
}
.alex-chat__avatar{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#128C7E;
  overflow:hidden;
  flex-shrink:0;
}
.alex-chat__avatar img{
  width:140%;
  height:140%;
  object-fit:cover;
  object-position:50% 8%;
  margin-left:-20%;
  margin-top:-5%;
  display:block;
}
.alex-chat__info{
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
  line-height:1.2;
}
.alex-chat__name{
  font-family:'Inter', sans-serif;
  font-weight:600;
  font-size:.95rem;
  color:#fff;
}
.alex-chat__status{
  display:flex;
  align-items:center;
  gap:5px;
  font-size:.72rem;
  color:rgba(255,255,255,.85);
  margin-top:2px;
}
.alex-chat__status-dot{
  width:7px; height:7px; border-radius:50%;
  background:#4FCE5D;
  box-shadow:0 0 0 2px rgba(79,206,93,.25);
}
.alex-chat__close{
  background:rgba(255,255,255,.12);
  border:none;
  color:#fff;
  width:30px; height:30px;
  border-radius:50%;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease;
  padding:0;
  flex-shrink:0;
}
.alex-chat__close:hover{ background:rgba(255,255,255,.24); }

.alex-chat__body{
  flex:1;
  padding:16px 12px;
  overflow-y:auto;
  background:
    linear-gradient(rgba(229,221,213,.94), rgba(229,221,213,.94)),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(0,0,0,.025) 10px 20px);
  display:flex;
  flex-direction:column;
  gap:6px;
}
.alex-chat__msg{
  max-width:82%;
  padding:8px 12px 22px;
  border-radius:8px;
  font-family:'Inter', sans-serif;
  font-size:.86rem;
  line-height:1.42;
  color:#303030;
  position:relative;
  word-wrap:break-word;
  box-shadow:0 1px 1px rgba(0,0,0,.08);
}
.alex-chat__msg--in{
  align-self:flex-start;
  background:#fff;
  border-top-left-radius:0;
}
.alex-chat__time{
  position:absolute;
  bottom:4px;
  right:8px;
  font-size:.62rem;
  color:rgba(0,0,0,.4);
  font-weight:500;
}

.alex-chat__form{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px;
  background:#F0F0F0;
  flex-shrink:0;
}
.alex-chat__input{
  flex:1;
  border:none;
  background:#fff;
  border-radius:20px;
  padding:10px 14px;
  font-family:'Inter', sans-serif;
  font-size:.9rem;
  color:#303030;
  outline:none;
  min-width:0;
}
.alex-chat__input::placeholder{ color:rgba(0,0,0,.4); }
.alex-chat__send{
  background:#25D366;
  border:none;
  width:42px; height:42px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition:background .2s ease, transform .2s ease;
  flex-shrink:0;
  padding:0;
}
.alex-chat__send:hover{ background:#1faa53; transform:scale(1.06); }

@media (max-width: 768px){
  .alex-chat{
    width:calc(100vw - 20px);
    right:10px;
    bottom:78px;
    height:auto;
    max-height:calc(100vh - 110px);
  }
}


/* ============================================
   LANG SWITCHER (ES / DE)
   ============================================ */
nav .lang-switch {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--purple-lt);
  border: 1px solid rgba(159,103,255,0.35);
  padding: 5px 10px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
nav .lang-switch:hover {
  background: rgba(159,103,255,0.12);
  color: var(--white);
  border-color: var(--purple-lt);
}

/* ============================================
   HERO H1 — versión alemana más compacta
   (el texto es ~70% más largo que el español)
   ============================================ */
html[lang="de"] .hero-h1 {
  font-size: clamp(1.9rem, 3.7vw, 3rem);
  line-height: 1.1;
}
html[lang="de"] .hero-h1 .hero-line {
  white-space: normal;
  text-wrap: balance;
}
html[lang="de"] .hero-h1 em {
  white-space: nowrap;
}
