:root {
  --blue: #003da5;
  --blue-2: #0a5bd6;
  --blue-3: #001f59;
  --steel: #7d7d7d;
  --ink: #07101f;
  --ink-2: #111827;
  --white: #ffffff;
  --soft: #f4f7fb;
  --line: rgba(0, 61, 165, 0.15);
  --silver: #d9e1ef;
  --red: #d71920;
  --whatsapp: #25d366;
  --gold: #4fa3ff;
  --shadow: 0 24px 70px rgba(4, 16, 36, 0.15);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--red));
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.gold,
.accent {
  color: var(--blue);
  font-style: italic;
}

.section-copy {
  color: #506074;
  margin: 18px 0 0;
  font-size: 16px;
  max-width: 470px;
  line-height: 1.75;
}

.btn-gold,
.btn-outline,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: var(--radius);
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-gold {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px 26px;
  box-shadow: 0 18px 40px rgba(0, 61, 165, 0.32);
}

.btn-gold:hover,
.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(0, 61, 165, 0.38);
}

.btn-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.btn-outline:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.54);
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 61, 165, 0.32), transparent 34%),
    linear-gradient(135deg, #020817, #051c4c 55%, #020817);
  color: var(--white);
  transition: opacity 0.75s ease, visibility 0.75s ease, transform 0.75s ease;
}

#loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
}

#loader.loaded {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
}

.loader-mark {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 176px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 28px 80px rgba(0, 61, 165, 0.48);
  animation: loaderPulse 2.2s ease-in-out infinite;
}

.loader-mark img {
  width: 132px;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.18));
}

.loader-rings {
  position: absolute;
  width: 236px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  animation: rotateRing 4s linear infinite;
}

.loader-rings::before,
.loader-rings::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  border: 1px solid transparent;
  border-top-color: rgba(79, 163, 255, 0.9);
  border-right-color: rgba(215, 25, 32, 0.5);
}

.loader-rings::after {
  inset: -18px;
  animation: rotateRing 2.8s linear infinite reverse;
}

.loader-bar {
  position: relative;
  z-index: 2;
  width: min(280px, 72vw);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.loader-bar-fill {
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #fff, var(--blue-2));
  animation: loaderBar 1.35s ease-in-out infinite;
}

.loader-text {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Header */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(2, 10, 28, 0.1);
  border-color: rgba(0, 61, 165, 0.12);
}

.nav-inner {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.nav-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 158px;
  min-height: 82px;
  border-radius: var(--radius);
}

.nav-logo img {
  width: 146px;
  max-height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.2));
}

#navbar.scrolled .nav-logo img {
  filter: drop-shadow(0 8px 14px rgba(0, 61, 165, 0.16));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  font-weight: 800;
  transition: color 0.25s ease;
}

#navbar.scrolled .nav-links a {
  color: #233247;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  transition: transform 0.25s ease;
}

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

.nav-cta {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
  background: linear-gradient(135deg, var(--whatsapp), #128c7e);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.28);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

#navbar.scrolled .hamburger span {
  background: var(--ink);
}

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

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

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

#mob-menu {
  display: none;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(0, 61, 165, 0.12);
  box-shadow: 0 20px 50px rgba(2, 10, 28, 0.14);
}

#mob-menu a {
  display: block;
  padding: 16px 24px;
  color: #1f2d40;
  font-weight: 900;
  border-bottom: 1px solid rgba(0, 61, 165, 0.08);
}

/* Hero */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #020817;
}

.hero-bg,
.process-bg,
.gallery-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  transform: translate3d(0, 0, 0) scale(1.06);
  transition: transform 0.08s linear;
}

.hero-bg {
  background-image: url("../A5BE24F967C7C7775EEF534AAF43B475.jpeg");
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 10, 31, 0.96) 0%, rgba(0, 31, 89, 0.78) 48%, rgba(1, 10, 31, 0.58) 100%),
    radial-gradient(circle at 22% 32%, rgba(79, 163, 255, 0.28), transparent 34%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 180px rgba(0,0,0,0.76);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.052) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
}

#hero-canvas,
.section-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-ray {
  position: absolute;
  top: -25%;
  width: 2px;
  height: 140%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.42), transparent);
  filter: blur(0.5px);
  transform: rotate(18deg);
  animation: rayFloat 7s ease-in-out infinite;
}

