/* Option 1 approved by Logan: Signature Cut buttons and shared Services menu.
   The doubled .button selector lets this component follow legacy page styles
   without replacing labels, form states, service tiles, or page layouts. */
.button.button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  max-width: 100%;
  padding: 14px 23px;
  border: 0;
  border-radius: 0;
  background: var(--orange);
  color: var(--charcoal);
  font-family: var(--brand-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.button.button::after {
  content: "";
  display: block;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .15s ease;
}
.button.button > .dhs-arrow { display: none; }
.button.button.copy-request::after { display: none; }
.button.button:hover { background: #DD6614; color: var(--charcoal); text-decoration: none; }
.button.button:not(:disabled):hover::after { transform: translateX(2px); }
.button.button.dark { background: var(--charcoal); color: var(--paper); }
.button.button.dark:hover { background: #414447; color: var(--paper); }
.button.button.ghost {
  background: transparent;
  color: var(--paper);
  border: 2px solid var(--paper);
  padding: 12px 21px;
  clip-path: none;
}
.button.button.ghost:hover { background: #FFFFFF18; color: var(--paper); }
/* A two-tone inset ring remains visible inside the angled edge. */
.button.button:focus-visible {
  outline: 3px solid #1866A3;
  outline-offset: 4px;
  box-shadow: inset 0 0 0 3px var(--charcoal), inset 0 0 0 6px var(--paper);
}
.button.button.ghost:focus-visible { box-shadow: inset 0 0 0 2px var(--paper); }
.button.button:disabled { opacity: .65; cursor: not-allowed; }
.button.button:disabled::after { transform: none; }
.nav .button.button { min-height: 46px; font-size: 14px; padding: 12px 20px; }
.contact-booking-actions .button.button { font-size: 18px; }
.quote-file-panel input::file-selector-button {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.site-header .menu { color: var(--charcoal); -webkit-text-fill-color: var(--charcoal); min-width: 44px; min-height: 44px; }
.privacy-copy a { overflow-wrap: anywhere; }
.dhs-services { position: relative; }
.dhs-services-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 12px 0;
  list-style: none;
  color: var(--charcoal);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.dhs-services-toggle::-webkit-details-marker { display: none; }
.dhs-services-toggle > svg { transition: transform .15s ease; }
.dhs-services[open] > .dhs-services-toggle { color: #A84400; }
.dhs-services[open] > .dhs-services-toggle > svg { transform: rotate(180deg); }
.dhs-services-toggle:focus-visible { outline: 3px solid #1866A3; outline-offset: 4px; }
.dhs-services-panel {
  position: absolute;
  top: calc(100% + 22px);
  left: -75px;
  width: 500px;
  padding: 20px;
  background: var(--paper);
  color: var(--charcoal);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  box-shadow: 0 12px 30px #292B2D25;
  text-align: left;
  z-index: 30;
}
.dhs-services-priority {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}
.dhs-services-priority > a { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.dhs-services-priority img { flex: 0 0 34px; width: 34px; height: 34px; object-fit: contain; }
.dhs-services-priority strong { display: block; font: 700 24px/1.05 var(--brand-heading); }
.dhs-services-priority small { display: block; margin-top: 5px; font-size: 10px; line-height: 1.35; color: var(--slate); font-weight: 400; }
.dhs-services-priority > a > svg { flex-shrink: 0; width: 14px; margin-left: auto; }
.dhs-services-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 25px; padding: 17px 0; }
.dhs-services-columns h3 { font-family: var(--brand-body); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin: 0 0 8px; }
.dhs-services-columns a { display: block; padding: 7px 0; font-size: 14px; font-weight: 500; line-height: 1.25; }
.dhs-all-services { display: flex; justify-content: space-between; align-items: center; padding: 13px 0 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.dhs-services-panel a:focus-visible { outline: 2px solid #1866A3; outline-offset: 3px; }
.dhs-services-panel a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }

/* Long estimate forms scroll with their page instead of leaving a pinned gap. */
.page-grid > .estimate-box { position: static; top: auto; }

/* Shared native FAQ rows. Keep these scoped away from the Services dropdown. */
.faq { margin-top: 56px; }
.faq > details, details.city-faq {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 0;
}
.faq > details:last-child, details.city-faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq > details > summary, details.city-faq > summary {
  display: block;
  position: relative;
  min-height: 60px;
  padding: 18px 38px 18px 0;
  color: var(--charcoal);
  font-family: var(--brand-body);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
.faq > details > summary::-webkit-details-marker, details.city-faq > summary::-webkit-details-marker { display: none; }
.faq > details > summary::marker, details.city-faq > summary::marker { content: ""; }
.faq > details > summary::after, details.city-faq > summary::after {
  content: "";
  position: absolute;
  right: 7px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background: linear-gradient(var(--orange),var(--orange)) center / 12px 2px no-repeat,
              linear-gradient(var(--orange),var(--orange)) center / 2px 12px no-repeat;
}
.faq > details[open] > summary::after, details.city-faq[open] > summary::after { background-size: 12px 2px, 0 0; }
.faq > details > summary:hover, details.city-faq > summary:hover { background-color: var(--soft); }
.faq > details > summary:focus-visible, details.city-faq > summary:focus-visible { outline: 3px solid #1866A3; outline-offset: 3px; }
.faq > details > p, details.city-faq > p {
  margin: 0;
  padding: 0 38px 18px 0;
  color: #555;
  font-size: inherit;
  line-height: 1.6;
}
.faq > details:not([open]) > :not(summary), details.city-faq:not([open]) > :not(summary) { display: none; }

/* No fixed call layer. Existing topbar and normal contact links are retained. */
.mobile-call, .campaign-mobile { display: none !important; }
@media (max-width: 900px) {
  body { padding-bottom: 0; }
  .site-header .navrow { height: auto; min-height: 90px; flex-wrap: wrap; }
  .site-header.is-nav-open { position: relative; top: auto; }
  .site-header .nav {
    position: static;
    display: none;
    flex-basis: 100%;
    width: 100%;
    inset: auto;
    transform: none;
    box-shadow: none;
    margin: 0;
    padding: 8px 0 20px;
    background: var(--paper);
  }
  .site-header .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header .nav > a { padding: 12px 0; }
  .site-header .nav > .button.button { align-self: flex-start; margin-top: 9px; padding: 12px 18px; }
  .dhs-services-toggle { justify-content: space-between; width: 100%; font-size: 16px; }
  .dhs-services-panel {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 15px;
    margin: 0 0 10px;
    box-shadow: none;
    border: 1px solid var(--line);
    border-left: 3px solid var(--orange);
    background: var(--soft);
  }
  .dhs-services-priority { gap: 12px; }
  .dhs-services-priority > a { gap: 8px; }
  .dhs-services-priority img { flex-basis: 28px; width: 28px; height: 28px; }
  .dhs-services-priority strong { font-size: 21px; }
  .dhs-services-priority small, .dhs-services-priority > a > svg { display: none; }
  .dhs-services-columns { gap: 14px; }
  .dhs-services-columns h3 { font-size: 10px; }
  .contact-layout > * { min-width: 0; }
  .contact-card a { overflow-wrap: anywhere; }
  .contact-booking-actions .button.button { font-size: 17px; }
}
@media (max-width: 600px) {
  .site-header .navrow { min-height: 76px; }
  .button.button { gap: 11px; padding: 14px 18px; }
  .button.button.ghost { padding: 12px 16px; }
  .contact-booking-actions .button.button { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .button.button::after, .dhs-services-toggle > svg { transition: none; }
}
