:root {
  --black: #020408;
  --navy: #061018;
  --navy-mid: #0a1628;
  --surface: rgba(6, 16, 32, 0.72);
  --surface-hover: rgba(10, 24, 44, 0.85);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --dim: rgba(255, 255, 255, 0.38);
  --line: rgba(34, 211, 238, 0.1);
  --accent: #22d3ee;
  --accent-bright: #67e8f9;
  --accent-soft: rgba(34, 211, 238, 0.14);
  --glow: rgba(34, 211, 238, 0.22);
  --nav-h: 80px;
  --brand-mark-url: url("assets/logo-mark.png");
  --brand-glass: rgba(6, 16, 32, 0.65);
  --brand-glass-border: rgba(34, 211, 238, 0.28);
  --glass-blur: blur(18px);
  --glass-border: rgba(34, 211, 238, 0.16);
  --wrap: min(1240px, calc(100% - 3rem));
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --hover-dur: 0.3s;
  --hover-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --hover-glow: 0 0 32px rgba(34, 211, 238, 0.28), 0 0 64px rgba(34, 211, 238, 0.08);
  --hover-border: rgba(34, 211, 238, 0.5);
  --circuit-line: rgba(34, 211, 238, 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

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

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

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

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Capa global — red digital / circuitos */
.site-tech-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(34, 211, 238, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 60%, rgba(15, 50, 90, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 45% 35% at 100% 30%, rgba(20, 60, 100, 0.1) 0%, transparent 45%),
    linear-gradient(180deg, #020408 0%, #061018 45%, #030810 100%);
}

.site-tech-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--circuit-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--circuit-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 40%, black 20%, transparent 78%);
  opacity: 0.85;
}

.site-tech-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, transparent 0%, transparent 38%, rgba(34, 211, 238, 0.04) 39%, transparent 40%),
    radial-gradient(circle at 75% 65%, transparent 0%, transparent 42%, rgba(34, 211, 238, 0.035) 43%, transparent 44%),
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(34, 211, 238, 0.05) 0%, transparent 50%);
  opacity: 0.9;
}

#main,
.footer {
  position: relative;
  z-index: 1;
}

/* Header por encima de main: el nav fixed vive aquí y no debe quedar tapado */
.header {
  position: relative;
  z-index: 9999;
  pointer-events: none;
}

.header .nav,
.header .nav *,
.header .hero,
.header .hero a,
.header .hero button {
  pointer-events: auto;
}

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

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

ul {
  list-style: none;
}

strong {
  font-weight: 600;
  color: var(--white);
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* Decorativos: nunca interceptan clics */
.site-tech-bg,
.site-tech-bg::before,
.site-tech-bg::after,
.hero-bg,
.hero-bg-overlay,
.hero-brand-deco,
.hero-brand-deco *,
.hero-brand-grid,
.hero-emblem,
.hero-emblem *,
.trusted-ambient,
.trusted::before,
.has-brand-watermark::before,
.has-brand-watermark::after,
.visual-strip,
.visual-strip-track {
  pointer-events: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 10002;
  padding: 0.5rem 1rem;
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--glass-border);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
}

/* ——— Nav ——— */
.nav {
  --nav-bg: rgba(2, 10, 20, 0.42);
  --nav-blur: blur(14px);
  --nav-border: rgba(34, 211, 238, 0.14);
  --nav-shadow: 0 4px 28px rgba(0, 0, 0, 0.28), 0 0 28px rgba(34, 211, 238, 0.08);
  --nav-link: var(--white);
  --nav-link-muted: var(--muted);
  --nav-cta-bg: rgba(34, 211, 238, 0.1);
  --nav-cta-border: rgba(34, 211, 238, 0.45);
  --nav-cta-glow: 0 0 20px rgba(34, 211, 238, 0.14);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: var(--nav-bg);
  backdrop-filter: var(--nav-blur);
  -webkit-backdrop-filter: var(--nav-blur);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: var(--nav-shadow);
  transition:
    background 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease);
  pointer-events: auto;
}

.nav a,
.nav button {
  pointer-events: auto;
}

/* Hero / inicio: más presente y luminoso */
.nav:not(.is-scrolled) {
  --nav-bg: rgba(2, 10, 20, 0.48);
  --nav-blur: blur(16px);
  --nav-border: rgba(34, 211, 238, 0.2);
  --nav-shadow: 0 6px 32px rgba(0, 0, 0, 0.32), 0 0 36px rgba(34, 211, 238, 0.1);
  --nav-link-muted: rgba(226, 232, 240, 0.88);
}

