/* ================================================================
   AGENCIA 247 — produccionAudiovisual.css
   Fuentes: Barlow Condensed (display) · Barlow Semi Condensed · Barlow (body)
   Cargar desde HTML:
   @import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,700;1,400&family=Barlow+Condensed:ital,wght@0,700;0,800;0,900;1,700;1,900&family=Barlow+Semi+Condensed:wght@400;500;600&display=swap');
================================================================ */

/* ────────────────────────────────────────────────────────────
   TOKENS
──────────────────────────────────────────────────────────── */
:root {
  /* Paleta */
  --c-deep:   #060c1c;
  --c-navy:   #0b1528;
  --c-blue:   #1e46d8;
  --c-vivid:  #2353e8;
  --c-sky:    #5bc8f5;
  --c-white:  #ffffff;
  --c-muted:  rgba(255,255,255,0.45);
  --c-rim:    rgba(255,255,255,0.09);
  --c-glass:  rgba(255,255,255,0.055);
  --c-glassmd:rgba(255,255,255,0.10);

  /* Gradiente de acento */
  --g-accent: linear-gradient(100deg, var(--c-vivid) 0%, var(--c-sky) 70%);

  /* Sombras */
  --sh-blue:  0 8px 32px rgba(35,83,232,0.40);
  --sh-hover: 0 24px 56px rgba(0,0,0,0.40);

  /* Fuentes */
  --f-disp: 'Barlow Condensed', sans-serif;
  --f-semi: 'Barlow Semi Condensed', sans-serif;
  --f-body: 'Barlow', sans-serif;

  /* Radios */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill:100px;

  /* Easing */
  --ease: cubic-bezier(0.16,1,0.3,1);
  --ease-back: cubic-bezier(0.34,1.56,0.64,1);
}

/* ────────────────────────────────────────────────────────────
   RESET + BASE
──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--c-deep); color: var(--c-white); font-family: var(--f-body); overflow-x: hidden; }
img  { display: block; max-width: 100%; height: auto; }
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; }

/* Hardening para producción: evita que la regla global `nav` rompa los dots laterales */
body[data-nav-theme="produccion-audiovisual"] nav.sdots,
body[data-nav-theme="produccion-audiovisual"] .sdots {
  position: fixed !important;
  right: 1.5rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 0.55rem !important;
  width: max-content !important;
  max-width: max-content !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none !important;
  z-index: 80 !important;
}

body[data-nav-theme="produccion-audiovisual"] nav.sdots .sdot,
body[data-nav-theme="produccion-audiovisual"] .sdots .sdot {
  pointer-events: auto !important;
}

/* ────────────────────────────────────────────────────────────
   LAYOUT
──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 4rem;
}

/* ────────────────────────────────────────────────────────────
   SCROLL REVEAL
──────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.70s var(--ease), transform 0.70s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.34s; }
.delay-4 { transition-delay: 0.46s; }

/* ────────────────────────────────────────────────────────────
   COMPONENTES GLOBALES
──────────────────────────────────────────────────────────── */

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-sky);
  background: rgba(91,200,245,0.08);
  border: 1px solid rgba(91,200,245,0.22);
  padding: 0.35rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-sky);
  animation: blink 2s ease infinite;
}
.eyebrow--center { display: flex; justify-content: center; }
@keyframes blink {
  0%,100% { box-shadow: 0 0 0 0 rgba(91,200,245,0.5); }
  50%      { box-shadow: 0 0 0 4px rgba(91,200,245,0); }
}

/* Títulos de sección */
.section-head { margin-bottom: 3.5rem; }
.section-head--center { text-align: center; }
.section-title {
  font-family: var(--f-disp);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.92;
  color: var(--c-white);
  margin-bottom: 0.9rem;
}
.section-title em {
  font-style: italic;
  background: var(--g-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-family: var(--f-semi);
  font-size: 1rem;
  line-height: 1.70;
  color: var(--c-muted);
  max-width: 560px;
}

/* Pills */
.pill {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-sky);
  border: 1px solid rgba(91,200,245,0.25);
  padding: 0.28rem 0.9rem;
  border-radius: var(--r-pill);
  background: rgba(91,200,245,0.07);
}

