/* SOFTVORA LLC — Premium dark UI (Stripe / Linear inspired) */
:root {
  --bg0: #05060a;
  --bg1: #0a0c14;
  --glass: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.1);
  --text: #e8eaf0;
  --muted: #94a0b8;
  --accent: #7c3aed;
  --accent2: #3b82f6;
  --glow: 0 0 80px rgba(124, 58, 237, 0.25);
  --radius: 18px;
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Poppins", var(--font);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site-body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(1200px 800px at 10% -10%, rgba(124, 58, 237, 0.2), transparent 55%),
    radial-gradient(900px 600px at 90% 0%, rgba(59, 130, 246, 0.18), transparent 50%),
    var(--bg0);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}
.minimal-body { background: var(--bg0); color: var(--text); font-family: var(--font); margin: 0; min-height: 100vh; display: grid; place-items: center; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1180px, 92vw); margin: 0 auto; }
.container.narrow { width: min(760px, 92vw); }
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section-tight { padding: clamp(2rem, 6vw, 4rem) 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}
.center { display: grid; place-items: center; min-height: 50vh; }
.text-center { text-align: center; }

/* Loader */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--bg0);
  transition: opacity 0.6s ease, visibility 0.6s;
}
.page-loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-orbit {
  width: 64px; height: 64px; border-radius: 50%;
  border: 3px solid var(--stroke);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
.loader-text { position: absolute; font-family: var(--font-display); letter-spacing: 0.2em; font-size: 0.7rem; color: var(--muted); margin-top: 100px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(5, 6, 10, 0.72);
  border-bottom: 1px solid var(--stroke);
  transition: box-shadow 0.3s, background 0.3s;
}
.site-header.scrolled { box-shadow: var(--glow); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; }
.logo-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-size: 0.75rem;
}
.logo-text small { font-weight: 500; opacity: 0.7; font-size: 0.65em; }
.nav-desktop { display: flex; gap: 1.25rem; align-items: center; }
.nav-desktop a {
  font-size: 0.88rem; color: var(--muted);
  transition: color 0.2s;
}
.nav-desktop a:hover { color: #fff; }
.header-cta { white-space: nowrap; }
.nav-toggle {
  display: none;
  flex-direction: column; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}
.mobile-nav {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1rem 5vw 2rem;
  border-bottom: 1px solid var(--stroke);
  background: rgba(5, 6, 10, 0.95);
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a { color: var(--muted); padding: 0.35rem 0; }

.main-content {
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.65rem 1.25rem; border-radius: 12px;
  font-weight: 600; font-size: 0.9rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; border-radius: 10px; }
.btn-lg { padding: 0.85rem 1.6rem; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  color: #fff;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover { box-shadow: var(--glow); }
.btn-ghost {
  border-color: var(--stroke);
  background: var(--glass);
  color: var(--text);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.22); }

/* Hero */
.hero { position: relative; padding: clamp(2rem, 6vw, 5rem) 0 3rem; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 70% 20%, rgba(124, 58, 237, 0.15), transparent),
    radial-gradient(500px 300px at 20% 60%, rgba(59, 130, 246, 0.12), transparent);
  animation: bgshift 14s ease-in-out infinite alternate;
}
@keyframes bgshift {
  from { opacity: 0.8; transform: translate3d(0, 0, 0); }
  to { opacity: 1; transform: translate3d(-2%, 2%, 0); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow { color: var(--accent2); font-weight: 600; letter-spacing: 0.08em; font-size: 0.75rem; text-transform: uppercase; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
  background: linear-gradient(120deg, #fff, #b4c6ff 40%, #ddd6fe);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 52ch; margin: 0 0 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero-metrics { display: flex; gap: 2rem; color: var(--muted); font-size: 0.85rem; }
.hero-metrics strong { display: block; color: #fff; font-size: 1.25rem; }
.hero-metrics span { font-size: 0.75rem; }

/* Hero visual: partículas (Particles.js) + escena SaaS / código */
.hero-visual { position: relative; min-height: 400px; }
@media (max-width: 960px) {
  .hero-visual { min-height: 360px; margin-top: 1rem; }
}

.hero-visual__stage {
  position: relative;
  width: 100%;
  min-height: 400px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(124, 58, 237, 0.4);
  background:
    radial-gradient(ellipse 90% 70% at 20% 30%, rgba(124, 58, 237, 0.35), transparent 55%),
    radial-gradient(ellipse 80% 60% at 85% 75%, rgba(59, 130, 246, 0.28), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 120%, rgba(6, 182, 212, 0.15), transparent 45%),
    linear-gradient(168deg, rgba(12, 14, 28, 0.97), rgba(5, 6, 12, 0.99));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 28px 90px rgba(0, 0, 0, 0.55),
    0 0 100px rgba(124, 58, 237, 0.22);
}

.hero-visual__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
}
.hero-visual__particles canvas {
  display: block;
}

.hero-visual__aurora {
  position: absolute;
  inset: -40%;
  z-index: 1;
  background: conic-gradient(
    from 120deg,
    transparent 0deg,
    rgba(124, 58, 237, 0.12) 80deg,
    rgba(59, 130, 246, 0.15) 160deg,
    rgba(34, 211, 238, 0.08) 240deg,
    transparent 300deg
  );
  animation: hero-aurora-spin 18s linear infinite;
  opacity: 0.9;
  pointer-events: none;
}
@keyframes hero-aurora-spin {
  to { transform: rotate(360deg); }
}

.hero-visual__orbit-hub {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(340px, 88%);
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: 1;
  pointer-events: none;
}

.hero-visual__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  border-radius: 50%;
  border: 1px dashed rgba(167, 139, 250, 0.28);
  animation: hero-orbit-rot 24s linear infinite;
  transform-origin: center center;
}
@keyframes hero-orbit-rot {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.hero-visual__orbit--a { width: 100%; height: 100%; }
.hero-visual__orbit--b {
  width: 78%;
  height: 78%;
  border-color: rgba(59, 130, 246, 0.22);
  animation-duration: 18s;
  animation-direction: reverse;
}
.hero-visual__orbit--c {
  width: 58%;
  height: 58%;
  border-color: rgba(34, 211, 238, 0.18);
  animation-duration: 28s;
}

.hero-visual__device {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  z-index: 3;
  width: min(268px, 58vw);
  padding: 3px;
  border-radius: 22px;
  background: linear-gradient(130deg, #a78bfa, #7c3aed, #3b82f6, #22d3ee, #a78bfa);
  background-size: 400% 400%;
  animation: hero-device-chrome 7s ease infinite;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(124, 58, 237, 0.35);
}
@keyframes hero-device-chrome {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-visual__device-glow {
  position: absolute;
  inset: -20px;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.35), transparent 65%);
  filter: blur(20px);
  z-index: -1;
  opacity: 0.85;
  animation: hero-glow-breathe 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-glow-breathe {
  0%, 100% { opacity: 0.65; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.02); }
}

.hero-visual__device-inner {
  position: relative;
  border-radius: 19px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(3, 7, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  min-height: 280px;
  animation: hero-device-float 5.5s ease-in-out infinite;
}
@keyframes hero-device-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-visual__device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-visual__device-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}
.hero-visual__device-bar span:nth-child(1) { background: #f87171; }
.hero-visual__device-bar span:nth-child(2) { background: #fbbf24; }
.hero-visual__device-bar span:nth-child(3) { background: #34d399; }

.hero-visual__device-body {
  padding: 1rem 1rem 1.15rem;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: clamp(0.65rem, 1.65vw, 0.72rem);
  line-height: 1.55;
}

.hero-visual__code {
  color: #94a3b8;
  text-align: left;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}
.hero-visual__code-k { color: #c4b5fd; }
.hero-visual__code-v { color: #7dd3fc; }
.hero-visual__code-f { color: #f472b6; }
.hero-visual__code-m { color: #fbbf24; }
.hero-visual__code-s { color: #86efac; }
.hero-visual__code-n { color: #a5b4fc; }
.hero-visual__code-i { display: inline-block; width: 1em; }

.hero-visual__sparkline {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 56px;
  padding-top: 0.5rem;
}
.hero-visual__sparkline span {
  flex: 1;
  min-width: 6px;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.9), rgba(59, 130, 246, 0.5));
  animation: hero-bar-dance 1.2s ease-in-out infinite;
  transform-origin: bottom;
}
.hero-visual__sparkline span:nth-child(1) { height: 28%; animation-delay: 0s; }
.hero-visual__sparkline span:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.hero-visual__sparkline span:nth-child(3) { height: 38%; animation-delay: 0.2s; }
.hero-visual__sparkline span:nth-child(4) { height: 72%; animation-delay: 0.05s; }
.hero-visual__sparkline span:nth-child(5) { height: 48%; animation-delay: 0.15s; }
.hero-visual__sparkline span:nth-child(6) { height: 88%; animation-delay: 0.25s; }
.hero-visual__sparkline span:nth-child(7) { height: 42%; animation-delay: 0.12s; }
.hero-visual__sparkline span:nth-child(8) { height: 65%; animation-delay: 0.18s; }
@keyframes hero-bar-dance {
  0%, 100% { transform: scaleY(1); filter: brightness(1); }
  50% { transform: scaleY(0.78); filter: brightness(1.25); }
}

.hero-visual__badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8eaf0;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(167, 139, 250, 0.35);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: hero-badge-drift 5s ease-in-out infinite;
}
.hero-visual__badge-ic {
  display: flex;
  color: #c4b5fd;
}
.hero-visual__badge-ic svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.hero-visual__badge--1 { left: 6%; top: 16%; animation-delay: 0s; }
.hero-visual__badge--2 { right: 8%; top: 22%; animation-delay: 1.2s; }
.hero-visual__badge--3 { left: 10%; bottom: 14%; animation-delay: 2.4s; }
@keyframes hero-badge-drift {
  0%, 100% { transform: translate(0, 0); }
  40% { transform: translate(4px, -6px); }
  70% { transform: translate(-3px, 4px); }
}

.hero-visual__pulse-tag {
  position: absolute;
  right: 8%;
  bottom: 18%;
  z-index: 4;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.45);
  backdrop-filter: blur(10px);
  text-align: left;
  animation: hero-badge-drift 4.5s ease-in-out infinite 0.6s;
}
.hero-visual__pulse-tag small {
  display: block;
  font-size: 0.65rem;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.2rem;
}
.hero-visual__pulse-tag strong {
  font-size: 1.35rem;
  font-family: var(--font-display);
  background: linear-gradient(120deg, #fff, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-visual__pulse-dot {
  display: inline-block;
  vertical-align: middle;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  background: #34d399;
  box-shadow: 0 0 14px #34d399;
  animation: hero-pulse-dot 1.4s ease-in-out infinite;
}
@keyframes hero-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual__aurora,
  .hero-visual__orbit-hub .hero-visual__orbit,
  .hero-visual__device,
  .hero-visual__device-inner,
  .hero-visual__device-glow,
  .hero-visual__sparkline span,
  .hero-visual__badge,
  .hero-visual__pulse-tag,
  .hero-visual__pulse-dot {
    animation: none !important;
  }
  .home-page-fx {
    display: none !important;
  }
}

/* ——— Inicio: ambiente en laterales (no captura clics) ——— */
.home-page-shell {
  position: relative;
  isolation: isolate;
}

.home-page-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-page-shell__content {
  position: relative;
  z-index: 1;
}

/* Partículas solo en bandas izquierda/derecha; zona central limpia para leer */
.home-page-fx__particles-mask {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 min(20%, 200px),
    transparent min(34%, 320px),
    transparent max(66%, calc(100% - 320px)),
    #000 max(80%, calc(100% - 200px)),
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 min(20%, 200px),
    transparent min(34%, 320px),
    transparent max(66%, calc(100% - 320px)),
    #000 max(80%, calc(100% - 200px)),
    #000 100%
  );
}

.home-page-fx__particles {
  position: absolute;
  inset: 0;
}

.home-page-fx__particles canvas {
  display: block;
}

.home-page-fx__aurora {
  position: absolute;
  top: 50%;
  width: min(48vw, 440px);
  height: min(72vh, 540px);
  translate: 0 -50%;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.2;
  overflow: visible;
  pointer-events: none;
}

.home-page-fx__aurora--left {
  left: max(-22vw, -200px);
}

.home-page-fx__aurora--right {
  right: max(-22vw, -200px);
}

.home-page-fx__aurora-disk {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: home-page-aurora-spin 38s linear infinite;
}

.home-page-fx__aurora--left .home-page-fx__aurora-disk {
  background: conic-gradient(
    from 210deg,
    transparent 0deg,
    rgba(124, 58, 237, 0.55) 70deg,
    rgba(59, 130, 246, 0.4) 200deg,
    transparent 300deg
  );
}

.home-page-fx__aurora--right .home-page-fx__aurora-disk {
  animation-direction: reverse;
  animation-duration: 44s;
  background: conic-gradient(
    from 30deg,
    transparent 40deg,
    rgba(59, 130, 246, 0.5) 120deg,
    rgba(167, 139, 250, 0.45) 240deg,
    transparent 320deg
  );
}

@keyframes home-page-aurora-spin {
  to { transform: rotate(360deg); }
}

/* Órbitas discretas en esquinas laterales */
.home-page-fx__orbit-hub {
  position: absolute;
  width: clamp(120px, 16vw, 200px);
  aspect-ratio: 1;
  opacity: 0.12;
  pointer-events: none;
}

.home-page-fx__orbit-hub--tl { top: 5%; left: 1%; }
.home-page-fx__orbit-hub--bl { bottom: 10%; left: 0.5%; }
.home-page-fx__orbit-hub--tr { top: 8%; right: 1%; }
.home-page-fx__orbit-hub--br { bottom: 6%; right: 0.5%; }

.home-page-fx__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  border-radius: 50%;
  border: 1px dashed rgba(167, 139, 250, 0.35);
  animation: home-page-orbit-rot 48s linear infinite;
  transform-origin: center center;
}

@keyframes home-page-orbit-rot {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.home-page-fx__orbit--a {
  width: 100%;
  height: 100%;
}

.home-page-fx__orbit--b {
  width: 68%;
  height: 68%;
  border-color: rgba(59, 130, 246, 0.3);
  animation-duration: 34s;
  animation-direction: reverse;
}

@media (max-width: 900px) {
  .home-page-fx__particles-mask {
    opacity: 0.28;
    -webkit-mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 min(12%, 72px),
      transparent min(26%, 140px),
      transparent max(74%, calc(100% - 140px)),
      #000 max(88%, calc(100% - 72px)),
      #000 100%
    );
    mask-image: linear-gradient(
      90deg,
      #000 0%,
      #000 min(12%, 72px),
      transparent min(26%, 140px),
      transparent max(74%, calc(100% - 140px)),
      #000 max(88%, calc(100% - 72px)),
      #000 100%
    );
  }

  .home-page-fx__orbit-hub {
    opacity: 0.07;
    transform: scale(0.88);
  }

  .home-page-fx__aurora {
    opacity: 0.14;
  }
}

/* Trust */
.trust-label { text-align: center; color: var(--muted); font-size: 0.85rem; margin-bottom: 1rem; }
.trust-logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.5rem 2.5rem;
  filter: grayscale(1) brightness(0.85); opacity: 0.75;
}
.trust-logo {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  color: #a8b3c9;
}

.section-head { text-align: center; margin-bottom: 2.5rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
}
.section-head p { color: var(--muted); margin: 0; }

.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}
.service-card h2, .service-card h3 { font-family: var(--font-display); margin: 0.75rem 0 0.5rem; font-size: 1.15rem; }
.service-card p { color: var(--muted); margin: 0; font-size: 0.92rem; }

/* Iconos Lucide + micro-animaciones (pulso, brillo, hover) */
@keyframes icon-orb-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(124, 58, 237, 0.35),
      0 4px 20px rgba(124, 58, 237, 0.18),
      0 0 36px rgba(59, 130, 246, 0.1);
    filter: brightness(1) saturate(1);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(167, 139, 250, 0.55),
      0 6px 28px rgba(124, 58, 237, 0.32),
      0 0 48px rgba(59, 130, 246, 0.2);
    filter: brightness(1.12) saturate(1.15);
  }
}

@keyframes icon-orb-shimmer {
  0% { transform: translateX(-120%) skewX(-12deg); opacity: 0; }
  15% { opacity: 0.5; }
  50% { opacity: 0.35; }
  100% { transform: translateX(220%) skewX(-12deg); opacity: 0; }
}

@keyframes icon-svg-alive {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  35% { transform: translateY(-2px) rotate(-2deg) scale(1.05); }
  65% { transform: translateY(1px) rotate(2deg) scale(1.02); }
}

@keyframes icon-ring-spin {
  to { transform: rotate(360deg); }
}

.service-card .icon-orb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(150deg, rgba(124, 58, 237, 0.5), rgba(76, 29, 149, 0.35), rgba(59, 130, 246, 0.32));
  background-size: 180% 180%;
  animation:
    icon-orb-pulse 2.8s ease-in-out infinite,
    icon-orb-bg-shift 9s ease-in-out infinite;
  color: rgba(255, 255, 255, 0.95);
  transition:
    transform 0.45s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

@keyframes icon-orb-bg-shift {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

.service-card .icon-orb::before {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(167, 139, 250, 0.15) 60deg,
    rgba(56, 189, 248, 0.35) 140deg,
    rgba(124, 58, 237, 0.2) 220deg,
    transparent 300deg
  );
  animation: icon-ring-spin 14s linear infinite;
  opacity: 0.85;
  pointer-events: none;
}

.service-card .icon-orb::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.2) 45%,
    transparent 70%
  );
  animation: icon-orb-shimmer 4.5s ease-in-out infinite;
  pointer-events: none;
}

.service-card .icon-orb svg {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  animation: icon-svg-alive 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  transition: transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.service-card .icon-orb svg [stroke] {
  stroke-width: 1.65;
}

/* Desfase entre tarjetas para sensación orgánica */
.grid-services .service-card:nth-child(1) .icon-orb { animation-delay: 0s, 0s; }
.grid-services .service-card:nth-child(1) .icon-orb svg { animation-delay: 0s; }
.grid-services .service-card:nth-child(2) .icon-orb { animation-delay: 0.15s, 0.4s; }
.grid-services .service-card:nth-child(2) .icon-orb svg { animation-delay: 0.35s; }
.grid-services .service-card:nth-child(3) .icon-orb { animation-delay: 0.3s, 0.8s; }
.grid-services .service-card:nth-child(3) .icon-orb svg { animation-delay: 0.7s; }
.grid-services .service-card:nth-child(4) .icon-orb { animation-delay: 0.45s, 1.2s; }
.grid-services .service-card:nth-child(4) .icon-orb svg { animation-delay: 1.05s; }
.grid-services .service-card:nth-child(5) .icon-orb { animation-delay: 0.6s, 1.6s; }
.grid-services .service-card:nth-child(5) .icon-orb svg { animation-delay: 1.4s; }
.grid-services .service-card:nth-child(6) .icon-orb { animation-delay: 0.75s, 2s; }
.grid-services .service-card:nth-child(6) .icon-orb svg { animation-delay: 1.75s; }
.grid-services .service-card:nth-child(7) .icon-orb { animation-delay: 0.9s, 2.4s; }
.grid-services .service-card:nth-child(7) .icon-orb svg { animation-delay: 2.1s; }
.grid-services .service-card:nth-child(8) .icon-orb { animation-delay: 1.05s, 2.8s; }
.grid-services .service-card:nth-child(8) .icon-orb svg { animation-delay: 2.45s; }

.glow-hover:hover .icon-orb,
.service-card:hover .icon-orb {
  transform: scale(1.08) translateY(-2px);
  animation-play-state: paused;
  box-shadow:
    0 0 0 1px rgba(196, 181, 253, 0.55),
    0 10px 32px rgba(124, 58, 237, 0.35),
    0 0 56px rgba(59, 130, 246, 0.28);
  filter: brightness(1.18) saturate(1.25);
}

.glow-hover:hover .icon-orb::before,
.service-card:hover .icon-orb::before {
  animation-duration: 5s;
  opacity: 1;
}

.glow-hover:hover .icon-orb svg,
.service-card:hover .icon-orb svg {
  animation: icon-svg-hover 0.65s cubic-bezier(0.34, 1.55, 0.64, 1) forwards;
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.55));
}

