:root {
  /*--primary-color: #ffffff;
  --secondary-color: #f28b00;
  --accent-color: #ff8f19ad;
  --ff-primary: "Myriad Pro Semibold";
  --ff-secondary: "Myriad Pro Regular";
  --ff-bold: "Myriad Pro Bold";
  --holder: normal 14px/18px var(--ff-bold);
  --holder-mobile: normal 9px/13px var(--ff-bold);
  --title-hero: normal 30px/43px var(--ff-primary);
  --h1: normal 28px/40px var(--ff-primary);
  --h2: normal 25px/34px var(--ff-primary);
  --h2-regular: normal 20px/30px var(--ff-secondary);
  --h3: normal 20px/28px var(--ff-primary);
  --h4: normal 16px/22px var(--ff-secondary);
  --h5: normal 15px/18px var(--ff-secondary);
  --title: normal 24px/34px var(--ff-secondary);
  --super-title: normal 30px/33px var(--ff-primary);
  --links: normal 17px/23px var(--ff-primary);
  --p: normal 17px/23px var(--ff-secondary);
  --p-primary: normal 17px/23px var(--ff-primary);
  --p-mobile: normal 15px/22px var(--ff-secondary);*/
  --subtext: normal 17px/19px var(--ff-primary);
  --transition: 0.3s ease-in-out;
  --shadow: #00000030 0px 0px 10px 0px;
  --bg-primary-color: #1a1a1d;
  --bg-secondary-color: #4e4e4e;
  --info-card-bg: #efefef 0% 0% no-repeat padding-box;
  --info-card-border-color: #717171;
  --icon-bg: #888888;
  --checkbox-border: #6d6e71c3;
  --card-stats-border-color: #3f3f40;
  --card-stats-bg: #2f2f31;
  --card-stats-font-color: #e9e9e9;
}


a{
  text-decoration: none !important;
}
/* reset margins */
.background {
  background: transparent linear-gradient(to top, #1a1a1d 0%, #4e4e4e 100%) 0%
  0% no-repeat padding-box;
}

section {
  margin: 35px auto 0px auto;
  max-width: 730px;
}

.dark-shadow {
  box-shadow: var(--shadow);
}

.info-cards {
  display: flex;
  gap: 77px;
  /* flex-wrap: wrap; */
  margin-top: 40px;
  justify-content: center;
}

.info-cards > * {
  flex: 1;
}

.info-card {
  padding: 20px 28px 40px 28px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 220px;
  min-width: 180px;
  max-height: 250px;
  position: relative;
  border: 2px solid var(--info-card-border-color);
}

.info-card-checked {
  border: 2px solid var(--accent-color);

.info-card-header::before {
  background-color: var(--accent-color);
}
}

.info-card .info-banner {
  margin-top: 22px;
}

.info-banner:first-child {
  margin-top: 30px;
}

.info-card .info-banner .subp {
  color: var(--secondary-color);
}

.info-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--info-card-bg);
  opacity: 0.1;
  border-radius: 14px;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}

.info-card-overlay-checked {
  background: var(--accent-color) 0% 0% no-repeat padding-box;
}

.info-card-checkbox {
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 15px;
  margin-right: 15px;
}

.checkbox-round {
  width: 17px !important;
  height: 17px !important;
  background-color: var(--primary-color) !important;
  border-radius: 50% !important;
  vertical-align: middle !important;
  border: 4px solid var(--info-card-border-color) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
  cursor: pointer !important;
}

.checkbox-round:checked {
  border: 4px solid var(--secondary-color) !important;
}

/* info banner */
.info-banner {
  display: flex;
  align-items: baseline;
  position: relative;
  padding: 15px 22px 15px 22px;
  justify-content: center;
  gap: 13px;
}

.info-banner p{
  color: #FFFFFFCC;
}

.info-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--info-card-bg);
  opacity: 0.1;
  border-radius: 4px;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  z-index: -1;
}

.img-vert {
  -moz-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
  filter: FlipV;
  -ms-filter: "FlipV";
}

.gray {
  color: var(--icon-bg);
  scale: 1.5;
}
.white-txt{
  background: white;
  border-radius: 50%;
}
/* buttons */

.buttons-container {
  display: flex;
  justify-content: space-between;
}

