/* ========================================
   Red Preferida Landing Page Styles
   ======================================== */

#page-red-preferida {
  /* Top Banner Section */
}

#page-red-preferida .top-banner {
  background-image: url('../images/red-preferida/banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

#page-red-preferida .top-banner .group-14,
#page-red-preferida .top-banner .ellipse-95,
#page-red-preferida .top-banner .ellipse-94,
#page-red-preferida .top-banner .ellipse-96,
#page-red-preferida .top-banner .image-17 {
  display: none;
}

#page-red-preferida .top-banner .banner-contenedor {
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

#page-red-preferida .top-banner .banner-contenedor .frame-404 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  padding-right: 80px;
}

#page-red-preferida .top-banner .banner-contenedor .frame-404 h1 {
  color: #052675;
  text-align: center;
  font-size: 32px;
  line-height: 1.4;
  font-weight: 400;
  margin: 0;
}

#page-red-preferida .top-banner .banner-contenedor .frame-404 h1 strong {
  font-weight: 700;
  display: inline;
  margin-top: 0;
}

#page-red-preferida .top-banner .banner-contenedor .frame-404 .subtitle {
  color: #052675;
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.1px;
  margin: 0;
}

#page-red-preferida .top-banner .banner-contenedor .frame-404 .subtitle strong {
  font-weight: 700;
  display: inline;
  margin-top: 0;
}

/* Main Content Sections */
#page-red-preferida .content-section {
  max-width: 1144px;
  margin: 40px auto;
  padding: 0 20px;
}

#page-red-preferida .content-section h2 {
  color: #052675;
  text-align: center;
  font-size: 33px;
  line-height: 38px;
  font-weight: 700;
  margin-bottom: 14px;
}

#page-red-preferida .content-section .section-subtitle {
  color: #00257a;
  text-align: center;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: 0.4px;
  margin-bottom: 30px;
}

#page-red-preferida .content-section .section-subtitle strong {
  font-weight: 700;
  line-height: 20px;
}

/* Cards Grid */
#page-red-preferida .cards-grid {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

#page-red-preferida .cards-grid .card {
  background: #ffffff;
  border-radius: 14px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
  width: 275px;
  min-height: 378px;
}

#page-red-preferida .cards-grid .card .card-icon {
  border-radius: 50px;
  border: 2px solid #052675;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  position: relative;
}

#page-red-preferida .cards-grid .card .card-icon::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: rgba(255, 203, 79, 0.85);
  border-radius: 50%;
  top: -5px;
  right: -5px;
  z-index: 1;
}

#page-red-preferida .cards-grid .card .card-icon img {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
}

#page-red-preferida .cards-grid .card .card-title {
  color: #1c398e;
  text-align: center;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 0.4px;
  font-weight: 700;
  padding: 0 10px;
}

#page-red-preferida .cards-grid .card .card-description {
  color: #4a5565;
  text-align: center;
  font-size: 14px;
  line-height: 18px;
  padding: 0 20px;
  min-height: 80px;
}

#page-red-preferida .cards-grid .card .card-description strong {
  font-weight: 700;
}

#page-red-preferida .cards-grid .card .card-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 0 16px;
}

#page-red-preferida .cards-grid .card .card-features .feature-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

#page-red-preferida .cards-grid .card .card-features .feature-item img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

#page-red-preferida .cards-grid .card .card-features .feature-item span {
  color: #4a5565;
  font-size: 14px;
  line-height: 18px;
}

/* Blue Background Section */
#page-red-preferida .blue-section {
  background: #eaf4ff;
  border-radius: 32px;
  padding: 50px 20px;
  max-width: 1330px;
  margin: 40px auto;
}

#page-red-preferida .blue-section h2 {
  color: #052675;
  text-align: center;
  font-size: 33px;
  line-height: 38px;
  font-weight: 700;
  margin-bottom: 50px;
  max-width: 888px;
  margin-left: auto;
  margin-right: auto;
}

