/* ============================================================
   EVENTOS-LUMA — style.css
   Dark premium audiovisual landing page
   ============================================================ */

:root {
  --bg: #05070d;
  --bg-alt: #080c16;
  --surface: #0b1220;
  --surface-2: #0f1730;
  --border: rgba(148, 178, 255, 0.12);
  --border-soft: rgba(148, 178, 255, 0.08);
  --text: #eef2fb;
  --text-dim: #9aa7c4;
  --primary: #00c2ff;
  --primary-2: #2e7bff;
  --gradient: linear-gradient(135deg, #00c2ff 0%, #2e7bff 100%);
  --gradient-soft: linear-gradient(135deg, rgba(0, 194, 255, 0.16), rgba(46, 123, 255, 0.16));
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 18px 60px -18px rgba(0, 194, 255, 0.45);
  --radius: 18px;
  --container: 1200px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---------- Utilidades ---------- */
.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section {
  padding: 120px 0;
}

.section__head {
  max-width: 720px;
  margin-bottom: 64px;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.section__tag::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section__lead {
  color: var(--text-dim);
  font-size: 1.06rem;
}

.check {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  flex: none;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  will-change: transform;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(0, 194, 255, 0.7);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -12px rgba(0, 194, 255, 0.85);
}

.btn--ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn--light {
  background: #fff;
  color: #0a1633;
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.55);
}

.btn--light:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 24px 54px -14px rgba(0, 0, 0, 0.6);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(4, 6, 12, 0.92);
  border-bottom-color: var(--border-soft);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px -24px rgba(0, 0, 0, 0.8);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.3s var(--ease);
}

.brand:hover {
  opacity: 0.85;
}

.brand__logo {
  width: 200px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.25s var(--ease);
  padding: 6px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__cta {
  padding: 12px 24px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 120;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 90px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1.1);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 5, 11, 0.94) 0%, rgba(3, 5, 11, 0.72) 45%, rgba(3, 5, 11, 0.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(3, 5, 11, 0.6) 30%, rgba(3, 5, 11, 0.35) 100%);
}

.hero__content {
  max-width: 760px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 26px;
}

.hero__eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #c6cfe4;
  max-width: 620px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #c6cfe4;
}

.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 1.6px solid rgba(148, 178, 255, 0.35);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll span {
  width: 4px;
  height: 10px;
  border-radius: 4px;
  background: var(--gradient);
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.3;
  }
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.services {
  background: var(--bg-alt);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(11, 18, 32, 0.6) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 194, 255, 0.35);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.service__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service__media picture,
.service__media img {
  width: 100%;
  height: 100%;
}

.service__media img {
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  filter: saturate(0.92);
}

.service:hover .service__media img {
  transform: scale(1.07);
}

.service__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 13, 0.9) 100%);
}

.service__icon {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(0, 194, 255, 0.7);
  transition: transform 0.4s var(--ease);
}

.service__icon svg {
  width: 24px;
  height: 24px;
}

.service:hover .service__icon {
  transform: scale(1.1) rotate(-4deg);
}

.service__body {
  padding: 24px 22px 28px;
}

.service__title {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service__text {
  font-size: 0.92rem;
  color: var(--text-dim);
}

/* ============================================================
   POR QUÉ ELEGIRNOS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 44px 40px;
  margin-bottom: 72px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--gradient-soft);
  background-image:
    linear-gradient(135deg, rgba(0, 194, 255, 0.1), rgba(46, 123, 255, 0.08)),
    radial-gradient(600px 240px at 20% 0%, rgba(0, 194, 255, 0.12), transparent 60%);
}

.stat {
  text-align: center;
  padding: 8px;
}

.stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 10px;
}

.stat__label {
  font-size: 0.88rem;
  color: var(--text-dim);
  font-weight: 500;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 34px 30px;
  position: relative;
}

.why-card__icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--gradient-soft);
  border: 1px solid rgba(0, 194, 255, 0.25);
  color: var(--primary);
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease), color 0.3s, background 0.3s;
}

.why-card__icon svg {
  width: 26px;
  height: 26px;
}

.why-card:hover .why-card__icon {
  transform: translateY(-4px) scale(1.06);
  background: var(--gradient);
  color: #fff;
}

.why-card h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.93rem;
  color: var(--text-dim);
}

/* ============================================================
   CLIENTES
   ============================================================ */
.clients {
  background: var(--bg-alt);
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.client {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 36px 20px 30px;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.client:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 194, 255, 0.35);
  box-shadow: var(--shadow-glow);
}

.client__logo {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--gradient-soft);
  color: var(--primary);
}

.client__logo svg {
  width: 30px;
  height: 30px;
}

.client__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 6px;
  line-height: 1.3;
}

