/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* COLORS
color-ffffff: #FFFFFF;
color-f2a900: #F2A900;
color-0c1823: #0C1823;
color-23243d: #23243D;
color-27476e: #27476E;
color-e5e5e5: #E5E5E5;
color-fccb33: #FCCB33;
*/
/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* COLORS
color-ffffff: #FFFFFF;
color-f2a900: #F2A900;
color-0c1823: #0C1823;
color-23243d: #23243D;
color-27476e: #27476E;
color-e5e5e5: #E5E5E5;
color-fccb33: #FCCB33;
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Titillium Web", sans-serif;
  line-height: 1.5;
  color: #0c1823;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

p {
  margin-top: 20px;
  line-height: 1.7;
}

ul,
ol {
  padding-left: 22px;
}

li {
  line-height: 1.7;
}

/* ---------------------------- Navigation bar section ---------------------------- */
.nav-bar {
  background-color: #fccb33;
  position: fixed;
  z-index: 1000;
  width: 100%;
  height: 100px;
  box-shadow: 2px 2px 2px 3px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
}

.nav-bar-container {
  display: flex;
  flex-grow: 1;
  align-items: center;
  justify-content: space-between;
  margin-left: 50px;
  margin-right: 80px;
  gap: 24px;
}

.nav-bar img {
  height: 70px;
  width: auto;
  flex-shrink: 0;
}

.nav-bar ul {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-grow: 1;
  flex-direction: row;
  margin-left: 1%;
  list-style: none;
  gap: 8px;
}

.nav_link_cnt {
  padding: 20px 12px;
  display: flex;
  flex-direction: row;
  align-items: end;
  transition: all ease 0.3s;
}

.nav_link_cnt:hover {
  transform: scale(1.05);
}

.nav_link {
  text-transform: uppercase;
  color: #0c1823;
  font-size: 14px;
  text-decoration: none;
  transition: all ease 0.2s;
  font-weight: 700;
  text-align: center;
}

.nb_support_button {
  background-color: #27476e;
  border-radius: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-left: 20px;
  transition: all ease 0.3s;
}

.lnk_support_button {
  text-transform: uppercase;
  padding: 10px 15px;
  color: #e5e5e5;
  font-size: 14px;
  text-decoration: none;
  transition: all ease 0.2s;
  font-weight: 700;
}

.nb_support_button:hover {
  transform: scale(1.05);
}

/* ---------------------------- Side Bar Active Logic---------------------------- */

.side-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 240px;
  background-color: #27476e;
  z-index: 1001;
  transition: all ease 0.5s;
  overflow: hidden;
}

.side-menu-button {
  position: fixed;
  display: flex;
  top: 0px;
  left: 220px;
  border-radius: 10px;
  background-color: #fccb33;
  width: 35px;
  height: 35px;
  transition: all ease 0.5s;
  box-shadow: 2px 0px 10px 5px rgba(0, 0, 0, 0.2);
}

.side-menu-icon {
  margin: auto;
  width: 30px;
  height: 30px;
}

.side-bar-container img {
  margin: 24px auto;
  width: 200px;
  transition: all ease 0.5s;
}

.side-bar .nav-links-bar {
  transition: all ease 0.5s;
}

.side-bar .nav-links-bar ul {
  list-style: none;
  padding-left: 0;
}

.side-bar .nav_link_cnt {
  padding: 16px 24px;
}

.side-bar .nav_link {
  color: #e5e5e5;
  text-align: left;
}

.nb_support_button {
  margin-left: 0px;
}

/* ---------------------------- Side Bar Inactive Logic---------------------------- */

.side-bar.close {
  width: 0px;
  transition: all ease 0.5s;
}

.side-bar.close .side-menu-button {
  top: 0px;
  left: -10px;
  transition: all ease 0.5s;
}

.side-bar.close .side-bar-container img {
  width: 1px;
  display: none;
  transition: all ease 0.5s;
}

.side-bar.close .nav-links-bar {
  display: none;
  transition: all ease 0.5s;
}