/* Botones */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--c-vivid);
  color: var(--c-white);
  border-radius: var(--r-pill);
  padding: 1rem 2.8rem;
  box-shadow: var(--sh-blue);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-primary:hover {
  background: #1535b0;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(35,83,232,0.55);
}
.btn-text {
  font-family: var(--f-body);
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-sky);
  opacity: 0.75;
  transition: opacity 0.2s;
  align-self: flex-end;
  padding-bottom: 0.4rem;
}
.btn-text:hover { opacity: 1; }


/* ════════════════════════════════════════════
   1. HERO
════════════════════════════════════════════ */
.s-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Imagen de fondo */
.s-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.s-hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.30) saturate(0.7);
}
.s-hero__bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%,   rgba(91,200,245,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 60% 55% at -5% 95%,  rgba(30,70,216,0.20) 0%, transparent 55%),
    linear-gradient(180deg, rgba(6,12,28,0.30) 0%, rgba(6,12,28,0.75) 100%);
}
/* Rejilla de perspectiva */
.s-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(91,200,245,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,200,245,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 25%, transparent 100%);
  pointer-events: none;
}
/* Anillo decorativo */
.s-hero::after {
  content: '';
  position: absolute; z-index: 1;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(91,200,245,0.07);
  right: -180px; top: -180px;
  pointer-events: none;
}

.s-hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative; z-index: 2;
  padding-top: 5.5rem;
  padding-bottom: 2rem;
}

.s-hero__content { max-width: 860px; }

/* Eyebrow hero */
.s-hero__content > .eyebrow {
  animation: hdFade 0.6s var(--ease) both 0.1s;
}

/* Título hero — 3 líneas */
.s-hero__title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0.8rem 0 2.4rem;
}
.s-hero__line {
  display: block;
  font-family: var(--f-disp);
  font-size: clamp(3rem, 5.5vw, 6.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.92;
}
.s-hero__line--white {
  color: var(--c-white);
  animation: hdFade 0.7s var(--ease) both 0.2s;
}
.s-hero__line--white + .s-hero__line--white {
  animation-delay: 0.32s;
}
.s-hero__line--grad em {
  font-style: italic;
  background: var(--g-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hdFade 0.7s var(--ease) both 0.44s;
  display: block;
}
.s-hero__sub {
  font-family: var(--f-semi);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--c-muted);
  max-width: 520px;
  animation: hdFade 0.7s var(--ease) both 0.56s;
}

/* Stats bar (dentro del hero, al pie) */
.s-hero__stats {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  background: rgba(0,0,0,0.40);
  border-top: 1px solid var(--c-rim);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.s-hero__stat {
  padding: 1.8rem 2.5rem;
  border-right: 1px solid var(--c-rim);
  transition: background 0.3s;
}
.s-hero__stat:last-child { border-right: none; }
.s-hero__stat:hover { background: rgba(91,200,245,0.05); }
.s-hero__stat-num {
  display: block;
  font-family: var(--f-disp);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(110deg, #fff 30%, var(--c-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.3rem;
}
.s-hero__stat-label {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

/* Indicador scroll */
.s-hero__scroll {
  position: absolute;
  bottom: 5.5rem; right: 4rem;
  width: 40px; height: 64px;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  display: flex; justify-content: center; padding-top: 10px;
  cursor: pointer; z-index: 3;
  transition: border-color 0.3s;
}
.s-hero__scroll:hover { border-color: rgba(91,200,245,0.5); }
.s-hero__scroll span {
  width: 4px; height: 10px;
  background: var(--c-white);
  border-radius: 4px;
  animation: scrollBob 1.5s ease infinite;
}
@keyframes scrollBob {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

@keyframes hdFade {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: none; }
}


/* ════════════════════════════════════════════
   2. SOBRE NOSOTROS
════════════════════════════════════════════ */
.s-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  background: var(--c-navy);
}
.s-about__media {
  position: relative;
  overflow: hidden;
  background: var(--c-deep);
}
.s-about__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.82) saturate(1.1);
  transition: transform 0.9s var(--ease);
}
.s-about__media:hover img { transform: scale(1.04); }
/* Corte diagonal */
.s-about__media::after {
  content: '';
  position: absolute; top: 0; right: -1px; bottom: 0;
  width: 70px;
  background: var(--c-navy);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
/* Badge flotante */
.s-about__media-card {
  position: absolute;
  bottom: 2rem; left: 2rem;
  display: flex; align-items: center; gap: 0.9rem;
  /* Use a subtle translucent glass to preserve contrast on dark hero */
  background: var(--c-glassmd);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 0.9rem 1.4rem;
  box-shadow: 0 10px 34px rgba(0,0,0,0.45);
  z-index: 2;
}
.s-about__media-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.20);
  flex-shrink: 0;
}
.s-about__media-card strong {
  display: block;
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-white);
}
.s-about__media-card span {
  font-family: var(--f-body);
  font-size: 0.72rem;
  color: var(--c-muted);
}

