:root {
  /* ===== COLOR PRINCIPAL ===== */
  --color-primary: #8616e4;
  --color-primary-hover: #9f3df0;
  --color-primary-soft: #b86cff;
  --color-primary-dark: #5d0fa3;

  /* ===== FONDOS ===== */
  --bg-main: #0a0612;
  --bg-secondary: #120a1f;
  --bg-surface: #1a102b;
  --bg-elevated: #24143b;

  /* ===== TEXTO ===== */
  --text-main: #f5edff;
  --text-secondary: #cbb7e9;
  --text-muted: #8d7aa8;

  /* ===== BORDES ===== */
  --border-color: #3a235c;
  --border-glow: #8616e4;

  /* ===== ACENTOS ===== */
  --accent-cyan: #19f0ff;
  --accent-pink: #ff4fd8;

  /* ===== EFECTOS ===== */
  --shadow-neon:
    0 0 8px rgba(134, 22, 228, 0.35), 0 0 20px rgba(134, 22, 228, 0.25),
    0 0 40px rgba(134, 22, 228, 0.18);

  --shadow-cyan: 0 0 10px rgba(25, 240, 255, 0.35);
  --shadow-pink: 0 0 10px rgba(255, 79, 216, 0.35);

  /* ===== BOTONES ===== */
  --btn-text: #ffffff;
  --btn-bg: #8616e4;
  --btn-bg-hover: #9f3df0;

  /* ===== ESTADOS ===== */
  --success: #00f7a5;
  --warning: #ffd44d;
  --danger: #ff5f7a;
}

/* Headers estilo logo */
h1,
h2 {
  font-family: "Poppins", cursive;
}

/* Todo lo demás */
body,
h3,
h4,
p,
span,
button,
input {
  font-family: "Inter", sans-serif;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

html {
  scroll-behavior: smooth;
  scroll-padding: 20px;
}

/* =========================
   PURPLE NEON STARS
========================= */

body {
  position: relative;
  overflow-x: hidden;
}

.stars-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Todo el contenido por encima */
.navbar,
.hero,
section,
footer {
  position: relative;
  z-index: 1;
}

.star {
  --near-scale: 1;
  --near-opacity: 0.45;
  --near-glow: 0;

  position: absolute;
  width: var(--size, 10px);
  aspect-ratio: 1;
  opacity: var(--near-opacity);
  will-change: transform, opacity;

  clip-path: polygon(
    50% 0%,
    61% 39%,
    100% 50%,
    61% 61%,
    50% 100%,
    39% 61%,
    0% 50%,
    39% 39%
  );

  background: radial-gradient(
    circle,
    #ffffff 0%,
    #f4dcff 18%,
    #d89cff 40%,
    #b14fff 68%,
    rgba(177, 79, 255, 0) 100%
  );

  transform: scale(var(--near-scale));

  box-shadow:
    0 0 calc(4px + var(--near-glow) * 6px) rgba(255, 255, 255, 0.8),
    0 0 calc(8px + var(--near-glow) * 10px) rgba(216, 156, 255, 0.65),
    0 0 calc(14px + var(--near-glow) * 14px) rgba(177, 79, 255, 0.5);

  animation: starTwinkle 4s ease-in-out infinite;
}

.star::before {
  content: "";
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(177, 79, 255, 0.22) 0%,
    rgba(134, 22, 228, 0.12) 45%,
    transparent 75%
  );
  filter: blur(8px);
  opacity: calc(0.45 + var(--near-glow) * 0.5);
  z-index: -1;
  animation: starFloat var(--float-duration, 7s) ease-in-out infinite;
}

/* halo extra */
.star::before {
  content: "";
  position: absolute;
  inset: -35%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(177, 79, 255, 0.32) 0%,
    rgba(134, 22, 228, 0.18) 40%,
    transparent 75%
  );
  filter: blur(10px);
  z-index: -1;
  opacity: 0.8;
  animation: starFloat var(--float-duration, 7s) ease-in-out infinite;
}

/* animaciones */
@keyframes starFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  25% {
    transform: translate3d(4px, -8px, 0) rotate(4deg);
  }
  50% {
    transform: translate3d(-3px, 6px, 0) rotate(-3deg);
  }
  75% {
    transform: translate3d(5px, -4px, 0) rotate(2deg);
  }
}

@keyframes starTwinkle {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes starPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8))
      drop-shadow(0 0 8px rgba(216, 156, 255, 0.7))
      drop-shadow(0 0 14px rgba(177, 79, 255, 0.55))
      drop-shadow(0 0 22px rgba(134, 22, 228, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 1))
      drop-shadow(0 0 12px rgba(226, 185, 255, 0.95))
      drop-shadow(0 0 20px rgba(177, 79, 255, 0.9))
      drop-shadow(0 0 34px rgba(134, 22, 228, 0.6));
  }
}