/* ---------------------------- Index Bar section ---------------------------- */
.index-bar-section {
  display: inline-block;
  margin-left: 80px;
  padding-top: 130px;
  padding-bottom: 30px;
  color: #27476e;
}

.index-bar-section span {
  padding-left: 10px;
  padding-right: 10px;
  font-size: 14px;
}

.index-bar-section a {
  color: #27476e;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  cursor: default;
}

/* ---------------------------- ATDP Section ---------------------------- */
.atdp-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 80px;
}

.atdp-container {
  display: flex;
  flex-direction: column;
  width: min(100%, 980px);
  padding: 40px 40px 32px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(12, 24, 35, 0.06);
}

.atdp-title {
  color: #27476e;
  font-size: 32px;
  line-height: 1.2;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.atdp-text {
  padding-top: 28px;
  color: #0c1823;
}

.atdp-text > p:first-of-type {
  margin-top: 0;
}

.atdp-text h2 {
  margin-top: 40px;
  margin-bottom: 14px;
  color: #27476e;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 8px;
}

.atdp-text h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  color: #23243d;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
}

.atdp-text h4 {
  margin-top: 22px;
  margin-bottom: 8px;
  color: #27476e;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}

.atdp-text p {
  font-weight: 500;
  text-align: justify;
  margin-top: 16px;
  line-height: 1.8;
  font-size: 16px;
  color: #0c1823;
}

.atdp-text ul,
.atdp-text ol {
  margin-top: 14px;
  margin-bottom: 12px;
  padding-left: 24px;
}

.atdp-text li {
  margin-top: 10px;
  font-size: 16px;
  color: #0c1823;
}

.atdp-text strong,
.atdp-text b {
  font-weight: 700;
  color: #23243d;
}

.atdp-text a {
  color: #27476e;
  text-decoration: underline;
  word-break: break-word;
}

.atdp-text section + section,
.atdp-text article + article,
.atdp-text div + div {
  margin-top: 10px;
}

.atdp-text .atdp-subsection {
  margin-top: 24px;
  padding-left: 16px;
  border-left: 3px solid #fccb33;
}

.atdp-text .atdp-highlight {
  margin-top: 20px;
  padding: 18px 20px;
  background-color: rgba(252, 203, 51, 0.12);
  border-radius: 12px;
}

.atdp-button {
  display: flex;
  background-color: #fccb33;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  border-radius: 20px;
  width: 350px;
  min-height: 50px;
  gap: 20px;
  border: solid #fff 3px;
  transition: all ease 0.3s;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
  align-self: center;
}

.atdp-button-text {
  color: #27476e;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.download-icon {
  width: 24px;
  height: 24px;
}

.atdp-button:hover {
  background-color: #fff;
  border: solid #0c1823 3px;
  cursor: pointer;
}

/* ---------------------------- FOOTER ---------------------------- */

/* ---------------------------- footer related links section ---------------------------- */

.related-links-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 100px;
  background-color: #23243d;
  gap: 32px;
}

.related-links-section img {
  width: min(50vh, 320px);
  height: auto;
}

.related-links-container {
  display: flex;
  gap: 100px;
}

.related-links {
  display: flex;
  gap: 100px;
  align-items: flex-start;
}

.related-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding-left: 0;
}

.related-links ul li a {
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
}

.related-links ul li a:hover {
  color: #f2a900;
}

.cell-number,
.number,
.mail,
.direction {
  display: flex;
  align-items: center;
  gap: 15px;
}

.number,
.mail,
.direction {
  margin-top: 15px;
}

.cell-number p,
.number p,
.mail p,
.direction p {
  color: #fff;
}

.phone-icon,
.user-icon,
.mail-icon,
.direction-icon {
  width: 28px;
  height: 28px;
  stroke: #f2a900;
  flex-shrink: 0;
}

/* ---------------------------- footer copyright section ---------------------------- */