.client__type {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.clients__note {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
  opacity: 0.85;
  font-style: italic;
  border-top: 1px dashed var(--border-soft);
  padding-top: 22px;
}

/* ============================================================
   GALERÍA
   ============================================================ */
.gallery__masonry {
  columns: 4;
  column-gap: 18px;
  width: min(1400px, 94%);
  margin-inline: auto;
}

.g-item {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  border: 1px solid var(--border-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.g-item img {
  width: 100%;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.g-item::after {
  content: "＋";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
  background: rgba(3, 6, 14, 0.55);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.g-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.g-item:hover img {
  transform: scale(1.05);
}

.g-item:hover::after {
  opacity: 1;
}

/* ============================================================
   COBERTURA
   ============================================================ */
.coverage {
  background: var(--bg-alt);
}

.coverage__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.coverage__text {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.coverage__list {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.coverage__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #c6cfe4;
}

.coverage__map {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.coverage__map svg {
  width: min(330px, 80%);
  height: auto;
}

.map__dot {
  animation: pulse 2.4s ease-in-out infinite;
  transform-origin: center;
}

.map__dot:nth-child(2) {
  animation-delay: 0.3s;
}

.map__dot:nth-child(3) {
  animation-delay: 0.6s;
}

.map__dot:nth-child(4) {
  animation-delay: 0.9s;
}

.map__dot:nth-child(5) {
  animation-delay: 1.2s;
}

.map__dot:nth-child(6) {
  animation-delay: 1.5s;
}

.map__dot:nth-child(7) {
  animation-delay: 1.8s;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    r: 3;
  }
  50% {
    opacity: 0.35;
  }
}

.map__caption {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.t-card {
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
}

.t-card__stars {
  color: #ffc93c;
  font-size: 1.05rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.t-card__quote {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 28px;
}

.t-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-soft);
  padding-top: 22px;
}

.t-card__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  flex: none;
}

.t-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}

.t-card__role {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 130px 0;
  background: var(--gradient);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    radial-gradient(700px 300px at 85% 100%, rgba(255, 255, 255, 0.16), transparent 60%);
  pointer-events: none;
}

.cta__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(500px 240px at 50% 120%, rgba(0, 0, 0, 0.35), transparent 70%);
}

.cta__inner {
  position: relative;
  z-index: 2;
}

.cta__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.cta__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #03050a;
  border-top: 1px solid var(--border-soft);
  padding: 80px 0 34px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1fr;
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-soft);
}

.footer__logo {
  margin-bottom: 18px;
}

.footer__about {
  font-size: 0.92rem;
  color: var(--text-dim);
  max-width: 320px;
}

.footer__title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 22px;
}

.footer__links,
.footer__contact {
  display: grid;
  gap: 12px;
}

.footer__links a,
.footer__contact a {
  color: var(--text-dim);
  font-size: 0.92rem;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer__contact li {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: color 0.3s var(--ease), background 0.3s var(--ease),
    transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.footer__social a svg {
  width: 20px;
  height: 20px;
}

.footer__social a:hover {
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-3px);
}

.footer__coverage {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__coverage::before {
  content: "●";
  color: var(--primary);
  font-size: 0.7rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 30px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.6);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.wa-float svg {
  width: 32px;
  height: 32px;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: waPulse 2.2s ease-out infinite;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 44px -10px rgba(37, 211, 102, 0.75);
}

@keyframes waPulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* To top */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s, color 0.3s, border-color 0.3s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 5, 11, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 90vw;
  max-height: 88vh;
  transform: scale(0.96);
  transition: transform 0.35s var(--ease);
}

.lightbox.is-open .lightbox__figure {
  transform: scale(1);
}

.lightbox__figure img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.9);
}

.lightbox__caption {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--text-dim);
  width: 48px;
  height: 48px;
  transition: color 0.25s, transform 0.25s var(--ease);
}

.lightbox__close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(11, 18, 32, 0.6);
  color: var(--text);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.lightbox__nav:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(11, 18, 32, 0.95);
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--next {
  right: 24px;
}

/* ============================================================
   ANIMACIONES DE SCROLL (reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery__masonry {
    columns: 3;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 90px 0;
  }

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

  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .coverage__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 20px;
  }

  /* Nav mobile */
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    background: rgba(4, 6, 12, 0.98);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
    z-index: 110;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__list {
    flex-direction: column;
    gap: 8px;
  }

  .nav__link {
    font-size: 1.35rem;
    font-weight: 600;
    padding: 12px 24px;
    display: block;
    text-align: center;
  }

  .nav__cta {
    font-size: 0.95rem;
    padding: 15px 34px;
  }

  .hamburger {
    display: flex;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .clients__grid {
    grid-template-columns: 1fr;
  }

  .gallery__masonry {
    columns: 2;
    column-gap: 12px;
  }

  .g-item {
    margin-bottom: 12px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    padding: 34px 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 130px 0 70px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .wa-float {
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }

  .wa-float svg {
    width: 28px;
    height: 28px;
  }

  .to-top {
    right: 18px;
    bottom: 82px;
  }

  .lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .lightbox__nav--prev {
    left: 8px;
  }

  .lightbox__nav--next {
    right: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