.btn {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
  padding: 15px 30px;
  font: var(--p);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.btn-regresar {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

/* .btn-regresar:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn:hover {
  background-color: var(--secondary-color);
} */

/* under 800px */
@media (max-width: 375px) {
  .buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
}

/* header */

.header {
  width: 100%;
  padding: 20px;
  background-color: var(--bg-primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.header img {
  height: 40px;
}

.header button {
  background-color: #333;
  color: white;
  border: none;
  padding: 8px 35px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sm-hero-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;

.col {
h1:last-child {
  margin-top: -8px;
}
}
}

.sm-hero-section-2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;

.col {
h1:last-child {
  margin-top: -8px;
}
}
}

.tarjeta-frontal {
  max-height: 120px;
}

.summary-section {
  margin-top: -40px;
}

.summary-stat {
  padding: 20px 0px 20px 0px;
  border-bottom: 1px solid #cacacb;
}

.summary-stat:first-child {
  padding-top: 0px;
}

.summary-stat:last-child {
  padding-bottom: 0px;
  border-bottom: none;
}
.rectangle-info {
  align-items: center;
  gap: 20px;
  background: #4e4e51;
  border: solid 1px #707070;
  border-radius: 5px;
}

.fa-circle-check {
  color: var(--secondary-color);
  font-size: 80px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.align-center {
  align-items: center;
}

.img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.card-stats {
  border: 2px solid var(--card-stats-border-color);
  padding: 10px 80px 10px 40px;
  background-color: var(--card-stats-bg);
  margin-top: 30px;
  border-radius: 8px;
}

.card-stat {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.card-stat-text b{
  font-weight: 900;
  /*color: white !important;*/
}
.card-stat-text {
  border-bottom: 1px solid #747475;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* flex: 1 0 100%; flex-grow, flex-shrink, flex-basis */
  flex-grow: 1;

p {
  color: var(--card-stats-font-color);
  letter-spacing: .5px;

}

b {
  font-family: var(--ff-bold);
}
}

.card-stat-text.last {
  border-bottom: none;
}

.card-stat-icon {
  height: 50px;
  width: auto;
}

.container-stars {
  width: 100%;
  height: 215px;
  background: var(--primary-color);
}

.center {
  align-items: center;
  justify-content: center;
}

.lg-hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: url("../assets/fondo_beneficios.jpg") no-repeat center center;
  background-size: 100% 100%;
  border-radius: 16px;
  padding: 37px 34px 37px 34px;

.col {
  gap: 0px;
}
}
.cta:hover{
  background: white;
}
.cta {
  cursor: pointer;
  background: #ffeed6b5 0% 0% no-repeat padding-box;
  border: none;
  border-radius: 30px;
  opacity: 1;
  /* box-shadow: #ffeed6b5 0px 0px 10px 0px; */
  align-self: flex-start; /* Align the button to the start of the flex container */
  padding: 7px 45px;
  margin-top: 22px;

h5 {
  color: var(--secondary-color);
  font-family: var(--ff-primary);
  margin-top: 0px;
  position: relative;
  top: 1px;
}
}

.sm-hero-section-mobile {
  display: none;
  flex-direction: column;
  gap: 20px;
  margin: 0px 20px;

.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* flex-grow: 1; */
  gap: 20px;

.fa-circle-check {
  font-size: 50px;
}
}
}

.finish-btn {
  padding: 15px 120px;
}

.buttons-container.finish {
  justify-content: center;
  margin-top: 65px;
}

.info-card-header {
  position: relative; /* Ensure the pseudo-element is positioned relative to this element */
  /* border-bottom: 1px solid var(--secondary-color); Add a border to the header */
}

.info-card-header::before {
  content: "";
  position: absolute;
  bottom: -20px; /* Adjust this value to position the border correctly */
  left: -26px; /* Adjust this value to position the border correctly */
  width: 124%;
  height: 2px; /* Adjust the height to match the desired border thickness */
  background-color: var(
          --info-card-border-color
  ); /* Use the same color as the border */
  z-index: -1; /* Ensure the pseudo-element is behind the content */
}

.payment-cards {
  display: flex;
  gap: 77px;
  justify-content: center;
  margin-top: 60px;

.payment-card {
  background: #464648 0% 0% no-repeat padding-box;
  border: 2px solid var(--info-card-border-color);
  border-radius: 14px;
  min-width: 220px;
  position: relative;
  cursor:pointer;

.payment-card-header {
  position: relative;
  padding: 18px 28px;
  border-bottom: 2px solid var(--info-card-border-color);
}
}

.payment-card-content {
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;

.payment-card-info {
.payment-card-info-text {
  font: var(--h4);
}
.payment-card-info-text-strong {
  font: var(--subtext);
  color: var(--secondary-color);
}
}
}
}

.payment-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.payment-card.active {
  border: 2px solid #c47622;
  background: #473f33 0% 0% no-repeat padding-box;

.payment-card-header {
  border-bottom: 2px solid #c47622;
}
}

#tarifa-emision-mob {
  display: none;
}

#tarifa-emision {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-text {
  font: var(--p);
  color: #bababa;
}

.comment-text.mb {
  font: var(--p);
  color: #bababa;
  margin-bottom: 18px;
}

.body-section {
  background-color: #0b0b0b00;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.details-wrapper {
  position: relative;
  width: 80%;
  max-width: 700px;

.comment-text {
  display: none;
}
}

.details-container {
  background-color: #2b2b2b00;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.details-container.active {
  height: auto;
  opacity: 1;
  padding: 20px;
}

.details-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 20px;
}