/* menos movimiento si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  .star {
    animation: none;
  }
}

/* =========================
   SCROLLBAR NEON TIPO LOGO
========================= */

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #b86cff #140a22;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 18px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #09030f 0%, #140a22 50%, #09030f 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 0 10px rgba(134, 22, 228, 0.15),
    inset 0 0 18px rgba(134, 22, 228, 0.08);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #f8eaff 0%,
    #dcaeff 10%,
    #b86cff 28%,
    #9f3df0 55%,
    #8616e4 75%,
    #f3ddff 100%
  );
  border-radius: 999px;
  border: 3px solid #120a1f;
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.95),
    0 0 12px rgba(220, 174, 255, 0.95),
    0 0 22px rgba(184, 108, 255, 0.9),
    0 0 34px rgba(134, 22, 228, 0.8),
    0 0 48px rgba(134, 22, 228, 0.5),
    inset 0 0 8px rgba(255, 255, 255, 0.75),
    inset 0 0 16px rgba(255, 255, 255, 0.25);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #fff7ff 0%,
    #f0cfff 10%,
    #c987ff 30%,
    #b14fff 55%,
    #ff4fd8 100%
  );
  box-shadow:
    0 0 8px rgba(255, 255, 255, 1),
    0 0 16px rgba(240, 207, 255, 1),
    0 0 28px rgba(201, 135, 255, 1),
    0 0 42px rgba(177, 79, 255, 0.95),
    0 0 60px rgba(255, 79, 216, 0.55),
    inset 0 0 10px rgba(255, 255, 255, 0.8);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(
    180deg,
    #fff9ff 0%,
    #d995ff 18%,
    #a83fff 55%,
    #7a14cf 100%
  );
}

::-webkit-scrollbar-corner {
  background: #09030f;
}

/* =========================
   NAVBAR MODERNO NEON
========================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 18px 0 0;
  background: linear-gradient(
    180deg,
    rgba(5, 2, 10, 0.75) 0%,
    rgba(5, 2, 10, 0.18) 70%,
    transparent 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  width: min(92%, 1320px);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 8px;
}

/* Logo */
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: clamp(62px, 6vw, 88px);
  width: auto;
  object-fit: contain;

  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15))
    drop-shadow(0 0 16px rgba(134, 22, 228, 0.35))
    drop-shadow(0 0 28px rgba(134, 22, 228, 0.2));
  transition: 0.25s ease;
}

.nav-logo img:hover {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.18))
    drop-shadow(0 0 16px rgba(184, 108, 255, 0.35))
    drop-shadow(0 0 28px rgba(134, 22, 228, 0.2));
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 10px 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.9),
    0 0 8px rgba(220, 174, 255, 0.9),
    0 0 14px rgba(184, 108, 255, 0.85),
    0 0 22px rgba(134, 22, 228, 0.8),
    0 0 36px rgba(134, 22, 228, 0.6);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    #dcaeff,
    #b86cff,
    #8616e4,
    transparent
  );
  box-shadow:
    0 0 6px rgba(220, 174, 255, 0.8),
    0 0 14px rgba(184, 108, 255, 0.7),
    0 0 22px rgba(134, 22, 228, 0.6);
  transform: scaleX(0);
  opacity: 0;
  transition: 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-links a.active {
  color: #fff;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.8),
    0 0 12px rgba(184, 108, 255, 0.7),
    0 0 20px rgba(134, 22, 228, 0.6);
}

/* Subrayado neon sutil */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-primary-soft),
    transparent
  );
  transform: scaleX(0);
  opacity: 0;
  transition: 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #8d2cff 0%, #b14fff 100%);
  box-shadow:
    0 0 10px rgba(177, 79, 255, 0.45),
    0 0 24px rgba(177, 79, 255, 0.22);
  transition: 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 14px rgba(177, 79, 255, 0.65),
    0 0 30px rgba(177, 79, 255, 0.32);
}

/* Toggle */
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 8px rgba(177, 79, 255, 0.35);
}

/* Mobile menu */
.mobile-menu {
  display: none;
}

/* =========================
   HERO SECTION
========================= */

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 56px;
  width: min(92%, 1320px);
  margin: 0 auto;
  padding: 40px 0 60px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -6% -4% -8%;
  background:
    radial-gradient(
      circle at 18% 30%,
      rgba(177, 79, 255, 0.22),
      transparent 22%
    ),
    radial-gradient(
      circle at 38% 58%,
      rgba(134, 22, 228, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 78% 34%,
      rgba(255, 79, 216, 0.16),
      transparent 20%
    ),
    radial-gradient(
      circle at 72% 64%,
      rgba(134, 22, 228, 0.16),
      transparent 24%
    );
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(184, 108, 255, 0.3);
  background: rgba(134, 22, 228, 0.08);
  color: #d59aff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow:
    0 0 10px rgba(134, 22, 228, 0.18),
    0 0 22px rgba(134, 22, 228, 0.1),
    inset 0 0 12px rgba(255, 255, 255, 0.03);
}

.hero h1 {
  margin: 22px 0 18px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(3.2rem, 6.8vw, 5rem);
  line-height: 0.94;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -2px;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.35),
    0 0 16px rgba(255, 255, 255, 0.18),
    0 0 28px rgba(184, 108, 255, 0.2);
}

.hero h1 span {
  display: block;
  color: white;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.4),
    0 0 18px rgba(220, 174, 255, 0.65),
    0 0 34px rgba(184, 108, 255, 0.75),
    0 0 52px rgba(134, 22, 228, 0.55);
}

.hero-description {
  max-width: 650px;
  margin: 0 0 40px;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
  width: 100%;
  max-width: 520px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 220px;
  min-width: 0;
  max-width: 100%;
  padding: 14px 20px;
  border-radius: 16px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.3s ease;
  box-sizing: border-box;
}

