/* Base text size reset — needed because html now sets font-size: 10px
   for the header/footer rem math. Anything below that doesn't set its
   own font-size (paragraphs, list items, FAQ text, etc.) would otherwise
   inherit that 10px instead of a normal reading size. */
body {
  font-size: 1.6rem; /* = 16px at the 10px root */
}

img,
picture,
video,
iframe,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-banner {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.page-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.hero {
  padding: 78px 0 64px;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -80px;
  top: 10px;
  border-radius: 50%;
  background: rgba(255, 201, 40, 0.18);
  filter: blur(4px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 54px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--soft-yellow);
  color: #8b400f;
  font-size: 13px; /* was 0.82rem, sized for a 16px root */
  font-weight: 700;
  margin-bottom: 18px;
}

.hero p {
  color: var(--muted);
  font-size: 16.6px; /* was 1.04rem */
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

.hero-copy,
.hero-card {
  min-width: 0;
}

.hero-card {
  position: relative;
  border-radius: 32px;
  padding: 14px;
  background: linear-gradient(
    145deg,
    var(--yellow),
    var(--orange),
    var(--red)
  );
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  border-radius: 23px;
  min-height: 370px;
  object-fit: cover;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.hero-point {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  font-size: 13.8px; /* was 0.86rem */
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(81, 36, 16, 0.06);
}

main {
  padding-bottom: 90px;
  max-width: 100%;
}

.content-section {
  padding: 34px 0;
  max-width: 100%;
}

.section-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: var(--shadow);
  max-width: 100%;
  min-width: 0;
}

.section-card + .section-card {
  margin-top: 26px;
}

h2 {
  font-size: clamp(28.8px, 4vw, 43.2px); /* was clamp(1.8rem, 4vw, 2.7rem) */
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 6px;
  height: 1em;
  border-radius: 999px;
  background: linear-gradient(var(--yellow), var(--orange), var(--red));
}

h3 {
  font-size: clamp(19.2px, 3vw, 24.8px); /* was clamp(1.2rem, 3vw, 1.55rem) */
  margin: 28px 0 14px;
}

p + p {
  margin-top: 14px;
}

.section-card p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.content-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 20px 0 24px;
  list-style: none;
  min-width: 0;
}

.content-list li {
  position: relative;
  padding: 13px 14px 13px 42px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid rgba(238, 102, 31, 0.12);
  font-weight: 500;
  color: #59453a;
  overflow-wrap: anywhere;
}

.content-list li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 13px;
  color: var(--red);
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--white);
  width: 100%;
  max-width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(201, 71, 24, 0.12);
  overflow-wrap: anywhere;
}

th {
  background: linear-gradient(135deg, var(--orange-dark), var(--red));
  color: var(--white);
  font-size: 14.7px; /* was 0.92rem */
  letter-spacing: 0.01em;
}

tbody tr:nth-child(even) {
  background: #fffaf4;
}

tbody tr:hover {
  background: #fff2dc;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.highlight-card {
  background: linear-gradient(135deg, #fff5cd, #fff9ec);
  border-color: rgba(255, 201, 40, 0.52);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 17px;
  overflow: hidden;
  background: var(--white);
  min-width: 0;
}

.faq-question {
  width: 100%;
  border: 0;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  text-align: left;
  font: inherit;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.faq-question span:last-child {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--red);
  font-size: 20px; /* was 1.25rem */
  transition: transform 0.25s ease;
}

.faq-item.active .faq-question {
  color: var(--red);
}

.faq-item.active .faq-question span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 22px 22px;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 780px;
  }
  .hero-card {
    max-width: 760px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero {
    padding: 50px 0 38px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero p {
    font-size: 15.4px; /* was 0.96rem */
  }

  .hero-card img {
    min-height: 240px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .section-card {
    border-radius: 18px;
  }

  .content-list {
    grid-template-columns: 1fr;
  }

  h2 {
    padding-left: 14px;
  }

  th,
  td {
    padding: 14px;
  }

  .faq-question {
    padding: 17px;
  }

  .faq-answer p {
    padding: 0 17px 18px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(36.8px, 14vw, 56px); /* was clamp(2.3rem, 14vw, 3.5rem) */
  }

  h2 {
    font-size: clamp(24.8px, 8vw, 34.4px); /* was clamp(1.55rem, 8vw, 2.15rem) */
  }

  h3 {
    font-size: clamp(17.9px, 5.5vw, 22.4px); /* was clamp(1.12rem, 5.5vw, 1.4rem) */
  }

  .hero p,
  .section-card p,
  .content-list li,
  td,
  th {
    font-size: 14.7px; /* was 0.92rem */
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 9px;
    border-radius: 22px;
  }

  .hero-card img {
    width: 100%;
    min-height: 0;
    border-radius: 16px;
    object-fit: contain;
  }

  .content-section {
    padding-top: 18px;
  }

  .section-card {
    padding: 22px 17px;
    border-radius: 17px;
  }

  .content-list {
    gap: 9px;
  }

  .content-list li {
    padding: 12px 12px 12px 39px;
  }

  .table-wrap {
    margin-inline: 0;
    border-radius: 13px;
  }

  table {
    min-width: 560px;
  }

  th,
  td {
    padding: 12px 13px;
  }

  .faq-question {
    padding: 16px;
    gap: 12px;
  }

  .faq-answer p {
    padding: 0 16px 17px;
  }
}

@media (max-width: 360px) {
  .section-card {
    padding: 20px 14px;
  }
}

/* Buenas App two-column intro layout */
#buenas-app .buenas-app-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
  margin-bottom: 30px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(201, 71, 24, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 201, 40, 0.18),
      transparent 38%
    ),
    linear-gradient(135deg, #fffaf4 0%, #ffffff 65%);
  box-shadow: 0 18px 42px rgba(99, 38, 14, 0.1);
}

#buenas-app .buenas-app-intro__copy {
  min-width: 0;
}

