/* Base global del proyecto: tokens, temas, reset y utilidades compartidas. */

/* =========================
   TOKENS / THEME
========================= */

:root {
color-scheme: dark;

  --font-heading: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;

  --container: 1200px;
  --container-wide: 1440px;
  --container-pad: 24px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 88px;
  --space-10: 120px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.45s ease;

  --shadow-navbar: 0 12px 30px rgba(10, 28, 56, 0.12);
  --shadow-card: 0 18px 40px rgba(16, 33, 56, 0.08);
  --shadow-card-dark: 0 18px 44px rgba(0, 0, 0, 0.26);

  --hero-height-desktop: calc(100vh - 106px);
  --hero-height-tablet: calc(100vh - 74px);
  --hero-height-mobile: calc(100vh - 64px);
}






:root {
--bg: #020916;
  --bg-soft: #071427;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(4, 16, 34, 0.82);

  --text: #eef7ff;
  --text-soft: rgba(238, 247, 255, 0.78);
  --text-muted: rgba(238, 247, 255, 0.56);

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.06);

  --primary: #22b8f0;
  --primary-strong: #1298de;
  --primary-soft: rgba(34, 184, 240, 0.14);

  --navbar-bg: #1775bc;
  --navbar-text: #ffffff;
  --navbar-accent: #ffffff;

  --sales-bg: #f4f4f4;
  --sales-text: #111111;
  --sales-border: rgba(0, 0, 0, 0.14);

  --mobile-menu-bg: linear-gradient(
    180deg,
    rgba(3, 10, 20, 0.98) 0%,
    rgba(5, 16, 31, 0.98) 100%
  );
  --mobile-menu-border: rgba(255, 255, 255, 0.12);
  --mobile-menu-text: #ffffff;

  --hero-overlay-1: rgba(2, 9, 22, 0.12);
  --hero-overlay-2: rgba(2, 9, 22, 0.36);
  --hero-overlay-3: rgba(2, 9, 22, 0.78);

  --section-bg: transparent;
  --faq-bg: rgba(255, 255, 255, 0.02);

  --footer-bg: #02070f;
  --footer-text: rgba(255, 255, 255, 0.88);
  --footer-muted: rgba(255, 255, 255, 0.62);
}


/* =========================
   RESET / BASE
========================= */

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


html {
scroll-behavior: smooth;
}


body {
margin: 0;
  background: #000000;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  transition:
    background var(--transition-slow),
    color var(--transition-base);
}


body::before {
content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.28;
  z-index: -1;
}


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


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


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


ul,
ol {
margin: 0;
  padding: 0;
}


h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
  font-family: var(--font-heading);
  line-height: 0.98;
  letter-spacing: -0.03em;
}


p {
margin: 0;
  color: var(--text-soft);
}


main,
section,
footer {
position: relative;
}


.container {
width: min(100% - (var(--container-pad) * 2), var(--container));
  margin-inline: auto;
}


.container--wide {
width: min(100% - (var(--container-pad) * 2), var(--container-wide));
  margin-inline: auto;
}


/* =========================
   BUTTONS / UTILITIES
========================= */

.btn,
.btn--primary,
.btn--outline,
.hero__btn {
display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    transform var(--transition-base),
    background var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base);
}


.btn:hover,
.btn--primary:hover,
.btn--outline:hover,
.hero__btn:hover {
transform: translateY(-2px);
}


.btn--primary,
.hero__btn {
background: linear-gradient(180deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #ffffff;
  border-color: transparent;
}


.btn--outline {
background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}


.section-header {
margin-bottom: 28px;
}


.section-title {
font-size: clamp(1.7rem, 3vw, 2.6rem);
  text-transform: uppercase;
  color: var(--text);
}


.section-subtitle {
max-width: 760px;
  margin-top: 14px;
  color: var(--text-soft);
}

/* ==========================================================================
   THEMED SVG ICONS
   Iconos SVG mostrados como imagen: negros en light, blancos en dark.
   ========================================================================== */

.mobile-menu__close img {
filter: brightness(0) invert(1);
}

.about-card__icon img,
.footer-top__book img {
filter: brightness(0) invert(1);
}

.mobile-menu__close img,
.about-card__icon img,
.footer-top__book img {
filter: brightness(0) invert(1);
}
