/* ==========================================================================
   NEXUS CARGO — Landing page
   ========================================================================== */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Marca */
  --navy-900: #050D1F;
  --navy-800: #0A1733;
  --navy-700: #102246;
  --navy-600: #17305F;
  --navy-500: #1F3F7A;

  --gold-600: #B8871F;
  --gold-500: #D9A93F;
  --gold-400: #EFC463;
  --gold-300: #F7DFA5;

  --ocean-600: #0B6B75;
  --ocean-500: #128B99;
  --ocean-400: #22AEBD;
  --ocean-300: #7BD4DE;

  --sky-500: #2F80D9;
  --sky-400: #57A0EC;

  /* Neutros */
  --white: #FFFFFF;
  --sand: #FBF8F2;
  --off-white: #F5F7FB;
  --gray-100: #EDF0F5;
  --gray-200: #DDE2EA;
  --gray-300: #C2C9D6;
  --gray-500: #7A8598;
  --gray-600: #5A6479;
  --gray-800: #2B3444;

  /* Degradados */
  --grad-brand: linear-gradient(135deg, var(--ocean-500) 0%, var(--sky-500) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
  --grad-navy: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-600) 55%, var(--ocean-600) 130%);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(10, 23, 51, 0.06);
  --shadow: 0 8px 30px rgba(10, 23, 51, 0.09);
  --shadow-lg: 0 20px 60px rgba(10, 23, 51, 0.16);
  --shadow-gold: 0 12px 34px rgba(217, 169, 63, 0.35);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --topbar-h: 42px;
  --header-h: 76px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--gold-400);
  color: var(--navy-800);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section--tight { padding: 84px 0; }

/* Iconos SVG */
.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon--solid { fill: currentColor; stroke: none; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ===== CABECERAS DE SECCIÓN ===== */
.section__header {
  text-align: center;
  max-width: 730px;
  margin: 0 auto 68px;
}

.section__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocean-600);
  background: rgba(18, 139, 153, 0.1);
  border: 1px solid rgba(18, 139, 153, 0.2);
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.section__badge--gold {
  color: var(--gold-600);
  background: rgba(217, 169, 63, 0.12);
  border-color: rgba(217, 169, 63, 0.28);
}

.section__badge--light {
  color: var(--gold-400);
  background: rgba(217, 169, 63, 0.14);
  border-color: rgba(217, 169, 63, 0.3);
}

.section__title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 20px;
}

.section__title--light { color: var(--white); }
.section__title--left { text-align: left; }

.section__desc {
  font-size: 1.09rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.section__desc--light { color: rgba(255, 255, 255, 0.72); }

/* Texto con degradado dorado */
.grad-text {
  background: linear-gradient(100deg, var(--gold-300) 0%, var(--gold-400) 45%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn .icon { font-size: 1.1em; transition: transform var(--transition); }
.btn:hover .icon { transform: translateX(4px); }

.btn--primary {
  background: var(--grad-gold);
  color: var(--navy-800);
  box-shadow: 0 8px 24px rgba(217, 169, 63, 0.32);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn--dark {
  background: var(--navy-800);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--navy-600);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn--sm { padding: 11px 22px; font-size: 0.86rem; }
.btn--block { width: 100%; }

/* ===== CABECERA FIJA (topbar + header) ===== */
.site-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  height: var(--topbar-h);
  overflow: hidden;
  transition: height var(--transition), opacity var(--transition);
}

/* Al bajar, la barra superior se pliega y deja solo el menú */
.site-head.scrolled .topbar {
  height: 0;
  opacity: 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--topbar-h);
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 26px;
}

.topbar__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

.topbar__contacts a:hover { color: var(--gold-400); }
.topbar__contacts .icon { font-size: 1rem; color: var(--gold-500); }

.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-400);
  font-weight: 600;
}

.topbar__socials { display: flex; gap: 10px; }

.topbar__socials a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  transition: var(--transition);
}

.topbar__socials a:hover {
  background: var(--gold-500);
  color: var(--navy-800);
}

/* ===== HEADER ===== */
.header {
  background: transparent;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.site-head.scrolled .header {
  background: rgba(8, 19, 42, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(5, 13, 31, 0.35);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* ===== LOGO ===== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex: none;
}

.logo__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad-brand);
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: 0 6px 18px rgba(18, 139, 153, 0.45);
  position: relative;
}

