html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.nav-inner,
main,
.footer-inner,
.footer-bottom {
  max-width: calc(100% - 28px);
}

h1,
h2,
p,
li,
dd,
.lead,
.notice,
.legal-card {
  overflow-wrap: anywhere;
}

.nav {
  z-index: 120;
}

.nav-inner {
  width: min(1240px, calc(100% - 48px));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  position: relative;
  color: inherit;
  text-decoration: none;
  font-weight: 520;
  transition: color .18s ease;
}

.nav-links a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .18s ease, transform .18s ease;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-links a:hover:after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255, 190, 10, .52);
  border-radius: var(--radius);
  padding: 0 16px;
  background: linear-gradient(135deg, #ffd84a, var(--warm));
  color: var(--fg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 760;
  box-shadow: 0 12px 28px rgba(255, 193, 6, .18);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #ffe16a, #ffc526);
  box-shadow: 0 16px 34px rgba(255, 193, 6, .28);
  transform: translateY(-1px);
}

.nav-cta svg,
.mobile-menu-cta svg,
.mobile-contact-card svg {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-cta svg {
  width: 17px;
  height: 17px;
}

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

body.menu-open {
  overflow: hidden;
}

main {
  width: min(1040px, calc(100% - 48px));
}

h1 {
  max-width: 900px;
  font-size: clamp(34px, 6vw, 58px);
}

.lead {
  max-width: 850px;
}

.legal-card {
  min-width: 0;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 56px 0 104px;
  background:
    radial-gradient(circle at 8% 18%, rgba(48, 196, 255, .1), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(255, 193, 6, .08), transparent 24%),
    #17171b;
  color: rgba(255, 255, 255, .76);
}

.site-footer .footer-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, .9fr) repeat(4, minmax(140px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 18px;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  line-height: 1.5;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--surface);
  text-decoration: none;
  font-size: 22px;
  font-weight: 780;
  line-height: 1;
  transition: opacity .18s ease, transform .18s ease;
}

.footer-logo:hover {
  opacity: .92;
  transform: translateY(-1px);
}

.footer-logo .brand-mark {
  border-color: rgba(48, 196, 255, .38);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 190, 10, .28), transparent 38%),
    linear-gradient(135deg, rgba(227, 247, 255, .98), rgba(255, 255, 255, .92));
  box-shadow: 0 16px 34px rgba(48, 196, 255, .12);
}

.footer-logo .brand-name {
  color: var(--surface);
}

.footer-logo .brand-name span {
  color: var(--accent);
}

.footer-brand em {
  display: block;
  max-width: 300px;
  color: rgba(255, 255, 255, .82);
  font-style: normal;
  font-weight: 650;
}

.footer-contact-mobile {
  display: none;
}

.footer-hours {
  display: grid;
  gap: 8px;
}

.footer-hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 280px;
}

.footer-contact-row {
  display: grid;
  gap: 5px;
}

.footer-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.footer-value {
  color: rgba(255, 255, 255, .9);
  font-weight: 720;
  text-decoration: none;
  transition: color .18s ease;
}

a.footer-value:hover {
  color: var(--accent);
}

.footer-col {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-col summary {
  list-style: none;
}

.footer-col summary::-webkit-details-marker {
  display: none;
}

.footer-col h3,
.footer-col summary {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, .76);
  text-decoration: none;
  font-size: 13px;
  font-weight: 620;
  line-height: 1.35;
}

