@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --sh-black: #050505;
  --sh-navy: #213447;
  --sh-cyan: #16c7e8;
  --sh-orange: #ff5a24;
  --sh-soft: #c8d2df;
}

.sh-site-header,
.sh-mobile-menu {
  font-family: 'DM Sans', sans-serif;
}

.sh-site-footer {
  font-family: 'Inter', sans-serif;
}

.sh-site-header * ,
.sh-site-footer * ,
.sh-mobile-menu * {
  box-sizing: border-box;
}

.sh-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 146px;
  display: flex;
  align-items: center;
  background: var(--sh-black);
  color: #fff;
  margin: 0;
}

.sh-nav-shell {
  width: min(1170px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.sh-brand {
  display: block;
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  overflow: hidden;
  background: url('saferhome-logo.png') center / 110% auto no-repeat;
  border-radius: 4px;
  mix-blend-mode: screen;
}

.sh-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-left: 91px;
}

.sh-desktop-nav a,
.sh-mobile-links a {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 160ms ease, transform 160ms ease;
}

.sh-desktop-nav a {
  padding: 8px 6px;
}

.sh-desktop-nav a:hover,
.sh-desktop-nav a:focus-visible,
.sh-mobile-links a:hover,
.sh-mobile-links a:focus-visible {
  color: var(--sh-cyan) !important;
}

.sh-login {
  display: inline-flex;
  min-width: 119px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  margin-left: auto;
  border-radius: 16px;
  background: var(--sh-orange);
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 160ms ease, transform 160ms ease;
}

.sh-login:hover,
.sh-login:focus-visible {
  background: #ff713f;
  transform: translateY(-2px);
}

.sh-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.sh-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.sh-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  visibility: hidden;
  grid-template-columns: minmax(0, 1fr) min(460px, calc(100% - 24px));
  background: rgb(16 10 27 / 76%);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.sh-mobile-menu[aria-hidden='false'] {
  visibility: visible;
  opacity: 1;
}

.sh-menu-panel {
  grid-column: 2;
  position: relative;
  min-height: 100%;
  padding: 96px 46px 48px;
  background: var(--sh-black);
  transform: translateX(24px);
  transition: transform 200ms ease;
}

.sh-mobile-menu[aria-hidden='false'] .sh-menu-panel {
  transform: translateX(0);
}

.sh-menu-close {
  position: absolute;
  top: 26px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.sh-mobile-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 34px;
}

.sh-mobile-links a {
  font-size: 22px;
}

body.sh-menu-open {
  overflow: hidden;
}

.sh-site-footer {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 58px max(24px, calc((100% - 1170px) / 2)) 28px;
  min-height: 379px;
  border-radius: 32px 32px 0 0;
  background: var(--sh-navy);
  color: #fff;
  margin: 0;
}

.sh-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr .85fr .85fr;
  gap: 92px;
  align-items: start;
}

.sh-footer-brand .sh-brand {
  width: 200px;
  height: 82px;
  margin: -15px 0 18px;
  background-size: 110% auto;
}

.sh-footer-copy {
  max-width: 600px;
  margin: 0 0 22px !important;
  color: var(--sh-soft) !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}

.sh-socials {
  display: flex;
  gap: 24px;
  align-items: center;
}

.sh-socials a {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  opacity: .82;
  transition: opacity 160ms ease, transform 160ms ease;
}

.sh-socials a:hover,
.sh-socials a:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.sh-socials img {
  display: block;
  width: 20px;
  height: 20px;
}

.sh-footer-column h2 {
  margin: 0 0 20px !important;
  color: var(--sh-soft) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.sh-footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sh-footer-links a {
  width: fit-content;
  color: #fff !important;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none !important;
}

.sh-footer-links a:hover,
.sh-footer-links a:focus-visible {
  color: var(--sh-cyan) !important;
}

.sh-footer-bottom {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid #a6b6c7;
  text-align: center;
  color: var(--sh-soft);
  font-size: 12px;
}

.sh-email-mobile {
  display: none;
}

@media (max-width: 1100px) {
  .sh-site-header { min-height: 108px; }
  .sh-nav-shell { width: calc(100% - 40px); }
  .sh-brand { width: 185px; height: 76px; }
  .sh-desktop-nav { gap: 18px; margin-left: 30px; }
  .sh-desktop-nav a { font-size: 14px; }
  .sh-login { min-width: 108px; min-height: 46px; border-radius: 15px; font-size: 14px; }
}

@media (max-width: 960px) {
  .sh-site-header { min-height: 90px; }
  .sh-nav-shell { width: calc(100% - 34px); }
  .sh-brand { width: 208px; height: 68px; }
  .sh-desktop-nav,
  .sh-login { display: none; }
  .sh-menu-toggle { display: block; }

  .sh-site-footer {
    min-height: 0;
    padding: 64px 28px 30px;
    border-radius: 28px 28px 0 0;
  }
  .sh-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 54px 70px;
  }
  .sh-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .sh-site-header { min-height: 80px; }
  .sh-nav-shell { width: calc(100% - 22px); }
  .sh-brand { width: 186px; height: 62px; }
  .sh-menu-toggle { width: 42px; height: 42px; padding: 8px; }
  .sh-mobile-menu { grid-template-columns: 12px minmax(0, 1fr); }
  .sh-menu-panel { padding: 96px 34px 42px; }
  .sh-mobile-links { gap: 30px; }
  .sh-mobile-links a { font-size: 20px; }

  .sh-site-footer {
    padding: 48px 21px 28px;
    border-radius: 22px 22px 0 0;
    text-align: center;
  }
  .sh-footer-grid { display: block; }
  .sh-footer-brand .sh-brand {
    width: 218px;
    height: 74px;
    margin: -14px auto 20px;
  }
  .sh-footer-copy {
    max-width: 360px;
    margin: 0 auto 24px !important;
    font-size: 13px !important;
  }
  .sh-socials { justify-content: center; gap: 26px; margin-bottom: 40px; }
  .sh-socials a { width: 23px; height: 23px; }
  .sh-socials img { width: 21px; height: 21px; }
  .sh-footer-column { margin-top: 30px; }
  .sh-footer-column h2 { margin-bottom: 18px !important; font-size: 15px !important; }
  .sh-footer-links { align-items: center; gap: 12px; }
  .sh-footer-links a { font-size: 14px; }
  .sh-email-desktop { display: none; }
  .sh-email-mobile { display: block; margin-top: 30px; }
  .sh-footer-bottom { margin-top: 38px; padding-top: 20px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .sh-site-header *,
  .sh-site-footer *,
  .sh-mobile-menu * { transition: none !important; }
}