.logo__mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.logo__text b {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo__text span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--gold-400);
}

/* ===== NAV ===== */
.nav__list { display: flex; align-items: center; gap: 26px; }

/* El CTA duplicado solo existe dentro del menú móvil */
.nav__cta { display: none; }

.nav__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
  transition: width var(--transition);
}

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

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.header__cta { flex: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
  padding: 0 10px;
  z-index: 1002;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 31, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}

.nav-backdrop.show { opacity: 1; visibility: visible; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--topbar-h) + var(--header-h) + 56px) 0 90px;
  background: var(--navy-900);
  overflow: hidden;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 28s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.5%, -1.5%, 0); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 8% 40%, rgba(5, 13, 31, 0.95) 0%, rgba(5, 13, 31, 0.72) 42%, rgba(5, 13, 31, 0.18) 78%),
    linear-gradient(180deg, rgba(5, 13, 31, 0.85) 0%, rgba(5, 13, 31, 0.25) 30%, rgba(5, 13, 31, 0.55) 78%, rgba(5, 13, 31, 0.95) 100%);
}

.hero__glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero__glow--gold {
  width: 480px; height: 480px;
  right: 4%; top: 8%;
  background: rgba(217, 169, 63, 0.22);
  animation: float 14s ease-in-out infinite;
}

.hero__glow--ocean {
  width: 420px; height: 420px;
  left: -6%; bottom: -8%;
  background: rgba(34, 174, 189, 0.24);
  animation: float 18s ease-in-out infinite reverse;
}

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

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  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: 68px 68px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 85%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
  width: 100%;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(217, 169, 63, 0.12);
  border: 1px solid rgba(217, 169, 63, 0.3);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
}

.hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 0 rgba(239, 196, 99, 0.7);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  70%  { box-shadow: 0 0 0 12px rgba(239, 196, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 196, 99, 0); }
}

.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.06;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero__sub {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 560px;
}

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

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero__stat .icon {
  font-size: 1.25rem;
  color: var(--gold-400);
}

.hero__stat b {
  display: block;
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Tarjeta flotante de seguimiento */
.hero__aside { display: flex; justify-content: flex-end; }

.track-card {
  width: 100%;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  animation: floatCard 7s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.track-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.track-card__id {
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.track-card__id .icon { color: var(--ocean-300); font-size: 1.2rem; }

.track-card__state {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6EE7A8;
  background: rgba(52, 211, 153, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.32);
  padding: 5px 12px;
  border-radius: 100px;
}

.track-steps { display: grid; gap: 0; }

.track-step {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  position: relative;
  padding-bottom: 20px;
}

.track-step:last-child { padding-bottom: 0; }

.track-step::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 22px;
  bottom: 2px;
  width: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.track-step:last-child::before { display: none; }

.track-step__dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  z-index: 1;
}

.track-step--done .track-step__dot {
  background: var(--ocean-500);
  border-color: var(--ocean-400);
  color: var(--white);
}

.track-step--done::before { background: var(--ocean-500); }

.track-step--now .track-step__dot {
  background: var(--gold-500);
  border-color: var(--gold-300);
  color: var(--navy-800);
  animation: pulse 2.2s infinite;
}

.track-step__label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.track-step__meta {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
}

.track-step--todo .track-step__label { color: rgba(255, 255, 255, 0.45); font-weight: 500; }

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.5rem;
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 10px); }
}

/* ===== BANDA DE CONFIANZA ===== */
.trust {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 22px 0;
  overflow: hidden;
}

.trust__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.trust:hover .trust__track { animation-play-state: paused; }

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

.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.trust__item .icon { font-size: 1.25rem; color: var(--gold-500); }

/* ===== FLUJOS IMPORT / EXPORT ===== */
.flows { background: var(--off-white); }

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

.flow-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  transition: var(--transition);
  isolation: isolate;
}

.flow-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

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

.flow-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.flow-card:hover .flow-card__media img { transform: scale(1.07); }

