.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 108px;
  overflow: visible;
  background: transparent;
  font-family: var(--tomato-copy-font);
}

.site-header__stage {
  width: 1920px;
  margin-inline: auto;
  padding: 14px 24px;
  transform-origin: top center;
}

.has-site-stage-scale .site-header {
  height: calc(108px * var(--site-stage-scale, 1));
}

.has-site-stage-scale .site-header__stage {
  transform: translateX(var(--site-stage-shift-x, 0px)) scale(var(--site-stage-scale, 1));
}

.is-site-stage-portrait .site-header {
  height: 108px;
}

.is-site-stage-portrait .site-header__stage {
  width: 100%;
  margin-inline: 0;
  transform: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1670px;
  min-height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  border-radius: 50px;
  background: #fff;
  overflow: visible;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex-shrink: 0;
}

.site-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.site-brand__mark img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.site-brand__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #1f1f1f;
}

.site-brand__eyebrow {
  font-size: 14px;
  line-height: 16px;
  color: #1f1f1f;
  white-space: nowrap;
}

.site-brand__name {
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.site-nav__item {
  position: relative;
}

.site-nav__item--has-children::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 240px;
  height: 24px;
  transform: translateX(-50%);
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  white-space: nowrap;
  color: #1f1f1f;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 0.3s ease;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__item--has-children:hover > .site-nav__link::after,
.site-nav__item--has-children:focus-within > .site-nav__link::after {
  transform: scaleX(1);
}

.site-nav__submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 2;
  display: grid;
  gap: 0;
  min-width: 220px;
  padding: 14px 0;
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.98);
  box-shadow: 0 18px 48px rgba(31, 31, 31, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.site-nav__submenu--service {
  width: min(520px, calc(100vw - 32px));
  max-height: min(78vh, 760px);
  overflow-y: auto;
}

.site-nav__item--has-children:hover > .site-nav__submenu,
.site-nav__item--has-children:focus-within > .site-nav__submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-nav__submenu-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  color: #1f1f1f;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.site-nav__submenu--service .site-nav__submenu-link {
  min-height: 0;
  padding-top: 14px;
  padding-bottom: 14px;
  white-space: normal;
}

.site-nav__submenu-link:hover,
.site-nav__submenu-link:focus-visible {
  background: rgba(225, 112, 85, 0.12);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 40px;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
}

.site-header__cta--form {
  background: #fdcb6e;
  color: #636e72;
}

.site-header__cta--phone {
  display: grid;
  grid-template-columns: 24px auto;
  column-gap: 10px;
  row-gap: 0;
  align-items: center;
  width: 243px;
  min-height: 52px;
  padding: 4px 12px;
  background: #e17055;
  color: #fffaf3;
}

.site-header__phone-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  grid-row: 1 / span 2;
}

.site-header__phone-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.site-header__phone-copy {
  display: contents;
}

.site-header__phone-number {
  font-size: 20px;
  font-weight: 500;
  line-height: 20px;
}

.site-header__phone-time {
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
}

.site-header__menu-toggle {
  display: none;
  position: relative;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #1f1f1f;
  cursor: pointer;
}

.site-header__menu-toggle-icon {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: background-color 0.22s ease;
}

.site-header__menu-toggle-icon::before,
.site-header__menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.22s ease;
}

.site-header__menu-toggle-icon::before {
  transform: translateY(-5px);
}

.site-header__menu-toggle-icon::after {
  transform: translateY(5px);
}