.r1 { left: 58%; animation-delay: 0s; }
.r2 { left: 68%; animation-delay: 0.9s; }
.r3 { left: 78%; animation-delay: 1.8s; }
.r4 { left: 88%; animation-delay: 2.6s; }
.r5 { left: 36%; animation-delay: 3.4s; }

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle, rgba(255,255,255,0.7) 0.7px, transparent 0.8px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

.hero-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.18), transparent);
  height: 34%;
  transform: translateY(-110%);
  animation: scanHero 3.4s ease-in-out 0.65s both;
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(780px, 100%);
  padding: 160px 0 96px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 900;
}

.badge-dot,
.p-badge-dot {
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 8px rgba(37,211,102,0.12);
}

.hero-title {
  margin: 0;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: titleRise 1s cubic-bezier(.19,1,.22,1) forwards;
}

.hero-title .line:nth-child(2) > span {
  animation-delay: 0.15s;
}

.hero-title .line:nth-child(3) > span {
  animation-delay: 0.3s;
}

.typing-word::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.78em;
  margin-left: 0.06em;
  background: var(--white);
  animation: cursorBlink 0.8s infinite;
  vertical-align: -0.08em;
}

.hero-sub {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  color: rgba(255,255,255,0.82);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.trust-item i {
  color: #8ec5ff;
}

.trust-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.24);
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  display: grid;
  justify-content: center;
  padding-top: 8px;
}

.scroll-mouse-dot {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--white);
  animation: scrollDot 1.5s ease-in-out infinite;
}

/* Marquee */
.marquee {
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  border-block: 1px solid rgba(255,255,255,0.18);
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee span::before {
  content: "";
  width: 6px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
}

/* Generic sections */
section:not(#hero) {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 104px;
}

#why,
#producto,
#sectores,
#contacto {
  padding: 110px 0;
  background: var(--white);
}

#ambientes,
#stats,
#galeria {
  padding: 110px 0;
  background: var(--soft);
}

#proceso {
  padding: 118px 0;
  color: var(--white);
  background: #07101f;
}

.process-bg {
  background-image: url("../A59AFBF455BB1FA334050880BEB6997D.jpeg");
  opacity: 0.24;
}

.gallery-bg {
  background-image: url("../A584AAF6469ADB5DAE248BBD58BA85B3.jpeg");
  opacity: 0.07;
}

.why-header,
.ambientes-top,
.proceso-header,
.sectores-hdr,
.galeria-hdr,
.contact-hdr {
  position: relative;
  z-index: 2;
}

.why-header,
.ambientes-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 46px;
  align-items: end;
  margin-bottom: 52px;
}

.why-quote {
  margin: 0;
  font-size: clamp(34px, 4.9vw, 68px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.why-quote em {
  color: var(--blue);
  font-style: italic;
}

.why-sub,
.proceso-header p,
.sectores-hdr p,
.galeria-hdr p,
.contact-hdr p {
  margin: 18px 0 0;
  color: #506074;
  line-height: 1.8;
  font-size: 16px;
  max-width: 600px;
}

#proceso .proceso-header p {
  color: rgba(255,255,255,0.72);
}

.features-grid,
.proceso-grid,
.sectores-grid,
.gallery-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
}

.features-grid {
  grid-template-columns: repeat(4, 1fr);
}

.f-card,
.proceso-step,
.sector-card,
.gallery-card,
.contact-box,
.panel-scene,
.stats-grid {
  border-radius: var(--radius);
}

.f-card {
  position: relative;
  min-height: 285px;
  padding: 34px 24px 28px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(4, 16, 36, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.f-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 61, 165, 0.32);
  box-shadow: var(--shadow);
}

.f-num {
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(0, 61, 165, 0.11);
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
}

.f-card h3,
.proceso-step h3,
.sector-card h3 {
  position: relative;
  margin: 94px 0 12px;
  font-size: 22px;
  line-height: 1.18;
}

.f-card p,
.proceso-step p {
  position: relative;
  margin: 0;
  color: #56657a;
  line-height: 1.7;
  font-size: 15px;
}

/* Services */
.ambiente-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(0, 61, 165, 0.08);
  border: 1px solid rgba(0, 61, 165, 0.16);
  font-weight: 900;
}

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

.amb-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.amb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.04);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.amb-card:hover .amb-img {
  transform: scale(1.1);
  filter: saturate(1.05) contrast(1.05);
}

.amb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(1, 10, 31, 0.88));
}

.amb-icon-wrap {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(0, 61, 165, 0.72);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
}