/* Velo fuerte: el texto ocupa casi toda la tarjeta y algunas fotos son muy claras (cielo, avión) */
.flow-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(5, 13, 31, 0.34) 0%,
    rgba(5, 13, 31, 0.74) 26%,
    rgba(5, 13, 31, 0.90) 55%,
    rgba(5, 13, 31, 0.97) 100%);
}

.flow-card__body { padding: 36px 32px 34px; width: 100%; }

.flow-card__dir {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.flow-card--in .flow-card__dir  { background: rgba(8, 44, 52, 0.72); border-color: rgba(123, 212, 222, 0.55); color: var(--ocean-300); }
.flow-card--out .flow-card__dir { background: rgba(56, 38, 4, 0.72); border-color: rgba(239, 196, 99, 0.55); color: var(--gold-300); }

.flow-card h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 14px rgba(5, 13, 31, 0.65);
}

.flow-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 22px;
  text-shadow: 0 1px 10px rgba(5, 13, 31, 0.6);
}

.flow-card__list { display: grid; gap: 11px; margin-bottom: 26px; }

.flow-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.91rem;
  font-weight: 500;
}

.flow-card__list .icon {
  font-size: 1.05rem;
  margin-top: 3px;
  color: var(--gold-400);
}

.flow-card--in .flow-card__list .icon { color: var(--ocean-300); }

/* ===== NOSOTROS ===== */
.about { background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: center;
}

.about__gallery {
  position: relative;
  padding: 0 0 70px 60px;
}

.about__gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.1;
}

.about__gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.about__gallery-sub {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.about__gallery-sub img { width: 100%; height: 100%; object-fit: cover; }

.about__gallery::before {
  content: '';
  position: absolute;
  right: -18px;
  top: -18px;
  width: 130px;
  height: 130px;
  border-radius: var(--radius);
  background: var(--grad-gold);
  opacity: 0.16;
  z-index: -1;
}

.about__text p {
  font-size: 1.04rem;
  color: var(--gray-600);
  line-height: 1.82;
  margin-bottom: 22px;
}

.about__quote {
  border-left: 4px solid var(--gold-500);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  font-style: italic;
  color: var(--navy-700);
  line-height: 1.6;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy-800);
}

.about__features .icon {
  font-size: 1.4rem;
  color: var(--ocean-500);
  background: rgba(18, 139, 153, 0.1);
  border-radius: 9px;
  padding: 7px;
  width: 1.4em;
  height: 1.4em;
  box-sizing: content-box;
}

/* ===== BANDA DE INDICADORES ===== */
.stats {
  background: var(--grad-navy);
  padding: 74px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 100% at 50% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 100% at 50% 50%, #000, transparent 80%);
}

.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat { text-align: center; position: relative; }

.stat + .stat::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 14%;
  height: 72%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.stat__icon {
  font-size: 1.6rem;
  color: var(--gold-400);
  margin-bottom: 12px;
}

.stat__num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat__num small { font-size: 0.5em; color: var(--gold-400); }

.stat__label {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
}

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

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__media img { transform: scale(1.09); }

.service-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 23, 51, 0.1) 0%, rgba(10, 23, 51, 0.55) 100%);
}

/* Vive dentro de .service-card__body: el media recorta con overflow y lo cortaba por la mitad */
.service-card__icon {
  position: absolute;
  left: 26px;
  top: -27px;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--grad-brand);
  color: var(--white);
  font-size: 1.45rem;
  box-shadow: 0 10px 24px rgba(18, 139, 153, 0.42);
  transition: var(--transition);
}

.service-card:nth-child(2) .service-card__icon,
.service-card:nth-child(4) .service-card__icon,
.service-card:nth-child(6) .service-card__icon {
  background: var(--grad-gold);
  color: var(--navy-800);
  box-shadow: 0 10px 24px rgba(217, 169, 63, 0.42);
}

.service-card:hover .service-card__icon { transform: translateY(-5px) rotate(-6deg); }

.service-card__num {
  position: absolute;
  right: 20px;
  top: 16px;
  z-index: 2;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1;
}

