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

:root {
  --negro: #03070b;
  --negro-2: #07121c;
  --negro-3: #0f1f2c;
  --azul: #075487;
  --azul-claro: #66B5DE;
  --azul-brillo: #B5E6FF;
  --azul-oscuro: #022743;
  --metal: #C8D4DD;
  --linea-fina: rgba(181,230,255,0.24);
  --gris-corporativo: #414143;
  --blanco: #FFFFFF;
  --gris-claro: #F3F8FC;
  --gris-medio: #C5D0DA;
  --texto-suave: #D9E5EF;
  --texto-muted: #B6C4D0;
  --fuente-titulo: 'Montserrat', sans-serif;
  --fuente-cond: 'Montserrat', sans-serif;
  --fuente-cuerpo: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--fuente-cuerpo);
  background:
    radial-gradient(circle at 50% 0%, rgba(7,84,135,0.24), transparent 34rem),
    var(--negro);
  color: var(--blanco);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background: var(--negro);
  animation: page-curtain 0.85s cubic-bezier(0.76, 0, 0.24, 1) 0.08s both;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 5vw 14px;
  height: 164px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.105) 0%, rgba(255,255,255,0.03) 48%, rgba(255,255,255,0.006) 100%),
    radial-gradient(circle at 50% 0%, rgba(181,230,255,0.13), transparent 58%),
    linear-gradient(90deg, rgba(181,230,255,0.065) 0%, rgba(3,7,11,0.035) 45%, rgba(7,84,135,0.05) 100%),
    rgba(3,7,11,0.24);
  -webkit-backdrop-filter: blur(44px) saturate(190%) brightness(1.08);
  backdrop-filter: blur(44px) saturate(190%) brightness(1.08);
  border-bottom: 1px solid rgba(181,230,255,0.18);
  box-shadow:
    0 18px 52px rgba(0,18,31,0.22),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(181,230,255,0.055);
  animation: nav-drop 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, height 0.32s ease, padding 0.32s ease, transform 0.32s ease;
}

.site-nav.is-scrolled {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.115) 0%, rgba(255,255,255,0.036) 48%, rgba(255,255,255,0.008) 100%),
    radial-gradient(circle at 50% 0%, rgba(181,230,255,0.15), transparent 58%),
    linear-gradient(90deg, rgba(181,230,255,0.075) 0%, rgba(3,7,11,0.055) 45%, rgba(7,84,135,0.06) 100%),
    rgba(3,7,11,0.32);
  border-bottom-color: rgba(181,230,255,0.22);
  box-shadow:
    0 20px 58px rgba(0,18,31,0.3),
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -1px 0 rgba(181,230,255,0.065);
}

.site-nav::before,
.site-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.site-nav::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(181,230,255,0.11), transparent 48%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 10px);
  opacity: 0.56;
}

.site-nav::after {
  inset: auto 5vw 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181,230,255,0.42), rgba(255,255,255,0.28), transparent);
  opacity: 0.78;
}

.nav-logo,
.nav-controls,
.nav-menu-toggle {
  position: relative;
  z-index: 1;
}

.nav-logo {
  display: block;
  width: clamp(136px, 13vw, 172px);
  text-decoration: none;
  transition: width 0.32s ease, transform 0.32s ease, filter 0.32s ease;
}

.logo-img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-logo {
  width: min(220px, 62vw);
}

.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(181,230,255,0.32);
  border-radius: 999px;
  color: var(--blanco);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.035)),
    rgba(3,7,11,0.2);
  -webkit-backdrop-filter: blur(24px) saturate(175%);
  backdrop-filter: blur(24px) saturate(175%);
  box-shadow: 0 12px 30px rgba(0,18,31,0.2), inset 0 1px 0 rgba(255,255,255,0.22);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.nav-menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: opacity 0.2s, transform 0.22s ease;
}

.nav-menu-toggle:hover {
  border-color: rgba(181,230,255,0.58);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.055)),
    rgba(7,84,135,0.24);
  box-shadow: 0 16px 38px rgba(0,44,73,0.24), inset 0 1px 0 rgba(255,255,255,0.28);
  transform: translateY(-1px);
}

.site-nav.is-menu-open .nav-menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-nav.is-menu-open .nav-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav.is-menu-open .nav-menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 48px;
  transition: opacity 0.24s ease, transform 0.32s ease, visibility 0.24s ease;
}

.nav-links {
  grid-column: 2;
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--fuente-cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--azul-claro);
  transition: width 0.25s;
}

.nav-links a:hover { color: var(--azul-brillo); }
.nav-links a:hover::after { width: 100%; }

.language-switch {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(181,230,255,0.2);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.025)),
    rgba(3,7,11,0.24);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14);
}

.language-option {
  min-width: 38px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  color: rgba(255,255,255,0.68);
  background: transparent;
  font-family: var(--fuente-cond);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.language-option:hover,
.language-option.is-active {
  color: var(--blanco);
  background: rgba(95,175,226,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 8px 22px rgba(0,44,73,0.18);
}

.site-nav.is-logo-only {
  height: 124px;
  gap: 0;
  padding-top: 8px;
  padding-bottom: 10px;
}

.site-nav.is-logo-only .nav-controls {
  min-height: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-16px) scale(0.98);
  visibility: hidden;
}

.site-nav.is-logo-only .nav-logo {
  transform: translateY(3px);
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.42));
}

