/* Las fuentes se cargan autoalojadas desde fonts.css (ver <head> de cada página) */

/* ===== DESIGN TOKENS ===== */
:root {
  --neon-yellow: #ffed4a;
  --neon-yellow-glow: rgba(255, 237, 74, 0.6);
  --neon-green: #ffed4a; /* Replaced green with logo yellow as requested */
  --neon-blue: #00e5ff;
  --neon-blue-glow: rgba(0, 229, 255, 0.5);
  --bg-dark: #080808;
  --bg-dark-2: #0d0d0d;
  --glass-bg: rgba(20, 20, 20, 0.25);
  --glass-bg-hover: rgba(30, 30, 30, 0.35);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-hover: rgba(255, 255, 255, 0.25);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.2);
  --text-primary: #f0f0f0;
  --text-muted: #888888;
  --text-dim: #555555;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --blur-glass: blur(16px);
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); }

p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.75;
}

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

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

/* ===== GLASS PANEL ===== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.4), rgba(255,255,255,0));
  pointer-events: none;
}

.glass-panel:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), inset 0 1px 2px rgba(255,255,255,0.3), inset 0 0 20px rgba(255,255,255,0.05);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, rgba(255,237,74,0.15), rgba(255,237,74,0.05));
  border: 1px solid rgba(255,237,74,0.5);
  border-radius: 50px;
  color: var(--neon-yellow);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,237,74,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(255,237,74,0.25), rgba(255,237,74,0.1));
  border-color: var(--neon-yellow);
  box-shadow: 0 0 20px rgba(255,237,74,0.3), 0 0 60px rgba(255,237,74,0.1);
  transform: translateY(-2px);
  color: #fff;
}

.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* ===== SECTION WRAPPER ===== */
.section-wrapper {
  position: relative;
  z-index: 10;
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-wrapper.wide {
  max-width: 1400px;
}

/* ===== NEON LABEL ===== */
.neon-label {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-yellow);
  background: rgba(255,237,74,0.08);
  border: 1px solid rgba(255,237,74,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ===== FORMS ===== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
}

.form-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
  width: 100%;
}

.form-input:focus {
  border-color: rgba(255,237,74,0.5);
  background: rgba(255,237,74,0.04);
  box-shadow: 0 0 0 3px rgba(255,237,74,0.08);
}

.form-input::placeholder { color: var(--text-dim); }

select.form-input option {
  background: #111;
  color: var(--text-primary);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

/* Consentimiento RGPD */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--neon-yellow);
  cursor: pointer;
}

.form-consent a {
  color: var(--neon-yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Honeypot antispam: oculto para humanos, visible para bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== DIVIDER ===== */
.neon-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-yellow), transparent);
  margin: 20px 0;
  border-radius: 2px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(255,237,74,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,237,74,0.4); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-wrapper { padding: 70px 20px; }
}

@media (max-width: 480px) {
  .section-wrapper { padding: 50px 16px; }
}