.s-about__text {
  padding: 5.5rem 4.5rem;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(160deg, var(--c-navy) 0%, rgba(12,22,48,0.96) 100%);
  position: relative;
}
.s-about__text::before {
  content: '';
  position: absolute; top: 4rem; left: 0;
  width: 4px; height: 56px;
  background: linear-gradient(to bottom, var(--c-vivid), var(--c-sky));
  border-radius: 0 4px 4px 0;
}
.s-about__title {
  font-family: var(--f-disp);
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--c-white);
  margin: 0 0 1.8rem;
}
.s-about__title em {
  font-style: italic;
  background: var(--g-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.s-about__body {
  font-family: var(--f-semi);
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--c-muted);
  margin-bottom: 1rem;
}
.s-about__body strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.s-about__pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.6rem;
}


/* ════════════════════════════════════════════
   3. SERVICIOS
════════════════════════════════════════════ */
.s-services {
  padding: 6.5rem 0;
  background:
    radial-gradient(ellipse 60% 55% at 90% 10%, rgba(91,200,245,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 10% 90%, rgba(20,180,160,0.08) 0%, transparent 60%),
    #0a1a2e;
}

/* Grid 3×2 unificado */
.s-services__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--c-rim);
  border-radius: var(--r-xl);
  overflow: hidden;
  gap: 1px;
  background: rgba(255,255,255,0.05);
}

.svc-card {
  position: relative;
  padding: 2.8rem 2.4rem;
  overflow: hidden;
  cursor: default;
  background: rgba(255,255,255,0.02);
  transition: background 0.38s var(--ease), transform 0.38s var(--ease), box-shadow 0.38s;
}
/* Accent card */
.svc-card--accent {
  background: linear-gradient(135deg, var(--c-vivid) 0%, #1535b0 100%);
}
.svc-card--accent .svc-card__body { color: rgba(255,255,255,0.80); }
.svc-card--accent .svc-card__num  { color: rgba(255,255,255,0.06); }
.svc-card--accent .svc-card__icon { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.10); }
.svc-card--accent .svc-card__icon svg { stroke: rgba(255,255,255,0.88); }

/* Línea top — crece de izquierda a derecha en hover */
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--c-vivid), var(--c-sky));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: 2;
}
.svc-card--accent::before { transform: scaleX(1); background: rgba(255,255,255,0.30); }
.svc-card:hover::before { transform: scaleX(1); }

/* Orbe de resplandor */
.svc-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 85% 70% at 50% 130%, rgba(91,200,245,0.12) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.45s;
  pointer-events: none;
}
.svc-card:not(.svc-card--accent):hover {
  background: rgba(35,83,232,0.12);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  z-index: 2;
}
.svc-card:hover::after { opacity: 1; }

