/*--------------------------------------------------------------
# Variables globales (Design Tokens)
--------------------------------------------------------------*/
:root {
  /* Tipografías */
  --font-base: "Oxygen", sans-serif;
  --font-alt: "Fira Sans", sans-serif;

  /* Pesos */
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;

  /* Colores base */
  --black: #000;
  --white: #fff;

  --gray-100: #f9f9f9;
  --gray-200: #f2f2f2;
  --gray-300: #e2e6e9;
  --gray-500: #616161;
  --gray-700: #383838;

  --blue-primary: #2f4697;
  --blue-dark: #123a5f;
  --blue-link: #1B2E51;

  --green-primary: #00d4a2;
  --yellow-accent: #f9ae00;
  --red-danger: #e5544a;
  --cyan-info: #19a2b8;

  /* Layout */
  --wrapper: 1200px;
  --wrapper-xl: 1400px;

  /* UI */
  --radius-sm: 5px;
  --radius-md: 10px;
  --transition-fast: all 0.2s ease;
  --transition-base: all 0.3s ease;

  /* Z */
  --z-header: 999;
  --z-floating: 1000;
}
/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/
body {
  font-family: var(--font-base);
  color: #2f3542;
}

.wrapper {
  max-width: var(--wrapper);
  margin: 0 auto;
}

.wrapper-extend {
  max-width: var(--wrapper-xl);
  margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-400);
  letter-spacing: -1px;
}

.h1, h1 {
  font-size: 3.5rem;
}

a,
a:hover {
  text-decoration: none;
  color: var(--black);
}

ul {
  padding: 0;
  margin: 0;
}

ol,
ul {
  list-style: none;
  margin-bottom: 0 !important;
  padding-inline-start: 0 !important;
}

.more {
  width: max-content;
  background-color: var(--green-primary);
  color: var(--white);
  font-weight: var(--fw-700);
  font-size: 0.8rem;
  padding: 1px 20px;
}

.padding-top {
  margin-top: 105px !important;
}

.margin-top {
  margin-top: 105px;
}

.text-justify {
  text-align: justify;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
header {
  position: fixed;
  top: 0;
  z-index: var(--z-header);
  width: 100%;
  transition: var(--transition-base);
  background-color: var(--white);
}

.home header {
  background-color: var(--white);
  box-shadow: inset;
}

.home .line-header {
  border-bottom: 2px solid #626262;
}

header.pt-3 {
  padding-top: 0 !important;
}

.home header.pt-3 {
  padding-top: 1rem !important;
}

@media (max-width: 1200px) {
  header {
    background-color: var(--white) !important;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 60px 0 !important;
  }
}

@media (max-width: 575px) {
  .home header.pt-3 {
    padding-top: 0 !important;
  }
}
/*--------------------------------------------------------------
# Menu
--------------------------------------------------------------*/
.menu ul li {
  display: inline-block;
  font-weight: bold;
  position: relative;
}

.menu ul li a {
  display: block;
  font-weight: var(--fw-400);
  transition: var(--transition-fast);
}

/* menu full */
.menu-full ul li a {
  color: var(--gray-500);
  padding: 0 17px;
  font-weight: var(--fw-600);
}

.menu-full ul li a:hover {
  color: var(--blue-dark);
}

.menu-full ul li.current-menu-item a {
  color: var(--white);
  background-color: var(--black);
}

.menu-full ul ul {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  background-color: #190a3a;
  width: 200px;
  transition: opacity 0.2s linear, visibility 0.3s;
  box-shadow: 0 1px 5px rgb(169 166 166);
  left: 5%;
}

.menu-full ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  z-index: 9999;
}
/*--------------------------------------------------------------
# Contacto
--------------------------------------------------------------*/
.contact {
  background: linear-gradient(198deg, #dbdbdb 0%, #f2f2f2 100%);
}

.contact a {
  color: var(--blue-link);
}

.form-control {
  background-color: var(--white);
  border: 0;
  padding: 15px 25px;
  border-radius: 0;
}

.contact button {
  color: var(--white);
  font-weight: var(--fw-600);
  background: rgb(47 70 151);
}

.contact button:hover {
  opacity: 0.8;
}

.contact .wpcf7-form {
  line-height: 12px;
}

.contact h1 {
  line-height: 55px;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: #bfbfbf;
}

.page-contact .form-control {
  background-color: #e2e6e9;
  padding: 15px 25px;
  border-radius: 0;
}

.page-contact button {
  color: #fff;
  text-align: left;
  font-weight: 600;
  background: #2f4697 !important;
}

.page-contact button:hover {
  opacity: 0.8;
}

.page-contact button:focus {
  color: #fff !important;
}

.page-contact .wpcf7-form {
  line-height: 12px;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
  background-color: var(--gray-700);
}

footer strong {
  color: var(--yellow-accent);
}

footer ul li {
  border-bottom: 1px solid rgba(255,255,255,0.25);
  text-align: center;
}

footer ul li a {
  color: var(--white);
}

footer ul li a:hover {
  color: var(--yellow-accent);
}

footer .rrss {
  background-color: #616161;
  background: linear-gradient(217deg, rgb(0 0 0 / 7%) 50% 0%, rgb(92 92 92) 100%);
}

footer .rrss a {
  color: #fff;
}

footer .rrss a:hover {
  color: #bbbbbb;
}

footer .footer-main {
  overflow: hidden;
}

footer .footer-rrss {
  width: 95%;
}

footer .footer-top-bar {
  width: 100%;
  height: 5px;
  background-color: #000;
  margin: 0 auto;
}

footer .footer-email {
  font-size: 1.2rem;
}

footer hr {
  height: 5px !important;
  background-color: rgb(174 174 174) !important;
  opacity: 1;
  border: 0;
}

footer .footer-social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

footer .footer-social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: #fff;
}