/* Scroll: minimalista, translúcido, menos invasivo */
.nav.is-scrolled {
  --nav-bg: rgba(2, 10, 20, 0.14);
  --nav-blur: blur(10px);
  --nav-border: rgba(34, 211, 238, 0.06);
  --nav-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  --nav-link-muted: rgba(148, 163, 184, 0.72);
  --nav-cta-bg: rgba(34, 211, 238, 0.05);
  --nav-cta-border: rgba(34, 211, 238, 0.22);
  --nav-cta-glow: 0 0 12px rgba(34, 211, 238, 0.06);
}

/* Hover / foco en barra: vuelve a resaltar suavemente */
.nav.is-scrolled:hover,
.nav.is-scrolled:focus-within {
  --nav-bg: rgba(2, 10, 20, 0.46);
  --nav-blur: blur(14px);
  --nav-border: rgba(34, 211, 238, 0.16);
  --nav-shadow: 0 4px 28px rgba(0, 0, 0, 0.3), 0 0 24px rgba(34, 211, 238, 0.09);
  --nav-link-muted: var(--muted);
  --nav-cta-bg: rgba(34, 211, 238, 0.1);
  --nav-cta-border: rgba(34, 211, 238, 0.4);
  --nav-cta-glow: 0 0 22px rgba(34, 211, 238, 0.14);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  outline: none;
  border-radius: 2px;
}

.nav-brand-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--brand-glass-border);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
  transition:
    box-shadow 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}

.nav.is-scrolled .nav-brand-symbol {
  background: rgba(6, 16, 32, 0.38);
  border-color: rgba(34, 211, 238, 0.14);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.06);
}

.nav.is-scrolled:hover .nav-brand-symbol,
.nav.is-scrolled:focus-within .nav-brand-symbol {
  background: var(--brand-glass);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.16);
}

.nav.is-scrolled .nav-brand-mark {
  animation: none;
  filter: drop-shadow(0 0 3px rgba(34, 211, 238, 0.12));
  opacity: 0.82;
}

.nav.is-scrolled:hover .nav-brand-mark,
.nav.is-scrolled:focus-within .nav-brand-mark {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.28));
}

.nav-brand-mark,
.footer-brand-symbol img {
  width: 42px;
  height: 42px;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.25));
  transition: filter 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
  .nav-brand-mark {
    animation: brand-mark-glow 5s ease-in-out infinite;
  }
}

@keyframes brand-mark-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.2));
  }

  50% {
    filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.45));
  }
}

/* Línea + palabra en línea con el logo (navbar horizontal, sin tooltip) */
.nav-brand-inline {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  top: auto;
  left: auto;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  vertical-align: middle;
  transition:
    max-width 0.55s var(--ease-out),
    opacity 0.35s var(--ease-out);
}

.nav-brand-line {
  flex-shrink: 0;
  width: 0;
  height: 1px;
  margin-left: 0.5rem;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(34, 211, 238, 0.25) 100%);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.55), 0 0 20px rgba(34, 211, 238, 0.2);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-brand-word {
  flex-shrink: 0;
  padding-left: 0.65rem;
  padding-right: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-14px);
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hover y focus: glow en ícono + revelado horizontal */
.nav-brand:is(:hover, :focus-visible) .nav-brand-symbol {
  transform: scale(1.04);
  box-shadow:
    0 0 22px rgba(34, 211, 238, 0.4),
    0 0 44px rgba(34, 211, 238, 0.15);
}

.nav-brand:is(:hover, :focus-visible) .nav-brand-mark {
  animation: none;
  filter: drop-shadow(0 0 10px rgba(103, 232, 249, 0.75));
  transform: scale(1.03);
}

.nav-brand:is(:hover, :focus-visible) .nav-brand-inline {
  max-width: 10.5rem;
  opacity: 1;
}

.nav-brand:is(:hover, :focus-visible) .nav-brand-line {
  width: 2rem;
  transition-delay: 0.06s;
}

.nav-brand:is(:hover, :focus-visible) .nav-brand-word {
  opacity: 1;
  transform: translateX(0);
  clip-path: inset(0 0 0 0);
  transition-delay: 0.18s;
}