/* Icono */
.svc-card__icon {
  width: 50px; height: 50px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(91,200,245,0.22);
  background: rgba(91,200,245,0.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
  transition: border-color 0.3s, background 0.3s;
}
.svc-card__icon svg { width: 22px; height: 22px; stroke: var(--c-sky); fill: none; }
.svc-card:hover .svc-card__icon { border-color: rgba(91,200,245,0.5); background: rgba(91,200,245,0.12); }

/* Número decorativo */
.svc-card__num {
  position: absolute;
  bottom: 1.2rem; right: 1.6rem;
  font-family: var(--f-disp);
  font-size: 4.5rem; font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  transition: color 0.35s;
}
.svc-card:hover .svc-card__num { color: rgba(91,200,245,0.07); }

.svc-card__title {
  font-family: var(--f-disp);
  font-size: 1.5rem; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1.05;
  color: var(--c-white);
  margin: 0 0 0.7rem;
  position: relative; z-index: 1;
}
.svc-card__body {
  font-family: var(--f-body);
  font-size: 0.88rem; line-height: 1.70;
  color: rgba(255,255,255,0.44);
  position: relative; z-index: 1;
}


/* ════════════════════════════════════════════
   4. PROCESO
════════════════════════════════════════════ */
.s-process {
  padding: 6rem 0;
  background:
    linear-gradient(180deg, rgba(30,70,216,0.06) 0%, transparent 100%),
    var(--c-navy);
  position: relative; overflow: hidden;
}
.s-process::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.s-process__steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
  position: relative;
}
/* Línea conectora */
.s-process__steps::before {
  content: '';
  position: absolute;
  top: 27px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-rim) 20%, var(--c-rim) 80%, transparent);
}
.process-step { text-align: center; padding: 0 1.5rem; }
.process-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.6rem;
  font-family: var(--f-disp);
  font-size: 1.2rem; font-weight: 900;
  color: var(--c-sky);
  border: 1px solid rgba(91,200,245,0.25);
  background: linear-gradient(135deg, rgba(35,83,232,0.22), rgba(91,200,245,0.08));
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.process-step__num::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(91,200,245,0.09);
}
.process-step:hover .process-step__num {
  border-color: var(--c-sky);
  box-shadow: 0 0 24px rgba(91,200,245,0.22);
}
.process-step__title {
  font-family: var(--f-disp);
  font-size: 1.2rem; font-weight: 800;
  text-transform: uppercase;
  color: var(--c-white);
  margin-bottom: 0.6rem;
}
.process-step__body {
  font-family: var(--f-body);
  font-size: 0.85rem; line-height: 1.70;
  color: var(--c-muted);
}


/* ════════════════════════════════════════════
   5. GALERÍA
════════════════════════════════════════════ */
.s-gallery {
  padding: 6.5rem 0;
  background: var(--c-deep);
}
.s-gallery__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--c-rim);
}

/* Botones de filtro */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.gf-btn {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-muted);
  border: 1px solid var(--c-rim);
  padding: 0.45rem 1.2rem;
  border-radius: var(--r-pill);
  background: transparent;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.gf-btn:hover { color: var(--c-sky); border-color: rgba(91,200,245,0.35); }
.gf-btn--active {
  color: var(--c-sky) !important;
  border-color: rgba(91,200,245,0.45) !important;
  background: rgba(91,200,245,0.08) !important;
}

/* GRID GALERÍA — masonry manual */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 6px;
}
/* Variantes de tamaño */
.gal-item--tall  { grid-row: span 2; }
.gal-item--wide  { grid-column: span 2; }

.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-navy);
  cursor: pointer;
}
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease);
}
.gal-item:hover img { transform: scale(1.07); }

/* Overlay */
.gal-item__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(6,12,28,0.92) 0%, rgba(6,12,28,0.30) 55%, transparent 100%);
  padding: 2rem 1.2rem 1rem;
  transform: translateY(6px);
  transition: transform 0.35s var(--ease);
}
.gal-item:hover .gal-item__overlay { transform: none; }
.gal-item__cat {
  display: block;
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-sky);
  margin-bottom: 0.2rem;
}
.gal-item__title {
  font-family: var(--f-disp);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-white);
  letter-spacing: -0.01em;
}