.service-card__body {
  position: relative;
  padding: 46px 26px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__title {
  font-size: 1.13rem;
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.72;
  margin-bottom: 18px;
}

/* margin-top:auto alinea la fila de etiquetas al pie en todas las tarjetas */
.service-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

.service-card__tags span {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ocean-600);
  background: rgba(18, 139, 153, 0.09);
  border: 1px solid rgba(18, 139, 153, 0.18);
  padding: 4px 11px;
  border-radius: 100px;
}

/* ===== MULTIMODAL ===== */
.modal-band { background: var(--white); }

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

.mode {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  transition: var(--transition);
}

.mode:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.mode img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.mode:hover img { transform: scale(1.09); }

.mode::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 13, 31, 0.05) 20%, rgba(5, 13, 31, 0.68) 58%, rgba(5, 13, 31, 0.94) 100%);
  transition: var(--transition);
}

.mode:hover::after { background: linear-gradient(180deg, rgba(11, 107, 117, 0.25) 20%, rgba(5, 13, 31, 0.9) 100%); }

.mode__body { padding: 24px 22px; }

.mode__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.mode h4 { color: var(--white); font-size: 1.06rem; font-weight: 800; margin-bottom: 5px; }
.mode p { color: rgba(255, 255, 255, 0.82); font-size: 0.83rem; line-height: 1.5; }

/* ===== ALMACENAMIENTO ===== */
.storage { background: var(--off-white); }

.storage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 66px;
  align-items: center;
}

.storage__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  aspect-ratio: 1 / 0.92;
}

.storage__gallery figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.storage__gallery figure:first-child { grid-row: span 2; }

.storage__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.storage__gallery figure:hover img { transform: scale(1.08); }

/* Pastilla sólida: sobre naves muy iluminadas el texto con sombra no se leía */
.storage__gallery figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(5, 13, 31, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  border-radius: 100px;
}

.storage__gallery figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 13, 31, 0.55) 100%);
  pointer-events: none;
}

.storage__list { display: grid; gap: 20px; margin-top: 30px; }

.storage__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.storage__item .icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 13px;
  background: var(--white);
  color: var(--ocean-500);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.storage__item h4 { font-size: 1rem; font-weight: 800; color: var(--navy-800); margin-bottom: 4px; }
.storage__item p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.68; }

/* ===== PLATAFORMA ===== */
.platform {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.platform::before {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  right: -12%;
  top: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 139, 153, 0.3) 0%, transparent 68%);
  filter: blur(40px);
}

.platform::after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  left: -14%;
  bottom: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 169, 63, 0.2) 0%, transparent 68%);
  filter: blur(40px);
}

.platform__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 70px;
  align-items: center;
}

.platform__content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.04rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.platform__list { display: grid; gap: 20px; }

.platform__list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.platform__list .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  box-sizing: border-box;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gold-400);
}

.platform__list b { display: block; color: var(--white); font-size: 0.99rem; font-weight: 700; margin-bottom: 3px; }
.platform__list span { color: rgba(255, 255, 255, 0.74); font-size: 0.9rem; line-height: 1.6; }

/* Mockup del teléfono */
.platform__device { display: flex; justify-content: center; }

.phone {
  position: relative;
  width: 300px;
  border-radius: 42px;
  background: linear-gradient(160deg, #1b2b4d 0%, #0b1730 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 14px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 8px rgba(255, 255, 255, 0.03);
  animation: floatCard 8s ease-in-out infinite;
}

.phone::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  border-radius: 100px;
  background: #060d1d;
  z-index: 3;
}

.phone__screen {
  border-radius: 30px;
  background: #0a1428;
  overflow: hidden;
  padding: 44px 18px 20px;
}

.phone__map {
  position: relative;
  height: 132px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at 30% 40%, rgba(34, 174, 189, 0.22), transparent 55%),
    linear-gradient(140deg, #103055 0%, #0b1c38 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.phone__pin {
  position: absolute;
  left: 62%;
  top: 42%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 0 rgba(239, 196, 99, 0.6);
  animation: pulse 2.2s infinite;
  display: grid;
  place-items: center;
  color: var(--navy-800);
  font-size: 0.72rem;
}

.phone__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.phone__row b { color: var(--white); font-size: 0.88rem; font-weight: 700; }

.phone__chip {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6EE7A8;
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 3px 9px;
  border-radius: 100px;
}

.phone__bar {
  height: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 6px;
}

