/* Lo que comparten todas las páginas: colores, botones, menú, portada, pie y botón flotante.
   Al cambiar este archivo, sube la versión (?v=) en los <link> de index.html y flotillas.html. */
:root {
  --navy-950: #070c1a;
  --navy-900: #0c1430;
  --navy-800: #121c42;
  --navy-700: #1a2758;
  --blue-600: #1c5ef0;
  --blue-500: #2f7bff;
  --blue-400: #4fa3ff;
  --ice-300: #bfe0ff;
  --purple-500: #7c4dff;
  --purple-300: #c9b6ff;
  --green-500: #25d366;
  --white: #f6f8fc;
  --muted: #93a2c4;
  --line: rgba(255, 255, 255, 0.10);
  --radius: 18px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

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

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-400);
}

h1,
h2,
h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.01em;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 88px 0;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 12px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 44px);
}

.section-head p {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 17px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-wa {
  background: var(--green-500);
  color: #062b14;
}

.btn-wa:hover {
  background: #3ee07a;
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-block {
  width: 100%;
}

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 3px;
}

/* ---------- Encabezado ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 12, 26, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  gap: 26px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--white);
}

.topbar .btn {
  padding: 10px 18px;
  font-size: 15px;
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--white);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy-950);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topbar .btn-wa .label-long {
    display: none;
  }
}

@media (max-width: 400px) {
  .topbar .btn-wa {
    display: none;
  }
}

/* ---------- Portada ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(28, 94, 240, 0.35), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(124, 77, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 6.2vw, 68px);
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--blue-400);
}

.hero .lead {
  font-size: 19px;
  color: #c9d4ee;
  margin: 20px 0 30px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-facts svg {
  width: 18px;
  height: 18px;
  color: var(--blue-400);
  flex: none;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.price-badge {
  position: absolute;
  left: -18px;
  bottom: -18px;
  background: var(--white);
  color: var(--navy-950);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.price-badge small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #5a6788;
}

.price-badge strong {
  font-family: 'Oswald', sans-serif;
  font-size: 34px;
  line-height: 1;
}

.hero-watermark {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 320px;
  opacity: 0.05;
  pointer-events: none;
}

@media (max-width: 880px) {
  .hero {
    padding: 44px 0 64px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .price-badge {
    left: 12px;
    bottom: -16px;
  }
}

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 100px;
  color: var(--muted);
  font-size: 14px;
}

footer .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

footer img {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
}

footer h4 {
  color: var(--white);
  font-size: 14px;
  margin: 0 0 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

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

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 13px;
}

@media (max-width: 760px) {
  footer .wrap {
    grid-template-columns: 1fr;
  }
}

/* ---------- Botón flotante ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-500);
  color: #062b14;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.wa-float svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 560px) {
  .wa-float span {
    display: none;
  }

  .wa-float {
    padding: 15px;
  }
}