.amb-icon-wrap i {
  font-size: 20px;
}

.amb-overlay h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
}

.amb-overlay p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}

.amb-temp {
  align-self: flex-start;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
  font-weight: 900;
}

/* Process */
.proceso-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}

#proceso .section-title,
#proceso .label {
  color: var(--white);
}

#proceso .gold {
  color: #8ec5ff;
}

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

.proceso-step {
  min-height: 270px;
  padding: 32px;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
}

.proceso-step h3 {
  margin-top: 50px;
}

.proceso-step p {
  color: rgba(255,255,255,0.72);
}

.step-number {
  display: inline-flex;
  padding: 9px 12px;
  color: #dcecff;
  background: rgba(0, 61, 165, 0.42);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

/* Featured */
.producto-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 52px;
}

.producto-lead {
  margin: 22px 0 28px;
  color: #506074;
  line-height: 1.8;
  font-size: 17px;
}

.feature-rows {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.f-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(4, 16, 36, 0.05);
}

.f-row-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: rgba(0, 61, 165, 0.08);
  border-radius: var(--radius);
}

.f-row h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.f-row p {
  margin: 0;
  color: #5b6a7f;
  line-height: 1.55;
  font-size: 14px;
}

.specs-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.producto-cta {
  margin-top: 22px;
}

.spec-cell {
  padding: 16px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.spec-val {
  display: block;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
}

.spec-name {
  display: block;
  margin-top: 4px;
  color: #667589;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.producto-wa-copy {
  margin: 22px 0 14px;
  color: #253246;
  font-weight: 900;
  line-height: 1.6;
}

.panel-scene {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #07101f;
  box-shadow: var(--shadow);
}

.panel-scene img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.p-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(5, 17, 40, 0.72);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 900;
}

.pb-tl {
  top: 18px;
  left: 18px;
}

.pb-br {
  right: 18px;
  bottom: 18px;
}

/* Stats */
#stats {
  background:
    linear-gradient(135deg, rgba(0, 61, 165, 0.95), rgba(0, 31, 89, 0.98)),
    url("../A584AAF6469ADB5DAE248BBD58BA85B3.jpeg") center/cover fixed;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(16px);
}

.stat-cell {
  padding: 38px 22px;
  text-align: center;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.16);
}

.stat-cell:last-child {
  border-right: 0;
}

.stat-num {
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 900;
  line-height: 1;
}

.stat-lbl {
  margin-top: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

/* Coverage */
.sectores-hdr,
.galeria-hdr,
.contact-hdr {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.sectores-hdr p,
.galeria-hdr p,
.contact-hdr p {
  margin-left: auto;
  margin-right: auto;
}

.sectores-grid {
  grid-template-columns: repeat(6, 1fr);
}

.sector-card {
  min-height: 150px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 22px 14px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(4, 16, 36, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.sector-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 61, 165, 0.35);
}

.sector-icon {
  color: var(--blue);
  font-size: 28px;
}

.sector-card h3 {
  margin: 0;
  font-size: 16px;
}

/* Gallery */
.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-card {
  overflow: hidden;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 42px rgba(4, 16, 36, 0.08);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card figcaption {
  min-height: 96px;
  padding: 18px;
  color: #4f5f72;
  line-height: 1.55;
  font-size: 14px;
  font-weight: 700;
}

/* Contact */
.contact-box {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-info {
  padding: 38px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0,31,89,0.88), rgba(7,16,31,0.94)),
    url("../A584AAF6469ADB5DAE248BBD58BA85B3.jpeg") center/cover;
}

.contact-info h3,
.contact-form-wrap h3 {
  margin: 0 0 12px;
  font-size: 28px;
}

.ci-sub {
  margin: 0 0 28px;
  color: rgba(255,255,255,0.74);
  line-height: 1.7;
}

.ci-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ci-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
}

.ci-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

.ci-body h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.ci-body p {
  margin: 0;
  color: rgba(255,255,255,0.76);
  line-height: 1.65;
}

.ci-wa-link {
  display: inline-flex;
  margin-top: 8px;
  color: #a8ffca;
  font-weight: 900;
}

.map-wrap {
  margin-top: 26px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.1);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  filter: saturate(0.85) contrast(1.05);
}

.contact-form-wrap {
  padding: 38px;
}

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

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: #253246;
  font-size: 13px;
  font-weight: 900;
}

.form-control {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(0, 61, 165, 0.16);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #f8fbff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-control:focus {
  border-color: rgba(0, 61, 165, 0.55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 61, 165, 0.1);
}