.hero-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #8d2cff 0%, #b14fff 100%);
  box-shadow:
    0 0 10px rgba(177, 79, 255, 0.45),
    0 0 24px rgba(177, 79, 255, 0.22);
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 14px rgba(177, 79, 255, 0.65),
    0 0 34px rgba(177, 79, 255, 0.32);
}

.hero-btn-secondary {
  color: var(--text-main);
  border: 1px solid rgba(184, 108, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.hero-btn-secondary:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(184, 108, 255, 0.45);
  box-shadow: 0 0 14px rgba(134, 22, 228, 0.16);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
}

.highlight-item {
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(26, 16, 43, 0.78),
    rgba(12, 8, 22, 0.84)
  );
  border: 1px solid rgba(184, 108, 255, 0.12);
  box-shadow:
    0 0 14px rgba(134, 22, 228, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.highlight-item strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
}

.highlight-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Visual */
.hero-visual {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(184, 108, 255, 0.24) 0%,
    rgba(134, 22, 228, 0.16) 30%,
    rgba(255, 79, 216, 0.1) 52%,
    transparent 74%
  );
  filter: blur(28px);
  animation: pulseGlow 4s ease-in-out infinite;
}

.hero-stack {
  position: absolute;
  width: min(100%, 420px);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(184, 108, 255, 0.22);
  background: linear-gradient(
    180deg,
    rgba(22, 12, 36, 0.92),
    rgba(9, 5, 18, 0.96)
  );
  box-shadow:
    0 0 14px rgba(134, 22, 228, 0.2),
    0 0 34px rgba(134, 22, 228, 0.16),
    0 0 70px rgba(134, 22, 228, 0.08);
  transition: 0.35s ease;
}

.hero-stack img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Imagen de atrás */
.hero-stack-back {
  transform: rotate(-8deg) translateX(-36px) translateY(-30px) scale(0.96);
  opacity: 0.55;
  filter: blur(1.5px);
}

/* Imagen principal */
.hero-stack-front {
  transform: rotate(6deg) translateX(34px) translateY(26px);
  z-index: 2;
}

/* Hover suave */
.hero-visual:hover .hero-stack-front {
  transform: rotate(3deg) translateX(24px) translateY(18px) scale(1.02);
}

.hero-visual:hover .hero-stack-back {
  transform: rotate(-6deg) translateX(-28px) translateY(-22px) scale(0.98);
  opacity: 0.68;
}

/* =========================
   SERVICES SECTION
========================= */

.services {
  padding: 90px 0 90px;
}

.services-inner {
  width: min(92%, 1320px);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(184, 108, 255, 0.28);
  background: rgba(134, 22, 228, 0.09);
  color: #d59aff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow:
    0 0 10px rgba(134, 22, 228, 0.16),
    inset 0 0 10px rgba(255, 255, 255, 0.02);
}

.section-heading h2 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -1px;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.18),
    0 0 22px rgba(184, 108, 255, 0.18);
}

.section-heading p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  padding: 24px 22px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(30, 18, 48, 0.9),
    rgba(14, 8, 24, 0.96)
  );
  border: 1px solid rgba(184, 108, 255, 0.16);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  box-shadow:
    0 0 14px rgba(134, 22, 228, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 79, 216, 0.12);
  border: 1px solid rgba(255, 79, 216, 0.22);
  color: #ffc6f3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.service-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #b896ea;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18px;
  text-transform: uppercase;
}

.service-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(134, 22, 228, 0.08);
  border: 1px solid rgba(184, 108, 255, 0.14);
  color: #f5ebff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.service-icon i {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.service-card-featured {
  background: linear-gradient(
    180deg,
    rgba(54, 21, 86, 0.95),
    rgba(18, 9, 31, 0.98)
  );
  border-color: rgba(255, 79, 216, 0.28);
}

.service-card-featured .service-icon {
  background: rgba(255, 79, 216, 0.14);
  border-color: rgba(255, 79, 216, 0.24);
  box-shadow:
    0 0 18px rgba(255, 79, 216, 0.14),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 108, 255, 0.35);
  box-shadow:
    0 0 18px rgba(134, 22, 228, 0.14),
    0 0 32px rgba(134, 22, 228, 0.12);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.2;
  color: #fff;
  position: relative;
  z-index: 1;
}

.service-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.service-card-featured {
  background: linear-gradient(
    180deg,
    rgba(54, 21, 86, 0.95),
    rgba(18, 9, 31, 0.98)
  );
  border-color: rgba(255, 79, 216, 0.28);
}

.service-card-glow {
  position: absolute;
  inset: auto -40px -40px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 79, 216, 0.24) 0%,
    rgba(134, 22, 228, 0.16) 42%,
    transparent 72%
  );
  filter: blur(18px);
  pointer-events: none;
}

.service-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 79, 216, 0.12);
  border: 1px solid rgba(255, 79, 216, 0.22);
  color: #ffc6f3;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.services-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(184, 108, 255, 0.14);
}

.services-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.services-proof span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(134, 22, 228, 0.08);
  border: 1px solid rgba(184, 108, 255, 0.16);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.services-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #8d2cff 0%, #ff4fd8 100%);
  box-shadow:
    0 0 14px rgba(177, 79, 255, 0.35),
    0 0 28px rgba(255, 79, 216, 0.16);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  box-sizing: border-box;
  max-width: 100%;
}