@keyframes icon-svg-hover {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  40% { transform: translateY(-3px) rotate(-8deg) scale(1.18); }
  70% { transform: translateY(1px) rotate(5deg) scale(1.12); }
  100% { transform: translateY(-1px) rotate(0deg) scale(1.14); }
}

@media (prefers-reduced-motion: reduce) {
  .service-card .icon-orb,
  .service-card .icon-orb::before,
  .service-card .icon-orb::after,
  .service-card .icon-orb svg {
    animation: none !important;
    transition: none;
  }
  .glow-hover:hover .icon-orb,
  .service-card:hover .icon-orb {
    transform: none;
    filter: none;
    box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.35);
  }
  .glow-hover:hover .icon-orb svg,
  .service-card:hover .icon-orb svg {
    filter: none;
    transform: none;
  }
}

/* Fallback si .icon-orb se usa fuera de .service-card */
.icon-orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(59, 130, 246, 0.25));
  border: 1px solid var(--stroke);
  color: rgba(255, 255, 255, 0.92);
}
.icon-orb svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.icon-orb svg [stroke] {
  stroke-width: 1.65;
}

.glow-hover {
  transition: transform 0.35s ease, box-shadow 0.35s, border-color 0.35s;
}
.glow-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), var(--glow);
  border-color: rgba(124, 58, 237, 0.4);
}