/* Salida suave (sin delay al cerrar) */
.nav-brand:not(:hover):not(:focus-visible) .nav-brand-line {
  transition-delay: 0s;
}

.nav-brand:not(:hover):not(:focus-visible) .nav-brand-word {
  transition-delay: 0s;
}

/* Focus accesible: sin borde blanco grueso */
.nav-brand:focus-visible {
  outline: none;
}

.nav-brand:focus-visible .nav-brand-symbol {
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.35),
    0 0 20px rgba(34, 211, 238, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .nav-brand-mark,
  .hero-emblem-glow,
  .hero-emblem-mark {
    animation: none !important;
  }

  .nav-brand-inline {
    transition-duration: 0.01ms;
  }

  .nav-brand-line,
  .nav-brand-word {
    transition-duration: 0.01ms;
    transition-delay: 0s !important;
  }

  .nav-brand:is(:hover, :focus-visible) .nav-brand-word {
    clip-path: none;
    transform: none;
  }
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav-panel a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--nav-link-muted);
  transition: color 0.4s var(--ease);
  position: relative;
}

.nav-panel a:not(.nav-cta):hover,
.nav-panel a:not(.nav-cta):focus-visible {
  color: var(--white);
}

.nav-panel a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.nav-panel a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--nav-cta-border);
  border-radius: 2px;
  color: var(--white) !important;
  background: var(--nav-cta-bg);
  box-shadow: var(--nav-cta-glow), inset 0 0 16px rgba(34, 211, 238, 0.04);
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: rgba(34, 211, 238, 0.18);
  border-color: var(--accent);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.35), inset 0 0 20px rgba(34, 211, 238, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin-left: auto;
  background: var(--white);
  opacity: 1;
  transition:
    transform 0.4s var(--ease-out),
    opacity 0.4s var(--ease),
    background 0.4s var(--ease);
}

.nav.is-scrolled .nav-toggle span {
  opacity: 0.65;
}

.nav.is-scrolled:hover .nav-toggle span,
.nav.is-scrolled:focus-within .nav-toggle span,
.nav.is-scrolled .nav-toggle[aria-expanded="true"] span {
  opacity: 1;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-panel {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 10001;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
    background: rgba(4, 10, 20, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(34, 211, 238, 0.06);
    visibility: hidden;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.55s var(--ease-out), opacity 0.4s var(--ease), visibility 0s linear 0.55s;
  }

  .nav-panel.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.55s var(--ease-out), opacity 0.4s var(--ease), visibility 0s;
  }

  .nav-panel a {
    padding: 0.75rem 0;
    font-size: 1rem;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

.hero-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 78% 42%, rgba(34, 211, 238, 0.11) 0%, rgba(10, 22, 40, 0.35) 38%, transparent 68%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(15, 31, 53, 0.9) 0%, transparent 50%),
    linear-gradient(180deg, rgba(3, 3, 4, 0.35) 0%, rgba(3, 3, 4, 0.75) 45%, var(--black) 100%),
    linear-gradient(90deg, var(--black) 0%, rgba(3, 3, 4, 0.55) 42%, transparent 72%);
}

.hero-brand-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-brand-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 72% 42%, black 15%, transparent 75%);
  opacity: 0.55;
}

/* Emblema premium — derecha del hero, fusionado al fondo */
.hero-emblem {
  position: absolute;
  right: clamp(-6%, 4vw, 6%);
  top: 50%;
  width: min(50vw, 540px);
  aspect-ratio: 1;
  transform: translateY(-46%);
}

.hero-emblem-glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 42%, rgba(34, 211, 238, 0.22) 0%, rgba(15, 50, 90, 0.12) 32%, transparent 62%);
  filter: blur(36px);
  opacity: 0.85;
}

.hero-emblem-orb {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(40, 100, 160, 0.45) 0%, rgba(12, 28, 52, 0.28) 42%, transparent 68%);
  filter: blur(20px);
  opacity: 0.75;
}

.hero-emblem-ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.12);
  box-shadow:
    0 0 60px rgba(34, 211, 238, 0.08),
    inset 0 0 40px rgba(15, 40, 80, 0.25);
  opacity: 0.6;
}