.form-submit {
  width: 100%;
  min-height: 56px;
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--whatsapp), #128c7e);
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.26);
}

.form-note {
  margin: 14px 0 0;
  color: #657487;
  font-size: 13px;
  line-height: 1.55;
}

/* Footer */
footer {
  padding: 56px 0 28px;
  color: var(--white);
  background: #07101f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr 0.7fr;
  gap: 34px;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  width: 158px;
  min-height: 80px;
  align-items: center;
}

.footer-logo img {
  width: 150px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.32));
}

.footer-tagline {
  max-width: 340px;
  margin: 16px 0 0;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links h4 {
  margin: 0 0 6px;
  color: #e9f2ff;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255,255,255,0.66);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-soc,
.wa-btn {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
}

.footer-soc {
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  transition: transform 0.22s ease, background 0.22s ease;
}

.footer-soc:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.18);
}

.footer-copy {
  margin: 36px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.56);
  font-size: 13px;
}

.wa-btn {
  position: fixed;
  z-index: 998;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  color: var(--white);
  background: var(--whatsapp);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.42);
  font-size: 30px;
  animation: waPulse 2s ease-in-out infinite;
}

/* Reveals */
.reveal,
.reveal-fast {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal-fast {
  transition-delay: 0.2s;
}

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

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.4s; }

/* Animations */
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

@keyframes rotateRing {
  to { transform: rotate(360deg); }
}

@keyframes loaderBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(260%); }
}

@keyframes rayFloat {
  0%, 100% { opacity: 0.14; transform: translateX(0) rotate(18deg); }
  50% { opacity: 0.42; transform: translateX(24px) rotate(18deg); }
}

@keyframes scanHero {
  0% { transform: translateY(-120%); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translateY(320%); opacity: 0; }
}

@keyframes titleRise {
  to { transform: translateY(0); }
}

@keyframes cursorBlink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* Responsive */
@media (max-width: 1060px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: inline-block;
  }

  #mob-menu.open {
    display: block;
  }

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

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

  .ambientes-grid,
  .proceso-grid,
  .producto-wrap,
  .contact-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .producto-wrap {
    gap: 34px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-inner {
    height: 84px;
  }

  .nav-logo {
    width: 126px;
  }

  .nav-logo img {
    width: 120px;
    max-height: 68px;
  }

  .hero-bg,
  .process-bg,
  .gallery-bg,
  #stats {
    background-attachment: scroll;
  }

  .hero-content {
    padding: 132px 0 92px;
  }

  .hero-title {
    font-size: clamp(42px, 13.4vw, 70px);
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-ctas {
    display: grid;
  }

  .btn-gold,
  .btn-outline {
    width: 100%;
    min-height: 52px;
  }

  .hero-trust {
    display: grid;
    gap: 12px;
  }

  .trust-divider {
    display: none;
  }

  #why,
  #ambientes,
  #proceso,
  #producto,
  #stats,
  #sectores,
  #galeria,
  #contacto {
    padding: 76px 0;
    scroll-margin-top: 90px;
  }

  .why-header,
  .ambientes-top {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 32px;
  }

  .section-title,
  .why-quote {
    font-size: clamp(32px, 10.8vw, 48px);
  }

  .features-grid,
  .gallery-grid,
  .stats-grid,
  .sectores-grid,
  .form-row,
  .specs-bar {
    grid-template-columns: 1fr;
  }

  .f-card {
    min-height: 240px;
  }

  .f-card h3 {
    margin-top: 76px;
  }

  .amb-card {
    min-height: 460px;
  }

  .proceso-step {
    min-height: auto;
  }

  .panel-scene,
  .panel-scene img {
    min-height: 480px;
  }

  .p-badge {
    left: 14px;
    right: 14px;
    justify-content: center;
    white-space: normal;
  }

  .pb-br {
    bottom: 14px;
  }

  .pb-tl {
    top: 14px;
  }

  .stat-cell {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.16);
  }

  .stat-cell:last-child {
    border-bottom: 0;
  }

  .contact-info,
  .contact-form-wrap {
    padding: 26px 20px;
  }

  .ci-item {
    grid-template-columns: 40px 1fr;
  }

  .ci-icon {
    width: 40px;
    height: 40px;
  }

  .footer-copy {
    padding-bottom: 78px;
  }

  .wa-btn {
    width: 58px;
    height: 58px;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
