/* Drawer navigation shared by the site header. */
#header .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-width: 76px;
  padding: 8px 0;
  cursor: pointer;
}

#mobile-menu {
  width: min(460px, 100%);
  padding: 0 clamp(20px, 6vw, 32px) 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#mobile-menu .menu-top {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 72px;
  gap: 16px;
  background: var(--paper);
}
#mobile-menu .menu-top img { display: block; }
#mobile-menu .close-menu {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  line-height: 1;
  cursor: pointer;
}

.drawer-reviews {
  margin: 18px 0 0;
  padding: 13px;
  border: 1px solid var(--line);
  background: #fff;
}
.drawer-reviews p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0 0 10px;
  font-size: 0.8125rem;
}
.drawer-stars { color: var(--accent); letter-spacing: 2px; }
.drawer-reviews .drawer-review-button {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}
.drawer-reviews .drawer-review-button:hover { background: #f1ecef; }
.drawer-actions { display: grid; gap: 8px; margin-top: 18px; }
#mobile-menu .button {
  width: 100%;
  min-height: 48px;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 0.8125rem;
}
.drawer-actions .drawer-whatsapp {
  border-color: #25d366;
  background: #25d366;
  color: #102d1d;
}
.drawer-actions .drawer-whatsapp:hover { background: #1ebd5b; border-color: #1ebd5b; }
.quote-page .drawer-quote { display: none; }

#mobile-menu .drawer-nav {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
#mobile-menu .drawer-heading {
  margin: 0;
  font: 400 1.6rem/1.14 var(--serif);
}
.drawer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.drawer-nav .drawer-services { margin-bottom: 8px; }
#mobile-menu .drawer-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  background: #fff;
  font: 600 0.8125rem/1.2 var(--sans);
  overflow-wrap: anywhere;
}
#mobile-menu .drawer-nav a:hover { border-color: var(--accent); }
#mobile-menu .drawer-pages a { border-width: 0 0 1px; background: transparent; }
.drawer-services svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.drawer-contact {
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.drawer-contact address { display: grid; justify-items: start; gap: 7px; margin: 10px 0; font-style: normal; }
.drawer-contact a { text-decoration: underline; text-underline-offset: 3px; }
.drawer-contact p { margin: 0; }

@media (min-width: 901px) and (max-width: 1250px) {
  #header:has(.menu-toggle) { gap: 12px; }
  #header:has(.menu-toggle) .header-cta { margin-left: 0; }
}
@media (max-width: 900px) {
  .quote-page #header .menu-toggle { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #mobile-menu[open] { animation: none; }
}
