

.site-anchor-target {
  scroll-margin-top: 96px;
}

.site-menu-shell {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 38;
  display: grid;
  justify-items: end;
  gap: 12px;
  padding: 14px 18px 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.site-menu-shell > * {
  pointer-events: auto;
}

.site-menu-shell.is-out-of-view {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
}

.site-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  cursor: pointer;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.site-menu-toggle:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.site-menu-toggle:focus-visible,
.site-menu-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.site-menu-shell.is-open .site-menu-toggle {
  opacity: 1;
}

.site-menu-toggle-label {
  display: none;
}

.site-menu-toggle-icon {
  position: relative;
  width: 24px;
  height: 18px;
  flex-shrink: 0;
}

.site-menu-toggle-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background-color: #ffffff;
  transform-origin: center;
  transition:
    transform 0.24s ease,
    opacity 0.2s ease,
    top 0.24s ease;
}

.site-menu-toggle-line:nth-child(1) {
  top: 0;
}

.site-menu-toggle-line:nth-child(2) {
  top: 8px;
}

.site-menu-toggle-line:nth-child(3) {
  top: 15px;
}

.site-menu-shell.is-open .site-menu-toggle-line:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.site-menu-shell.is-open .site-menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.site-menu-shell.is-open .site-menu-toggle-line:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

.site-menu-panel {
  display: grid;
  gap: 8px;
  width: min(280px, calc(100vw - 24px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 90, 90, 0.22),
      transparent 34%
    ),
    radial-gradient(
      circle at top right,
      rgba(140, 0, 0, 0.3),
      transparent 28%
    ),
    linear-gradient(180deg, rgba(179, 18, 23, 0.94) 0%, rgba(115, 11, 15, 0.94) 100%);
  box-shadow: 0 24px 48px rgba(55, 6, 9, 0.36);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-origin: top right;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.site-menu-shell.is-open .site-menu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-menu-panel-label {
  margin-bottom: 4px;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.site-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.site-menu-link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.site-menu-shell.is-open .site-menu-link {
  opacity: 1;
}

.site-menu-shell.is-open .site-menu-link:nth-of-type(1) {
  transition-delay: 0.03s;
}

.site-menu-shell.is-open .site-menu-link:nth-of-type(2) {
  transition-delay: 0.06s;
}

.site-menu-shell.is-open .site-menu-link:nth-of-type(3) {
  transition-delay: 0.09s;
}

.site-menu-shell.is-open .site-menu-link:nth-of-type(4) {
  transition-delay: 0.12s;
}

.site-menu-shell.is-open .site-menu-link:nth-of-type(5) {
  transition-delay: 0.15s;
}

.site-menu-link:hover {
  background-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.hero-img {
  position: relative;
  background: url(../img/hero-mobile.png);
  background-size: cover;
  height: 456px;
  width: 100%;
}

.logo {
  display: flex;
  justify-content: center;
  padding-top: 51px;
}

.logo-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-trigger:hover {
  transform: translateY(-2px);
}

.logo-trigger:disabled {
  cursor: default;
  opacity: 1;
}

.logo-trigger:disabled:hover {
  transform: none;
}

.logo-trigger:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 6px;
}

.logo-redondo {
  display: block;
  width: 185px;
  height: 185px;
  border-radius: 50%;
  background-position: center;
}

.hero-img .name-work {
  text-align: center;
  padding-top: 34px;
}

.hero-img .location {
  text-align: center;
}

.status-hours-wrapper {
  position: relative;
  width: fit-content;
  margin: 16px auto 0;
}

.hero-img .button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 256px;
  min-height: 43px;
  margin: 0;
  text-align: center;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-img .button:hover {
  transform: translateY(-2px);
}

.hero-img .button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.status {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1.2;
  color: #ffffff;
  padding: 8px 0;
}

.open {
  background-color: var(--green-color);
  box-shadow: 0 14px 24px rgba(84, 204, 10, 0.28);
}

.closed {
  background-color: var(--red-primary-color);
  box-shadow: 0 14px 24px rgba(255, 49, 49, 0.28);
}

.status-hours-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 5;
  width: min(320px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(15, 18, 32, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.98) 0%, #ffffff 100%);
  box-shadow: 0 20px 40px rgba(15, 18, 32, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.status-hours-popover.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.status-hours-popover::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  border-top: 1px solid rgba(15, 18, 32, 0.08);
  border-left: 1px solid rgba(15, 18, 32, 0.08);
  background: #fffdf9;
  transform: translateX(-50%) rotate(45deg);
}

.status-hours-popover-label,
.status-hours-popover-note,
.status-hours-popover-row span,
.status-hours-popover-row strong {
  color: #0f1220;
}

.status-hours-popover-label {
  margin-bottom: 6px;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-hours-popover-title {
  margin: 0 0 14px;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  color: #0f1220;
}

.status-hours-popover-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background-color: #f6f7f8;
}

.status-hours-popover-list {
  display: grid;
  gap: 10px;
  max-height: min(240px, calc(100vh - 220px));
  padding-right: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.status-hours-popover-list::-webkit-scrollbar {
  width: 6px;
}

.status-hours-popover-list::-webkit-scrollbar-track {
  background: rgba(15, 18, 32, 0.08);
  border-radius: 999px;
}

.status-hours-popover-list::-webkit-scrollbar-thumb {
  background: rgba(15, 18, 32, 0.28);
  border-radius: 999px;
}

.status-hours-popover-list::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 18, 32, 0.4);
}

.status-hours-popover-row.is-today {
  border: 1px solid rgba(202, 80, 16, 0.2);
  background-color: #93e59796;
}

.status-hours-popover-row span,
.status-hours-popover-row strong {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

.status-hours-popover-note {
  margin-top: 12px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.72;
}

@media (max-width: 540px) {
  .site-anchor-target {
    scroll-margin-top: 88px;
  }

  .site-menu-shell {
    padding: 12px 14px 0;
    justify-items: end;
  }

  .site-menu-toggle {
    width: 76px;
    height: 76px;
  }

  .site-menu-panel {
    width: min(100%, 320px);
    padding: 14px;
    border-radius: 22px;
  }

  .site-menu-link {
    padding: 13px 14px;
    font-size: 14px;
  }

  .status-hours-wrapper {
    width: calc(100% - 32px);
    max-width: 256px;
  }

  .hero-img .button {
    width: 100%;
    padding: 0 16px;
  }

  .status {
    font-weight: bold;
    font-size: 17px;
  }

  .status-hours-popover {
    width: min(320px, calc(100vw - 24px));
    padding: 16px;
  }

  .status-hours-popover-title {
    font-size: 20px;
  }

  .status-hours-popover-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-menu-shell,
  .site-menu-toggle,
  .site-menu-toggle-line,
  .site-menu-panel,
  .site-menu-link,
  .logo-trigger,
  .hero-img .button {
    transition: none;
  }
}