.hero-emblem-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.38;
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 0 48px rgba(34, 211, 238, 0.28))
    drop-shadow(0 0 100px rgba(20, 60, 110, 0.35));
  mask-image: radial-gradient(circle at 50% 48%, black 38%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 48%, black 38%, transparent 72%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-emblem-glow {
    animation: hero-emblem-pulse 8s ease-in-out infinite;
  }

  .hero-emblem-mark {
    animation: hero-emblem-float 10s ease-in-out infinite;
  }
}

@keyframes hero-emblem-pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }

  50% {
    opacity: 0.95;
    transform: scale(1.04);
  }
}

@keyframes hero-emblem-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.34;
  }

  50% {
    transform: translateY(-1.5%) scale(1.015);
    opacity: 0.42;
  }
}

/* Lockup textual — DRUSILA blanco, sin caja */
.hero-brand-lockup {
  margin-bottom: 1.1rem;
}

.hero-brand-lockup-name {
  display: block;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    0 0 20px rgba(34, 211, 238, 0.35),
    0 0 40px rgba(34, 211, 238, 0.12);
}

.hero-brand-lockup-tag {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: min(920px, 58vw);
}

@media (max-width: 1024px) {
  .hero-inner {
    max-width: 720px;
  }

  .hero-emblem {
    width: min(58vw, 420px);
    right: -12%;
    opacity: 0.92;
  }

  .hero-emblem-mark {
    opacity: 0.28;
  }
}

@media (max-width: 768px) {
  .hero-emblem {
    width: min(75vw, 340px);
    right: -28%;
    top: 42%;
    transform: translateY(-40%);
  }

  .hero-emblem-mark {
    opacity: 0.22;
    mask-image: radial-gradient(circle at 50% 48%, black 32%, transparent 68%);
    -webkit-mask-image: radial-gradient(circle at 50% 48%, black 32%, transparent 68%);
  }

  .hero-inner {
    max-width: 100%;
  }

  .hero-brand-lockup-name {
    letter-spacing: 0.28em;
  }
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.text-accent {
  color: var(--white);
  background: linear-gradient(120deg, var(--white) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.hero-cta .btn {
  cursor: pointer;
}

.hero-meta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 0.5rem;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scroll-pulse 2.2s var(--ease) infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.6);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.75rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-fill {
  background: rgba(34, 211, 238, 0.12);
  color: var(--white);
  border: 1px solid rgba(34, 211, 238, 0.55);
  box-shadow:
    0 0 24px rgba(34, 211, 238, 0.18),
    inset 0 0 20px rgba(34, 211, 238, 0.06);
}

.btn-fill:hover {
  background: rgba(34, 211, 238, 0.22);
  border-color: var(--accent-bright);
  box-shadow:
    0 0 40px rgba(34, 211, 238, 0.38),
    0 0 80px rgba(34, 211, 238, 0.1),
    inset 0 0 24px rgba(34, 211, 238, 0.1);
  transform: translateY(-2px);
}

.btn-line {
  background: rgba(6, 16, 32, 0.4);
  color: var(--white);
  border: 1px solid rgba(34, 211, 238, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.06);
}

.btn-line:hover {
  border-color: var(--accent);
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.22);
  transform: translateY(-2px);
}

.btn-wide {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 1.5rem;
  transition: gap 0.35s var(--ease-out), color 0.3s;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.35s var(--ease-out);
}

.link-arrow:hover {
  gap: 0.75rem;
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.45);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.link-arrow-light {
  color: var(--white);
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

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

/* ——— Stats band ——— */
.band-stats {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-block: 1px solid var(--glass-border);
  background: rgba(6, 14, 28, 0.55);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.stat {
  padding: 1.25rem 1rem;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform var(--hover-dur) var(--hover-ease),
    border-color var(--hover-dur) var(--hover-ease),
    box-shadow var(--hover-dur) var(--hover-ease),
    background var(--hover-dur) var(--hover-ease);
}

.stat:hover {
  transform: translateY(-3px);
  border-color: var(--hover-border);
  box-shadow: var(--hover-glow);
  background: var(--surface-hover);
}

.stat-value {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--accent-bright);
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ——— Brand watermarks en secciones ——— */
.has-brand-watermark {
  position: relative;
  overflow: hidden;
}

.has-brand-watermark > .wrap,
.has-brand-watermark > .split,
.has-brand-watermark.stats-grid,
.has-brand-watermark > .contact-layout {
  position: relative;
  z-index: 1;
}

.has-brand-watermark::before {
  content: "";
  position: absolute;
  width: min(38vw, 400px);
  height: min(38vw, 400px);
  background: var(--brand-mark-url) center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
  mix-blend-mode: screen;
}

.has-brand-watermark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, black, transparent);
  opacity: 0.55;
  pointer-events: none;
}

.brand-watermark--right::before {
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
}

.brand-watermark--left::before {
  left: -6%;
  top: 50%;
  transform: translateY(-50%);
}

.brand-watermark--center::before {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.03;
}

.section-dark.has-brand-watermark::before {
  opacity: 0.05;
}

/* ——— Sections ——— */
.section,
.spotlight,
.trusted,
.band-stats,
.header {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.section {
  padding: clamp(5rem, 12vw, 9rem) 0;
  background: linear-gradient(180deg, rgba(2, 4, 8, 0.35) 0%, rgba(4, 10, 20, 0.65) 100%);
}

.section-dark {
  background: linear-gradient(180deg, rgba(6, 14, 28, 0.7) 0%, rgba(3, 8, 16, 0.88) 100%);
  border-block: 1px solid rgba(34, 211, 238, 0.06);
}

.display {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 0 40px rgba(34, 211, 238, 0.08);
}

.display-light {
  color: var(--white);
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.65;
}

.lead-light {
  color: rgba(255, 255, 255, 0.75);
}

.section-intro {
  max-width: 720px;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.section-intro-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-intro-center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

@media (max-width: 960px) {
  .split,
  .split-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.prose-block {
  margin-top: 2.5rem;
}

.prose-block h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.prose-block p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 58ch;
}

.panel {
  padding: clamp(2rem, 4vw, 2.75rem);
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(34, 211, 238, 0.06);
  transition:
    transform var(--hover-dur) var(--hover-ease),
    border-color var(--hover-dur) var(--hover-ease),
    box-shadow var(--hover-dur) var(--hover-ease),
    background var(--hover-dur) var(--hover-ease);
}

.panel:hover {
  transform: translateY(-3px);
  border-color: var(--hover-border);
  box-shadow: var(--hover-glow), 0 16px 48px rgba(0, 0, 0, 0.35);
  background: var(--surface-hover);
}

.panel-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0.5rem 0 1.25rem;
  letter-spacing: -0.02em;
}

.panel-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.cia-list {
  margin-bottom: 1.25rem;
}

.cia-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: padding-left 0.35s var(--ease-out), color 0.3s;
}

.cia-list li:hover {
  padding-left: 0.5rem;
  color: var(--accent);
}

.cia-list li:last-child {
  border-bottom: none;
}

/* Services */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(34, 211, 238, 0.05);
}

