:root {
  --navy: #001f3f; /* Ajusta a tu color pacada-navy */
  --accent: #88a400;
  --primary: #007bff;
  --text-muted: #6c757d;
  --card-bg: #ffffff;
  --card-bg-alt: #fafbfc;
}

.custom-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  font-family: sans-serif;
}

.grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px; /* Espacio entre columnas */
}

.modern-card {
  flex: 1 1 calc(50% - 30px); /* Dos columnas en desktop */
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  min-width: 300px; /* Para que sea responsivo */
}

.alt-bg {
  background: var(--card-bg-alt);
}

/* Imágenes */
.image-wrapper {
  height: 280px;
  width: 100%;
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 8px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tipografía */
.card-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--navy);
  margin-top: 10px;
  line-height: 1.2;
}

.accent-color { color: var(--accent); }
.primary-color { color: var(--primary); }

.card-text {
  color: var(--text-muted);
  margin-top: 15px;
  line-height: 1.6;
}

/* Footer y Botones */
.card-footer {
  margin-top: auto;
  padding-top: 30px;
}

.divider {
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 25px;
}

.btn {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.btn-outline {
  border: 2px solid #333;
  color: #333;
}

.btn-outline:hover {
  background: #333;
  color: #fff;
}

.btn-filled {
  background: var(--primary);
  color: white;
  border: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-filled:hover {
  filter: brightness(1.1);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .modern-card {
    flex: 1 1 100%;
    padding: 25px;
  }
  
  .card-title {
    font-size: 1.6rem;
  }
}