/* ==========================================================================
   SISA SOLUCIONES INTEGRALES — Design System (Core)
   ========================================================================== */

:root {
  /* Brand colors */
  --color-blue: #0052B4;
  --color-blue-dark: #0046A0;
  --color-teal: #00A896;
  --color-teal-dark: #009688;

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-bg-light: #F8F9FA;
  --color-bg-soft: #EEF2F7;
  --color-text: #1A2433;
  --color-text-muted: #5B6B82;
  --color-border: #E3E8F0;
  --color-dark: #061226;
  --color-dark-soft: #0B1B33;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--color-blue) 0%, var(--color-teal) 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(0,82,180,0.08) 0%, rgba(0,168,150,0.08) 100%);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Radius & shadow */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(6, 18, 38, 0.06);
  --shadow-md: 0 12px 32px rgba(6, 18, 38, 0.10);
  --shadow-lg: 0 24px 60px rgba(6, 18, 38, 0.16);

  /* Motion */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html { scroll-behavior: smooth; }

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

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

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

ul { list-style: none; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Scroll fade-in
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--transition-base), transform 0.8s var(--transition-base);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Section generic
   ========================================================================== */

.section {
  padding: var(--space-2xl) 0;
}

.section--alt {
  background: var(--color-bg-light);
}

.section--dark {
  background: linear-gradient(160deg, var(--color-dark) 0%, var(--color-dark-soft) 100%);
  color: var(--color-white);
}

.section__head {
  max-width: 680px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  margin-bottom: 0.75rem;
}

.eyebrow--light { color: var(--color-teal); }

.section__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.85rem;
}

.section__head p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.section--dark .section__head p { color: rgba(255,255,255,0.7); }
