/* ===== CSS STYLES ===== */

:root {
  /* ===== ESPACIADO ===== */
  --space-sm: 1rem;
  --space-md: 1.5rem;

  /* ===== COLOR SYSTEM (extiende Bootstrap) ===== */
  --color-acento: var(--bs-success);

  /* Fallback + moderno */
  --borde-suave: rgba(0, 0, 0, 0.08);
  --borde-suave: color-mix(in srgb, var(--bs-body-color) 10%, transparent);

  --texto-suave: rgba(0, 0, 0, 0.6);
  --texto-suave: color-mix(in srgb, var(--bs-body-color) 60%, transparent);

  /* ===== SOMBRAS ===== */
  --sombra: 0 8px 20px -8px rgba(0, 0, 0, 0.1);
  --sombra-hover: 0 12px 25px -10px rgba(0, 0, 0, 0.15);

  /* ===== RADIOS ===== */
  --radio-organico: 1rem;
  --radio-estructura: 0.5rem;
}

/* ===== CONTENEDORES ===== */
.custom-box {
  padding: var(--space-sm);
  margin-bottom: var(--space-md);
  border-radius: var(--radio-organico);

  background: var(--bs-body-bg);
  border: 1px solid var(--borde-suave);
  box-shadow: var(--sombra);

  color: var(--bs-body-color);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--sombra-hover);
}

/* ===== GRID ===== */
.four-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

/* ===== CARDS ===== */
.card-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;

  height: 100%;
  margin-bottom: 0;

  border-radius: var(--radio-estructura);
}

/* ===== TIPOGRAFÍA ===== */
.three-cols h4 {
  margin: var(--space-sm) 0 0.5rem;
  font-weight: 600;
}

.three-cols small {
  color: var(--texto-suave);
  font-size: 0.95rem;
}

/* ===== HERO ===== */
.hero {
  font-size: 1.25rem;
  line-height: 1.5;
}

.hero strong {
  color: var(--color-acento);
  font-weight: 800;
}

/* ===== LOGO ===== */
.logo {
  max-height: 3rem;
  display: block;
}

/* ===== NAVBAR LOGO ===== */
.navbar-brand img {
  max-height: 50px;
}

/* ===== TRANSICIONES CONTROLADAS ===== */
.custom-box,
.hero,
a {
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* ===== OPCIONAL: EFECTO SUAVE ===== */
.custom-box {
  backdrop-filter: blur(2px);
}