/* ==========================================================
   LLAVE EXTRA – ESTILOS BASE GLOBALES
   ========================================================== */

/* --- Tipografía --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Poppins:wght@400;500;600&display=swap');

/* ----------------------------------------------------------
   VARIABLES DE COLOR
   ---------------------------------------------------------- */
:root {
  /* Paleta general */
  --color-naranja: #f47a0b;
  --color-naranja-oscuro: #d96a05;
  --color-azul-cumbre: #004c7d;
  --color-blanco: #ffffff;
  --color-gris-claro: #f7f7f7;
  --color-gris: #999999;
  --color-negro: #111111;

  /* Sombras y bordes */
  --sombra-suave: 0 4px 12px rgba(0, 0, 0, 0.08);
  --borde-claro: 1px solid #eaeaea;
}

/* ----------------------------------------------------------
   AJUSTES GLOBALES
   ---------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--color-gris-claro);
  color: var(--color-negro);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-naranja);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-naranja-oscuro);
}

/* ----------------------------------------------------------
   TITULOS Y TEXTOS
   ---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-negro);
  margin: 0 0 0.5em 0;
}

p {
  margin: 0 0 1em 0;
  font-size: 1.05em;
}

/* ----------------------------------------------------------
   BOTONES GLOBALES
   ---------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--color-naranja);
  color: var(--color-blanco);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--color-naranja-oscuro);
  transform: translateY(-2px);
}

.btn-azul {
  background: var(--color-azul-cumbre);
}

.btn-azul:hover {
  background: #00395d;
}

/* ----------------------------------------------------------
   CONTENEDORES Y SECCIONES
   ---------------------------------------------------------- */
section {
  padding: 60px 5%;
  background: var(--color-blanco);
}

.contenedor {
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: var(--color-blanco);
  border-radius: 16px;
  box-shadow: var(--sombra-suave);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* ----------------------------------------------------------
   PIE DE PÁGINA GLOBAL
   ---------------------------------------------------------- */
footer {
  background: var(--color-blanco);
  border-top: var(--borde-claro);
  text-align: center;
  padding: 25px 10px;
  font-size: 0.9em;
  color: var(--color-gris);
}

/* ----------------------------------------------------------
   ANIMACIONES
   ---------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  section {
    padding: 40px 20px;
  }

  .card {
    padding: 18px;
  }

  .btn {
    padding: 8px 18px;
    font-size: 0.95em;
  }
}
/* ==========================================================
   ESPACIADO PARA HEADER FIJO
   ========================================================== */
body {
  padding-top: 150px; /* ajustá según la altura real de tu header */
}

/* Versión móvil (header más chico) */
@media (max-width: 768px) {
  body {
    padding-top: 130px;
  }
}
