/* ==========================================
   UI KIT REUTILIZABLE - GUÍA DE ESTILOS BASE
   ========================================== */

/* Divisor en V Inclinada / Cortado SVG */
.ui-shape-divider-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.ui-shape-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}


/* 2. BOTONES ESTÁNDAR */
.btn-primary {
  background-color: var(--color-yellow, #CDAA67);
  color: var(--color-blue, #163A43);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp, #1B5E4F);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  display: inline-block;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
}


/* 3. GRILLA DE TARJETAS MODULARES (GRILLA MULTIUSO) */
.ui-section {
  padding: 60px 0;
}

.ui-section-header {
  margin-bottom: 40px;
}

.ui-section-header h2 {
  font-size: 2rem;
  color: var(--color-blue, #163A43);
  margin-bottom: 10px;
  font-weight: 700;
  text-align: center;
}

.ui-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.ui-card {
  background: var(--color-white, #ffffff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 8px;
  padding: 35px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ui-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  border-color: var(--color-yellow, #CDAA67);
}

.ui-card-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-yellow, #CDAA67);
  margin-bottom: 15px;
}

.ui-card h3 {
  font-size: 1.25rem;
  color: var(--color-blue, #163A43);
  margin-bottom: 12px;
  font-weight: 700;
}

.ui-card p {
  color: var(--color-text-dark, #334155);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}


/* GRILLA DE LOGOS / ALIANZAS Y EQUIPO */
.ui-grid-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 25px auto 0 auto;
}

.ui-card-logo {
  flex: 0 1 200px;
  max-width: 220px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: var(--color-white, #ffffff);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ui-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Responsivo */
@media (max-width: 768px) {
  .ui-hero-title { font-size: 2rem; }
  .ui-hero-subtitle { font-size: 1rem; }
}