.nav-menu-toggle:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.red-social:focus-visible,
.social-float-link:focus-visible {
  outline: 2px solid var(--azul-brillo);
  outline-offset: 4px;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 176px 5vw 92px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(181,230,255,0.18), transparent 0 18%, transparent 42%),
    radial-gradient(circle at 50% 90%, rgba(7,84,135,0.28), transparent 48%),
    linear-gradient(to top, rgba(3,7,11,0.84) 0%, rgba(3,7,11,0.48) 46%, rgba(2,39,67,0.22) 100%),
    linear-gradient(90deg, rgba(3,7,11,0.54) 0%, rgba(3,7,11,0.14) 50%, rgba(3,7,11,0.54) 100%),
    url('../img/portada-inicio/pexels-sinalmultimedia-28886690.jpg') center/cover no-repeat;
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04) brightness(1.1);
  animation: hero-camera 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,0.045) 48%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 9px);
  mix-blend-mode: screen;
  opacity: 0.22;
}

.hero::after {
  inset: auto 50% 58px;
  width: min(520px, 72vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(181,230,255,0.84), rgba(255,255,255,0.5), transparent);
  box-shadow: 0 0 34px rgba(102,181,222,0.42);
}

.hero-accent-line {
  display: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42,127,186,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,127,186,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  animation: grid-drift 18s linear infinite;
  opacity: 0.24;
}

.hero-badge {
  position: absolute;
  top: 50%; right: clamp(24px, 6vw, 86px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translateY(-50%);
  z-index: 1;
}

.hero-badge-ring {
  width: 104px; height: 104px;
  border: 1px solid rgba(181,230,255,0.62);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  animation: badge-float 4.6s ease-in-out infinite;
  background: rgba(3,7,11,0.26);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(181,230,255,0.1), 0 24px 58px rgba(0,18,31,0.42), inset 0 1px 0 rgba(255,255,255,0.18);
}

.hero-badge-ring::before,
.hero-badge-ring::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(143,215,255,0.28);
  animation: badge-pulse 2.8s ease-out infinite;
}

.hero-badge-ring::after {
  inset: -18px;
  animation-delay: 0.8s;
}

.hero-badge-ring .num {
  font-family: var(--fuente-titulo);
  font-size: 34px;
  color: var(--azul-brillo);
  line-height: 1;
  font-weight: 800;
}

.hero-badge-ring .label-b {
  font-family: var(--fuente-cond);
  font-size: 9px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--texto-suave);
  line-height: 1.1;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  max-width: 980px;
  margin: 0 auto;
}

.hero-content.visible {
  animation: hero-copy-settle 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(18px);
}

.hero-content.visible > * {
  animation: copy-rise 0.78s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content.visible > *:nth-child(1) { animation-delay: 0.34s; }
.hero-content.visible > *:nth-child(2) { animation-delay: 0.44s; }
.hero-content.visible > *:nth-child(3) { animation-delay: 0.56s; }
.hero-content.visible > *:nth-child(4) { animation-delay: 0.68s; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--fuente-cond);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--azul-brillo);
  font-weight: 700;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(181,230,255,0.24);
  background: rgba(3,7,11,0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-tag::before,
.hero-tag::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: rgba(181,230,255,0.72);
}

.hero h1 {
  font-family: var(--fuente-titulo);
  font-size: clamp(54px, 8.6vw, 124px);
  line-height: 0.92;
  color: var(--blanco);
  letter-spacing: 0;
  margin-bottom: 28px;
  font-weight: 800;
  text-wrap: balance;
  text-shadow: 0 22px 54px rgba(0,12,22,0.82), 0 3px 16px rgba(0,0,0,0.42);
}

.hero h1 em {
  font-style: normal;
  color: rgba(229,248,255,0.96);
  -webkit-text-stroke: 1px rgba(181,230,255,0.92);
  text-shadow:
    0 0 4px rgba(255,255,255,0.92),
    0 0 14px rgba(181,230,255,0.72),
    0 0 34px rgba(102,181,222,0.6),
    0 0 72px rgba(7,84,135,0.54);
  animation: protege-neon 3.6s steps(1, end) infinite;
}