#page-red-preferida .blue-section .services-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

#page-red-preferida .blue-section .services-grid .service-item {
  display: flex;
  flex-direction: column;
  gap: 29px;
  align-items: center;
  max-width: 342px;
}

#page-red-preferida .blue-section .services-grid .service-item .service-icon {
  width: 77px;
  height: 72px;
}

#page-red-preferida .blue-section .services-grid .service-item .service-title {
  color: #00257a;
  text-align: center;
  font-size: 28px;
  line-height: 38px;
  font-weight: 700;
}

#page-red-preferida .blue-section .services-grid .service-item .service-description {
  color: #00257a;
  text-align: center;
  font-size: 16px;
  line-height: 18px;
}

#page-red-preferida .blue-section .services-grid .service-item .service-description a {
  font-weight: 600;
  text-decoration: underline;
}

#page-red-preferida .blue-section .services-grid .divider {
  width: 0;
  height: 280.5px;
  border-left: 1px solid rgba(0, 37, 122, 0.2);
}

/* Info Cards Section */
#page-red-preferida .info-cards-section {
  max-width: 1144px;
  margin: 40px auto;
  padding: 0 20px;
}

#page-red-preferida .info-cards-section h2 {
  color: #052675;
  text-align: center;
  font-size: 33px;
  line-height: 38px;
  font-weight: 700;
  margin-bottom: 30px;
}

#page-red-preferida .info-cards-section .info-cards-grid {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
}

#page-red-preferida .info-cards-section .info-cards-grid .info-card {
  background: #eef6ff;
  border-radius: 14px;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  width: 275px;
  min-height: 303px;
  overflow: hidden;
}

#page-red-preferida .info-cards-section .info-cards-grid .info-card .info-card-header {
  background: #00257a;
  border-radius: 14px 14px 0 0;
  padding: 20px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#page-red-preferida .info-cards-section .info-cards-grid .info-card .info-card-header h3 {
  color: #ffffff;
  text-align: center;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 0.4px;
  font-weight: 700;
}

#page-red-preferida .info-cards-section .info-cards-grid .info-card .info-card-body {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

#page-red-preferida .info-cards-section .info-cards-grid .info-card .info-card-body p {
  color: #4a5565;
  text-align: center;
  font-size: 14px;
  line-height: 18px;
}

#page-red-preferida .info-cards-section .info-cards-grid .info-card .info-card-body p strong {
  font-weight: 700;
}

#page-red-preferida .info-cards-section .info-cards-grid .info-card .info-card-body p a {
  font-weight: 700;
  text-decoration: underline;
}

/* Business Line Section */
#page-red-preferida .business-line-section {
  background: rgba(234, 244, 255, 0.7);
  border-radius: 32px;
  padding: 36px 20px;
  max-width: 1178px;
  margin: 40px auto;
}

#page-red-preferida .business-line-section .business-line-content {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

#page-red-preferida .business-line-section .business-line-content .business-line-label {
  color: #052675;
  font-size: 28px;
  line-height: 30px;
  font-weight: 400;
}

#page-red-preferida .business-line-section .business-line-content .business-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

#page-red-preferida .business-line-section .business-line-content .business-buttons .btn-business {
  background: #fdc740;
  border-radius: 6px;
  padding: 0 0 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: inset 0px -3px 0px 0px rgba(0, 0, 0, 0.09);
  text-decoration: none;
  transition: all 0.3s ease;
}

#page-red-preferida .business-line-section .business-line-content .business-buttons .btn-business:hover {
  transform: translateY(-2px);
  box-shadow: inset 0px -3px 0px 0px rgba(0, 0, 0, 0.09), 0 4px 8px rgba(0, 0, 0, 0.1);
}

#page-red-preferida .business-line-section .business-line-content .business-buttons .btn-business span {
  color: #052675;
  font-size: 16px;
  line-height: 110.2%;
  font-weight: 700;
  text-transform: uppercase;
}

