/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #f5f7fa;
  color: #2c2c2c;
}
.hero-section {
  width: 100%;
  height: 300px;
  background: var(--Ultramar-15, #00225c);

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-section h1 {
  color: var(--White, #fff);
  text-align: center;
  font-family: Lato;
  font-size: 46px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* ===== PAGE LAYOUT ===== */

.page-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 100px 40px 50px;
    gap: 36px;
}


/* ===== LEFT SIDE (TABLE OF CONTENTS) ===== */

.table-of-contents {
    flex: 0 0 280px;
    max-width: 280px;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    align-self: flex-start;
    background-color: #eee;
    border-radius: 16px;
    padding: 20px;
}

.toc-title {
    color: #000;
    /* H3 */
    font-family: Lato;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.Privacy-Notice {
    display: flex;
    padding: 0 0 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-bottom: 1px solid var(--Niebla, #eee);
}

.Terms-of-Use {
    display: flex;
    padding: 0 0 12px 16px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

.Privacy-Notice-subtitle,
.Terms-of-Use-subtitle {
    margin: 35px 0 15px;
}

.Privacy-Notice-subtitle a,
.Terms-of-Use-subtitle a {
    color: #2D50A0;
    font-family: Lato;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    padding: 12px 8px;
}

.Privacy-Notice-list,
.Terms-of-Use-list {
    list-style: none;
}

.Privacy-Notice-list a,
.Terms-of-Use-list a {
    color: #2D50A0;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    padding: 4px 12px;
    display: block;
}

.Privacy-Notice-list a.active,
.Terms-of-Use-list a.active,
.Privacy-Notice a.active,
.Terms-of-Use a.active {
    border-left: 3px solid var(--Ultramar, #283c78);
    background: var(--Niebla, #eee);
    color: #1f3c88;
    font-weight: 600;
}


/* ===== RIGHT CONTENT ===== */

.Terms-content,
.Privacy-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-self: stretch;
    scroll-margin-top: 80px;
}

.Terms-Privacy-Main-contener {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.Terms-Privacy-contener {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-self: stretch;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid var(--Niebla, #eee);
    height: 80vh;
    /* 👈 add this */
    overflow-y: auto;
}

.disclaimer-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: stretch;
}

.last-updated {
    text-align: right;
    color: var(--Ceniza, #909090);
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.disclaimer {
    color: var(--Ceniza, #909090);
    font-family: Lato;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.Privacy-title,
.Terms-title {
    color: var(--Ultramar, #283c78);
    font-family: Lato;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}


/* ===== CONTENT CARDS ===== */

.Privacy-Notice-card,
.Terms-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 940px;
    gap: 13px;
    scroll-margin-top: 60px;
}

.Privacy-Notice-card-point {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.Privacy-Notice-card h2,
.Terms-card h2 {
    color: var(--texto, #000);
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
}

.Privacy-Notice-card h3,
.Terms-card h3 {
    color: #000;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.Privacy-Notice-card p,
.Terms-card p {
    color: #000;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.Privacy-Notice-card ul,
.Terms-card ul {
    margin-left: 20px;
}

.Privacy-Notice-card ul li,
.Terms-card ul li {
    margin-bottom: 8px;
    color: #000;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.Privacy-Notice-card ul li a,
.Terms-card ul li a {
    margin-bottom: 8px;
    color: #000;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}

strong {
    color: #000;
    font-family: Lato;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.acknowledge {
    color: var(--Ceniza, #909090);
    font-family: Lato;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}


/* ================= MOBILE (0px - 768px) ================= */

@media (max-width: 768px) {
    .hero-section {
        height: 180px;
    }
    .hero-section h1 {
        font-size: 22px;
    }
    .page-wrapper {
        flex-direction: column;
        padding: 20px;
        margin: 20px auto;
        gap: 24px;
    }
    /* Hide table of content on mobile */
    .table-of-contents {
        display: none;
    }
    .Privacy-Notice-card,
    .Terms-card {
        width: 100%;
    }
}


/* ================= TABLET (769px - 1024px) ================= */

@media (min-width: 769px) and (max-width: 1200px) {
    .page-wrapper {
        padding: 0 30px;
        gap: 24px;
    }
    .hero-section h1 {
        font-size: 36px;
    }
    .Privacy-Notice-card,
    .Terms-card {
        width: 100%;
    }
}


/* ================= LARGE DESKTOP (1200px+) ================= */

@media (min-width: 1200px) and (max-width: 1330px) {
    .page-wrapper {
        padding: 0 60px;
    }
    .table-of-contents {
        max-width: 165px;
    }
}