.grid-projects, .grid-projects.full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.project-card { padding: 0; overflow: hidden; cursor: pointer; }
.project-thumb {
  height: 180px;
  background: linear-gradient(120deg, #1e1b4b, #0f172a);
  background-size: cover;
  background-position: center;
}
.project-body { padding: 1.25rem; }
.project-body h2, .project-body h3 { font-family: var(--font-display); margin: 0.4rem 0 0.5rem; font-size: 1.2rem; }
.project-body p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.link-arrow { display: inline-block; margin-top: 0.75rem; color: var(--accent2); font-size: 0.85rem; }
.badge {
  display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem; border-radius: 99px;
  background: rgba(124, 58, 237, 0.2); color: #ddd6fe; border: 1px solid rgba(124, 58, 237, 0.35);
}
.center-cta { text-align: center; margin-top: 2rem; }

.pricing-preview.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.price-mini { text-align: center; position: relative; padding: 2rem 1.25rem; }
.price-mini.featured { border-color: rgba(124, 58, 237, 0.5); box-shadow: var(--glow); }
.price-mini h3 { margin: 0 0 0.5rem; font-family: var(--font-display); }
.price-tag { font-size: 2rem; font-weight: 700; color: #fff; }
.price-mini .pill { position: absolute; top: 12px; right: 12px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.price-card { text-align: left; padding: 2rem; position: relative; }
.price-card.featured { border-color: rgba(124, 58, 237, 0.55); box-shadow: var(--glow); overflow: hidden; }
.glow-border { position: relative; }
.glow-border::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude; pointer-events: none;
}
.price-big { font-size: 2.75rem; font-weight: 700; margin: 0.5rem 0 1.25rem; }
.price-big span { font-size: 1.25rem; vertical-align: super; opacity: 0.8; margin-right: 0.15rem; }
.price-list { list-style: none; padding: 0; margin: 0 0 1.5rem; color: var(--muted); font-size: 0.9rem; }
.price-list li { padding: 0.35rem 0; padding-left: 1.2rem; position: relative; }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent2); }
.pill-pos { position: absolute; top: 14px; right: 14px; }
.pill {
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem; border-radius: 99px;
  background: rgba(34, 197, 94, 0.15); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.35);
}