.footer-col a {
  width: fit-content;
  transition: color .18s ease, transform .18s ease;
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-places {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.footer-place-list {
  max-width: 340px;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.5;
}

.footer-place-list a {
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease;
}

.footer-place-list a:hover {
  color: var(--warm);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 20px;
  color: rgba(255, 255, 255, .48);
  font-size: 12px;
}

.footer-copy {
  display: grid;
  gap: 5px;
}

.footer-powered {
  color: rgba(255, 255, 255, .62);
  font-weight: 650;
}

.footer-powered strong {
  color: var(--surface);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: rgba(255, 255, 255, .6);
  font-weight: 620;
}

.footer-legal a,
.footer-socials a {
  color: inherit;
  text-decoration: none;
}

.footer-legal a {
  transition: color .18s ease;
}

.footer-legal a:hover {
  color: var(--surface);
}

.footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  color: var(--surface);
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.footer-socials a:hover {
  border-color: rgba(48, 196, 255, .42);
  background: rgba(48, 196, 255, .12);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-float-mail {
  width: 54px !important;
  height: 54px !important;
  background: var(--accent);
  color: var(--fg) !important;
  box-shadow: 0 18px 38px rgba(48, 196, 255, .22);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.footer-float-mail:hover {
  background: var(--warm) !important;
  box-shadow: 0 22px 46px rgba(255, 193, 6, .22);
  color: var(--fg) !important;
}

.footer-float-mail svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .site-footer .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .nav-inner,
  main,
  .site-footer .footer-inner,
  .footer-bottom {
    width: min(100% - 28px, 1240px);
  }

  .nav-inner {
    min-height: 66px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 46px;
    height: 32px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    position: relative;
    z-index: 151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(23, 23, 27, .10);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .88);
    color: var(--fg);
    box-shadow: 0 10px 24px rgba(23, 23, 27, .08);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    position: absolute;
    border-radius: 999px;
    background: currentColor;
    transition: transform .22s ease, opacity .18s ease;
  }

  .menu-toggle span:nth-child(1) { transform: translateY(-6px); }
  .menu-toggle span:nth-child(3) { transform: translateY(6px); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 66px 0 0;
    z-index: 130;
    display: block;
    background: rgba(23, 23, 27, .30);
    opacity: 0;
    pointer-events: none;
    transition: opacity .30s ease;
  }

  .mobile-menu {
    width: 100%;
    max-height: calc(100dvh - 66px);
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    z-index: 140;
    display: grid;
    gap: 16px;
    overflow-y: auto;
    border-bottom: 1px solid rgba(23, 23, 27, .10);
    border-radius: 0 0 24px 24px;
    padding: 16px 14px 18px;
    background:
      radial-gradient(circle at 88% 12%, rgba(255, 193, 6, .24), transparent 34%),
      linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(246, 251, 255, .98));
    box-shadow: 0 28px 70px rgba(23, 23, 27, .18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-112%) rotateX(-8deg);
    transform-origin: top center;
    transition: opacity .26s ease, transform .42s cubic-bezier(.2, .9, .18, 1);
  }

  .mobile-menu.is-open,
  .mobile-menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu.is-open {
    transform: translateY(0) rotateX(0);
  }

  .mobile-menu-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
  }

  .mobile-menu-kicker {
    display: block;
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 760;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .mobile-menu-title {
    margin-top: 5px;
    font-size: 18px;
    font-weight: 760;
  }

  .mobile-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(48, 196, 255, .25);
    border-radius: 999px;
    padding: 7px 10px;
    background: rgba(219, 245, 255, .72);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }

  .mobile-status:before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #22b86f;
    box-shadow: 0 0 0 4px rgba(34, 184, 111, .13);
  }

  .mobile-menu-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(23, 23, 27, .07);
    border-radius: 14px;
    background: rgba(255, 255, 255, .72);
  }

  .mobile-menu-links a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 10px;
    padding: 0 10px 0 12px;
    color: var(--fg);
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
  }

  .mobile-menu-links a:hover {
    background: #dbf5ff;
  }

  .mobile-menu-links a:first-child {
    grid-column: 1 / -1;
  }

  .mobile-menu-links a:after {
    content: "→";
    color: var(--accent-strong);
    font-size: 17px;
  }

  .mobile-contact-list {
    display: grid;
    gap: 8px;
  }

  .mobile-contact-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(23, 23, 27, .07);
    border-radius: 14px;
    padding: 11px;
    background: rgba(255, 255, 255, .76);
    color: var(--fg);
    text-decoration: none;
  }

  .mobile-contact-card svg {
    width: 38px;
    height: 38px;
    grid-row: 1 / 3;
    border-radius: 12px;
    padding: 9px;
    background: #dbf5ff;
    color: var(--accent-strong);
  }

  .mobile-contact-card span,
  .mobile-hours span {
    display: block;
    color: #929292;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .mobile-contact-card strong,
  .mobile-hours strong {
    color: var(--fg);
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .mobile-hours {
    display: grid;
    gap: 8px;
    border: 1px solid rgba(255, 193, 6, .28);
    border-radius: 14px;
    padding: 13px;
    background: rgba(255, 245, 204, .68);
  }

  .mobile-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
  }

  .mobile-menu-cta {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(255, 190, 10, .52);
    border-radius: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #ffd84a, var(--warm));
    color: var(--fg);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
  }

  .mobile-menu-cta svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .mobile-menu:after {
    content: "";
    width: 48px;
    height: 4px;
    justify-self: center;
    border-radius: 999px;
    background: rgba(23, 23, 27, .14);
  }

  main {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1.08;
  }

  .lead {
    font-size: 17px;
  }

  .site-footer {
    padding-bottom: 40px;
  }

  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-col {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 18px 0 0;
  }

  .footer-contact-desktop {
    display: none;
  }

  .footer-contact-mobile {
    display: grid;
    gap: 12px;
  }

  .footer-col summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }

  .footer-col summary:after {
    content: "+";
    color: var(--accent);
    font-size: 18px;
    font-weight: 760;
  }

  .footer-col[open] summary:after {
    content: "-";
  }

  .footer-links,
  .footer-places {
    padding-bottom: 16px;
  }

  .footer-bottom {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-legal,
  .footer-socials {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