/* Botón de zoom */
.gal-item__zoom {
  position: absolute;
  top: 0.8rem; right: 0.8rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s, transform 0.2s var(--ease-back);
  transform: scale(0.7);
}
.gal-item__zoom svg { width: 16px; height: 16px; stroke: var(--c-white); }
.gal-item:hover .gal-item__zoom {
  opacity: 1;
  transform: scale(1);
  background: rgba(35,83,232,0.55);
}


/* ════════════════════════════════════════════
   6. PRODUCTOS
════════════════════════════════════════════ */
.s-products {
  padding: 6.5rem 0 7rem;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 55% 50% at 95% 5%,  rgba(91,200,245,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 5%  95%, rgba(30,70,216,0.14) 0%, transparent 60%),
    var(--c-navy);
}
.s-products::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.s-products__grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
  position: relative; z-index: 1;
}

/* Card de producto */
.prod-card {
  border-radius: var(--r-xl);
  background: var(--c-glass);
  border: 1px solid var(--c-rim);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.38s var(--ease), border-color 0.35s, box-shadow 0.35s, background 0.35s;
  position: relative;
}
.prod-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--c-vivid), var(--c-sky));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.42s var(--ease);
  z-index: 2;
}
.prod-card:hover {
  transform: translateY(-7px);
  background: var(--c-glassmd);
  border-color: rgba(91,200,245,0.28);
  box-shadow: var(--sh-hover);
}
.prod-card:hover::before { transform: scaleX(1); }

.prod-card__img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.prod-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
  filter: brightness(0.80) saturate(0.9);
}
.prod-card:hover .prod-card__img img { transform: scale(1.06); }
.prod-card__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,21,40,0.85) 0%, transparent 60%);
}

.prod-card__body {
  padding: 1.6rem 2rem 2rem;
}
.prod-card__tag {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-sky);
  background: rgba(91,200,245,0.08);
  border: 1px solid rgba(91,200,245,0.20);
  padding: 0.25rem 0.8rem;
  border-radius: var(--r-pill);
  margin-bottom: 0.8rem;
}
.prod-card__title {
  font-family: var(--f-disp);
  font-size: 1.75rem; font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1.02;
  color: var(--c-white);
  margin-bottom: 0.6rem;
}
.prod-card__desc {
  font-family: var(--f-body);
  font-size: 0.88rem; line-height: 1.72;
  color: var(--c-muted);
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--c-rim);
}
.prod-card__list {
  list-style: none;
}
.prod-card__list li {
  font-family: var(--f-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.68);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; gap: 0.65rem;
}
.prod-card__list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-sky);
  flex-shrink: 0;
}


