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

/* ── VARIABLES GLOBALES ── */
:root {
  --bg:         #060E18;
  --bg2:        #0B1826;
  --blue:       #378ADD;
  --blue-lt:    #85B7EB;
  --blue-dk:    #185FA5;
  --teal:       #5DCAA5;
  --teal-dk:    #1D9E75;
  --text:       #E6F1FB;
  --text-muted: #7AAED4;
  --border:     rgba(55, 138, 221, 0.18);
  --font-head:  'Plus Jakarta Sans', sans-serif;
  --font-body:  'Plus Jakarta Sans', sans-serif;
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── BOTONES GLOBALES ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--blue-dk);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: 0.5px solid rgba(133, 183, 235, 0.35);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: var(--blue-lt);
  background: rgba(55, 138, 221, 0.07);
  transform: translateY(-2px);
}

/* ── PLACEHOLDER (temporal mientras se desarrollan secciones) ── */
.placeholder {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 0.5px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* ── ANIMACIONES GLOBALES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 0.7; }
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  60%  { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 99;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--blue-lt);
  transform: translateY(-2px);
}