/* ═══════════════════════════════════════════════
   base.css — Reset, body, scrollbar, tipografía base
   Rodax Group Labs
═══════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-pri);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar        { width: 5px; }
::-webkit-scrollbar-track  { background: var(--bg); }
::-webkit-scrollbar-thumb  { background: var(--blue); border-radius: 3px; }

/* Headings globales */
h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 1.4rem;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: .75rem;
}

/* Secciones base */
section {
  padding: 100px 6%;
  background: var(--bg);
}

.s-in {
  max-width: 1180px;
  margin: 0 auto;
}

/* Section tag / badge pequeño */
.s-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-h);
  background: rgba(37, 99, 235, .09);
  border: 1px solid rgba(37, 99, 235, .2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.s-sub {
  font-size: .975rem;
  color: var(--text-sec);
  line-height: 1.75;
  max-width: 550px;
}

.s-head { margin-bottom: 3.5rem; }

/* Botones globales */
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  padding: .85rem 1.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  box-shadow: 0 4px 24px rgba(37, 99, 235, .35);
}
.btn-main:hover {
  background: var(--blue-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, .45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-sec);
  background: transparent;
  padding: .85rem 1.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-b);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--tr), border-color var(--tr), background var(--tr);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .04);
}

/* Reveal on scroll */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--tr-slow), transform var(--tr-slow);
}
.rv.in {
  opacity: 1;
  transform: translateY(0);
}
