/* ═══════════════════════════════════════════════════
   NovaAndes SOFTWARE — BRAND SYSTEM v1.0
   brandbook: Inter / #2563EB / #0A1628 / #0EA5E9
   ═══════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

:root {
  /* ── BRAND COLORS ── */
  --brand-blue: #2563eb;
  --brand-blue-dark: #1d4ed8;
  --brand-blue-light: #3b82f6;
  --brand-sky: #0ea5e9;
  --brand-sky-light: #38bdf8;
  --brand-navy: #0a1628;
  --brand-navy-mid: #0f2240;
  --brand-navy-light: #1e3a5f;
  --brand-white: #ffffff;
  --brand-off-white: #f8faff;
  --brand-surface: #f1f5ff;

  /* ── NEUTRALS ── */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* ── SEMANTIC ── */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* ── TYPOGRAPHY ── */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  /* ── SIZING ── */
  --nav-h: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ── SHADOWS ── */
  --shadow-xs: 0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow-sm:
    0 1px 4px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow-md:
    0 4px 16px rgba(10, 22, 40, 0.08), 0 2px 6px rgba(10, 22, 40, 0.04);
  --shadow-lg:
    0 12px 40px rgba(10, 22, 40, 0.12), 0 4px 12px rgba(10, 22, 40, 0.06);
  --shadow-xl: 0 24px 64px rgba(10, 22, 40, 0.16);
  --shadow-blue: 0 8px 24px rgba(37, 99, 235, 0.25);

  /* ── TRANSITIONS ── */
  --t-fast: 150ms ease;
  --t-normal: 250ms ease;
  --t-slow: 400ms ease;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--brand-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  font-family: var(--font);
}

/* ══════════════════════════════════
   NAVIGATION
══════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  gap: 1.5rem;
  transition: box-shadow var(--t-normal);
}
.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 150px; /* Ajusta a tu gusto, p. ej. 28px o 40px */
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px; /* Espacio entre el icono y el texto */
  border-radius: 0; /* Quitamos el radio innecesario */
}
.nav-logo-icon svg {
  width: 18px;
  height: 18px;
}
.nav-logo .nova {
  color: var(--brand-navy);
}
.nav-logo .Andes {
  color: var(--brand-blue);
}
.nav-logo .software {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 0.85em;
  letter-spacing: 0;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--t-fast),
    background var(--t-fast);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--brand-blue);
  background: var(--brand-surface);
}
.nav-links a.active {
  color: var(--brand-blue);
  background: var(--brand-surface);
}
.nav-cta-btn {
  background: var(--brand-blue) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.45rem 1.1rem !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-blue);
  transition:
    background var(--t-fast),
    transform var(--t-fast) !important;
}
.nav-cta-btn:hover {
  background: var(--brand-blue-dark) !important;
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand-navy);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 899;
  background: var(--brand-white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-md);
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--gray-700);
  transition: background var(--t-fast);
}
.nav-mobile a:hover {
  background: var(--brand-surface);
  color: var(--brand-blue);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}

/* ══════════════════════════════════
   LAYOUT HELPERS
══════════════════════════════════ */
.container {
  max-width: 1180px;
  margin: 0 auto;
}
section {
  padding: 6rem clamp(1.25rem, 4vw, 3.5rem);
}
.section-pt {
  padding-top: calc(var(--nav-h) + 5rem);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-sky);
  flex-shrink: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--brand-navy);
}

.section-h {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin-bottom: 0.85rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 580px;
  line-height: 1.7;
}
.section-sub.centered {
  margin: 0 auto;
  text-align: center;
}

/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.925rem;
  border: none;
  cursor: pointer;
  transition: all var(--t-normal);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: var(--brand-white);
  color: var(--brand-navy);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

.btn-sky {
  background: var(--brand-sky);
  color: #fff;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
}
.btn-sky:hover {
  background: var(--brand-sky-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid rgba(37, 99, 235, 0.3);
}
.btn-ghost:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--brand-blue);
}

.btn-white {
  background: #fff;
  color: var(--brand-blue);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--brand-off-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.825rem;
}
.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

/* ══════════════════════════════════
   CARDS
══════════════════════════════════ */
.card {
  background: var(--brand-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition:
    box-shadow var(--t-normal),
    transform var(--t-normal),
    border-color var(--t-normal);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.2);
}
.card-pad {
  padding: 1.75rem;
}

/* ══════════════════════════════════
   FORMS
══════════════════════════════════ */
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--brand-white);
  outline: none;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-success {
  display: none;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  color: #065f46;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 4rem clamp(1.25rem, 4vw, 3.5rem) 2rem;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer-logo-icon {
  width: 150px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px; /* Espacio entre icono y texto */
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-keywords {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1.8;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.footer-col li {
  margin-bottom: 0.55rem;
}
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--t-fast);
}
.footer-col a:hover {
  color: var(--brand-sky);
}
.footer-bottom {
  max-width: 1180px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════ */
.wa-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  transition:
    transform var(--t-fast),
    box-shadow var(--t-fast);
  animation: wa-ring 4s infinite;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}
.wa-btn svg {
  width: 26px;
  height: 26px;
}
@keyframes wa-ring {
  0%,
  85%,
  100% {
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  }
  90% {
    box-shadow:
      0 4px 18px rgba(37, 211, 102, 0.4),
      0 0 0 8px rgba(37, 211, 102, 0.12);
  }
}

/* ══════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════
   BREADCRUMB
══════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--t-fast);
}
.breadcrumb a:hover {
  color: var(--brand-sky);
}
.breadcrumb span {
  color: rgba(255, 255, 255, 0.35);
}

/* ══════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════ */
.page-hero {
  background: linear-gradient(
    145deg,
    var(--brand-navy) 0%,
    var(--brand-navy-mid) 60%,
    #0d2b5e 100%
  );
  padding: calc(var(--nav-h) + 4rem) clamp(1.25rem, 4vw, 3.5rem) 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.85rem;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.75;
}