@media (max-width: 900px) {
  .service-list {
    grid-template-columns: 1fr;
  }
}

.service-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid transparent;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  position: relative;
  z-index: 0;
  transition:
    transform var(--hover-dur) var(--hover-ease),
    border-color var(--hover-dur) var(--hover-ease),
    box-shadow var(--hover-dur) var(--hover-ease),
    background var(--hover-dur) var(--hover-ease);
}

.service-item:hover {
  z-index: 1;
  transform: translateY(-2px);
  border-color: var(--hover-border);
  box-shadow: var(--hover-glow);
  background: var(--surface-hover);
}

.service-item:nth-child(3n) {
  border-right: none;
}

@media (max-width: 900px) {
  .service-item {
    border-right: none;
  }
}

.service-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
  flex-shrink: 0;
  padding-top: 0.15rem;
}

.service-item p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Spotlight */
.spotlight {
  position: relative;
  background: linear-gradient(180deg, rgba(4, 10, 20, 0.85) 0%, rgba(6, 14, 28, 0.95) 100%);
  overflow: hidden;
  border-block: 1px solid rgba(34, 211, 238, 0.06);
}

.spotlight-media {
  position: relative;
  height: clamp(280px, 42vw, 520px);
  overflow: hidden;
  will-change: transform;
}

.spotlight-media img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center;
}

.spotlight-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(6, 14, 28, 0.92) 100%),
    linear-gradient(90deg, rgba(2, 4, 8, 0.5) 0%, transparent 40%);
}

.spotlight-content {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(5rem, 10vw, 7rem);
  margin-top: -4rem;
  position: relative;
  z-index: 1;
}

.spotlight-intro {
  margin: 2rem 0 2.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 56ch;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--glass-border);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

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