#page-red-preferida .business-line-section .business-line-content .business-buttons .btn-business .btn-icon {
  border-radius: 0 6px 6px 0;
  width: 53px;
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  #page-red-preferida .top-banner {
    background-image: url('../images/red-preferida/banner-mobile.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #d3e9ff;
    min-height: 315px;
    padding: 0px 0;
    overflow: visible;
  }

  #page-red-preferida .top-banner .group-14,
  #page-red-preferida .top-banner .ellipse-95,
  #page-red-preferida .top-banner .ellipse-94,
  #page-red-preferida .top-banner .ellipse-96,
  #page-red-preferida .top-banner .banner-contenedor .image-17 {
    display: none;
  }

  #page-red-preferida .top-banner .banner-contenedor {
    flex-direction: column;
    padding: 130px 20px 17px;
    justify-content: flex-start;
    max-width: 100%;
    margin: 0 auto;
  }

  #page-red-preferida .top-banner .banner-contenedor .frame-404 {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    gap: 15px;
  }

  #page-red-preferida .top-banner .banner-contenedor .frame-404 h1 {
    font-size: 20px;
    line-height: 1.3;
  }

  #page-red-preferida .top-banner .banner-contenedor .frame-404 .subtitle {
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.26px;
  }

  #page-red-preferida .content-section h2 {
    font-size: 24px;
    line-height: 28px;
  }

  #page-red-preferida .cards-grid .card {
    width: 100%;
    max-width: 350px;
  }

  #page-red-preferida .blue-section {
    padding: 40px 20px;
    border-radius: 20px;
    margin: 0 15px;
  }

  #page-red-preferida .blue-section h2 {
    font-size: 33px;
    line-height: 38px;
    margin-bottom: 30px;
  }

  #page-red-preferida .blue-section .services-grid {
    flex-direction: column;
    gap: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
  }

  #page-red-preferida .blue-section .services-grid .divider {
    display: block;
    width: 100%;
    height: 0;
    border: none;
    border-bottom: 1px solid rgba(0, 37, 122, 0.2);
    margin: 0;
  }

  #page-red-preferida .blue-section .services-grid .service-item {
    width: 100%;
    max-width: 100%;
    background: transparent;
    border-radius: 0;
    padding: 30px 20px;
    margin-bottom: 0;
    gap: 29px;
  }

  #page-red-preferida .blue-section .services-grid .service-item .service-icon {
    width: 77px;
    height: 72px;
  }

  #page-red-preferida .blue-section .services-grid .service-item .service-title {
    font-size: 28px;
    line-height: 38px;
    color: #00257a;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0;
    width: 100%;
    font-weight: 700;
  }

  #page-red-preferida .blue-section .services-grid .service-item .service-description {
    font-size: 16px;
    line-height: 18px;
    color: #00257a;
  }

  #page-red-preferida .info-cards-section h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  #page-red-preferida .info-cards-section .info-cards-grid {
    flex-direction: column;
    flex-wrap: wrap;
    overflow-x: visible;
    align-items: center;
  }

  #page-red-preferida .info-cards-section .info-cards-grid .info-card {
    width: 100%;
    max-width: 100%;
  }

  #page-red-preferida .business-line-section {
    border-radius: 20px;
    margin: 40px 15px;
    padding: 30px 20px;
  }

  #page-red-preferida .business-line-section .business-line-content {
    flex-direction: column;
    gap: 20px;
  }

  #page-red-preferida .business-line-section .business-line-content .business-line-label {
    font-size: 18px;
    text-align: center;
    line-height: 1.3;
  }

  #page-red-preferida .business-line-section .business-line-content .business-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  #page-red-preferida .business-line-section .business-line-content .business-buttons .btn-business {
    width: 100%;
    justify-content: space-between;
    padding: 0 0 0 20px;
  }

  #page-red-preferida .business-line-section .business-line-content .business-buttons .btn-business span {
    font-size: 14px;
  }
}
