:root {
  color-scheme: light;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  --color-primary: #00BCC8;
  --color-highlight: #AEEC02;
  --color-white: #FFFFFF;
  --color-text-dark: #222A33;
  --section-title-font-size: clamp(1.9rem, 6vw, 2.5rem);
  --section-title-font-weight: 800;
  --section-title-line-height: 1.1;
  --section-subtitle-font-size: 1.15rem;
  --section-subtitle-font-weight: 500;
  --section-subtitle-line-height: 1.22;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #fff;
  color: #1E1E1E;
}

img, picture, video {
  max-width: 100%;
  display: block;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: calc(var(--header-height, 80px) + 12px);
}

button, input, textarea, select, a, nav {
  font: inherit;
}

button {
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  color: #fff;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
  z-index: 1000;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.site-branding a {
  text-decoration: none;
  color: inherit;
}

.site-navigation {
  display: flex;
}

.site-navigation__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.site-navigation__list a {
  text-decoration: none;
}

.site-main {
  padding: 1rem;
}

.section {
  padding: 4rem 0;
}

.site-footer {
  position: relative;
  z-index: 91;
  isolation: isolate;
  overflow: hidden;
  padding: 2.25rem 1.25rem 1rem;
  background: #00BCC8 url('../assets/images/bg-contactenos.png') center center / cover no-repeat;
  color: #ffffff;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #001428;
  opacity: 0.5;
  pointer-events: none;
}

.contact-footer-shell .site-footer {
  background: transparent;
}

.site-footer__container {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  margin-inline: auto;
}

.site-footer__top,
.site-footer__brand,
.site-footer__credentials,
.site-footer__columns,
.site-footer__group,
.site-footer__contact,
.site-footer__contact-details {
  display: grid;
}

.site-footer__top {
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.site-footer__brand,
.site-footer__credentials {
  justify-items: center;
  text-align: center;
}

.site-footer__brand {
  gap: 1rem;
}

.site-footer__credentials {
  gap: 0.8rem;
}

.site-footer__brand-divider {
  display: none;
  width: 2px;
  height: 3.35rem;
  background: rgba(255, 255, 255, 0.88);
}

.site-footer__columns {
  gap: 1.5rem;
}

.site-footer__group,
.site-footer__contact {
  justify-items: center;
  gap: 0.7rem;
  text-align: center;
}

.site-footer__logo {
  width: min(54vw, 11.5rem);
  height: auto;
  object-fit: contain;
}

.site-footer__moodle {
  width: min(62vw, 14rem);
  height: auto;
  object-fit: contain;
}

.site-footer__summary {
  max-width: 21rem;
  margin: 0;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.25;
}

.site-footer__since {
  display: inline-flex;
  min-height: 1.8rem;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
}

.site-footer__heading {
  margin: 0;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}

.site-footer__list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a,
.site-footer__address,
.site-footer__list span {
  color: #ffffff;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.site-footer__list span {
  display: inline-block;
}

.site-footer a {
  display: inline-flex;
  min-height: 1.75rem;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer a:hover {
  opacity: 0.78;
}

.site-footer a:focus-visible {
  outline: 3px solid #AEEC02;
  outline-offset: 4px;
}

.site-footer__contact {
  align-content: start;
  gap: 0.85rem;
}

.site-footer__contact-details {
  justify-items: center;
  gap: 0.4rem;
}

.site-footer__contact-row {
  display: flex;
  max-width: 24rem;
  align-items: flex-start;
  justify-content: center;
  gap: 0.45rem;
}

.site-footer__contact-link {
  gap: 0.5rem;
  min-height: 1.8rem;
}

.site-footer__contact-link:hover,
.site-footer__contact-link:focus-visible {
  color: #AEEC02;
  opacity: 1;
}

.site-footer__icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 1.2rem;
  color: currentColor;
  transition: color 0.2s ease;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.site-footer .site-footer__social-link {
  width: 42px;
  height: 42px;
  min-height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.site-footer__social-link:hover {
  color: #AEEC02;
  opacity: 0.78;
  transform: scale(1.05);
}

.site-footer__social-link:focus-visible {
  color: #AEEC02;
}

.site-footer__separator {
  width: 100%;
  height: 2px;
  margin: 1.5rem 0 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.site-footer__legal {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  text-align: center;
}

.site-footer__legal p {
  margin: 0;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
}

.site-footer__legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 2.5rem 2rem 1.1rem;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 1.35rem;
  }

  .site-footer__brand {
    grid-template-columns: 10.5rem 2px minmax(0, 21rem);
    align-items: center;
    justify-content: start;
    justify-items: start;
    gap: 1.25rem;
    text-align: left;
  }

  .site-footer__credentials {
    grid-template-columns: minmax(0, auto) auto;
    align-items: center;
    justify-content: start;
    justify-items: start;
    gap: 1rem;
  }

  .site-footer__brand-divider {
    display: block;
  }

  .site-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1.75rem 2.25rem;
  }

  .site-footer__group,
  .site-footer__contact {
    justify-items: start;
    text-align: left;
  }

  .site-footer a {
    justify-content: flex-start;
  }

  .site-footer__logo {
    width: 10.5rem;
    max-width: 100%;
  }

  .site-footer__moodle {
    width: min(100%, 13.5rem);
  }

  .site-footer__contact-details {
    justify-items: start;
  }

  .site-footer__contact-row {
    justify-content: flex-start;
  }

  .site-footer__legal {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: stretch;
    text-align: left;
  }

  .site-footer__legal-links {
    justify-self: end;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding-block: 2rem 0.85rem;
  }

  .site-footer__container {
    width: min(calc(100% - 40px), 1200px);
  }

  .site-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 3vw, 2.75rem);
    margin-bottom: 1.5rem;
  }

  .site-footer__brand {
    display: flex;
    flex: 1 1 auto;
    width: auto;
    max-width: 36rem;
    min-width: 0;
    gap: 1rem;
  }

  .site-footer__logo {
    flex: 0 0 10.5rem;
    width: 10.5rem;
    max-width: 10.5rem;
  }

  .site-footer__brand-divider {
    flex: 0 0 2px;
  }

  .site-footer__summary {
    flex: 1 1 20.5rem;
    width: auto;
    min-width: 18rem;
    max-width: 20.5rem;
  }

  .site-footer__credentials {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
  }

  .site-footer__moodle {
    flex: 0 0 13.5rem;
    width: 13.5rem;
    max-width: 13.5rem;
  }

  .site-footer__since {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .site-footer__columns {
    grid-template-columns: 1.05fr 0.85fr 0.85fr 2.45fr;
    gap: 0;
  }

  .site-footer__group,
  .site-footer__contact {
    min-width: 0;
    padding-inline: clamp(1.15rem, 2.25vw, 2rem);
  }

  .site-footer__group:first-child {
    padding-left: 0.35rem;
  }

  .site-footer__group + .site-footer__group,
  .site-footer__contact {
    border-left: 2px solid rgba(255, 255, 255, 0.8);
  }

  .site-footer__contact {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    padding-right: 0.35rem;
  }

  .site-footer__contact > .site-footer__heading {
    grid-column: 1 / -1;
  }

  .site-footer__contact-details {
    grid-column: 1;
    grid-row: 2;
  }

  .site-footer__social {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-self: end;
    margin-top: 0;
  }

  .site-footer__legal > p {
    justify-self: start;
    margin-left: 0.35rem;
  }

  .site-footer__address {
    max-width: 24rem;
  }
}

.no-js .site-navigation {
  display: none;
}
