.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  margin-bottom: calc(-1 * var(--header-height));
  padding-top: 0.65rem;
  background: transparent;
  border: 0;
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  background: transparent;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  width: min(1540px, calc(100% - 3.5rem));
  height: calc(100% - 0.65rem);
  min-height: 4.4rem;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.8rem, 1.5vw, 1.5rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 2.2vw, 2.35rem);
  border: 1px solid rgb(10 29 68 / 8%);
  border-radius: 25px;
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 12px 36px rgb(10 29 68 / 9%);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.72rem;
  color: var(--primary);
}

.brand-logo {
  display: block;
  width: min(290px, calc(100vw - 8rem));
  height: auto;
  max-height: 96px;
  max-width: 100%;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-header .brand-logo {
  width: min(230px, calc(100vw - 8rem));
  max-height: 76px;
}

.primary-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-self: center;
}

.primary-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.5vw, 1.55rem);
  list-style: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.8rem;
}

.primary-nav__mobile-top,
.primary-nav__mobile-contact {
  display: none;
}

.primary-nav__link {
  position: relative;
  display: inline-flex;
  min-width: max-content;
  min-height: 44px;
  align-items: center;
  color: #334056;
  font-size: clamp(0.8rem, 0.83vw, 0.92rem);
  font-weight: 600;
  transition: color var(--transition);
}

.primary-nav__dropdown-toggle {
  display: grid;
  width: 1.35rem;
  height: 2.75rem;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #334056;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--transition);
}

.primary-nav__item--dropdown {
  display: flex;
  align-items: center;
  position: relative;
}

.primary-nav__item--dropdown.is-open .primary-nav__dropdown-toggle,
.primary-nav__item--dropdown.is-open .primary-nav__dropdown-link {
  color: var(--primary);
}

.nav-chevron {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform var(--transition);
}