footer .footer-social-link i {
  font-size: 1rem;
  line-height: 1;
}

footer .logos img {
  opacity: 0;
  transform: translateY(30px);
}

footer .logo-footer {
  opacity: 0;
  transform: translateX(40px);
}

footer .footer-logo-svg {
  max-width: 100%;
}

footer .footer-logo-mark {
  fill: #fff;
  opacity: 0.2;
}

/*--------------------------------------------------------------
# Banner Page
--------------------------------------------------------------*/
.banner-page {
  background: var(--gray-300);
  width: 95%;
  margin: 0 auto;
}

.banner-page h1 {
  font-weight: var(--fw-700);
  color: #3f3f3f;
  font-family: var(--font-base);
  font-size: 2.5rem;
}

@media (max-width: 575px) {
  .h1,
  h1 {
    font-size: 2.5rem;
    line-height: 40px !important;
  }
}

/*--------------------------------------------------------------
# Menu Responsive
--------------------------------------------------------------*/
.button-responsive-menu {
  color: #000;
  text-transform: uppercase;
  font-weight: 900;
  display: block;
  padding: 8px;
  transition: var(--transition-fast);
}

a.button-responsive-menu:hover {
  color: #e76860;
}

#responsive-menu ul {
  padding-left: 0 !important;
}

#responsive-menu ul li {
  padding: 0;
  display: block;
}

#responsive-menu ul li a {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 5px 20px !important;
  display: block;
  color: #2f2f2f;
  font-weight: 600;
  width: 100%;
}

.menu-full ul ul li {
  width: 100%;
  display: contents;
}

.menu-full ul ul li a {
  line-height: 20px;
  font-size: 0.9rem;
  color: #fff;
  height: auto !important;
  text-align: left;
  font-weight: 400;
  padding: 10px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: capitalize;
}

.menu-full ul ul li:last-child a {
  border-bottom: 0;
}

.menu-full ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  z-index: 9999;
  display: block;
  margin: auto;
  left: 5%;
}

.menu-full > a:hover > li a {
  background-color: #1D3C71;
}