.testimonial-slider {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}
.testimonial-card { flex: 0 0 min(100%, 420px); scroll-snap-align: start; }
.testimonial-card p { font-size: 1.05rem; margin: 0 0 1rem; }
.testimonial-card footer { color: var(--muted); font-size: 0.9rem; }

.grid-blog, .grid-blog.full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.blog-card { padding: 0; overflow: hidden; }
.blog-thumb {
  height: 160px;
  background: linear-gradient(135deg, #312e81, #0f172a);
  background-size: cover;
  background-position: center;
}
.blog-link { display: block; padding: 1.25rem; color: inherit; }
.blog-link h2, .blog-link h3 { font-family: var(--font-display); margin: 0.5rem 0; font-size: 1.15rem; }
.blog-link p { color: var(--muted); font-size: 0.9rem; margin: 0; }

.cta-final-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--stroke);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}
.footer-grid {
  display: grid;
  gap: 1.75rem 2rem;
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

/* Desktop: marca | sello estrecho | enlaces | contacto | newsletter */
@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns:
      minmax(180px, 1.35fr)
      minmax(100px, 120px)
      minmax(120px, 0.95fr)
      minmax(140px, 1fr)
      minmax(160px, 1.05fr);
  }

  .footer-cert-col {
    justify-self: center;
    max-width: 120px;
  }
}