.hero-desc {
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 400;
  color: var(--texto-suave);
  line-height: 1.7;
  max-width: min(680px, 100%);
  margin: 0 auto 38px;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  background:
    linear-gradient(135deg, rgba(181,230,255,0.24) 0%, transparent 36%),
    linear-gradient(135deg, #0a6da8 0%, var(--azul) 54%, #02385d 100%);
  color: var(--blanco);
  font-family: var(--fuente-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  padding: 0 32px;
  border: 1px solid rgba(181,230,255,0.42);
  border-radius: 4px;
  box-shadow: 0 22px 54px rgba(0,44,73,0.42), inset 0 1px 0 rgba(255,255,255,0.26);
  position: relative;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.btn-primary::after,
.btn-secondary::after {
  content: '';
  position: absolute;
  inset: -40% -30%;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.42) 50%, transparent 65%);
  opacity: 0;
  transform: translateX(-42%) rotate(8deg);
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.btn-primary:hover {
  background:
    linear-gradient(135deg, rgba(181,230,255,0.3) 0%, transparent 34%),
    linear-gradient(135deg, #0f79b5 0%, #096398 50%, var(--azul) 100%);
  border-color: rgba(181,230,255,0.72);
  box-shadow: 0 26px 64px rgba(0,44,73,0.52), inset 0 1px 0 rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.btn-primary:active,
.btn-secondary:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
  opacity: 1;
  animation: button-sheen 0.82s ease forwards;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid rgba(181,230,255,0.36);
  color: var(--gris-claro);
  background: rgba(3,7,11,0.24);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-family: var(--fuente-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 32px;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 18px 42px rgba(0,18,31,0.24);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: var(--azul-brillo);
  background: rgba(181,230,255,0.1);
  color: var(--blanco);
  transform: translateY(-2px);
}

.btn-primary svg,
.btn-secondary svg {
  flex-shrink: 0;
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
  stroke: none;
}

/* ── STATS BAR ── */
.stats-bar {
  background: linear-gradient(90deg, var(--azul-oscuro), var(--azul));
  padding: 0 5vw;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.14);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--fuente-titulo);
  font-size: 40px;
  color: var(--blanco);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--fuente-cond);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-top: 4px;
  font-weight: 600;
}

/* ── CARRETE DE PROYECTOS ── */
.project-reel-section {
  padding: 92px 0 104px;
  background:
    radial-gradient(circle at 50% 0%, rgba(102,181,222,0.14), transparent 32rem),
    linear-gradient(180deg, var(--negro), var(--negro-2) 82%);
  overflow: hidden;
  position: relative;
}

.project-reel-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
  opacity: 0.42;
}

.project-reel-header {
  position: relative;
  z-index: 1;
  width: min(1200px, 90vw);
  margin: 0 auto 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.project-reel-header .section-title {
  margin-bottom: 0;
  text-wrap: balance;
}

.project-reel-header .section-tag::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--azul-claro);
}

.project-reel {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  overflow: hidden;
  padding: 8px 0 20px;
  border-radius: 8px;
}

.project-reel::before,
.project-reel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(18vw, 220px);
  z-index: 2;
  pointer-events: none;
}

.project-reel::before {
  left: 0;
  background: linear-gradient(90deg, var(--negro) 0%, rgba(3,7,11,0) 100%);
}

.project-reel::after {
  right: 0;
  background: linear-gradient(270deg, var(--negro-2) 0%, rgba(7,18,28,0) 100%);
}

.project-reel-track {
  --reel-gap: clamp(14px, 2vw, 28px);
  display: flex;
  align-items: stretch;
  gap: var(--reel-gap);
  width: max-content;
  padding: 6px max(18px, 3vw) 12px;
  will-change: transform;
}

.reel-card {
  flex: 0 0 clamp(250px, 25vw, 360px);
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(181,230,255,0.18);
  background: rgba(255,255,255,0.04);
  box-shadow:
    0 20px 54px rgba(0,18,31,0.3),
    inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateZ(0);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08) brightness(0.86);
  transform: scale(1.04);
  transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1), filter 0.42s ease;
}

.reel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(3,7,11,0.74), transparent 52%),
    radial-gradient(circle at 50% 0%, rgba(181,230,255,0.18), transparent 42%);
  opacity: 0.9;
  transition: opacity 0.35s ease;
}

.reel-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

.reel-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  font-family: var(--fuente-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--azul-brillo);
  text-shadow: 0 10px 30px rgba(0,0,0,0.56);
  transform: translateY(6px);
  opacity: 0.82;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.reel-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(181,230,255,0.42);
  box-shadow:
    0 30px 78px rgba(0,44,73,0.42),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.reel-card:hover img {
  filter: saturate(1.05) contrast(1.08) brightness(0.96);
  transform: scale(1.1);
}

.reel-card:hover::before {
  opacity: 0.72;
}

.reel-card:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.project-reel-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(181,230,255,0.28);
  border-radius: 50%;
  color: var(--blanco);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.035)),
    rgba(3,7,11,0.36);
  -webkit-backdrop-filter: blur(22px) saturate(175%);
  backdrop-filter: blur(22px) saturate(175%);
  box-shadow: 0 18px 42px rgba(0,18,31,0.34), inset 0 1px 0 rgba(255,255,255,0.18);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.project-reel-btn svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-reel-btn:hover {
  border-color: rgba(181,230,255,0.62);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.055)),
    rgba(7,84,135,0.34);
  box-shadow: 0 22px 52px rgba(0,44,73,0.36), inset 0 1px 0 rgba(255,255,255,0.24);
}

.project-reel-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.project-reel-btn:focus-visible {
  outline: 2px solid var(--azul-brillo);
  outline-offset: 4px;
}

.project-reel-btn-prev {
  left: clamp(10px, 2vw, 24px);
}

.project-reel-btn-next {
  right: clamp(10px, 2vw, 24px);
}

.project-reel-description {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 0 24px;
  color: rgba(217,229,239,0.76);
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
  text-wrap: pretty;
}

/* ── SECTIONS ── */
section { padding: 100px 5vw; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fuente-cond);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--azul-brillo);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--azul-claro);
}

h2.section-title {
  font-family: var(--fuente-titulo);
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.08;
  color: var(--blanco);
  letter-spacing: 0;
  margin-bottom: 24px;
  font-weight: 800;
}