.primary-nav__dropdown-toggle[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.primary-nav__dropdown-toggle:hover,
.primary-nav__dropdown-toggle:focus-visible {
  color: var(--primary);
}

.primary-nav__submenu {
  position: absolute;
  z-index: 130;
  top: calc(100% + 0.4rem);
  left: -1rem;
  display: grid;
  width: max-content;
  min-width: 13rem;
  max-width: min(20rem, calc(100vw - 2rem));
  gap: 0.2rem;
  padding: 0.55rem;
  border: 1px solid rgb(10 29 68 / 9%);
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 18px 44px rgb(10 29 68 / 15%);
}

.primary-nav__submenu[hidden] {
  display: none;
}

.primary-nav__sublink {
  display: flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.8rem;
  border-radius: 11px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.primary-nav__sublink:hover,
.primary-nav__sublink:focus-visible {
  background: var(--surface);
  color: var(--primary-light);
}

.primary-nav__sublink[aria-current="page"] {
  background: #edf3fc;
}

.primary-nav__link::after {
  position: absolute;
  right: 0;
  bottom: 0.55rem;
  left: 0;
  height: 1px;
  background: var(--primary-light);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.primary-nav__link:hover,
.primary-nav__link[aria-current="page"] {
  color: var(--primary);
}

.primary-nav__link:hover::after,
.primary-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.language-switch--header {
  border: 0;
  padding: 0;
  font-size: 0.8rem;
}

.language-switch--header a {
  min-width: 1.8rem;
  min-height: 1.8rem;
  border-radius: 0.45rem;
}

.language-switch--header a[aria-current="true"] {
  background: transparent;
  color: var(--primary);
}

.language-switch--header span {
  color: #9aa4b3;
}

.language-switch--mobile,
.primary-nav__close,
.primary-nav__cta--mobile,
.primary-nav__mobile-search {
  display: none;
}

.site-search--desktop {
  position: relative;
  flex: 0 0 auto;
}

.site-search__toggle {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: #f1f4f8;
  color: var(--primary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.site-search__toggle:hover,
.site-search__toggle[aria-expanded="true"] {
  border-color: var(--border);
  background: var(--white);
  transform: translateY(-1px);
}

.site-search__toggle svg,
.site-search__field > svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-search__panel {
  position: absolute;
  z-index: 135;
  top: calc(100% + 0.75rem);
  right: -1rem;
  width: min(24rem, calc(100vw - 2rem));
  padding: 0.8rem;
  border: 1px solid rgb(10 29 68 / 9%);
  border-radius: 19px;
  background: var(--white);
  box-shadow: 0 18px 44px rgb(10 29 68 / 15%);
}

.site-search__panel[hidden],
.site-search__results[hidden],
.site-search__clear[hidden] {
  display: none;
}

.site-search__field {
  display: flex;
  min-height: 3.2rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.9rem;
  border: 1px solid #dbe2ec;
  border-radius: 999px;
  color: var(--primary);
}

.site-search__field:focus-within {
  border-color: #8ea7cb;
  box-shadow: 0 0 0 3px rgb(86 118 184 / 12%);
}

.site-search__field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--primary);
  font-size: 0.86rem;
}

.site-search__field input::placeholder {
  color: #7c8798;
}

.site-search__clear {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary);
  cursor: pointer;
  font-size: 1.35rem;
}

.site-search__results {
  display: grid;
  max-height: 16rem;
  gap: 0.2rem;
  margin-top: 0.55rem;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.site-search__results li a,
.site-search__empty {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  color: var(--primary);
  font-size: 0.83rem;
}

.site-search__results li a:hover,
.site-search__results li a:focus-visible {
  background: var(--surface);
}

.site-search__empty {
  color: var(--text-muted);
}

.site-search__index[hidden] {
  display: none;
}

.language-switch a {
  display: grid;
  min-width: 2rem;
  min-height: 2rem;
  place-items: center;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

.language-switch a[aria-current="true"] {
  background: var(--primary);
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.primary-nav__cta--header {
  min-height: 3.25rem;
  flex: 0 0 auto;
  padding-inline: clamp(1rem, 1.55vw, 1.55rem);
  border-radius: 999px;
  font-size: 0.82rem;
}

.primary-nav .primary-nav__cta--mobile {
  display: none;
}

.button:hover {
  background: var(--primary-light);
  box-shadow: 0 8px 18px rgb(10 29 68 / 14%);
  transform: translateY(-2px);
}

.button--light {
  border-color: rgb(255 255 255 / 62%);
  background: transparent;
  color: var(--white);
}

.button--light:hover {
  background: var(--white);
  color: var(--primary);
}

.button--outline {
  border-color: var(--border);
  background: transparent;
  color: var(--primary);
}

.button--outline:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.button--text {
  min-height: auto;
  padding: 0.45rem 0;
  border-radius: 0;
  background: transparent;
  color: var(--primary);
}

.button--text:hover {
  background: transparent;
  box-shadow: none;
  color: var(--primary-light);
  transform: translateX(3px);
}

.mobile-menu-toggle,
.mobile-menu-backdrop {
  display: none;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: calc(460px + var(--header-height));
  overflow: hidden;
  align-items: center;
  isolation: isolate;
  background: var(--primary);
  color: var(--white);
}

.page-hero:not(.home-hero) {
  min-height: calc(844px + var(--header-height));
}

.page-hero--text:not(.home-hero) { min-height: auto; }
.page-hero--text .page-hero__inner { padding-block: clamp(3.5rem, 8vw, 6rem); }

.page-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(5 20 40 / 78%) 0%, rgb(5 20 40 / 58%) 56%, rgb(5 20 40 / 35%) 100%), linear-gradient(0deg, rgb(5 20 40 / 28%), transparent 55%);
  content: "";
}

.page-hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.page-hero__inner {
  width: min(980px, calc(100% - 3rem));
  margin-inline: auto;
  padding-block: 5rem;
  text-align: center;
}

.page-hero__title {
  max-width: 19ch;
  margin: 1rem auto 0;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.04;
  text-wrap: balance;
}

.page-hero__lead {
  max-width: 65ch;
  margin: 1.35rem auto 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.8;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.8rem;
  color: rgb(255 255 255 / 76%);
  font-size: 0.73rem;
}

.breadcrumbs a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.numbered-card {
  min-width: 0;
  padding: clamp(1.4rem, 2.5vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.service-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-strong);
}

.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.2, .7, .2, 1);
}

.service-card:hover .service-card__image {
  transform: scale(1.035);
}

.service-card__body {
  padding: 1.35rem 1.5rem 1.55rem;
}

.service-card__body .numbered-card__number {
  margin-bottom: 1.15rem;
}

.service-card__body .button {
  margin-top: 1rem;
}

.home-services .service-card {
  display: flex;
  flex-direction: column;
}

.home-services .service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.home-services .service-card__body .button {
  align-self: flex-start;
  min-height: 2.75rem;
  margin-top: auto;
  padding: 0.65rem 1rem;
  border: 1px solid #dce5f0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--white), var(--surface));
  color: var(--primary);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
}

.home-services .service-card__body .button:hover,
.home-services .service-card__body .button:focus-visible {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 8px 18px rgb(10 29 68 / 14%);
  color: var(--white);
  transform: translateY(-2px);
}

.numbered-card__number {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.numbered-card h3,
.service-item h3,
.person-card h3,
.program-item h3 {
  color: var(--primary);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.numbered-card p,
.service-item p,
.project-card p,
.person-card p {
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-size: 0.89rem;
}

.service-item {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--border);
}

.service-item__index {
  padding-top: 0.1rem;
  color: var(--primary-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.check-list li::before {
  position: absolute;
  top: 0.73em;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--primary-light);
  content: "";
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.project-card__image-button {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--surface-strong);
  cursor: zoom-in;
}

.project-card__image-count {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 999px;
  background: rgb(4 11 25 / 78%);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
}

.project-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.2, .7, .2, 1);
}

.project-card:hover .project-card__image {
  transform: scale(1.035);
}

.project-card__body {
  padding: 1.1rem 1.25rem 1.3rem;
}

.project-card__body > .eyebrow {
  color: #3f4652;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.project-card__body h3 {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.person-card {
  min-width: 0;
  padding: 1.35rem 0;
  border-top: 1px solid var(--border);
}

.person-card__department {
  margin-bottom: 0.65rem;
  color: var(--primary-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.person-card__email {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--primary-light);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.program-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 1.15rem 1rem;
  border-bottom: 1px solid var(--border);
}

.program-item:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.program-item__number {
  color: var(--primary-light);
  font-size: 0.72rem;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  min-width: 0;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #d5dce6;
  border-radius: var(--radius-small);
  background: var(--white);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary-light);
  outline: 0;
  box-shadow: 0 0 0 3px rgb(30 58 138 / 12%);
}

.form-note {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.form-status {
  min-height: 1.5rem;
  color: var(--success);
  font-size: 0.82rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius);
  background: linear-gradient(120deg, #0a1d44, #163465);
  color: var(--white);
}

.cta-band h2 {
  max-width: 20ch;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.15;
}

.cta-band p {
  max-width: 58ch;
  margin-top: 0.6rem;
  color: rgb(255 255 255 / 76%);
  font-size: 0.88rem;
}

.site-footer {
  background: var(--primary-ink);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(15rem, 1.4fr) repeat(2, minmax(10rem, 0.8fr)) minmax(14rem, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: 5rem;
}

.footer-brand .brand {
  gap: 0.9rem;
  color: var(--white);
}

.footer-brand .brand-logo {
  width: min(28rem, 100%);
  height: auto;
  max-height: none;
  max-width: 100%;
  filter: drop-shadow(0 0 2px rgb(255 255 255 / 82%));
}

.footer-brand > p {
  max-width: 42ch;
  margin-top: 1.2rem;
  color: rgb(255 255 255 / 67%);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-column h2 {
  margin-bottom: 1rem;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(0.78rem, 0.8vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.footer-links a,
.footer-column address,
.footer-column p {
  color: rgb(255 255 255 / 82%);
  font-size: 0.78rem;
  font-style: normal;
  overflow-wrap: anywhere;
}

.footer-links a {
  font-size: clamp(0.84rem, 0.82vw, 0.9rem);
  font-weight: 600;
  line-height: 1.55;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgb(255 255 255 / 15%);
  color: rgb(255 255 255 / 58%);
  font-size: 0.7rem;
}

.whatsapp-button {
  position: fixed;
  z-index: 90;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  display: grid;
  width: 3.6rem;
  height: 3.6rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  background: #187b60;
  box-shadow: 0 10px 25px rgb(5 20 40 / 23%);
  color: var(--white);
  transition: transform var(--transition), background var(--transition);
}

.whatsapp-button:hover {
  background: #12684f;
  transform: translateY(-3px);
}

.whatsapp-button svg {
  width: 1.7rem;
  height: 1.7rem;
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 0.7rem);
  width: max-content;
  max-width: calc(100vw - 6rem);
  padding: 0.5rem 0.72rem;
  border-radius: 8px;
  background: var(--primary-ink);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateX(4px);
  transition: opacity var(--transition), transform var(--transition);
}

.whatsapp-button:hover .whatsapp-tooltip,
.whatsapp-button:focus-visible .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.lightbox {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  padding: 1rem;
  place-items: center;
  border: 0;
  background: rgb(4 11 25 / 94%);
  color: var(--white);
}

.lightbox::backdrop {
  background: rgb(4 11 25 / 94%);
}

.lightbox__track {
  display: flex;
  width: min(1200px, 100%);
  height: min(82vh, 900px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.lightbox__track::-webkit-scrollbar {
  display: none;
}

.lightbox__slide {
  display: grid;
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  margin: 0;
  place-items: center;
  scroll-snap-align: center;
}

.lightbox__image {
  width: auto;
  max-width: 100%;
  max-height: calc(100% - 3rem);
  border-radius: 12px;
  object-fit: contain;
}

.lightbox__caption {
  position: absolute;
  top: 1rem;
  bottom: auto;
  color: rgb(255 255 255 / 82%);
  font-size: 0.85rem;
  text-align: center;
}

.lightbox__counter {
  position: absolute;
  bottom: .7rem;
  left: 50%;
  margin: 0;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgb(4 11 25 / 75%);
  color: var(--white);
  font-size: .75rem;
  transform: translateX(-50%);
}

.lightbox__close,
.lightbox__previous,
.lightbox__next {
  position: absolute;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  color: var(--white);
  cursor: pointer;
  font-size: 1.2rem;
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
}

.lightbox__previous,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__previous {
  left: 1rem;
}

.lightbox__next {
  right: 1rem;
}

.lightbox__previous:disabled,
.lightbox__next:disabled {
  opacity: .4;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .lightbox { padding: .5rem; }
  .lightbox__track { height: 78vh; }
  .lightbox__previous, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
  .lightbox__previous { left: .75rem; }
  .lightbox__next { right: .75rem; }
  .lightbox__caption { top: .8rem; max-width: 75%; font-size: .72rem; }
}

.site-footer {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 110%, rgb(15 83 128 / 25%), transparent 40%),
    linear-gradient(128deg, #031c34 0%, #07172f 58%, #03182e 100%);
  color: var(--white);
}

.site-footer::before,
.site-footer::after {
  position: absolute;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgb(105 164 208 / 10%);
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
}

.site-footer::before {
  top: -27rem;
  left: -13rem;
}

.site-footer::after {
  right: -19rem;
  bottom: -27rem;
  width: 45rem;
  height: 45rem;
}

.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-main {
  grid-template-columns: minmax(12rem, 1.4fr) repeat(5, minmax(0, 0.72fr)) minmax(12rem, 1.35fr);
  gap: clamp(1.25rem, 2.6vw, 2.8rem);
  padding-block: clamp(5rem, 7vw, 6.5rem) 3.5rem;
}

.footer-brand > p {
  max-width: 39ch;
  margin-top: 0.85rem;
  line-height: 1.65;
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  color: rgb(255 255 255 / 88%);
  font-size: 0.75rem;
  font-weight: 600;
}

.footer-map-link:hover,
.footer-map-link:focus-visible {
  color: #b5dcf4;
}

.footer-contact address {
  margin-bottom: 0.65rem;
  line-height: 1.6;
}

.footer-contact p + p {
  margin-top: 0.55rem;
}

.footer-contact a:not(.footer-map-link) {
  color: rgb(255 255 255 / 84%);
  font-size: 0.78rem;
}

.footer-bottom.container {
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 3.7rem;
  justify-content: space-between;
  padding-inline: max(calc((100vw - var(--container)) / 2), 1.5rem);
  border-top: 1px solid rgb(255 255 255 / 15%);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}

.footer-bottom nav a {
  color: rgb(255 255 255 / 75%);
  font-size: 0.68rem;
}

.footer-bottom nav a + a {
  position: relative;
}

.footer-bottom nav a + a::before {
  position: absolute;
  top: 0;
  left: calc(clamp(0.75rem, 1.5vw, 1.5rem) / -2);
  color: rgb(255 255 255 / 38%);
  content: "|";
}

.footer-bottom nav a:hover,
.footer-bottom nav a:focus-visible {
  color: var(--white);
}