.phone__bar i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 100px;
  background: var(--grad-gold);
}

.phone__meta {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
  margin-bottom: 18px;
}

.phone__events { display: grid; gap: 12px; }

.phone__event {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 11px;
  align-items: center;
}

.phone__event i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ocean-300);
  font-size: 0.72rem;
  font-style: normal;
}

.phone__event span { color: rgba(255, 255, 255, 0.82); font-size: 0.75rem; line-height: 1.3; }
.phone__event em { display: block; color: rgba(255, 255, 255, 0.4); font-size: 0.66rem; font-style: normal; }

/* ===== CTA PARALLAX ===== */
.cta {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.cta__media { position: absolute; inset: -12% 0; z-index: -2; }

.cta__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(5, 13, 31, 0.93) 0%, rgba(10, 23, 51, 0.78) 50%, rgba(11, 107, 117, 0.7) 100%);
}

.cta__inner { max-width: 780px; margin: 0 auto; }

.cta h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.cta p {
  color: rgba(255, 255, 255, 0.87);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== POR QUÉ NOSOTROS ===== */
.why { background: var(--white); }

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

.why__card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.why__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

.why__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.why__card:hover::before { transform: scaleY(1); }

.why__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.why__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(18, 139, 153, 0.09);
  color: var(--ocean-500);
  font-size: 1.35rem;
  transition: var(--transition);
}

.why__card:hover .why__icon {
  background: var(--grad-brand);
  color: var(--white);
}

.why__number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  transition: var(--transition);
}

.why__card:hover .why__number { color: rgba(217, 169, 63, 0.3); }

.why__card h3 { font-size: 1.08rem; font-weight: 800; color: var(--navy-800); margin-bottom: 10px; }
.why__card p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.72; }

/* ===== CONTACTO ===== */
.contact { background: var(--off-white); }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 50px;
  align-items: start;
}

.contact__panel {
  background: var(--grad-navy);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact__panel::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  right: -110px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 169, 63, 0.24), transparent 70%);
}

.contact__panel h3 {
  position: relative;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact__panel > p {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact__info { position: relative; display: grid; gap: 22px; }

.contact__item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }

.contact__item .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  box-sizing: border-box;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--gold-400);
}

.contact__item h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-400); margin-bottom: 5px; }
.contact__item p { font-size: 0.94rem; color: rgba(255, 255, 255, 0.86); line-height: 1.55; }
.contact__item p a { transition: color var(--transition); }
.contact__item p a:hover { color: var(--gold-400); }
.contact__item small { display: block; font-size: 0.8rem; color: rgba(255, 255, 255, 0.66); margin-top: 3px; }

.contact__social { position: relative; display: flex; gap: 12px; margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); }

.contact__social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.contact__social a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-800);
  transform: translateY(-4px);
}

/* Formulario */
.contact__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.contact__form h3 { font-size: 1.4rem; font-weight: 800; color: var(--navy-800); margin-bottom: 8px; }
.contact__form > p { color: var(--gray-600); font-size: 0.94rem; margin-bottom: 28px; }

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

.form__group { margin-bottom: 18px; }

.form__group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 7px;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.94rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  background: var(--off-white);
  transition: var(--transition);
  color: var(--gray-800);
}

.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--gray-500); }

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--ocean-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(18, 139, 153, 0.12);
}

.form__group textarea { resize: vertical; min-height: 118px; }

.form__note { font-size: 0.8rem; color: var(--gray-500); margin-top: 14px; text-align: center; }

.form__ok {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #0f7a52;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.form__ok.show { display: flex; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-900);
  padding-top: 76px;
  position: relative;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand .logo { margin-bottom: 20px; }

.footer__brand p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.75;
  max-width: 300px;
}

.footer__socials { display: flex; gap: 10px; margin-top: 22px; }

.footer__socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.footer__socials a:hover { background: var(--gold-500); color: var(--navy-800); }

.footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer__links ul { display: grid; gap: 11px; }

.footer__links a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__links a::before {
  content: '';
  width: 0;
  height: 1.5px;
  background: var(--gold-500);
  transition: width var(--transition);
}

.footer__links a:hover { color: var(--gold-400); }
.footer__links a:hover::before { width: 12px; }