.site-mobile-nav {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.site-mobile-nav__surface {
  opacity: 0;
  transform: translateY(16px);
}

.site-mobile-nav__cta-dock {
  display: none;
}

body.is-mobile-nav-open {
  overflow: hidden;
}

body.is-mobile-nav-open .site-header__menu-toggle-icon {
  background: transparent;
}

body.is-mobile-nav-open .site-header__menu-toggle-icon::before {
  transform: rotate(45deg);
}

body.is-mobile-nav-open .site-header__menu-toggle-icon::after {
  transform: rotate(-45deg);
}

@media (max-width: 767px) {
  .site-header {
    height: 108px;
  }

  .site-header__stage {
    width: 100%;
    margin-inline: 0;
    transform: none;
    padding: 10px 12px;
  }

  .site-header__inner {
    min-height: 72px;
    border-radius: 50px;
    gap: 12px;
    padding: 22px 24px;
  }

  .site-brand__mark {
    width: 34px;
    height: 34px;
  }

  .site-brand__mark img {
    width: 34px;
    height: 34px;
  }

  .site-brand__copy {
    gap: 0;
  }

  .site-brand__eyebrow {
    font-size: 10px;
    line-height: 11px;
  }

  .site-brand__name {
    font-size: 18px;
    line-height: 20px;
  }

  .site-nav {
    display: none;
  }

  .site-header__actions {
    display: none;
  }

  .site-header__menu-toggle {
    display: inline-flex;
  }

  .site-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 41;
    display: block;
    transition: opacity 280ms ease;
    background: #e4e4e4;
    overflow: auto;
  }

  .site-header__inner {
    transition: opacity 180ms ease;
  }

  body.is-mobile-nav-open .site-mobile-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.is-mobile-nav-open .site-header__inner {
    opacity: 0;
    pointer-events: none;
  }

  .site-mobile-nav__surface {
    min-height: 100dvh;
    padding: 28px 16px 140px;
    display: flex;
    flex-direction: column;
    gap: 52px;
    transition: transform 280ms ease, opacity 280ms ease;
  }

  body.is-mobile-nav-open .site-mobile-nav__surface {
    opacity: 1;
    transform: translateY(0);
  }

  .site-mobile-nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .site-mobile-nav__brand {
    min-width: 0;
  }

  .site-mobile-nav__brand .site-brand__mark {
    width: 52px;
    height: 52px;
  }

  .site-mobile-nav__brand .site-brand__mark img {
    width: 52px;
    height: 52px;
  }

  .site-mobile-nav__brand .site-brand__eyebrow {
    font-size: 14px;
    line-height: 1.2;
  }

  .site-mobile-nav__brand .site-brand__name {
    font-size: 30px;
    line-height: 1.15;
  }

  .site-mobile-nav__close {
    display: inline-flex;
    position: relative;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #1f1f1f;
    cursor: pointer;
    flex-shrink: 0;
  }

  .site-mobile-nav__close-icon {
    position: relative;
    width: 22px;
    height: 2px;
    background: transparent;
    border-radius: 999px;
  }

  .site-mobile-nav__close-icon::before,
  .site-mobile-nav__close-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
  }

  .site-mobile-nav__close-icon::before {
    transform: rotate(45deg);
  }

  .site-mobile-nav__close-icon::after {
    transform: rotate(-45deg);
  }

  .site-mobile-nav__links {
    display: grid;
    gap: 0;
    font-family: var(--tomato-copy-font);
    font-size: 31px;
    font-weight: 500;
    line-height: 1.4;
    color: #1f1f1f;
  }

  .site-mobile-nav__group {
    display: grid;
    gap: 10px;
  }

  .site-mobile-nav__link,
  .site-mobile-nav__links > a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 14px 0;
    text-align: left;
  }

  .site-mobile-nav__subnav {
    display: grid;
    gap: 6px;
    padding-left: 16px;
  }

  .site-mobile-nav__subnav-link {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 2px 0;
    color: #1f1f1f;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-align: left;
  }

  .site-mobile-nav__subnav-link::before {
    content: "〇";
    flex: 0 0 auto;
    font-size: 0.8em;
    line-height: 1;
  }

  .site-mobile-nav__links a:focus-visible {
    outline: 2px solid #d78773;
    outline-offset: 2px;
  }

  .site-mobile-nav__cta-dock {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 41;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .site-mobile-nav__cta-dock .site-header__cta {
    width: 100%;
    min-height: 54px;
    padding: 12px 14px;
    border-radius: 30px;
    white-space: nowrap;
  }

  .site-mobile-nav__cta-dock .site-header__cta--phone {
    min-width: 0;
    grid-template-columns: 20px auto;
    column-gap: 8px;
    width: 100%;
    padding: 6px 10px;
    justify-content: center;
  }

  .site-mobile-nav__cta-dock .site-header__phone-icon {
    width: 20px;
    height: 20px;
  }

  .site-mobile-nav__cta-dock .site-header__phone-icon img {
    width: 20px;
    height: 20px;
  }

  .site-mobile-nav__cta-dock .site-header__phone-number,
  .site-mobile-nav__cta-dock .site-header__phone-time {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .site-brand__mark {
    width: 30px;
    height: 30px;
  }

  .site-brand__mark img {
    width: 30px;
    height: 30px;
  }

  .site-brand__eyebrow {
    font-size: 9px;
    line-height: 10px;
  }

  .site-brand__name {
    font-size: 16px;
    line-height: 18px;
  }

  .site-header__stage {
    padding-inline: 10px;
  }

  .site-header__inner {
    padding: 18px 16px;
  }

  .site-mobile-nav__surface {
    padding: 24px 12px 130px;
    gap: 40px;
  }

  .site-mobile-nav__top {
    padding: 0;
  }

  .site-mobile-nav__brand .site-brand__mark {
    width: 46px;
    height: 46px;
  }

  .site-mobile-nav__brand .site-brand__mark img {
    width: 46px;
    height: 46px;
  }

  .site-mobile-nav__subnav {
    gap: 4px;
    padding-left: 12px;
  }

  .site-mobile-nav__subnav-link {
    font-size: 18px;
    line-height: 1.45;
  }

  .site-mobile-nav__brand .site-brand__eyebrow {
    font-size: 13px;
  }

  .site-mobile-nav__brand .site-brand__name {
    font-size: 26px;
    line-height: 1.2;
  }

  .site-mobile-nav__close {
    width: 36px;
    height: 36px;
  }

  .site-mobile-nav__close-icon {
    width: 20px;
  }

  .site-mobile-nav__close-icon::before,
  .site-mobile-nav__close-icon::after {
    width: 20px;
  }

  .site-mobile-nav__cta-dock {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-mobile-nav__cta-dock .site-header__cta {
    min-height: 50px;
    padding: 10px 12px;
  }

  .site-mobile-nav__cta-dock .site-header__cta--phone {
    grid-template-columns: 18px auto;
    column-gap: 6px;
    padding: 5px 8px;
    justify-content: center;
  }

  .site-mobile-nav__cta-dock .site-header__phone-icon {
    width: 18px;
    height: 18px;
  }

  .site-mobile-nav__cta-dock .site-header__phone-icon img {
    width: 18px;
    height: 18px;
  }

  .site-mobile-nav__cta-dock .site-header__phone-number,
  .site-mobile-nav__cta-dock .site-header__phone-time {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-mobile-nav,
  .site-mobile-nav__surface {
    transition: none;
  }
}