.menu-full ul li ul li.current-menu-item {
  background-color: inherit;
}

.menu-full ul li ul li.current-menu-item a {
  color: #17a2b8 !important;
}

/*--------------------------------------------------------------
# Slider
--------------------------------------------------------------*/
.slider-full .carousel-indicators {
  bottom: 18px;
  margin-bottom: 0;
}

.slider-full .carousel-indicators [data-bs-target] {
  background-color: rgb(95 95 95 / 45%);
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 0;
  opacity: 1;
  margin-inline: 5px;
}

.slider-full .carousel-indicators .active {
  background-color: #383838;
  border-color: #000;
  transform: scale(1.08);
}

.slider-full .carousel-control-next,
.slider-full .carousel-control-prev {
  background-color: rgba(0, 0, 0, 0.48);
  width: 56px;
  height: 56px;
  opacity: 1;
  top: 60%;
  bottom: auto;
  transform: translateY(-50%);
  border-radius: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.slider-full .carousel-control-next {
  right: 18px;
}

.slider-full .carousel-control-prev {
  left: 18px;
}

.slider-full .carousel-control-next-icon,
.slider-full .carousel-control-prev-icon {
  width: 28px;
  height: 28px;
  background-size: 100% 100%;
  filter: brightness(0) invert(1);
  transition: all ease 0.2s;
}

.slider-full .carousel-control-next:hover,
.slider-full .carousel-control-prev:hover {
  background-color: rgba(0, 0, 0, 0.72);
}

.slider-full .carousel-control-next:hover .carousel-control-next-icon,
.slider-full .carousel-control-prev:hover .carousel-control-prev-icon {
  transform: scale(1.08);
}

.slider-full picture,
.slider-full img {
  display: block;
  width: 100%;
}

/*--------------------------------------------------------------
# Description
--------------------------------------------------------------*/
.description h1 {
  line-height: 55px;
}

.description img {
  transition: all ease 0.1s;
}

.description img:hover {
  transform: scale(1.02);
}

@media (max-width: 575px) {
  .description img {
    display: block !important;
    margin: 0 auto;
  }
}

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq h1 {
  font-weight: 800;
  line-height: 55px;
}

.faq .accordion-button {
  background-color: #f2f2f2;
  font-weight: 700 !important;
  font-size: 1.1rem;
  padding: 20px 40px;
  border: 0;
  margin-bottom: 10px;
  border-radius: 10px !important;
}

.faq .accordion-item {
  border: 0 !important;
}

/*--------------------------------------------------------------
# Lists
--------------------------------------------------------------*/
.list-group-flush li {
  border-bottom: 4px solid #f9f9f9;
  padding: 8px 20px;
  background-color: #f5f5f5;
  background: linear-gradient(82deg, rgb(220 223 237) 0%, rgb(255 255 255 / 0%) 100%);
}

.list-group-flush li a {
  color: var(--blue-link);
  transition: var(--transition-fast);
  font-weight: var(--fw-500);
}

.list-group-flush li a:hover {
  color: #e76860;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.text-content a {
  color: #000;
  font-weight: var(--fw-500);
  text-decoration: underline !important;
}

.text-content .wp-block-media-text {
  margin-bottom: 0;
}

.text-content h1,
.text-content h2,
.text-content h3,
.text-content h4,
.text-content h5,
.text-content h6 {
  font-weight: var(--fw-600);
  color: var(--blue-primary);
}

.text-content ul {
  list-style: inside;
  list-style-type: square;
  margin-bottom: 1.5rem !important;
}

.text-content .wp-block-separator {
  color: #dee2e6;
  margin: 40px 0;
  border-bottom: 5px solid;
}

.text-content .download-banner {
  background-color: #f2f2f2;
  text-align: left;
  font-weight: var(--fw-400);
}

.text-content .download-banner .btn-primary {
  color: var(--white);
  text-decoration: none !important;
  border: 0;
  font-weight: var(--fw-400);
  background: linear-gradient(93deg, rgba(0, 63, 55, 1) 0%, rgba(0, 146, 69, 1) 100%);
}

.text-content .img-description .wp-block-image img {
  width: 200px;
}

/*--------------------------------------------------------------
# Breadcrumb
--------------------------------------------------------------*/
.breadcrumb a {
  color: #000;
  font-weight: 600;
}

/*--------------------------------------------------------------
# 404
--------------------------------------------------------------*/
.error-404-banner {
  padding-top: 120px;
}

.error-404-page {
  width: 95%;
  margin: 0 auto;
  background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
}

.error-404-inner {
  max-width: 760px;
  text-align: center;
}

.error-404-number {
  margin: 0;
  font-size: clamp(5rem, 16vw, 8rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.08em;
  color: var(--blue-primary);
  text-shadow: 0 10px 30px rgba(47, 70, 151, 0.12);
}

.error-404-title {
  margin: 0.5rem 0 1rem;
  font-weight: 800;
  color: #2f3542;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.error-404-text {
  margin: 0 auto 2rem;
  max-width: 620px;
  font-size: 1.1rem;
  color: var(--gray-500);
}

.error-404-page .more-button a,
.news .more-button a {
  background-color: var(--blue-primary);
  color: var(--white);
  padding: 8px 25px;
  font-size: 1.2rem;
  font-weight: 700;
}

/*--------------------------------------------------------------
# Sitemap
--------------------------------------------------------------*/
.sitemap ul {
  list-style: square;
}

.sitemap ul li {
  display: block;
  height: auto !important;
}

.sitemap ul li a {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: var(--fw-500);
  padding-block: 5px 10px;
  display: block;
}

.sitemap ul li ul li a {
  padding-left: 25px;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .text-content {
  font-size: 0.9rem;
}

.team strong {
  color: var(--red-danger);
}

.team .thumbnail {
  width: 130px;
  max-width: 100%;
  height: 150px;
  background-position: center center;
  background-size: cover;
}

.team .form-control {
  background-color: var(--gray-200);
}

.team-shortcode .team-member {
  margin-bottom: 0;
}

.team-shortcode .team-card {
  overflow: hidden;
  border-radius: 0;
}

.team-shortcode .team-member-photo-col {
  min-height: 180px;
}

.team-shortcode .team-member-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  max-width: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #dee2e6;
  background: #f3f3f3;
}

.team-shortcode .team-member-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(100%);
}

.team-shortcode .team-member-content {
  padding: 30px 20px;
}

.team-shortcode .team-member-content h4 {
  overflow-wrap: anywhere;
}

.team .item figure img {
  max-width: 100%;
}

.team .content-item {
  background: linear-gradient(266deg, rgb(255 248 232) 60%, rgb(255 255 255 / 0%) 100%);
  padding: 10px 0;
}

.team .item figure {
  background-size: cover;
  background-position: center center;
  border-radius: 50%;
  width: 150px !important;
  height: 150px;
  filter: grayscale(100%);
  border: 5px solid #dee2e6;
}

.team .item a {
  color: #1d3c88;
  font-weight: var(--fw-500);
  word-break: break-all;
}

.team .item a:hover {
  color: #19a2b8;
}

.team .city {
  background-color: #3d5f99;
  z-index: 1;
  bottom: -10px;
  font-size: 0.9rem;
  padding: 2px 15px;
  color: #fff;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

@media (max-width: 767.98px) {
  .team-shortcode .team-member-photo-col {
    min-height: 150px;
  }

  .team-shortcode .team-member-content {
    padding: 20px 15px;
    text-align: center;
  }

  .team-shortcode .team-member-photo-wrap {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 575.98px) {
  .team .item figure {
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
    padding-top: 100%;
  }

  .team .item .col-3,
  .team .item .col-9 {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .team .content-item {
    background: rgb(241, 241, 241) !important;
  }
}

/*--------------------------------------------------------------
# News
--------------------------------------------------------------*/
.news {
  background-color: #f9f9f9;
}

.news h4 {
  font-size: 1.2rem;
}

.news figure {
  background-color: #dedede;
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  transition: ease all 0.2s;
  opacity: 0.8;
}

.news .date {
  font-size: 0.8rem;
}

.news .new a {
  transition: all ease 0.2s;
  font-size: 1.4rem;
  color: var(--blue-primary);
}

.news .new:hover figure {
  transform: scale(1.02);
  opacity: 1;
}

.news .extract {
  font-family: var(--font-alt);
}

.page-news {
  background-color: var(--white);
}

.page-news figure {
  height: 200px;
}

.new {
  opacity: 0;
  transform: translateY(40px);
}

/*--------------------------------------------------------------
# Scroll To Top
--------------------------------------------------------------*/
.stt-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--gray-700);
  z-index: var(--z-floating);
}

.stt-progress {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.stt-progress rect {
  fill: none;
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
}

.stt-track {
  stroke: rgba(0, 0, 0, 0.15);
}

.stt-bar {
  stroke: currentColor;
  stroke-dasharray: 192;
  stroke-dashoffset: 192;
  transition: stroke-dashoffset 0.1s linear;
}

.stt-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-700);
}

.stt-btn.stt-footer-contrast .stt-bar {
  stroke: #606060;
}

.stt-btn.stt-footer-contrast .stt-icon {
  color: #ffffff;
}

.img-left {
  opacity: 0;
  transform: translateX(-60px);
}

.img-right {
  opacity: 0;
  transform: translateX(60px);
}

.img-up {
  opacity: 0;
  transform: translateY(60px);
}

/*--------------------------------------------------------------
# Scrollbar
--------------------------------------------------------------*/
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--yellow-accent);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--yellow-accent);
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination {
  justify-content: center;
  list-style: none !important;
}

