/* ======================================================= */
/*                    GLOBAL LANDING 4.3                   */
/* ======================================================= */

#tw-hero-premium,
#tw-light-why,
#tw-light-categories {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ======================================================= */
/*                           HERO                          */
/* ======================================================= */

#tw-hero-premium {
  position: relative;
  background: linear-gradient(
      180deg,
      #ffffff 0%,
      #f7f9fc 40%,
      #f3f5f9 100%
  );
  border-radius: 26px;
  padding: 3.2rem 3rem 3.4rem;
  margin: 2rem auto 3.4rem;
  box-shadow: 0 16px 42px rgba(20, 40, 80, 0.06);
}

.tw-hero-premium-inner {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  align-items: flex-start;
}

.tw-hero-main {
  max-width: 640px;
}

/* Badge */
.tw-hero-badge {
  display: inline-flex;
  padding: 0.38rem 1rem;
  border-radius: 999px;
  background: #eef4fb;
  border: 1px solid #d7e4f3;
  color: #52729e;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.45rem;
}

/* Title */
.tw-hero-title {
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  color: #162742;
}

.tw-hero-title span {
  color: #4aa0ff !important; /* Azul más claro y moderno */
}

/* Subtitle */
.tw-hero-subtitle {
  font-size: 1rem;
  color: #56647a;
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* CTAS */
.tw-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.55rem;
}

.tw-btn-primary,
.tw-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* CTA principal */
.tw-btn-primary {
  background: linear-gradient(135deg, #ffce55, #f6b445);
  color: #000 !important;
  box-shadow: 0 10px 20px rgba(255, 197, 66, 0.25);
}
.tw-btn-primary:hover {
  transform: translateY(-2px);
}

/* CTA secundario */
.tw-btn-secondary {
  background: #ffffff;
  border: 1px solid #d3dce7;
  color: #173253 !important;
  box-shadow: 0 6px 18px rgba(20, 40, 80, 0.07);
}
.tw-btn-secondary:hover {
  background: #f3f6fa;
  transform: translateY(-2px);
}

/* Features */
.tw-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 2rem;
  color: #485769;
  font-size: 0.92rem;
}
.tw-hero-features i {
  margin-right: 0.35rem;
  color: #316cb2;
}

/* ======================================================= */
/*                  HERO SIDECARD – 4.3                    */
/* ======================================================= */

.tw-hero-sidecard {
  flex: 0 0 315px;
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem 1.7rem 1.8rem;
  border: 1px solid #d9dee8;   /* borde más definido */
  box-shadow: 0 14px 32px rgba(20, 40, 70, 0.06);
}

.tw-hero-sidecard-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #152941;
  margin-bottom: 1.2rem;
}

/* Bullets */
.tw-hero-sidecard-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: #44576c;
}
.tw-hero-sidecard-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 5px;
  height: 5px;
  background: #316cb2;
  border-radius: 999px;
}

/* Pills más pequeñas y suaves */
.tw-hero-side-actions {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.1rem; /* Más arriba todavía */
}

.tw-pill-btn {
  padding: 0.18rem 0.6rem;
  font-size: 0.70rem;
  border-radius: 999px;
  background: #f6f8fb;
  border: 1px solid #d4dae4;
  color: #3c4c6a;
  user-select: none;
}

/* Variantes */
.tw-pill-gold {
  background: #fff5d6;
  border-color: #ffdc92;
  color: #946c1b;
}
.tw-pill-outline {
  background: #eaf2ff;
  border-color: #cfe0ff;
  color: #316cb2;
}

/* ======================================================= */
/*                     WHY SECTION 4.3                     */
/* ======================================================= */

#tw-light-why {
  background: #ffffff;
  padding: 4rem 0 4rem;
  border-bottom: 1px solid #e5e8ef;
}

.tw-light-why-container {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.6rem;
}

.tw-light-why-title {
  font-size: 2rem;
  color: #112742;
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.tw-light-why-title span {
  color: #316cb2;
}

.tw-light-why-text {
  max-width: 740px;
  margin: 0 auto 0.4rem;
  color: #63738a;
  line-height: 1.65;
}

/* Cards */
.tw-light-why-grid {
  margin-top: 2.6rem;
  display: grid;
  gap: 1.45rem;
  grid-template-columns: repeat(3, 1fr);
}

.tw-light-why-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.6rem 1.45rem;
  border: 1px solid #d9dee8; /* borde más visible */
  transition: all 0.25s ease;
}
.tw-light-why-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 40, 70, 0.07);
}

/* ======================================================= */
/*                 CATEGORY FILTERS 4.3                    */
/* ======================================================= */

#tw-light-categories {
  background: #ffffff;
  padding: 4rem 0 4.2rem;
}

.tw-cat-light-title {
  font-size: 2rem;
  color: #112742;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.tw-cat-light-sub {
  font-size: 1rem;
  color: #63738a;
  max-width: 740px;
  margin: 0 auto 2.1rem;
}

/* Grid más compacto */
.tw-cat-light-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  row-gap: 0.65rem;
  justify-content: center;
}

/* Chips más tipo botón */
.tw-cat-light-card a {
  padding: 0.62rem 1.05rem;
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid #d4dae4;
  font-size: 0.9rem;
  color: #193150;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.2s ease;
}

.tw-cat-light-card a:hover,
.tw-cat-light-card a.active {
  background: #316cb2;
  color: #ffffff !important;
  border-color: #316cb2;
  transform: translateY(-2px);
}

/* Iconos */
.tw-cat-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #e5efff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tw-cat-icon i {
  color: #316cb2;
  font-size: 0.86rem;
}

/* ======================================================= */
/*                     RESPONSIVE                          */
/* ======================================================= */

@media (max-width: 780px) {
  #tw-hero-premium {
    padding: 2.5rem 1.45rem 2.7rem;
    border-radius: 0;
    margin: 0 -0.45rem 2.8rem;
  }

  .tw-hero-premium-inner {
    flex-direction: column;
    gap: 2.2rem;
  }

  .tw-hero-title {
    font-size: 2.5rem;
  }

  .tw-hero-sidecard {
    padding: 1.6rem 1.3rem 1.5rem;
  }

  .tw-cat-light-grid {
    row-gap: 0.5rem;
  }
}