.footer-cert-col {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

@media (min-width: 640px) and (max-width: 991.98px) {
  .footer-cert-col {
    justify-content: flex-start;
  }
}

.footer-cert {
  margin: 0;
}

.footer-cert img {
  display: block;
  height: auto;
  max-height: 190px;
  width: auto;
  max-width: min(118px, 32vw);
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

@media (max-width: 639px) {
  .footer-cert-col {
    justify-content: flex-start;
    max-width: none;
  }

  .footer-cert img {
    max-height: 150px;
    max-width: 96px;
  }
}
.footer-logo { font-weight: 700; margin-bottom: 0.5rem; }
.footer-tagline { color: var(--muted); font-size: 0.9rem; }
.social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social a {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--stroke); display: grid; place-items: center;
  font-size: 0.7rem; color: var(--muted);
}
.site-footer h4 { margin: 0 0 0.75rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }
.input-news {
  width: 100%; padding: 0.55rem 0.75rem; border-radius: 10px;
  border: 1px solid var(--stroke); background: rgba(0, 0, 0, 0.25);
  color: #fff; margin-bottom: 0.5rem;
}
.footer-bottom { text-align: center; padding-top: 2rem; color: var(--muted); font-size: 0.8rem; }

.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
  animation: bounce 2.5s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.float-wa::after {
  content: attr(title);
  position: absolute; right: 64px; bottom: 50%; transform: translateY(50%);
  background: #111827; color: #fff; padding: 0.35rem 0.6rem; border-radius: 8px;
  font-size: 0.75rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.float-wa:hover::after { opacity: 1; }
@media (max-width: 600px) {
  .float-wa::after { display: none; }
}

/* Page hero inner */
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
}
.page-hero .lead { color: var(--muted); font-size: 1.1rem; margin: 0; }

.blog-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.blog-filters a {
  padding: 0.35rem 0.85rem; border-radius: 99px; border: 1px solid var(--stroke); font-size: 0.85rem; color: var(--muted);
}
.blog-filters a.active {
  border-color: rgba(124, 58, 237, 0.6);
  background: rgba(124, 58, 237, 0.15);
  color: #fff;
}

.article-header { padding-top: 2rem; }
.article-header h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); }
.article-header .meta { color: var(--muted); font-size: 0.9rem; }
.article-cover { height: min(420px, 50vh); background-size: cover; background-position: center; margin: 2rem 0; border-radius: var(--radius); border: 1px solid var(--stroke); }
.article-body { padding: 1rem 0 3rem; }
.richtext h2 { font-family: var(--font-display); margin-top: 2rem; }
.tags { display: flex; gap: 0.5rem; flex-wrap: wrap; padding-bottom: 3rem; }
.tag { font-size: 0.75rem; padding: 0.25rem 0.65rem; border-radius: 8px; background: var(--glass); border: 1px solid var(--stroke); color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-aside h3 { margin: 0 0 0.75rem; font-family: var(--font-display); font-size: 1.05rem; }
.contact-aside h3:not(:first-child) { margin-top: 1.5rem; }

.contact-map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--bg1);
  aspect-ratio: 4 / 3;
  max-height: 220px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.contact-map__frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
  border: 0;
}
.contact-map__link {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
}
.contact-map__link .link-arrow {
  color: var(--accent2);
}