.pagination .page-link {
  color: inherit;
  background-color: #f5f5f5;
  border: 1px solid #e8ecef;
  min-width: 40px;
}

.pagination .page-item.active .page-link {
  background-color: #e51632;
  color: #fff;
  border-color: #e51632;
}

.pagination .page-link:hover {
  background-color: var(--gray-500);
  color: #ffffff;
  border: 1px solid var(--gray-500);
}

/*--------------------------------------------------------------
# Background helpers
--------------------------------------------------------------*/
.bg-darkblue-theme {
  background: linear-gradient(270deg, rgb(220 223 237) 0%, rgb(255 255 255) 100%);
}

.bg-darkblue-theme .wrapper {
  border-bottom: 5px solid #123a5f;
}

.bg-red-theme {
  background: linear-gradient(270deg, rgb(255 226 230) 0%, rgb(255 255 255) 100%);
}

.bg-red-theme .wrapper {
  border-bottom: 5px solid #e51632;
}

.bg-blue-theme {
  background: linear-gradient(82deg, rgb(225 230 251) 0%, rgb(255 255 255) 100%);
}

.bg-blue-theme .wrapper {
  border-bottom: 5px solid var(--blue-primary);
}

.bg-yellow-theme {
  background: linear-gradient(270deg, rgb(255 247 226) 0%, rgb(255 255 255) 100%);
}

.bg-yellow-theme .wrapper {
  border-bottom: 5px solid var(--yellow-accent);
}

.bg-darkblue-theme .title,
.bg-red-theme .title,
.bg-blue-theme .title,
.bg-yellow-theme .title {
  padding-left: 25px;
}

.bg-darkblue-theme .title::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: calc(50% - 5px);
  left: 0;
  background-color: #123a5f;
}

.bg-red-theme .title::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: calc(50% - 5px);
  left: 0;
  background-color: #e51632;
}

.bg-blue-theme .title::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: calc(50% - 5px);
  left: 0;
  background-color: var(--blue-primary);
}

.bg-yellow-theme .title::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  top: calc(50% - 5px);
  left: 0;
  background-color: var(--yellow-accent);
}