h2.section-title em {
  font-style: normal;
  color: var(--azul-claro);
}

/* ── SOBRE NOSOTROS ── */
.nosotros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.nosotros-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.nosotros-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.4s;
}

.nosotros-img:hover img { filter: grayscale(0%); }

.nosotros-img::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  right: 12px; bottom: 12px;
  border: 2px solid var(--azul-claro);
  z-index: -1;
}

.nosotros-img-label {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--azul-claro);
  color: var(--blanco);
  font-family: var(--fuente-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 10px 20px;
}

.nosotros-text p {
  font-size: 16px;
  font-weight: 400;
  color: var(--texto-suave);
  line-height: 1.8;
  margin-bottom: 20px;
}

.text-highlight {
  color: var(--blanco);
  font-weight: 600;
}

.nosotros-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.pill {
  --reveal-y: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(143,215,255,0.28);
  background: rgba(255,255,255,0.035);
  font-family: var(--fuente-cond);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--gris-claro);
  font-weight: 600;
  opacity: 0;
  transform: translate3d(0, var(--reveal-y), 0);
  transition: opacity 0.48s ease, transform 0.48s ease, border-color 0.2s, background 0.2s;
  transition-delay: var(--reveal-delay, 0s);
}

.pill.visible {
  --reveal-y: 0px;
  opacity: 1;
}

.pill-dot {
  width: 6px; height: 6px;
  background: var(--azul-claro);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── SERVICIOS ── */
#servicios { background: var(--negro-2); }

.servicios-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 24px;
}

.servicios-intro {
  font-size: 15px;
  color: var(--texto-suave);
  max-width: 340px;
  font-weight: 400;
  line-height: 1.7;
}

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

.servicio-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --glow-x: 50%;
  --glow-y: 0%;
  --card-lift: 0px;
  background: linear-gradient(180deg, rgba(13,27,41,0.96), rgba(6,17,29,0.96));
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(143,215,255,0.08);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0, var(--card-lift), 0);
  transform-style: preserve-3d;
  transition: background 0.3s, border-color 0.3s, transform 0.22s ease, box-shadow 0.3s ease;
  border-bottom: 2px solid transparent;
  cursor: default;
  will-change: transform;
}

.servicio-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--azul-claro);
  transition: width 0.4s ease;
}

.servicio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(143,215,255,0.18), transparent 34%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.servicio-card:hover {
  background: linear-gradient(180deg, rgba(16,36,54,0.98), rgba(7,23,38,0.98));
  border-color: rgba(143,215,255,0.18);
  --card-lift: -6px;
  box-shadow: 0 28px 70px rgba(0,8,16,0.34), 0 0 0 1px rgba(143,215,255,0.08);
}
.servicio-card:hover::before { width: 100%; }
.servicio-card:hover::after { opacity: 1; }

.servicio-num {
  font-family: var(--fuente-titulo);
  font-size: 52px;
  color: rgba(143,215,255,0.08);
  line-height: 1;
  position: absolute;
  top: 24px; right: 28px;
  transition: color 0.3s;
}

.servicio-card:hover .servicio-num { color: rgba(143,215,255,0.16); }

.servicio-icon {
  width: 48px; height: 48px;
  background: rgba(95,175,226,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 85% 100%, 0 100%);
  transition: background 0.3s;
}

.servicio-card:hover .servicio-icon { background: rgba(95,175,226,0.2); }

.servicio-icon svg { width: 24px; height: 24px; stroke: var(--azul-claro); fill: none; stroke-width: 1.5; }

.servicio-card:hover .servicio-icon svg {
  animation: icon-draw 0.82s ease both;
}

.servicio-card h3 {
  font-family: var(--fuente-cond);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--blanco);
  margin-bottom: 14px;
}

.servicio-card p {
  font-size: 14px;
  font-weight: 400;
  color: var(--texto-muted);
  line-height: 1.7;
}

/* ── GALERÍA ── */
#galeria { background: var(--negro); }

.galeria-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.galeria-link {
  align-self: flex-end;
}

.galeria-categorias {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.galeria-categoria {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(181,230,255,0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.014)),
    rgba(7,18,28,0.28);
  box-shadow: 0 24px 68px rgba(0,18,31,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
}

.galeria-categoria::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 10% 0%, rgba(181,230,255,0.1), transparent 36%);
  opacity: 0.72;
}

.galeria-categoria-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.galeria-categoria-head span {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(181,230,255,0.24);
  border-radius: 6px;
  color: var(--azul-brillo);
  font-family: var(--fuente-titulo);
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: rgba(95,175,226,0.08);
}

.galeria-categoria-head h3 {
  color: var(--blanco);
  font-family: var(--fuente-cond);
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.galeria-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.galeria-item {
  --reveal-y: 24px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(181,230,255,0.1);
  border-radius: 6px;
  background: var(--negro-3);
  opacity: 0;
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0, var(--reveal-y), 0);
  transition: opacity 0.62s ease, transform 0.62s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: transform;
}

.galeria-item.visible {
  --reveal-y: 0px;
  opacity: 1;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s;
  filter: grayscale(20%);
}

