﻿:root {
  --shared-teal: #118ba4;
  --shared-teal-dark: #075f71;
}

body {
  padding-top: 72px;
}

.container {
  width: min(1110px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(17, 139, 164, .08);
  backdrop-filter: blur(12px);
}

.nav {
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--shared-teal-dark);
  letter-spacing: 0;
  text-decoration: none;
}

.brand-logo {
  width: 140px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-left: auto;
  font-size: 18px;
  font-weight: 700;
  color: #387482;
}

.menu-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.menu a {
  color: inherit;
  text-decoration: none;
}

.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}

.menu-link i {
  font-size: 12px;
  transition: transform .2s ease;
}

.menu > .menu-link:first-of-type,
.menu > .menu-item:first-of-type > .menu-link {
  color: var(--shared-teal);
}

.menu-link.is-active,
.menu-item.is-active > .menu-link,
.submenu-link.is-active {
  color: var(--shared-teal);
}

.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  min-width: 180px;
  padding: 10px;
  border: 1px solid rgba(17, 139, 164, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 38px rgba(17, 95, 113, .16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
}

.submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 14px;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.has-submenu:hover .menu-link i,
.has-submenu:focus-within .menu-link i {
  transform: rotate(180deg);
}

.submenu-link {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: #387482;
  font-size: 16px;
  white-space: nowrap;
}

.submenu-link:hover {
  background: rgba(17, 139, 164, .08);
  color: var(--shared-teal);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 139, 164, .2);
  border-radius: 8px;
  background: #fff;
  color: var(--shared-teal-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 10px 22px rgba(17, 139, 164, .08);
}

.menu-toggle i {
  font-size: 22px;
  line-height: 1;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 26px;
  font-weight: 400;
  color: #fff;
  background: #ee7783;
  box-shadow: 0 12px 22px rgba(238, 119, 131, .24);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(238, 119, 131, .28);
}

.site-footer {
  padding: 54px 0 42px;
  color: #c8edf1;
  background: #057b91;
}

.site-footer .reveal {
  opacity: 1;
  transform: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 58px;
  margin-bottom: 54px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-logo {
  display: block;
  width: 124px;
  height: auto;
  max-width: 100%;
}

.site-footer p {
  width: min(430px, 100%);
  margin: 0;
  color: #b8e2e7;
  font-size: 15px;
}

.footer-contact {
  display: grid;
  gap: 8px;
  width: min(430px, 100%);
  margin: 16px 0 0;
  color: #d9f5f8;
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact a {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 24px;
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact i {
  width: 16px;
  margin-top: 4px;
  color: #fff;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}

.social-icon {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.social-icon:hover,
.social-icon.is-copied {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .16);
}

.social-icon.is-copied {
  border-color: rgba(255, 255, 255, .72);
}

.social-icon i {
  font-size: 16px;
  line-height: 1;
}

.copy-feedback-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  min-width: 132px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(10, 102, 127, .96);
  box-shadow: 0 16px 36px rgba(10, 102, 127, .24);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .18s ease, transform .18s ease;
  white-space: nowrap;
  z-index: 9999;
}

.copy-feedback-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer-col h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
}

.footer-col a {
  display: block;
  margin: 0 0 12px;
  color: #bde7ec;
  font-size: 15px;
  text-decoration: none;
}

.copyright {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 2px;
  padding: 24px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #addbe1;
  font-size: 14px;
  line-height: 1.75;
}

.footer-copyright-text,
.footer-note {
  display: block;
}

.footer-copyright-text {
  min-width: 0;
}

.copyright a {
  color: #fff;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

.footer-note {
  flex: 0 0 auto;
  text-align: right;
}

@media (max-width: 980px) {
  body.menu-open {
    overflow: hidden;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    order: 3;
  }

  .contact-btn {
    order: 2;
  }

  .menu {
    order: 4;
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 1001;
    margin-left: 0;
    padding: 14px;
    border: 1px solid rgba(17, 139, 164, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 38px rgba(17, 95, 113, .16);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    font-size: 17px;
  }

  .site-header.is-menu-open .menu {
    display: flex;
  }

  .menu-item {
    display: block;
  }

  .menu a,
  .menu-link {
    display: flex;
    align-items: center;
    min-height: 46px;
    border-radius: 8px;
    padding: 0 14px;
  }

  .menu a:hover,
  .menu-link:hover {
    background: rgba(17, 139, 164, .08);
  }

  .menu-link {
    justify-content: space-between;
  }

  .submenu {
    position: static;
    min-width: 0;
    margin: -2px 0 6px 12px;
    padding: 4px 0 4px 10px;
    border: 0;
    border-left: 2px solid rgba(17, 139, 164, .16);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .submenu::before {
    display: none;
  }

  .submenu-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 16px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
  }
}

@media (max-width: 680px) {
  body {
    padding-top: 66px;
  }

  .container {
    width: min(100% - 28px, 1110px);
  }

  .nav {
    height: 66px;
  }

  .contact-btn {
    display: none;
  }

  .brand-logo {
    width: 116px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .copyright {
    flex-direction: column;
    gap: 8px;
  }

  .footer-note {
    text-align: left;
  }
}