.details-content div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0 38px;
}

.details-content div:first-child {
  border-left: none;
}

.details-content div h3 {
  margin: 0;
  font-size: 16px;
}

.details-content div p {
  margin: 0;
  color: #ff8c00;
}

.toggle-button {
  display: inline-block;
  padding: 10px 30px;
  background-color: #545252;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  font-size: var(--p);
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: absolute;
  z-index: 10;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);

p{
  display: inline;
  position: relative;
  top: 0px;
}
i{
  vertical-align: middle;
  top: -1px;
  position: relative;
}
}

.toggle-button i {
  margin-left: 10px;
}

.tarjetas-img-section {
  margin-bottom: 55px;
  position: relative;
  display: flex;
  justify-content: center;
  height: 300px;

.tarjeta-img {
img {
  width: auto;
  max-height: 200px;
}
}

.tarjeta-img:first-child {
  position: absolute;
  bottom: 0;
}

.tarjeta-img:last-child {
  position: absolute;
  transform: translate(25%);
}

.holder-name-section {
  position: absolute;
  bottom: 0;
  left: 0;
  margin-bottom: 30px;
  margin-left: 25px;

p {
  font: var(--holder);
  color: #2c2c2e;
  letter-spacing: 0.27px;
  text-transform: uppercase;
  margin-top: 0px;
}
}
}

@media (max-width: 640px) {
  .summary-stat {
    padding-left: 15px;
    padding-right: 15px;
  }

  .revisar-hero-section,
  .stats-summary-section,
  .terminos-section,
  .buttons-verificar-section {
    margin-left: 20px;
    margin-right: 20px;
  }

  .comment-text {
    font: var(--p-mobile);
  }

  .summary-stat {
  p {
    font: var(--p-mobile);
  }
  .text-accent {
    font: var(--p-mobile);
    font-weight: bold;
  }
  .link {
    font: var(--p-mobile);
  }
}

.info-banner {
p {
  font: var(--p-mobile);
}
}

.card-stat-text {
#email-address {
  font: var(--p-mobile);
  word-break: break-word; /* Allow words to break on smaller screens */
}
}

.content {
  padding: 0 0px 30px 0px;
}

.card-stats {
  padding: 5px 20px 5px 10px;
  border-radius: 0px;
  border-right: none;
  border-left: none;
}

.summary-card-section {
h3 {
  margin: 0px 20px;
  font: var(--p-primary); /* text-align: center; */
}
}

.sm-hero-section {
  display: none;
}

.sm-hero-section-mobile {
  display: flex;
}

.lg-hero-section {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column-reverse;

.col {
  text-align: center;

.cta {
  align-self: center;
}
}

img {
  margin-top: -60px;
}
}

.finish-btn {
  flex-grow: 1;
}

.payment-section,
.info-banner-section {
  margin: 0px 20px;
}

.buttons-section {
  margin-left: 20px;
  margin-right: 20px;
}

.payment-cards {
  flex-direction: column;
  gap: 40px;

.payment-card {
.payment-card-header {
  padding: 20px 16px;
}
.payment-card-content {
  flex-direction: row;
  gap: 15px;
  padding: 17px;
}
}
}

.info-banner {
  background-color: #ffffff00;
  border: 1.5px solid var(--info-card-border-color);
  border-radius: 14px;
}

.info-banner-overlay {
  display: none;
}

.sm-hero-section-2 {
  flex-direction: column;

img {
  align-self: center;
}
}
.summary-section {
  margin-top: 0px;
}

#tarifa-emision {
  display: none;
}

#tarifa-emision-mob {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-banner.same {
  background: #4c4c4e;
  border-radius: 4px;
  align-items: flex-start;
}

.tarjetas-img-section {
  height: 180px;
.tarjeta-img {
img {
  /* width: auto; */
  max-height: 120px;
}
}

.holder-name-section {
  margin-bottom: 18px;
  margin-left: 18px;

p {
  font: var(--holder-mobile);
}
}
}

.toggle-button {
  padding: 0px 6px;
  top: 8px;
  left: 82%;
/* transform: translateX(0%); */
p {
  display: none;
}
}

.toggle-button i {
  margin-left: 0px;
  font-size: 10px;
  /* transform: rotate(270deg); */
}

.details-wrapper {
  text-align: center;
.comment-text {
  display: inline-block;
  /* margin-left: 55px; */
}
}

.details-content {
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;

div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-left: none;
  padding: 0 20px;
}
}

.summary-card-section {
  margin-top: 0px;
}
}

@media (max-width: 460px) {
  .toggle-button {
    left: 86%;
  }
}

@media (max-width: 390px) {
  .toggle-button {
    left: 95%;
  }
}

