/* ----------------------------------------
   Fuente institucional: Garet
---------------------------------------- */
@font-face {
  font-family: 'Garet';
  src: url('../fonts/Garet-Regular.woff2') format('woff2'),
       url('../fonts/Garet-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@media (max-width: 576px) {
  .logo-salme {
    height: 48px !important;
  }
}

/* ----------------------------------------
   Paleta institucional
---------------------------------------- */
:root {
  --color-primario: #2b3a67;
  --color-acento-claro: #9578d3;
  --color-acento-calido: #d37c2b;
  --color-azul-claro: #009ade;
  --color-turquesa: #61a9c3;
  --color-azul-profundo: #2b477e;
  --color-blanco: #ffffff;
  --color-gris-claro: #f5f5f5;
}

/* ----------------------------------------
   Tipografía base
---------------------------------------- */
body {
  font-family: 'Garet', 'Open Sans', sans-serif;
  background-color: var(--color-gris-claro);
  color: #333;
  margin: 0;
  padding: 0;
}

a {
  color: var(--color-azul-claro);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-acento-calido);
  text-decoration: underline;
}

.btn-pestana,
.btn-institucional {
  cursor: pointer;
}

/* ----------------------------------------
   Jerarquía tipográfica
---------------------------------------- */
h1, h2 {
  font-family: 'Garet', sans-serif;
  font-weight: 700;
  color: var(--color-primario);
  letter-spacing: 0.5px;
  margin-bottom: 0.5em;
}

h3, h4 {
  font-family: 'Garet', sans-serif;
  font-weight: 600;
  color: var(--color-azul-profundo);
  margin-bottom: 0.4em;
}

p, li {
  font-family: 'Garet', 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

small {
  font-family: 'Garet', sans-serif;
  font-size: 0.85rem;
  color: #999;
}

header {
  background: linear-gradient(135deg, #1f2a44 0%, #2b3a67 100%);
  color: #ffffff;
}

.logo-salme {
  height: 64px !important;
  width: auto !important;
  max-height: none;
}


/* ----------------------------------------
   Botones tipo pestaña
---------------------------------------- */
.btn-capacitacion {
  background-color: #0056A0; /* azul institucional */
  color: white;
  border: none;
}
.btn-capacitacion:hover {
  background-color: #004080;
}

.btn-pestana {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 40px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-family: 'Garet', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-pestana:hover {
  background-color: #d37c2b;
  border-color: #d37c2b;
  color: #ffffff;
}

.btn-institucional {
  background-color: #d37c2b;
  color: #fff;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: bold;
  text-transform: uppercase;
}

.card-title {
  font-family: 'Garet', sans-serif;
}

.card-text {
  font-size: 0.95rem;
}

.card {
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.carousel-item img {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}


/* ----------------------------------------
   Footer institucional
---------------------------------------- */

footer {
  background-color: var(--color-azul-profundo); /* Ej: #2b477e */
  color: var(--color-acento-calido); /* Naranja institucional */
  font-family: 'Garet', sans-serif;
}

footer h5, footer h6 {
  color: var(--color-blanco);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

footer p, footer li, footer a {
  color: var(--color-acento-calido);
  font-size: 0.95rem;
}

footer a:hover {
  color: var(--color-blanco);
  text-decoration: underline;
}

footer .small {
  font-size: 0.85rem;
}

/* ----------------------------------------
   Cards y secciones
---------------------------------------- */
.card {
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card-title {
  color: var(--color-primario);
}

.section-title {
  font-family: 'Garet', sans-serif;
  color: var(--color-primario);
  margin-bottom: 20px;
}