/*
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;
}

body {
  font-family: "Titillium Web", sans-serif;
  line-height: 1.3;
}

/* ---------------------------- Navigation bar section ---------------------------- */
.nav-bar {
  background-color: #fccb33;
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 100px;
  box-shadow: 2px 2px 2px 3px rgba(0, 0, 0, 0.2);
  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;
}

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

.nav-bar ul {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-grow: 1;
  flex-direction: row;
  margin-left: 1%;
  max-lines: 1;
}

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

.nav_link_cnt :hover {
  transition: all ease 0.3s;
  transform: scale(1.2);
}

.nav_link {
  text-transform: uppercase;
  color: #0c1823;
  font-size: 14px;
  text-decoration: none;
  transition: all ease 0.1s;
  font-weight: bolder;
  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 10px 15px;
  color: #e5e5e5;
  font-size: 14px;
  text-decoration: none;
  transition: all ease 0.1s;
  font-weight: bolder;
}

.nb_support_button:hover {
  transition: all ease 0.3s;
  transform: scale(1.2);
}

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

.side-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 240px;
  background-color: #27476e;
  z-index: 1;
  transition: all ease 0.5s;
}
.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 auto;
  width: 30px;
  height: 30px;
}
.side-bar-container img {
  margin: auto auto;
  width: 200px;
  transition: all ease 0.5s;
}

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

.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 2s;
}
/* ---------------------------- 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: bold;
  font-size: 14px;
  cursor: default;
}

/* ---------------------------- PQRS Section ---------------------------- */
.header-pqrs {
  padding: 130px 0 8px;
  border-bottom: 1px solid #e5e7eb;
}
.breadcrumb {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px 10px;
  color: #6b7280;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.header-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.header-info h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: #0f2a44;
}
.header-info p {
  margin: 0 0 12px;
  color: #6b7280;
}
.contacto {
  margin-top: 14px;
  font-weight: 600;
  color: #0b2034;
}
.header-img {
  width: 700px;
  height: 300px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 42, 68, 0.06);
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------------------------
   Form Section
   --------------------------- */
.formulario-pqrs {
  background: #f1f3f6;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 34px 0 46px;
}
.formulario-pqrs h2 {
  text-align: center;
  margin: 0;
  color: #0f2a44;
  font-size: clamp(22px, 3vw, 32px);
}
.formulario-pqrs .linea {
  width: 46px;
  height: 6px;
  border: none;
  margin: 10px auto 24px;
  background: #f2b705;
  border-radius: 3px;
}

.pqrs-form {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 22px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1f2937;
}
.form-row.full {
  grid-column: 1 / -1;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 13px 12px;
  border-radius: 12px;
  outline: none;
  font-size: 1rem;
  color: #1f2937;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02) inset;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #0f2a44;
  box-shadow: 0 0 0 3px rgba(15, 42, 68, 0.12);
}
::placeholder {
  color: #9aa3b2;
}

.btn-enviar {
  background-color: #ffc107;
  color: #000;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-enviar:hover {
  background-color: #e0a800;
  transform: scale(1.02);
}

.btn-enviar:disabled {
  background-color: #f3d86e;
  color: #666;
  cursor: not-allowed;
  transform: none;
  opacity: 0.8;
}

.btn-enviar .spinner {
  border: 3px solid #000;
  border-top: 3px solid transparent;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
  display: none;
}

.btn-enviar.loading .spinner {
  display: inline-block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.form-row.full .btn-enviar {
  display: block;
  margin: 6px auto 0;
}

/* ---------------------------
   Responsivness
   --------------------------- */
@media (max-width: 980px) {
  .header-content {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .pqrs-form {
    grid-template-columns: 1fr;
  }
}

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

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

.related-links-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 100px;
  background-color: #23243d;
}
.related-links-section img {
  width: 50vh;
  height: 15vh;
}

.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;
}

.related-links ul li {
  list-style: none;
}

.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 {
  display: flex;
  align-items: center;
  gap: 15px;
}

.phone-icon {
  width: 28px;
  height: 28px;
  stroke: #f2a900;
}

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

.number {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.number p {
  color: #fff;
}

.user-icon {
  width: 28px;
  height: 28px;
  stroke: #f2a900;
}

.mail {
  margin-top: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.mail p {
  color: #fff;
}

.mail-icon {
  width: 28px;
  height: 28px;
  stroke: #f2a900;
}

.direction {
  margin-top: 15px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.direction p {
  color: #fff;
}

.direction-icon {
  width: 28px;
  height: 28px;
  stroke: #f2a900;
}

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

.copyright-section p {
  background-color: #fccb33;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 40px;
  font-size: 10px;
}

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

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

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

  .side-bar {
    display: block;
  }

  /* -------- Boton de soporte en side bar ------- */

  .nav_link {
    color: #e5e5e5;
  }
  .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: 0px 0px 0px 0px;
    color: #e5e5e5;
    font-size: 14px;
    text-decoration: none;
    transition: all ease 0.1s;
    font-weight: bolder;
  }
  /* ---------------------------- Index Bar section ---------------------------- */
  .index-bar-section {
    display: inline-block;
    margin-left: 50px;
    margin-right: 40px;
    padding-top: 50px;
    padding-bottom: 30px;
  }

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

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

  /* ---------------------------- About Us Section ---------------------------- */

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

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

  .related-links-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 100px;
    background-color: #23243d;
  }
  .related-links-section img {
    width: 50vh;
    height: 15vh;
  }

  .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;
  }

  .related-links ul li {
    list-style: none;
  }

  .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 {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .phone-icon {
    width: 28px;
    height: 28px;
    stroke: #f2a900;
  }

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

  .number {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .number p {
    color: #fff;
  }

  .user-icon {
    width: 28px;
    height: 28px;
    stroke: #f2a900;
  }

  .mail {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
  }

  .mail p {
    color: #fff;
  }

  .mail-icon {
    width: 28px;
    height: 28px;
    stroke: #f2a900;
  }

  .direction {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
  }

  .direction p {
    color: #fff;
  }

  .direction-icon {
    width: 28px;
    height: 28px;
    stroke: #f2a900;
  }

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

  .copyright-section p {
    background-color: #fccb33;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    font-size: 10px;
  }
  /* ---------------------------- FOOTER  ---------------------------- */

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

  .related-links-section {
    padding: 50px 30px;
  }
  .related-links-section img {
    display: none;
  }

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

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