.module-card {
  padding: 2rem 1.75rem;
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid transparent;
  transition:
    transform var(--hover-dur) var(--hover-ease),
    border-color var(--hover-dur) var(--hover-ease),
    box-shadow var(--hover-dur) var(--hover-ease),
    background var(--hover-dur) var(--hover-ease);
}

.module-card:hover {
  transform: translateY(-3px);
  border-color: var(--hover-border);
  box-shadow: var(--hover-glow);
  background: var(--surface-hover);
}

.module-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
  color: var(--accent-bright);
}

.module-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-row span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--accent-bright);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.06);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.1);
}

/* Visual block */
.visual-block {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  will-change: transform;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.08);
}

.visual-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.visual-block:hover img {
  transform: scale(1.03);
}

/* ——— Trusted by / client logos ——— */
.trusted {
  position: relative;
  padding: clamp(6rem, 14vw, 10rem) 0;
  background: linear-gradient(180deg, rgba(4, 10, 20, 0.55) 0%, rgba(2, 4, 8, 0.8) 100%);
  overflow: hidden;
  border-block: 1px solid rgba(34, 211, 238, 0.06);
}

.trusted::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(3, 3, 4, 0.4) 100%);
  pointer-events: none;
}

.trusted-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 42%, rgba(34, 211, 238, 0.05), transparent 42%),
    radial-gradient(circle at 82% 38%, rgba(34, 211, 238, 0.04), transparent 40%);
  pointer-events: none;
}

.trusted .wrap {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 2rem));
}

.trusted .section-intro {
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.trusted-grid.reveal {
  transform: translateY(24px);
}

.trusted-grid.reveal.is-visible {
  transform: translateY(0);
}

.trusted-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  align-items: center;
  justify-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .trusted-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .trusted-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1.25rem, 2vw, 1.75rem);
  }
}

@media (min-width: 1400px) {
  .trusted-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .trusted-grid {
    gap: 1.25rem 1rem;
  }
}

.trusted-item {
  width: 100%;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}

.trusted-grid.is-visible .trusted-item {
  opacity: 1;
  transform: translateY(0);
}

.trusted-item:nth-child(1) { transition-delay: 0.04s; }
.trusted-item:nth-child(2) { transition-delay: 0.08s; }
.trusted-item:nth-child(3) { transition-delay: 0.12s; }
.trusted-item:nth-child(4) { transition-delay: 0.16s; }
.trusted-item:nth-child(5) { transition-delay: 0.2s; }
.trusted-item:nth-child(6) { transition-delay: 0.24s; }
.trusted-item:nth-child(7) { transition-delay: 0.28s; }
.trusted-item:nth-child(8) { transition-delay: 0.32s; }
.trusted-item:nth-child(9) { transition-delay: 0.36s; }
.trusted-item:nth-child(10) { transition-delay: 0.4s; }
.trusted-item:nth-child(11) { transition-delay: 0.44s; }

@media (prefers-reduced-motion: reduce) {
  .trusted-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.trusted-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(11rem, 20vw, 16rem);
  margin: 0;
  padding: clamp(0.35rem, 1vw, 0.65rem) clamp(0.25rem, 0.75vw, 0.5rem);
  position: relative;
  border: none;
  background: none;
  isolation: isolate;
}

.trusted-logo::after {
  content: "";
  position: absolute;
  inset: 10% 5%;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.22), transparent 68%);
  filter: blur(12px);
  transition: opacity 0.4s var(--hover-ease);
  pointer-events: none;
  z-index: 0;
}

.trusted-logo:hover::after,
.trusted-logo:focus-within::after {
  opacity: 1;
}

.trusted-logo img {
  position: relative;
  z-index: 1;
  display: block;
  max-width: min(100%, clamp(22rem, 36vw, 32rem));
  max-height: clamp(9rem, 16vw, 14rem);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  opacity: 0.6;
  filter: grayscale(1);
  backface-visibility: hidden;
  transform: translateZ(0);
  transition:
    opacity 0.35s var(--hover-ease),
    transform 0.35s var(--hover-ease),
    filter 0.4s var(--hover-ease);
}

.trusted-item--tall .trusted-logo img {
  max-height: clamp(13rem, 22vw, 19rem);
  max-width: min(100%, clamp(16rem, 28vw, 22rem));
}

.trusted-item--wide .trusted-logo img {
  max-width: min(100%, clamp(26rem, 44vw, 36rem));
  max-height: clamp(8rem, 14vw, 12rem);
}