.galeria-item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.galeria-item:hover {
  border-color: rgba(181,230,255,0.32);
  box-shadow: 0 28px 70px rgba(0,8,16,0.42);
  z-index: 1;
}

.galeria-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.7) 0%, transparent 60%);
  opacity: 1;
  transition: background 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  pointer-events: none;
}

.galeria-item:hover .galeria-item-overlay {
  background: linear-gradient(to top, rgba(3,7,11,0.78) 0%, rgba(3,7,11,0.08) 64%);
}

.galeria-item-label {
  font-family: var(--fuente-cond);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--azul-brillo);
  transform: translateY(0);
  transition: transform 0.28s ease;
  text-wrap: balance;
}

.galeria-item:hover .galeria-item-label { transform: translateY(0); }

.project-reel .reel-card,
.nosotros-img img,
.galeria-item {
  cursor: zoom-in;
}

/* ── CLIENTES ── */
#clientes {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(102,181,222,0.14), transparent 28rem),
    radial-gradient(circle at 82% 10%, rgba(255,255,255,0.06), transparent 24rem),
    linear-gradient(180deg, #03070b 0%, #07121c 100%);
}

#clientes::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 82%, transparent);
  opacity: 0.42;
}

.clientes-header {
  position: relative;
  z-index: 1;
  width: min(920px, 90vw);
  margin: 0 auto 44px;
  text-align: center;
}

.clientes-header .section-tag {
  justify-content: center;
}

.clientes-header .section-tag::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--azul-claro);
}

.clientes-header .section-title {
  margin-bottom: 18px;
  text-wrap: balance;
}

.clientes-header p {
  width: min(620px, 100%);
  margin: 0 auto;
  color: rgba(217,229,239,0.72);
  font-size: 15px;
  line-height: 1.8;
  text-wrap: pretty;
}

.clientes-carousel {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 0 18px;
}

.clientes-carousel::before,
.clientes-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(18vw, 220px);
  z-index: 2;
  pointer-events: none;
}

.clientes-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #03070b 0%, rgba(3,7,11,0) 100%);
}

.clientes-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #07121c 0%, rgba(7,18,28,0) 100%);
}

.clientes-track {
  --clientes-gap: clamp(14px, 2vw, 24px);
  display: flex;
  align-items: stretch;
  width: max-content;
  padding: 4px 0 12px;
  animation: clientes-marquee 34s linear infinite;
  will-change: transform;
}

.clientes-group {
  display: flex;
  align-items: stretch;
  gap: var(--clientes-gap);
  padding-right: var(--clientes-gap);
}

.clientes-carousel:hover .clientes-track {
  animation-play-state: paused;
}

.cliente-card {
  flex: 0 0 clamp(174px, 18vw, 236px);
  height: clamp(116px, 10vw, 142px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(181,230,255,0.15);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.025)),
    rgba(4,16,26,0.58);
  box-shadow: 0 22px 58px rgba(0,18,31,0.28), inset 0 1px 0 rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
}

.cliente-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(181,230,255,0.16), transparent 54%);
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
}

.cliente-card:hover {
  transform: translateY(-5px);
  border-color: rgba(181,230,255,0.36);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.034)),
    rgba(8,29,45,0.72);
  box-shadow: 0 28px 70px rgba(0,31,52,0.36), inset 0 1px 0 rgba(255,255,255,0.16);
}

.cliente-card:hover::before {
  opacity: 1;
}

.cliente-card img {
  position: relative;
  z-index: 1;
  max-width: 68%;
  max-height: 48px;
  object-fit: contain;
  filter: saturate(0.95) brightness(1.08);
}

.cliente-card span {
  position: relative;
  z-index: 1;
  font-family: var(--fuente-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(217,229,239,0.72);
  text-align: center;
}

/* ── CONTACTO ── */
#contacto { background: var(--negro-2); }

.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 64px;
}

.contacto-info h3 {
  font-family: var(--fuente-titulo);
  font-size: 34px;
  color: var(--blanco);
  margin-bottom: 24px;
  letter-spacing: 0;
  line-height: 1.2;
  font-weight: 800;
}

.contacto-info p {
  font-size: 15px;
  font-weight: 400;
  color: var(--texto-suave);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contacto-datos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dato-item {
  --reveal-y: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  opacity: 0;
  transform: translate3d(0, var(--reveal-y), 0);
  transition: opacity 0.52s ease, transform 0.52s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.dato-item.visible {
  --reveal-y: 0px;
  opacity: 1;
}

.dato-item.visible:hover { transform: translate3d(6px, 0, 0); }

.dato-icon {
  width: 40px; height: 40px;
  background: rgba(95,175,226,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 85% 100%, 0 100%);
}

.dato-icon svg { width: 18px; height: 18px; stroke: var(--azul-claro); fill: none; stroke-width: 1.5; }

.dato-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dato-label {
  font-family: var(--fuente-cond);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--texto-muted);
  font-weight: 700;
}

.dato-value {
  font-size: 14px;
  color: var(--gris-claro);
  font-weight: 400;
  line-height: 1.5;
}

.dato-value a {
  color: var(--azul-claro);
  text-decoration: none;
}

/* ── FORMULARIO ── */
.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--fuente-cond);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--texto-muted);
  font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--blanco);
  font-family: var(--fuente-cuerpo);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 16px;
  outline: none;
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(217,229,239,0.58); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  background: rgba(255,255,255,0.09);
  border-color: var(--azul-brillo);
  box-shadow: 0 0 0 4px rgba(95,175,226,0.14);
}