.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .contact-form .form-row { grid-template-columns: 1fr; } }
.contact-form label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 1.25rem; }
.input {
  width: 100%; margin-top: 0.35rem; padding: 0.65rem 0.85rem; border-radius: 12px;
  border: 1px solid var(--stroke); background: rgba(0, 0, 0, 0.3); color: #fff; font: inherit;
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent2); }

/* Modal */
.modal-root[hidden] { display: none !important; }
.modal-root {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 2rem 1rem;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(6px); }
.modal-dialog {
  position: relative; z-index: 1;
  width: min(1080px, 96vw);
  max-height: 92vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 22px;
  padding: 0;
  border: 1px solid var(--stroke);
}
@media (max-width: 900px) { .modal-dialog { grid-template-columns: 1fr; } }
.modal-close {
  position: absolute; top: 12px; right: 16px; z-index: 5;
  background: rgba(0, 0, 0, 0.4); border: 0; color: #fff;
  width: 40px; height: 40px; border-radius: 10px; cursor: pointer; font-size: 1.5rem; line-height: 1;
}
.modal-gallery { background: #0a0c14; min-height: 280px; }
.modal-slider {
  display: flex; overflow-x: auto; gap: 0; scroll-snap-type: x mandatory;
  height: 100%; min-height: 280px;
}
.modal-slider img {
  flex: 0 0 100%; scroll-snap-align: start; width: 100%; object-fit: cover; max-height: 400px;
}
.modal-content { padding: 2rem; }
.tech-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.tech-pill {
  font-size: 0.72rem; padding: 0.25rem 0.6rem; border-radius: 8px;
  background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}
.modal-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* ——— Admin ——— */
body.admin-body { margin: 0; font-family: var(--font); background: var(--bg0); color: var(--text); min-height: 100vh; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
@media (max-width: 900px) { .admin-shell { grid-template-columns: 1fr; } .admin-sidebar { position: sticky; top: 0; z-index: 10; } }
.admin-sidebar {
  background: #080a12;
  border-right: 1px solid var(--stroke);
  padding: 1.25rem;
}
.admin-sidebar .logo { margin-bottom: 1.5rem; font-size: 0.9rem; }
.admin-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.admin-nav a {
  padding: 0.55rem 0.75rem; border-radius: 10px; font-size: 0.88rem; color: var(--muted);
}
.admin-nav a:hover, .admin-nav a.active { background: var(--glass); color: #fff; }
.admin-main { padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 3rem; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.stat-card {
  padding: 1.25rem; border-radius: 14px; border: 1px solid var(--stroke); background: var(--glass);
}
.stat-card strong { font-size: 1.75rem; display: block; }
.table-wrap { overflow: auto; border: 1px solid var(--stroke); border-radius: 14px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th, .admin-table td { padding: 0.65rem 0.85rem; text-align: left; border-bottom: 1px solid var(--stroke); }
.admin-table th { color: var(--muted); font-weight: 500; font-size: 0.75rem; text-transform: uppercase; }
.form-stack label { display: block; margin-bottom: 1rem; font-size: 0.85rem; color: var(--muted); }
.form-stack input, .form-stack textarea, .form-stack select {
  width: 100%; margin-top: 0.35rem; padding: 0.55rem 0.65rem;
  border-radius: 10px; border: 1px solid var(--stroke); background: #0b0e18; color: #fff; font: inherit;
}
.actions-inline { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.auth-panel {
  min-height: 100vh; display: grid; place-items: center;
  padding: 2rem;
  background: radial-gradient(800px 500px at 50% -20%, rgba(124, 58, 237, 0.2), transparent);
}
.auth-card {
  width: min(400px, 100%);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--glass);
}

/* Cookie consent */
.cookie-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  pointer-events: none;
}
.cookie-consent__panel {
  pointer-events: auto;
  max-width: 560px; margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.45);
}
.cookie-consent__title { margin: 0 0 0.5rem; font-family: var(--font-display); font-size: 1.05rem; }
.cookie-consent__text { margin: 0 0 0.75rem; font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.cookie-consent__link { font-size: 0.82rem; margin-bottom: 0.5rem; }
.cookie-consent__link a { color: var(--accent2); }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; }

/* Servicios — detalle */
.service-details { margin-top: 0.75rem; font-size: 0.88rem; }
.service-details summary {
  cursor: pointer; color: var(--accent2); font-weight: 600; list-style: none;
}
.service-details summary::-webkit-details-marker { display: none; }
.service-details__body {
  margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--stroke);
  color: var(--muted); font-size: 0.88rem; line-height: 1.6;
}
.service-details__body p { margin: 0 0 0.65rem; }
.service-page-detail { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--stroke); font-size: 0.9rem; color: var(--muted); }
.service-page-detail p { margin: 0 0 0.65rem; }

