/* ==========================================================================
   LAYOUT & ELECTRIC BLUE GRADIENT
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: #041033;
  color: var(--c-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Vibrant Electric Blue Background Gradient (Igual al afiche) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(13, 70, 184, 0.85) 0%, transparent 70%),
    radial-gradient(circle at 10% 30%, rgba(0, 240, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 90% 65%, rgba(10, 45, 125, 0.7) 0%, transparent 50%),
    linear-gradient(180deg, #071e54 0%, #041033 45%, #020921 100%);
  pointer-events: none;
  z-index: -2;
}

/* Subtle Cyber Circuit Grid Overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: -1;
}

/* Typography Headings: Always Unbounded & Uppercase */
h2, h3, h4, .section-title, .bento-card__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  position: relative;
}

.section-header {
  margin-bottom: var(--space-3xl);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: var(--space-xs);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--c-text-muted);
  max-width: 680px;
  line-height: 1.5;
  font-family: var(--font-body);
}

@media (max-width: 768px) {
  .section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
}