.trusted-logo:hover img,
.trusted-logo:focus-within img {
  opacity: 1;
  filter: grayscale(0);
  transform: translateZ(0) scale(1.05);
}

/* Fondo oscuro/negro en el PNG → transparente sobre sección oscura */
.trusted-item--knockout .trusted-logo img {
  mix-blend-mode: lighten;
}

.trusted-item--knockout .trusted-logo:hover img,
.trusted-item--knockout .trusted-logo:focus-within img {
  mix-blend-mode: lighten;
  filter: grayscale(0);
}

/* Fondo blanco/claro en el PNG → se integra sin recuadro */
.trusted-item--light .trusted-logo img {
  mix-blend-mode: multiply;
}

.trusted-item--light .trusted-logo:hover img,
.trusted-item--light .trusted-logo:focus-within img {
  mix-blend-mode: multiply;
  filter: grayscale(0);
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

.project-card {
  padding: 2rem 1.75rem;
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(34, 211, 238, 0.05);
  transition:
    transform var(--hover-dur) var(--hover-ease),
    border-color var(--hover-dur) var(--hover-ease),
    box-shadow var(--hover-dur) var(--hover-ease),
    background var(--hover-dur) var(--hover-ease);
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--hover-border);
  box-shadow: var(--hover-glow), 0 16px 48px rgba(0, 0, 0, 0.3);
  background: var(--surface-hover);
}

.project-card--featured {
  background: linear-gradient(145deg, rgba(10, 26, 48, 0.9), rgba(6, 16, 32, 0.75));
  border-color: rgba(34, 211, 238, 0.22);
}

.project-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.project-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.project-card:hover h3 {
  color: var(--accent-bright);
}

.project-meta {
  font-size: 0.75rem;
  color: var(--dim);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.project-card p:last-child {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Visual strip */
.visual-strip {
  height: clamp(200px, 28vw, 360px);
  overflow: hidden;
}

.visual-strip-track {
  height: 120%;
  will-change: transform;
}

.visual-strip-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

/* Contact */
.section-contact {
  background: linear-gradient(180deg, rgba(3, 8, 16, 0.6) 0%, rgba(2, 4, 8, 0.9) 100%);
  border-top: 1px solid var(--glass-border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-block {
  margin-top: 2rem;
}

.contact-block h3 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.contact-block p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

.contact-block a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.contact-block a:hover {
  color: var(--accent);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: clamp(2rem, 4vw, 2.75rem);
  background: var(--surface);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(34, 211, 238, 0.06);
  transition:
    transform var(--hover-dur) var(--hover-ease),
    border-color var(--hover-dur) var(--hover-ease),
    box-shadow var(--hover-dur) var(--hover-ease);
}

.form:hover {
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: var(--hover-glow);
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form label span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.form input,
.form textarea {
  font: inherit;
  padding: 0.85rem 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  transition: border-color 0.35s var(--ease);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.form-full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  color: var(--muted);
  min-height: 1.25rem;
}

/* Footer */
.footer {
  padding: clamp(2.25rem, 5vw, 3rem) 0 clamp(2.5rem, 6vw, 3.25rem);
  border-top: 1px solid var(--glass-border);
  background: rgba(2, 4, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.footer-inner::before {
  content: "";
  display: block;
  width: min(100%, 12rem);
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(34, 211, 238, 0.35) 50%,
    transparent
  );
  opacity: 0.65;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem 3rem;
  }

  .footer-inner::before {
    width: 100%;
    margin-inline: 0;
    order: -1;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.footer-brand-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--brand-glass);
  border: 1px solid var(--brand-glass-border);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.1);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-brand strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.footer-brand span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.75);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(34, 211, 238, 0.08);
}

@media (min-width: 768px) {
  .footer-meta {
    align-items: flex-end;
    text-align: right;
    padding-top: 0;
    padding-left: clamp(1.5rem, 3vw, 2.5rem);
    border-top: none;
    border-left: 1px solid rgba(34, 211, 238, 0.1);
    margin-left: auto;
  }
}

.footer-legal {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.7);
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.62);
}

.footer-copy a {
  color: rgba(34, 211, 238, 0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 211, 238, 0.28);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.footer-copy a:hover {
  color: var(--accent-bright);
  border-color: rgba(103, 232, 249, 0.55);
}