.services-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 18px rgba(177, 79, 255, 0.45),
    0 0 34px rgba(255, 79, 216, 0.22);
}

/* =========================
   ABOUT SECTION
========================= */

.about {
  padding: 90px 0;
}

.about-inner {
  width: min(92%, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

/* TEXT */

.about-content h2 {
  margin: 18px 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -1px;
  color: #fff;
}

.about-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #f3e9ff;
  margin-bottom: 12px;
}

.about-content p {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.about-point {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(184, 108, 255, 0.14);
}

.about-point strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.95rem;
}

.about-point span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.about-actions {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

/* IMAGE */

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1);
}

/* overlay */
.about-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(10, 5, 20, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(184, 108, 255, 0.2);
}

.about-overlay span {
  display: block;
  font-size: 0.75rem;
  color: #d59aff;
}

.about-overlay strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

/* glow */
.about-image-glow {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 79, 216, 0.25),
    rgba(134, 22, 228, 0.2),
    transparent 70%
  );
  filter: blur(30px);
  z-index: -1;
}

/* border */
.about-image-border {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  border: 1px solid rgba(184, 108, 255, 0.25);
  pointer-events: none;
}

/* =========================
   GLOBAL BUTTONS
========================= */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 16px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
}

/* PRIMARY */
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #8d2cff 0%, #ff4fd8 100%);
  box-shadow:
    0 0 10px rgba(177, 79, 255, 0.45),
    0 0 24px rgba(255, 79, 216, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 14px rgba(177, 79, 255, 0.6),
    0 0 32px rgba(255, 79, 216, 0.25);
}

/* SECONDARY */
.btn-secondary {
  color: var(--text-main);
  border: 1px solid rgba(184, 108, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(184, 108, 255, 0.5);
  box-shadow: 0 0 14px rgba(134, 22, 228, 0.2);
}

/* =========================
   REVIEWS SECTION
========================= */

.reviews {
  padding: 90px 0;
}

.reviews-inner {
  width: min(92%, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: center;
}

.reviews-widget {
  position: relative;
}

.reviews-widget-frame {
  position: relative;
  min-height: 460px;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(28, 16, 45, 0.92),
    rgba(12, 8, 22, 0.96)
  );
  border: 1px solid rgba(184, 108, 255, 0.16);
  box-shadow:
    0 0 18px rgba(134, 22, 228, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.reviews-widget-frame::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 79, 216, 0.18),
    rgba(134, 22, 228, 0.14),
    transparent 70%
  );
  filter: blur(26px);
  pointer-events: none;
}

.reviews-placeholder {
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  border: 1px dashed rgba(184, 108, 255, 0.22);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  padding: 24px;
}

.reviews-placeholder span {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}

.reviews-placeholder p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 260px;
}

/* RIGHT CONTENT */

.reviews-content h2 {
  margin: 18px 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -1px;
  color: #fff;
}

.reviews-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #f3e9ff;
  margin-bottom: 12px;
}

.reviews-content p {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.reviews-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}

.reviews-point {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(184, 108, 255, 0.14);
}

.reviews-point strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.96rem;
}

.reviews-point span {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.reviews-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* =========================
   GALLERY SECTION
========================= */

.gallery {
  padding: 90px 0;
}

.gallery-inner {
  width: min(92%, 1320px);
  margin: 0 auto;
  position: relative;
}

.gallery .section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.gallery-masonry {
  column-count: 4;
  column-gap: 18px;
  position: relative;
}

/* Mostrar solo 10 imágenes en desktop */
.gallery-item:nth-child(n + 13) {
  display: none;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 18px;
  position: relative;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(184, 108, 255, 0.3);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(30, 18, 48, 0.92),
    rgba(14, 8, 24, 0.98)
  );
  cursor: pointer;
  isolation: isolate;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease;
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.06),
    0 0 12px rgba(220, 174, 255, 0.16),
    0 0 22px rgba(184, 108, 255, 0.2),
    0 0 38px rgba(134, 22, 228, 0.14);
}

/* Glow neon exterior real */
.gallery-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  z-index: -1;
  pointer-events: none;
  background: transparent;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.08),
    0 0 16px rgba(220, 174, 255, 0.22),
    0 0 28px rgba(184, 108, 255, 0.28),
    0 0 44px rgba(134, 22, 228, 0.22),
    0 0 64px rgba(134, 22, 228, 0.14);
  opacity: 0.95;
  transition:
    opacity 0.28s ease,
    box-shadow 0.28s ease;
}

/* brillo superior sutil */
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 14%,
    rgba(255, 255, 255, 0) 36%
  );
  opacity: 0.9;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(220, 174, 255, 0.7);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.12),
    0 0 16px rgba(220, 174, 255, 0.3),
    0 0 28px rgba(184, 108, 255, 0.36),
    0 0 46px rgba(134, 22, 228, 0.28),
    0 0 72px rgba(134, 22, 228, 0.2);
}

.gallery-card:hover::before {
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.14),
    0 0 20px rgba(220, 174, 255, 0.38),
    0 0 34px rgba(184, 108, 255, 0.46),
    0 0 54px rgba(134, 22, 228, 0.36),
    0 0 82px rgba(134, 22, 228, 0.24);
}