.form-group select option { background: var(--negro-2); }

.form-group textarea { min-height: 120px; }

.contacto-submit {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.form-msg {
  display: none;
  font-size: 14px;
  color: var(--azul-brillo);
  font-family: var(--fuente-cond);
  letter-spacing: 0;
  margin-top: -8px;
}

.form-msg.is-visible {
  display: block;
}

/* ── SOCIAL REDES ── */
.redes-sociales {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.footer-socials {
  margin-top: 24px;
}

.red-social {
  width: 42px; height: 42px;
  border: 1px solid rgba(181,230,255,0.22);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--azul-brillo);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.018)),
    rgba(3,7,11,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.red-social:hover {
  background:
    linear-gradient(180deg, rgba(181,230,255,0.14), rgba(181,230,255,0.035)),
    rgba(7,84,135,0.28);
  border-color: rgba(181,230,255,0.52);
  box-shadow: 0 16px 34px rgba(0,44,73,0.28), inset 0 1px 0 rgba(255,255,255,0.16);
  transform: translateY(-2px);
}
.red-social svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.red-social .whatsapp-icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }

/* ── MAPA ── */
.mapa-container {
  margin-top: 80px;
  border: 1px solid rgba(0,74,135,0.15);
  overflow: hidden;
  position: relative;
}

.mapa-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--azul-claro);
  z-index: 1;
}

.mapa-container iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
  filter: grayscale(80%) invert(90%) contrast(0.9);
  opacity: 0.85;
}

/* ── FOOTER ── */
footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 0%, rgba(102,181,222,0.16), transparent 30rem),
    radial-gradient(circle at 82% 24%, rgba(7,84,135,0.18), transparent 32rem),
    linear-gradient(180deg, #061929 0%, #03070b 72%);
  border-top: 1px solid rgba(181,230,255,0.18);
  padding: 56px 5vw 28px;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  opacity: 0.34;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(160px, 0.55fr) minmax(220px, 0.75fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
  padding: 34px 38px;
  border: 1px solid rgba(181,230,255,0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)),
    rgba(3,7,11,0.24);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 26px 72px rgba(0,18,31,0.28), inset 0 1px 0 rgba(255,255,255,0.12);
}

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

.footer-logo {
  width: min(190px, 58vw);
  filter: drop-shadow(0 18px 34px rgba(0,0,0,0.34));
}

.footer-brand p {
  font-size: 14px;
  font-weight: 400;
  color: rgba(217,229,239,0.78);
  line-height: 1.75;
  margin-top: 20px;
  max-width: 360px;
  text-wrap: pretty;
}

.footer-col {
  padding-top: 18px;
}

.footer-col h4 {
  font-family: var(--fuente-cond);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azul-brillo);
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 14px;
  color: rgba(217,229,239,0.74);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  font-weight: 500;
}