.footer__newsletter p { color: rgba(255, 255, 255, 0.66); font-size: 0.9rem; margin-bottom: 18px; line-height: 1.7; }

.footer__form {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  overflow: hidden;
  padding: 5px 5px 5px 6px;
  transition: var(--transition);
}

.footer__form:focus-within { border-color: rgba(217, 169, 63, 0.5); }

.footer__form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 0.88rem;
}

.footer__form input:focus { outline: none; }
.footer__form input::placeholder { color: rgba(255, 255, 255, 0.5); }

.footer__form button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  border: none;
  border-radius: 50%;
  color: var(--navy-800);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.footer__form button:hover { transform: translateX(2px); }

.footer__bottom { padding: 24px 0; }

.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom p { color: rgba(255, 255, 255, 0.52); font-size: 0.83rem; }
.footer__bottom nav { display: flex; gap: 22px; }
.footer__bottom nav a { color: rgba(255, 255, 255, 0.52); font-size: 0.83rem; transition: color var(--transition); }
.footer__bottom nav a:hover { color: var(--gold-400); }

/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}

.floating-wa:hover { transform: scale(1.08) translateY(-2px); }

/* ===== ANIMACIONES DE SCROLL ===== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--d, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

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

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

  .hero__inner { grid-template-columns: 1fr; gap: 46px; }
  .hero__aside { justify-content: flex-start; }
  .track-card { max-width: 420px; }

  .about__grid,
  .storage__grid,
  .platform__inner { grid-template-columns: 1fr; gap: 52px; }

  .about__gallery { max-width: 560px; }

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

/* Menú lateral: por debajo de 1080px los 7 enlaces + logo + CTA ya no caben en una fila */
@media (max-width: 1080px) {
  .header__cta { display: none; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 86vw);
    height: 100dvh;
    background: var(--navy-800);
    padding: 96px 30px 32px;
    transition: right var(--transition);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
    z-index: 999;
    overflow-y: auto;
  }

  .nav.open { right: 0; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }

  .nav__link {
    display: block;
    font-size: 1rem;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav__link::after { display: none; }

  .nav__cta { margin-top: 24px; display: block; }
  .nav__cta .btn { width: 100%; }

  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 900px) {
  .topbar__contacts a:nth-child(3) { display: none; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .stat:nth-child(3)::before { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; --topbar-h: 38px; }

  .section { padding: 76px 0; }
  .section--tight { padding: 60px 0; }
  .section__header { margin-bottom: 46px; }

  .topbar__inner { justify-content: center; }
  .topbar__contacts { gap: 18px; }
  .topbar__right { display: none; }

  .hero { min-height: auto; padding: calc(var(--topbar-h) + var(--header-h) + 44px) 0 70px; }
  .hero__stats { gap: 16px 22px; }
  .hero__scroll { display: none; }

  .flows__grid { grid-template-columns: 1fr; }
  .flow-card { min-height: 380px; }

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

  .about__features { grid-template-columns: 1fr; }
  .about__gallery { padding: 0 0 54px 40px; }

  .storage__gallery { aspect-ratio: 1 / 1.05; }

  .cta { padding: 90px 0; }
  .cta__actions .btn { width: 100%; }

  .contact__panel,
  .contact__form { padding: 32px 24px; }

  .form__row { grid-template-columns: 1fr; gap: 0; }

  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom .container { flex-direction: column; text-align: center; }

  .floating-wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }

  .topbar { font-size: 0.76rem; }
  .topbar__contacts { gap: 14px; }

  .logo__text b { font-size: 1.15rem; }
  .logo__mark { width: 38px; height: 38px; font-size: 1.2rem; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .track-card { padding: 22px 20px; }

  .stats__grid { grid-template-columns: 1fr; gap: 34px; }
  .stat::before { display: none !important; }

  .modes__grid { grid-template-columns: 1fr; }
  .mode { aspect-ratio: 16 / 10; }

  .storage__gallery { grid-template-columns: 1fr; grid-template-rows: none; aspect-ratio: auto; }
  .storage__gallery figure { aspect-ratio: 16 / 10; }
  .storage__gallery figure:first-child { grid-row: auto; }

  .phone { width: 260px; }
}