.gallery-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 0.32s ease,
    filter 0.32s ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.04);
}

/* Fade inferior: mismo color del fondo, sube y se vuelve transparente */
.gallery-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 450px;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    to top,
    var(--bg-main) 0%,
    rgba(10, 6, 18, 0.96) 22%,
    rgba(10, 6, 18, 0.82) 42%,
    rgba(10, 6, 18, 0.58) 62%,
    rgba(10, 6, 18, 0.28) 80%,
    rgba(10, 6, 18, 0) 100%
  );
}

.gallery-cta {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* opcional: si quieres que el botón de esta sección luzca más integrado */
.gallery-cta .btn-primary {
  min-width: 220px;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(5, 2, 10, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* fondo visual sutil */
.lightbox::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(134, 22, 228, 0.14),
      transparent 22%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(255, 79, 216, 0.12),
      transparent 20%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(184, 108, 255, 0.12),
      transparent 24%
    );
  pointer-events: none;
}

.lightbox-content {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ESTA ERA LA PARTE QUE TE FALTABA */
.lightbox-content img {
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  display: block;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid rgba(184, 108, 255, 0.34);
  background: rgba(14, 8, 24, 0.96);
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.08),
    0 0 22px rgba(220, 174, 255, 0.18),
    0 0 40px rgba(184, 108, 255, 0.22),
    0 0 70px rgba(134, 22, 228, 0.18);
}

/* Botones generales */
.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(184, 108, 255, 0.28);
  background: rgba(16, 10, 28, 0.88);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.06),
    0 0 16px rgba(220, 174, 255, 0.16),
    0 0 28px rgba(134, 22, 228, 0.16);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  transform: scale(1.05);
  border-color: rgba(220, 174, 255, 0.6);
  background: rgba(28, 16, 45, 0.96);
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.1),
    0 0 20px rgba(220, 174, 255, 0.26),
    0 0 34px rgba(184, 108, 255, 0.28),
    0 0 56px rgba(134, 22, 228, 0.24);
}

.lightbox-close i,
.lightbox-nav i {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

/* Botón cerrar */
.lightbox-close {
  top: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

/* Flechas */
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.05);
}

/* =========================
   CONTACT SECTION
========================= */

.contact {
  padding: 96px 0 112px;
}

.contact-inner {
  width: min(92%, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: stretch;
}

.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 30px;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(25, 14, 40, 0.82),
    rgba(10, 6, 18, 0.94)
  );
  border: 1px solid rgba(184, 108, 255, 0.14);
  box-shadow:
    0 0 18px rgba(134, 22, 228, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.contact-content h2 {
  margin: 18px 0 16px;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -1.2px;
  color: #fff;
  max-width: 12ch;
}

.contact-lead {
  margin: 0 0 24px;
  max-width: 54ch;
  color: #ddd0f0;
  font-size: 1.04rem;
  line-height: 1.75;
}

.contact-whatsapp {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  padding: 18px 18px;
  border-radius: 22px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(184, 108, 255, 0.14);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
  box-sizing: border-box;
}

.contact-whatsapp:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 108, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.contact-whatsapp-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(134, 22, 228, 0.08);
  border: 1px solid rgba(184, 108, 255, 0.12);
  color: #fff;
}

.contact-whatsapp-icon i {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.contact-whatsapp-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.contact-label {
  color: #b896ea;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.28px;
  text-transform: uppercase;
}

.contact-whatsapp-text strong {
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 600;
}

.contact-whatsapp-text span:last-child {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.contact-hours {
  margin-top: 24px;
  width: 100%;
  max-width: 100%;
}

.contact-hours-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-hours-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(184, 108, 255, 0.1);
}

.contact-hours-list li span {
  color: #f3e9ff;
  font-size: 0.96rem;
  font-weight: 500;
}

.contact-hours-list li strong {
  color: var(--text-secondary);
  font-size: 0.96rem;
  font-weight: 500;
  text-align: right;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-actions .btn-primary,
.contact-actions .btn-secondary {
  flex: 1 1 220px;
}

.contact-map-wrap {
  min-width: 0;
}

.contact-map-frame {
  height: 100%;
  min-height: 590px;
  padding: 14px;
  border-radius: 30px;
  background: linear-gradient(
    180deg,
    rgba(28, 16, 45, 0.92),
    rgba(12, 8, 22, 0.96)
  );
  border: 1px solid rgba(184, 108, 255, 0.16);
  box-shadow:
    0 0 18px rgba(134, 22, 228, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  border-radius: 24px;
  display: block;
}

/* =========================
   FOOTER
========================= */

.footer {
  margin-top: 80px;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(184, 108, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(18, 10, 30, 0.9), rgba(8, 4, 16, 0.98));
}

.footer-inner {
  width: min(92%, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 30px;
}

/* BRAND */

.footer-brand img {
  width: 140px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 10px rgba(134, 22, 228, 0.35));
}

.footer-brand p {
  max-width: 320px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* COLUMNAS */

.footer-col h4 {
  margin-bottom: 14px;
  font-size: 1rem;
  color: #fff;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(184, 108, 255, 0.6);
}

/* CONTACT */

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-contact-item i {
  width: 16px;
  height: 16px;
}

/* CTA */

.footer-cta {
  display: inline-flex;
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #8d2cff, #ff4fd8);
  box-shadow:
    0 0 12px rgba(177, 79, 255, 0.4),
    0 0 24px rgba(255, 79, 216, 0.2);
  transition: 0.25s ease;
}

.footer-cta:hover {
  transform: translateY(-2px);
}

/* BOTTOM */

.footer-bottom {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(184, 108, 255, 0.1);
  text-align: center;
}

.footer-bottom span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* =========================
   SOCIAL BUTTONS
========================= */

.social-wrapper {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: fit-content;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  text-decoration: none;
  border-radius: 50%;
  color: #ffffff;
  background: transparent;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    filter 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-2px) scale(1.06);
  opacity: 1;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.25))
    drop-shadow(0 0 14px rgba(184, 108, 255, 0.45));
}

.social-links a:active {
  transform: scale(0.96);
}

.social-links svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

.social-links a svg,
.social-links a path,
.social-links a g {
  pointer-events: none;
}

/* FOOTER */
.social-wrapper-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* o center si quieres */
  margin-top: 16px;
}