.footer-col ul li a:hover {
  color: var(--azul-brillo);
  transform: translateX(3px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: 0 auto;
  border-top: 1px solid rgba(181,230,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(217,229,239,0.58);
  font-weight: 400;
}

/* ── SOCIAL FLOAT ── */
.social-float {
  position: fixed;
  bottom: 28px; right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}

.social-float-link {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(143,215,255,0.42);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.055)),
    rgba(0,44,73,0.82);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(0,18,30,0.34), inset 0 1px 0 rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
  animation: float-stack 5.5s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.social-float-link:nth-child(2) { animation-delay: 0.35s; }
.social-float-link:nth-child(3) { animation-delay: 0.7s; }

.social-float-link:hover {
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(143,215,255,0.78);
  box-shadow: 0 18px 42px rgba(0,18,30,0.46), inset 0 1px 0 rgba(255,255,255,0.3);
}

.social-float-link svg {
  width: 25px; height: 25px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.social-whatsapp svg {
  width: 28px; height: 28px;
  fill: currentColor;
  stroke: none;
}

.social-whatsapp {
  background: #25D366;
  border-color: rgba(37,211,102,0.72);
  box-shadow: 0 14px 34px rgba(37,211,102,0.28), inset 0 1px 0 rgba(255,255,255,0.28);
}

.social-instagram:hover {
  background:
    linear-gradient(135deg, rgba(245,133,41,0.88), rgba(221,42,123,0.88) 52%, rgba(81,91,212,0.88)),
    rgba(0,44,73,0.82);
}

.social-facebook:hover {
  background:
    linear-gradient(180deg, rgba(24,119,242,0.88), rgba(0,74,135,0.88)),
    rgba(0,44,73,0.82);
}

.social-whatsapp:hover {
  background:
    linear-gradient(180deg, rgba(37,211,102,0.9), rgba(18,140,126,0.88)),
    rgba(0,44,73,0.82);
}

/* ── VISOR DE IMÁGENES ── */
body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
  background:
    radial-gradient(circle at 50% 18%, rgba(102,181,222,0.16), transparent 34rem),
    rgba(3,7,11,0.88);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.image-lightbox-frame {
  width: min(1180px, 100%);
  max-height: calc(100svh - 112px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  transform: translateY(14px) scale(0.985);
  transition: transform 0.24s ease;
}

.image-lightbox.is-open .image-lightbox-frame {
  transform: translateY(0) scale(1);
}

.image-lightbox-frame img {
  width: 100%;
  max-height: calc(100svh - 162px);
  object-fit: contain;
  border: 1px solid rgba(181,230,255,0.22);
  border-radius: 8px;
  background: rgba(3,7,11,0.38);
  box-shadow: 0 30px 90px rgba(0,8,16,0.58), inset 0 1px 0 rgba(255,255,255,0.1);
}

.image-lightbox-frame figcaption {
  min-height: 18px;
  color: rgba(217,229,239,0.78);
  font-family: var(--fuente-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.image-lightbox-close {
  position: absolute;
  top: clamp(16px, 3vw, 30px);
  right: clamp(16px, 3vw, 30px);
  z-index: 1;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(181,230,255,0.28);
  border-radius: 50%;
  color: var(--blanco);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.035)),
    rgba(3,7,11,0.34);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 46px rgba(0,18,31,0.34), inset 0 1px 0 rgba(255,255,255,0.18);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}

.image-lightbox-close:hover {
  transform: translateY(-2px);
  border-color: rgba(181,230,255,0.58);
  background:
    linear-gradient(180deg, rgba(181,230,255,0.16), rgba(181,230,255,0.04)),
    rgba(7,84,135,0.24);
}

.image-lightbox-close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

@keyframes liquid-glass-drift {
  0% {
    transform: translateX(-8%) skewX(-5deg);
    opacity: 0.7;
  }

  100% {
    transform: translateX(8%) skewX(-5deg);
    opacity: 0.95;
  }
}

@keyframes page-curtain {
  0% { opacity: 1; transform: translateY(0); }
  65% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-100%); visibility: hidden; }
}

@keyframes nav-drop {
  0% { opacity: 0; transform: translateY(-22px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes hero-camera {
  0% { transform: scale(1.04) translate3d(0, 0, 0); }
  100% { transform: scale(1.1) translate3d(-1.8%, 1.2%, 0); }
}

@keyframes protege-neon {
  0%, 5%, 8%, 13%, 17%, 46%, 49%, 54%, 100% {
    color: rgba(229,248,255,0.96);
    -webkit-text-stroke-color: rgba(181,230,255,0.94);
    text-shadow:
      0 0 4px rgba(255,255,255,0.92),
      0 0 14px rgba(181,230,255,0.72),
      0 0 34px rgba(102,181,222,0.6),
      0 0 72px rgba(7,84,135,0.54);
  }

  6%, 15%, 47%, 82% {
    color: rgba(181,230,255,0.16);
    -webkit-text-stroke-color: rgba(181,230,255,0.28);
    text-shadow:
      0 0 1px rgba(181,230,255,0.18),
      0 0 6px rgba(102,181,222,0.12);
  }

  7%, 16%, 48%, 52%, 84% {
    color: rgba(181,230,255,0.44);
    -webkit-text-stroke-color: rgba(181,230,255,0.58);
    text-shadow:
      0 0 2px rgba(255,255,255,0.38),
      0 0 14px rgba(102,181,222,0.34),
      0 0 32px rgba(7,84,135,0.26);
  }

  10%, 57%, 88% {
    color: rgba(246,252,255,1);
    -webkit-text-stroke-color: rgba(229,248,255,1);
    text-shadow:
      0 0 5px rgba(255,255,255,0.98),
      0 0 18px rgba(181,230,255,0.9),
      0 0 44px rgba(102,181,222,0.82),
      0 0 92px rgba(7,84,135,0.72);
  }

  74%, 79% {
    color: rgba(181,230,255,0.08);
    -webkit-text-stroke-color: rgba(181,230,255,0.2);
    text-shadow:
      0 0 1px rgba(181,230,255,0.12);
  }
}

@keyframes grid-drift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

@keyframes accent-scan {
  0%, 100% { opacity: 0.36; filter: blur(0); }
  50% { opacity: 1; filter: blur(0.4px); }
}

@keyframes badge-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes badge-pulse {
  0% { opacity: 0.75; transform: scale(0.82); }
  100% { opacity: 0; transform: scale(1.25); }
}

@keyframes hero-copy-settle {
  0% { filter: blur(8px); }
  100% { filter: blur(0); }
}

@keyframes copy-rise {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes button-sheen {
  0% { transform: translateX(-42%) rotate(8deg); }
  100% { transform: translateX(42%) rotate(8deg); }
}

@keyframes icon-draw {
  0% { stroke-dasharray: 1 80; stroke-dashoffset: 24; }
  100% { stroke-dasharray: 80 80; stroke-dashoffset: 0; }
}

@keyframes float-stack {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes clientes-marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation: none;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }

  .hero-bg,
  .servicio-card,
  .galeria-item {
    transform: none;
  }

  .project-reel::before,
  .project-reel::after,
  .clientes-carousel::before,
  .clientes-carousel::after {
    display: none;
  }
}

/* ── ANIMACIONES ── */
.fade-up {
  --reveal-y: 40px;
  opacity: 0;
  transform: translate3d(0, var(--reveal-y), 0);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.fade-up.visible {
  opacity: 1;
  --reveal-y: 0px;
}

.servicio-card.fade-up {
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0, calc(var(--reveal-y) + var(--card-lift)), 0);
}

.galeria-item.fade-up {
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0, var(--reveal-y), 0);
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav {
    height: 112px;
    padding-top: 10px;
    padding-bottom: 12px;
    overflow: visible;
  }

  .nav-logo { width: 154px; }

  .nav-menu-toggle {
    position: absolute;
    top: 50%;
    left: 5vw;
    right: auto;
    display: inline-flex;
    transform: translateY(-50%);
  }

  .nav-menu-toggle:hover {
    transform: translateY(calc(-50% - 1px));
  }

  .nav-controls {
    position: absolute;
    top: calc(100% + 10px);
    left: 5vw;
    right: 5vw;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: auto;
    min-height: 0;
    padding: 14px;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.035)),
      radial-gradient(circle at 50% 0%, rgba(181,230,255,0.12), transparent 68%),
      rgba(3,7,11,0.64);
    -webkit-backdrop-filter: blur(34px) saturate(185%) brightness(1.06);
    backdrop-filter: blur(34px) saturate(185%) brightness(1.06);
    border: 1px solid rgba(181,230,255,0.24);
    border-radius: 8px;
    box-shadow: 0 24px 54px rgba(0,18,31,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
  }

  .site-nav.is-menu-open .nav-controls {
    height: auto;
    min-height: 0;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 6px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover {
    color: var(--blanco);
    background: rgba(95,175,226,0.12);
  }

  .language-switch {
    grid-column: auto;
    justify-self: center;
    align-self: center;
    margin-top: 8px;
  }

  .site-nav.is-logo-only { height: 112px; }

  .hero {
    min-height: 100svh;
    padding: 148px 5vw 76px;
  }
  .hero h1 {
    font-size: clamp(38px, 10.4vw, 62px);
    letter-spacing: 0;
  }
  .hero-desc {
    max-width: 42rem;
  }
  .project-reel-section {
    padding: 78px 0 90px;
  }
  .project-reel-header {
    align-items: center;
    margin-bottom: 34px;
  }
  .project-reel {
    width: min(100% - 32px, 960px);
  }
  .clientes-carousel {
    width: min(100% - 32px, 960px);
  }
  .cliente-card {
    flex-basis: clamp(166px, 30vw, 214px);
  }
  .nosotros-inner,
  .contacto-inner { grid-template-columns: 1fr; gap: 48px; }
  .servicios-grid { grid-template-columns: 1fr; gap: 2px; }
  .galeria-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galeria-categoria {
    padding: 18px;
  }
  .galeria-categorias {
    gap: 36px;
  }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { flex: 1 1 45%; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 30px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .form-row { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .social-float {
    right: 50%;
    bottom: 14px;
    flex-direction: row;
    gap: 8px;
    transform: translateX(50%);
  }
  .social-float-link {
    width: 46px;
    height: 46px;
  }
  .social-float-link svg {
    width: 22px;
    height: 22px;
  }
  .social-whatsapp svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 600px) {
  nav {
    height: 104px;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 12px;
  }
  .nav-logo { width: 154px; }
  .nav-menu-toggle {
    left: 16px;
  }
  .nav-controls {
    top: calc(100% + 8px);
    left: 16px;
    right: auto;
    width: min(358px, calc(100vw - 32px));
  }
  .site-nav.is-logo-only { height: 104px; }
  .hero {
    align-items: center;
    padding: 132px 20px 66px;
  }
  .hero-content {
    width: 100%;
    max-width: calc(100vw - 48px);
  }
  .hero-tag {
    font-size: 10px;
    gap: 8px;
    padding: 7px 10px;
  }
  .hero-tag::before,
  .hero-tag::after {
    width: 18px;
  }
  .hero h1 em {
    display: block;
  }
  .hero h1 {
    font-size: clamp(34px, 8.8vw, 42px);
    line-height: 1.02;
  }
  .hero-desc {
    font-size: 15px;
    max-width: 30ch;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 270px);
    margin: 0 auto;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    justify-content: center;
    width: 100%;
    padding-inline: 18px;
  }
  .project-reel-section {
    padding: 68px 0 76px;
  }
  .project-reel-header {
    width: calc(100% - 40px);
  }
  .reel-card {
    flex-basis: 78vw;
  }
  .project-reel-btn {
    width: 44px;
    height: 44px;
  }
  .clientes-header {
    width: calc(100% - 40px);
    margin-bottom: 32px;
  }
  .clientes-header p {
    font-size: 14px;
  }
  .clientes-track {
    --clientes-gap: 12px;
    animation-duration: 28s;
  }
  .cliente-card {
    flex-basis: 168px;
    height: 112px;
    gap: 12px;
  }
  .cliente-card img {
    max-width: 70%;
    max-height: 40px;
  }
  footer {
    padding: 42px 20px 26px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 26px 22px;
  }
  .footer-logo {
    width: min(176px, 64vw);
  }
  .footer-col {
    padding-top: 0;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .galeria-grid { grid-template-columns: 1fr; }
  .galeria-item { aspect-ratio: 4 / 3; }
  .galeria-categoria {
    padding: 14px;
  }
  .galeria-categoria-head {
    align-items: flex-start;
  }
  section { padding: 72px 5vw; }
}
