/* ════════════════════════════════════════
   BASE — Variables, reset, tipografía,
   botones globales, section-header, animaciones
   ════════════════════════════════════════ */

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

:root {
  --orange:      #FF8C00;
  --orange-dark: #e07800;
  --orange-light:#ffa733;
  --gray:        #666666;
  --gray-light:  #f4f4f4;
  --gray-dark:   #333333;
  --white:       #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; }

/* ── Botón principal naranja (reutilizable en toda la landing) ── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  padding: 0.85rem 2.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(255,140,0,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,140,0,0.5);
}

/* ── Encabezado de sección (título centrado + línea naranja) ── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 0.75rem;
}

.section-header h2 span { color: var(--orange); }

.section-header .underline {
  width: 60px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin: 0 auto;
}

/* ── Animación scroll fade-in ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