.social-links-footer {
  display: flex;
  flex-direction: row; /* 👈 IMPORTANTE */
  align-items: center;
  gap: 14px;
}

/* MOBILE MENU / NAVBAR */
.social-wrapper-mobile {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(184, 108, 255, 0.14);
}

.social-links-mobile {
  justify-content: center;
  width: 100%;
}

.social-wrapper-navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.social-links-navbar {
  display: flex;
  justify-content: center; /* 👈 CENTRADO */
  align-items: center;
  gap: 12px;
  width: auto;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .social-links {
    gap: 10px;
  }

  .social-links a {
    width: 42px;
    height: 42px;
  }

  .social-links svg {
    width: 20px;
    height: 20px;
  }
}

/* =========================
   CONTACT RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-content {
    padding: 28px 24px;
  }

  .contact-content h2 {
    max-width: 100%;
  }

  .contact-map-frame {
    min-height: 460px;
  }

  .contact-map-frame iframe {
    min-height: 430px;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 82px 0 92px;
  }

  .contact-content {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .contact-content h2 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.04;
    letter-spacing: -1px;
  }

  .contact-lead {
    font-size: 1rem;
  }

  .contact-whatsapp {
    align-items: flex-start;
    padding: 16px;
  }

  .contact-hours-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .contact-hours-list li strong {
    text-align: left;
  }

  .contact-map-frame {
    padding: 12px;
    min-height: 360px;
    border-radius: 22px;
  }

  .contact-map-frame iframe {
    min-height: 340px;
    border-radius: 18px;
  }
}

@media (max-width: 560px) {
  .contact {
    padding: 74px 0 84px;
  }

  .contact-inner {
    gap: 20px;
  }

  .contact-content {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .contact-whatsapp {
    gap: 12px;
  }

  .contact-whatsapp-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .contact-whatsapp-text strong {
    font-size: 1rem;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn-primary,
  .contact-actions .btn-secondary {
    width: 100%;
    flex: none;
  }

  .contact-map-frame {
    min-height: 320px;
  }

  .contact-map-frame iframe {
    min-height: 300px;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
  .lightbox {
    padding: 18px;
  }

  .lightbox-content {
    width: min(100%, 760px);
  }

  .lightbox-content img {
    max-height: 76vh;
    border-radius: 20px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .lightbox-nav {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

@media (max-width: 560px) {
  .lightbox {
    padding: 12px;
  }

  .lightbox-content {
    width: 100%;
  }

  .lightbox-content img {
    width: 100%;
    max-height: 70vh;
    border-radius: 18px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close i,
  .lightbox-nav i {
    width: 18px;
    height: 18px;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .gallery-masonry {
    column-count: 3;
  }

  .gallery-fade {
    height: 210px;
  }
}

@media (max-width: 980px) {
  .gallery {
    padding: 80px 0;
  }

  .gallery-masonry {
    column-count: 2;
    column-gap: 16px;
  }

  /* Mostrar 8 imágenes */
  .gallery-item:nth-child(n + 9) {
    display: none;
  }

  .gallery-item {
    margin-bottom: 16px;
  }

  .gallery-fade {
    bottom: 74px;
    height: 180px;
  }

  .lightbox {
    padding: 18px;
  }

  .lightbox-content {
    width: min(100%, 760px);
  }

  .lightbox-prev,
  .lightbox-next {
    width: 48px;
    height: 48px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 560px) {
  .gallery {
    padding: 72px 0;
  }

  .gallery-masonry {
    column-count: 1;
    column-gap: 0;
  }

  /* Mostrar 6 imágenes */
  .gallery-item:nth-child(n + 7) {
    display: none;
  }

  .gallery-item {
    margin-bottom: 14px;
  }

  .gallery-card,
  .gallery-card::after {
    border-radius: 20px;
  }

  .gallery-card::before {
    border-radius: 22px;
  }

  .gallery-fade {
    bottom: 70px;
    height: 140px;
  }

  .gallery-cta {
    margin-top: 20px;
  }

  .gallery-cta .btn-primary {
    width: 100%;
    max-width: 280px;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-content {
    width: 100%;
  }

  .lightbox-image {
    max-height: 72vh;
    border-radius: 18px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }

  .lightbox-close {
    top: 6px;
    right: 6px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}

/* Animación */
@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

/* =========================================
   RESPONSIVE SYSTEM
========================================= */

/* ---------- Large laptops / tablets ---------- */
@media (max-width: 1200px) {
  .nav-inner,
  .hero,
  .services-inner,
  .about-inner,
  .reviews-inner,
  .gallery-inner {
    width: min(94%, 1200px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 40px;
    padding: 28px 0 56px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 5.2vw, 4.4rem);
    line-height: 0.96;
    letter-spacing: -1.5px;
  }

  .hero-description {
    max-width: 580px;
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-glow {
    width: 460px;
    height: 460px;
  }

  .hero-stack {
    width: min(100%, 360px);
  }

  .hero-stack-back {
    transform: rotate(-7deg) translateX(-24px) translateY(-20px) scale(0.96);
  }

  .hero-stack-front {
    transform: rotate(5deg) translateX(24px) translateY(18px);
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-inner,
  .reviews-inner {
    gap: 28px;
  }

  .gallery-masonry {
    column-count: 3;
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .navbar {
    padding-top: 10px;
  }

  .nav-inner {
    width: min(94%, 980px);
    min-height: 82px;
    padding: 0 4px;
    position: relative;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    z-index: 1002;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(14, 8, 24, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
      0 0 20px rgba(134, 22, 228, 0.18),
      inset 0 0 0 1px rgba(184, 108, 255, 0.08);
    z-index: 1001;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-menu a {
    display: block;
    padding: 14px;
    text-decoration: none;
    color: var(--text-secondary);
    font-family: "Inter", sans-serif;
    font-weight: 500;
    border-radius: 12px;
    transition: 0.25s ease;
  }

  .mobile-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    text-shadow:
      0 0 4px rgba(255, 255, 255, 0.8),
      0 0 10px rgba(184, 108, 255, 0.6),
      0 0 18px rgba(134, 22, 228, 0.45);
  }

  .mobile-cta {
    margin-top: 8px;
    text-align: center;
    color: #fff !important;
    background: linear-gradient(135deg, #8d2cff, #b14fff);
    box-shadow:
      0 0 10px rgba(177, 79, 255, 0.42),
      0 0 24px rgba(177, 79, 255, 0.2);
  }

  .hero,
  .services-inner,
  .about-inner,
  .reviews-inner,
  .gallery-inner {
    width: min(94%, 980px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 22px 0 56px;
    text-align: center;
  }

  .hero-content {
    max-width: 760px;
    margin: 0 auto;
  }

  .hero-badge {
    margin-inline: auto;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 0.97;
    letter-spacing: -1.2px;
    margin: 18px 0 14px;
  }

  .hero-description {
    margin: 0 auto 26px;
    max-width: 640px;
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-actions {
    justify-content: center;
    margin-bottom: 0;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-glow {
    width: 430px;
    height: 430px;
  }

  .hero-stack {
    width: min(100%, 340px);
  }

  .hero-stack-back {
    transform: rotate(-6deg) translateX(-18px) translateY(-16px) scale(0.96);
  }

  .hero-stack-front {
    transform: rotate(4deg) translateX(18px) translateY(16px);
  }

  .services {
    padding: 72px 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-bottom {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }

  .services-proof {
    justify-content: center;
    width: 100%;
  }

  .services-cta {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .about {
    padding: 78px 0;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .about-visual {
    order: -1;
  }

  .about-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews {
    padding: 78px 0;
  }

  .reviews-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .reviews-widget-frame {
    min-height: 380px;
  }

  .reviews-placeholder {
    min-height: 340px;
  }

  .gallery {
    padding: 72px 0;
  }

  .gallery-masonry {
    column-count: 2;
    column-gap: 14px;
  }

  .gallery-item {
    margin-bottom: 14px;
  }

  .gallery-masonry .gallery-item.is-hidden-mobile {
    display: none;
  }

  .gallery-masonry.is-expanded .gallery-item.is-hidden-mobile {
    display: block;
  }

  .lightbox {
    padding: 24px 20px 84px;
  }

  .lightbox-content img {
    border-radius: 18px;
    max-height: 78vh;
  }

  .lightbox-nav {
    width: 52px;
    height: 52px;
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 62px);
  }

  .lightbox-next {
    right: calc(50% - 62px);
  }

  .lightbox-close {
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
}

/* ---------- Mobile landscape / big phones ---------- */
@media (max-width: 768px) {
  .nav-inner,
  .hero,
  .services-inner,
  .about-inner,
  .reviews-inner,
  .gallery-inner {
    width: min(94%, 768px);
  }

  .nav-inner {
    min-height: 78px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .menu-toggle span {
    width: 20px;
  }

  .hero {
    padding: 16px 0 48px;
    gap: 28px;
  }

  .hero-badge {
    font-size: 0.82rem;
    padding: 9px 14px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    line-height: 0.98;
    letter-spacing: -1px;
  }

  .hero-description {
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 100%;
  }

  .hero-actions {
    max-width: 100%;
    justify-content: center;
  }

  .hero-btn {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-glow {
    width: 340px;
    height: 340px;
    filter: blur(22px);
  }

  .hero-stack {
    width: min(100%, 290px);
    border-radius: 22px;
  }

  .hero-stack-back {
    transform: rotate(-5deg) translateX(-12px) translateY(-12px) scale(0.96);
  }

  .hero-stack-front {
    transform: rotate(3deg) translateX(12px) translateY(10px);
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .about-content h2,
  .reviews-content h2 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  .section-heading p,
  .about-content p,
  .reviews-content p,
  .reviews-lead,
  .about-lead {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .services-bottom {
    padding: 18px;
    border-radius: 18px;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .reviews-actions,
  .about-actions,
  .gallery-actions {
    flex-direction: column;
  }

  .reviews-actions a,
  .about-actions a,
  .gallery-actions .btn-primary,
  .gallery-actions .btn-secondary,
  .gallery-toggle {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 560px) {
  .navbar {
    padding-top: 8px;
  }

  .nav-inner,
  .hero,
  .services-inner,
  .about-inner,
  .reviews-inner,
  .gallery-inner {
    width: 92%;
  }

  .nav-inner {
    min-height: 74px;
  }

  .mobile-menu {
    top: calc(100% + 8px);
    padding: 12px;
    border-radius: 16px;
  }

  .mobile-menu a {
    padding: 13px 12px;
    font-size: 0.95rem;
  }

  .hero {
    gap: 36px;
    padding: 14px 0 42px;
  }

  .hero-badge {
    max-width: 100%;
    text-align: center;
    line-height: 1.4;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1;
    letter-spacing: -0.8px;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .hero-btn,
  .btn-primary,
  .btn-secondary,
  .services-cta,
  .gallery-toggle {
    width: 100%;
    min-width: 100%;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-glow {
    width: 280px;
    height: 280px;
    filter: blur(18px);
  }

  .hero-stack {
    width: min(100%, 240px);
    border-radius: 18px;
  }

  .hero-stack-back {
    transform: rotate(-4deg) translateX(-8px) translateY(-8px) scale(0.95);
    opacity: 0.5;
    filter: blur(1px);
  }

  .hero-stack-front {
    transform: rotate(2.5deg) translateX(8px) translateY(8px);
  }

  .services {
    padding: 70px 0;
  }

  .services-proof span {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .about {
    padding: 70px 0;
  }

  .about-inner {
    gap: 22px;
  }

  .about-content h2,
  .reviews-content h2,
  .section-heading h2 {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }

  .about-image-wrapper,
  .about-image-border {
    border-radius: 20px;
  }

  .about-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }

  .reviews {
    padding: 70px 0;
  }

  .reviews-widget-frame {
    padding: 14px;
    border-radius: 22px;
    min-height: 320px;
  }

  .reviews-placeholder {
    min-height: 260px;
    border-radius: 18px;
    padding: 20px;
  }

  .gallery {
    padding: 70px 0;
  }

  .gallery-masonry {
    column-count: 1;
    column-gap: 0;
  }

  .gallery-card {
    border-radius: 20px;
  }

  .gallery-actions {
    margin-top: 20px;
  }

  .lightbox {
    padding: 18px 14px 82px;
  }

  .lightbox-content img {
    border-radius: 16px;
    max-height: 72vh;
  }

  .about-actions,
  .reviews-actions,
  .gallery-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-actions a,
  .reviews-actions a,
  .gallery-actions .btn-primary,
  .gallery-actions .btn-secondary,
  .gallery-toggle {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* ---------- Extra small phones ---------- */
@media (max-width: 380px) {
  .nav-inner {
    min-height: 70px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .menu-toggle span {
    width: 18px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 11vw, 2.6rem);
  }

  .hero-badge {
    font-size: 0.76rem;
    padding: 8px 12px;
  }

  .hero-description,
  .section-heading p,
  .about-content p,
  .reviews-content p,
  .about-lead,
  .reviews-lead {
    font-size: 0.92rem;
  }

  .service-card,
  .about-point,
  .reviews-point {
    padding: 16px;
  }

  .lightbox-nav {
    width: 46px;
    height: 46px;
  }

  .lightbox-close {
    width: 44px;
    height: 44px;
  }
}

.footer-bottom p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-bottom-links a {
  font-size: 0.92rem;
}

/* =========================================
   FIX REAL SOCIALS + FOOTER MOBILE
========================================= */

/* Base segura para todos los grupos sociales */
.social-wrapper {
  width: 100%;
}

.social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.social-links svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* =========================
   MOBILE MENU SOCIALS
========================= */

/* Esto pisa el .mobile-menu a general */
.mobile-menu .social-links a {
  display: inline-flex !important;
  width: 24px;
  height: 24px;
  padding: 0 !important;
  margin: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
}

.mobile-menu .social-wrapper-mobile {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(184, 108, 255, 0.14);
}

.mobile-menu .social-links-mobile {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
}

.mobile-menu .social-links-mobile svg {
  width: 22px;
  height: 22px;
}

/* =========================
   FOOTER SOCIALS
========================= */

.social-wrapper-footer {
  width: 100%;
  margin-top: 18px;
}

.social-links-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}

.social-links-footer a {
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.social-links-footer svg {
  width: 22px;
  height: 22px;
}

/* =========================
   FOOTER RESPONSIVE REAL
========================= */

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 22px;
  }
}

@media (max-width: 560px) {
  .footer {
    padding: 48px 0 26px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-brand img {
    width: 130px;
    margin-bottom: 12px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .social-wrapper-footer {
    width: auto;
  }

  .social-links-footer {
    justify-content: flex-start;
    gap: 20px;
  }

  .footer-bottom {
    text-align: center;
  }
}