/* ════════════════════════════════════════════
   7. FILOSOFÍA
════════════════════════════════════════════ */
.s-philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: var(--c-navy);
}
.s-philosophy__media {
  position: relative; overflow: hidden;
}
.s-philosophy__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.9);
  transition: transform 0.9s var(--ease);
}
.s-philosophy__media:hover img { transform: scale(1.04); }
.s-philosophy__media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(35,83,232,0.22) 0%, transparent 60%);
}
.s-philosophy__text {
  padding: 5.5rem 5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.s-philosophy__title {
  font-family: var(--f-disp);
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--c-white);
  margin-bottom: 2rem;
}
.s-philosophy__title em {
  font-style: italic;
  background: var(--g-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.s-philosophy__body {
  font-family: var(--f-semi);
  font-size: 0.98rem; line-height: 1.85;
  color: var(--c-muted);
  margin-bottom: 1rem;
  padding-left: 1.2rem;
  border-left: 2px solid rgba(91,200,245,0.20);
}
.s-philosophy__body strong { color: rgba(255,255,255,0.82); font-weight: 600; }
.s-philosophy__cta {
  color: var(--c-sky) !important;
  font-weight: 600;
  font-style: italic;
  border-left-color: var(--c-sky) !important;
}


/* ════════════════════════════════════════════
   8. CTA FINAL
════════════════════════════════════════════ */
.s-cta {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
  text-align: center;
}
.s-cta__bg {
  position: absolute; inset: 0;
}
.s-cta__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.22) saturate(0.6);
}
.s-cta__bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(35,83,232,0.20) 0%, transparent 70%),
    linear-gradient(180deg, rgba(6,12,28,0.60) 0%, rgba(6,12,28,0.70) 100%);
}
/* Anillo decorativo */
.s-cta::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(35,83,232,0.15);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
  box-shadow: 0 0 0 80px rgba(35,83,232,0.04), 0 0 0 160px rgba(35,83,232,0.02);
  z-index: 1;
}
.s-cta__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
}
.s-cta__title {
  font-family: var(--f-disp);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.90;
  color: var(--c-white);
  margin-bottom: 1.4rem;
}
.s-cta__title em {
  font-style: italic;
  background: var(--g-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.s-cta__sub {
  font-family: var(--f-semi);
  font-size: 1.05rem; line-height: 1.75;
  color: var(--c-muted);
  max-width: 520px;
  margin: 0 auto 2.8rem;
}


/* ════════════════════════════════════════════
   9. LIGHTBOX
════════════════════════════════════════════ */
.lb-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.lb-overlay--open {
  display: flex;
  animation: lbFadeIn 0.25s ease;
}
@keyframes lbFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.lb-img-wrap {
  display: flex; align-items: center; justify-content: center;
  max-width: 88vw; max-height: 88vh;
}
.lb-img-wrap img {
  max-width: 100%; max-height: 88vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--r-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  transition: opacity 0.25s;
  animation: lbZoomIn 0.28s var(--ease);
}
@keyframes lbZoomIn {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.lb-close {
  position: fixed; top: 1.4rem; right: 1.8rem;
  font-size: 2.2rem; color: rgba(255,255,255,0.65);
  line-height: 1; cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  z-index: 10001;
}
.lb-close:hover { color: var(--c-white); transform: scale(1.15); }
.lb-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  font-size: 3rem; color: rgba(255,255,255,0.50);
  line-height: 1;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  transition: color 0.2s, background 0.2s;
  z-index: 10001;
}
.lb-nav:hover { color: var(--c-white); background: rgba(35,83,232,0.45); }
.lb-nav--prev { left: 1.5rem; }
.lb-nav--next { right: 1.5rem; }
.lb-counter {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-body);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  z-index: 10001;
}


/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .s-services__grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .s-process__steps { grid-template-columns: repeat(2,1fr); gap: 3rem; }
  .s-process__steps::before { display: none; }
  .container { padding: 0 2.5rem; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }

  .s-hero__inner { padding-top: 5rem; }
  .s-hero__scroll { display: none; }
  .s-hero__stats { grid-template-columns: repeat(2,1fr); }
  .s-hero__stat:nth-child(2) { border-right: none; }
  .s-hero__stat:nth-child(3) { border-top: 1px solid var(--c-rim); }

  .s-about { grid-template-columns: 1fr; }
  .s-about__media { min-height: 320px; }
  .s-about__media::after { display: none; }
  .s-about__text { padding: 3.5rem 2rem; }

  .s-services { padding: 4.5rem 0; }
  .s-services__grid { grid-template-columns: 1fr; border-radius: var(--r-lg); }

  .s-process { padding: 4.5rem 0; }
  .s-process__steps { grid-template-columns: 1fr; gap: 2.5rem; }

  .s-gallery { padding: 4.5rem 0; }
  .s-gallery__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .gallery-grid {
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: 160px;
  }
  .gal-item--wide { grid-column: span 1; }

  .s-products { padding: 4.5rem 0 5.5rem; }
  .s-products__grid { grid-template-columns: 1fr; }

  .s-philosophy { grid-template-columns: 1fr; }
  .s-philosophy__media { min-height: 280px; }
  .s-philosophy__text { padding: 3.5rem 2rem; }

  .s-cta { padding: 5.5rem 0; }
}

@media (max-width: 480px) {
  .s-hero__stats { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gal-item--tall { grid-row: span 1; }
  .lb-nav { display: none; }
}