.copyright-section p {
  background-color: #fccb33;
  padding: 10px 40px;
  font-size: 10px;
  line-height: 1.4;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/* ---------------------------- Responsive ---------------------------- */

@media (max-width: 1024px) {
  .nav-bar-container {
    margin-left: 24px;
    margin-right: 24px;
  }

  .nav_link {
    font-size: 13px;
  }

  .nav_link_cnt {
    padding: 20px 8px;
  }

  .index-bar-section {
    margin-left: 40px;
    margin-right: 40px;
  }

  .atdp-container {
    width: min(100%, 92%);
    padding: 32px 28px;
  }

  .atdp-title {
    font-size: 28px;
  }

  .atdp-text h2 {
    font-size: 22px;
  }

  .related-links-section {
    padding: 30px 40px;
  }

  .related-links-container,
  .related-links {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-bar {
    display: none;
  }

  .side-bar {
    display: block;
  }

  .index-bar-section {
    display: inline-block;
    margin-left: 50px;
    margin-right: 24px;
    padding-top: 50px;
    padding-bottom: 24px;
  }

  .index-bar-section span {
    font-size: 12px;
  }

  .index-bar-section a {
    font-size: 12px;
  }

  .nav_link {
    color: #e5e5e5;
  }

  /* -------- Boton de soporte en side bar ------- */
  .nb_support_button {
    background-color: #27476e;
    border-radius: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-left: 0px;
    transition: none;
  }

  .lnk_support_button {
    text-transform: uppercase;
    padding: 0;
    color: #e5e5e5;
    font-size: 14px;
    text-decoration: none;
    transition: all ease 0.1s;
    font-weight: 700;
  }

  /* ---------------------------- ATDP Section ---------------------------- */
  .atdp-section {
    padding: 24px 16px 56px;
  }

  .atdp-container {
    width: 100%;
    padding: 24px 18px;
    border-radius: 14px;
  }

  .atdp-title {
    font-size: 24px;
  }

  .atdp-text {
    padding-top: 20px;
  }

  .atdp-text h2 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 12px;
  }

  .atdp-text h3 {
    font-size: 18px;
    margin-top: 22px;
  }

  .atdp-text h4 {
    font-size: 16px;
  }

  .atdp-text p,
  .atdp-text li {
    font-size: 15px;
    line-height: 1.75;
    text-align: left;
  }

  .atdp-text ul,
  .atdp-text ol {
    padding-left: 20px;
  }

  .atdp-button {
    width: 100%;
    max-width: 320px;
    gap: 12px;
  }

  .atdp-button-text {
    font-size: 14px;
    text-align: center;
  }

  .download-icon {
    width: 20px;
    height: 20px;
    stroke: #27476e;
  }

  /* ---------------------------- FOOTER ---------------------------- */
  .related-links-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
  }

  .related-links-section img {
    display: none;
  }

  .related-links-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
  }

  .related-links {
    flex-direction: column;
    gap: 30px;
    width: 100%;
  }

  .related-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .related-links ul li a {
    font-size: 16px;
  }

  .copyright-section p {
    padding: 12px 20px;
    font-size: 10px;
  }
}

@media (max-width: 450px) {
  .side-bar {
    width: 220px;
  }

  .side-menu-button {
    left: 200px;
  }

  .side-bar-container img {
    width: 170px;
  }

  .index-bar-section {
    margin-left: 42px;
    margin-right: 16px;
    padding-top: 44px;
    padding-bottom: 20px;
  }

  .atdp-section {
    padding: 20px 12px 48px;
  }

  .atdp-container {
    padding: 20px 14px;
  }

  .atdp-title {
    font-size: 21px;
    line-height: 1.25;
  }

  .atdp-text {
    padding-top: 18px;
  }

  .atdp-text h2 {
    font-size: 18px;
  }

  .atdp-text h3 {
    font-size: 16px;
  }

  .atdp-text h4 {
    font-size: 15px;
  }

  .atdp-text p,
  .atdp-text li {
    font-size: 14px;
    line-height: 1.7;
  }

  .atdp-button {
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
  }

  .atdp-button-text {
    font-size: 12px;
  }
}