#buenas-app .buenas-app-intro__copy h2 {
  margin-bottom: 18px;
}

#buenas-app .buenas-app-intro__copy p {
  margin: 0;
  color: var(--muted);
}

#buenas-app .buenas-app-intro__media {
  min-width: 0;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    var(--yellow),
    var(--orange),
    var(--red)
  );
  box-shadow: 0 16px 34px rgba(99, 38, 14, 0.16);
}

#buenas-app .buenas-app-intro__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  border-radius: 14px;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

@media (max-width: 820px) {
  #buenas-app .buenas-app-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  #buenas-app .buenas-app-intro__media {
    width: min(100%, 620px);
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  #buenas-app .buenas-app-intro {
    gap: 20px;
    margin-bottom: 24px;
    padding: 18px;
    border-radius: 18px;
  }

  #buenas-app .buenas-app-intro__media {
    padding: 7px;
    border-radius: 15px;
  }

  #buenas-app .buenas-app-intro__media img {
    max-height: none;
    border-radius: 10px;
  }
}

/* Footer & scroll-to-top — already written for the 10px root, unchanged */
.footer {
  color: #fff;
  padding-block: 30px;
  background-color: #11236b;
}
.footer__wrap {
  gap: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-left: -75px;
}
@media screen and (max-width: 767px) {
  .footer__wrap {
    gap: 10px;
    margin-left: 0;
    margin-bottom: 30px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.footer__card {
  padding: 30px;
  border-radius: 20px;
  background-color: #25387c;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  -webkit-box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.1);
          box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.1);
}
.footer__image {
  height: 40px;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.footer__image--mr {
  margin-right: 10px;
}
.footer__image:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
}
.footer__logo {
  width: 160px;
  margin-block: -20px;
}
@media screen and (max-width: 767px) {
  .footer__logo {
    width: 130px;
  }
}
.footer__head-text {
  text-align: center;
  font-size: 1.4rem;
}
.footer__socials {
  gap: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 30px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.footer__social-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 1.4rem;
  border-radius: 50%;
  position: relative;
}
.footer__social-link:nth-child(1) {
  background: #1877f2;
}
.footer__social-link:nth-child(2) {
  background: #4267b2;
}
.footer__social-link:nth-child(3) {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
}
.footer__social-link:nth-child(4) {
  background: #000;
}
.footer__social-link:nth-child(5) {
  background: #08c;
}
.footer__social-link::before {
  content: "";
  width: 45px;
  height: 45px;
  z-index: -1;
  border-radius: 50%;
  position: absolute;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  background-color: #3b4f97;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
}
.footer__social-link:hover::before {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}
.footer__cards {
  gap: 20px;
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(4, 1fr);
}
@media screen and (max-width: 1290px) {
  .footer__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 960px) {
  .footer__cards {
    grid-template-columns: repeat(1, 1fr);
  }
}
.footer__label {
  font-size: 1.8rem;
  font-weight: 700;
}
.footer__links {
  gap: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 10px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.footer__links--col {
  gap: 10px 2%;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
}
.footer__links--col .footer__link {
  width: 49%;
}
.footer__link {
  font-size: 1.4rem;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.footer__link:hover {
  color: #edc800;
}
.footer .link {
  font-weight: 700;
  color: #edc800;
}

.scroll {
  bottom: 30px;
  width: 70px;
  height: 70px;
  z-index: 10;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: translateY(200%);
          transform: translateY(200%);
  position: sticky;
  margin-block: -70px 20px;
  margin-inline: auto 40px;
}
@media screen and (max-width: 767px) {
  .scroll {
    width: 40px;
    height: 40px;
    margin-inline: auto 4%;
  }
}
.scroll__wrap {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  font-size: 2.5rem;
  border-radius: 50%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
  background: -webkit-gradient(linear, left top, right top, from(#5f7ff0), color-stop(55%, #3f5fe0), to(#2a45b8));
  background: linear-gradient(90deg, #5f7ff0 0%, #3f5fe0 55%, #2a45b8 100%);
}
@media screen and (max-width: 767px) {
  .scroll__wrap {
    font-size: 20px;
  }
}
.scroll__wrap:hover {
  -webkit-box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.4);
          box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.4);
}
.scroll.show {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}