/* Shared palette and accessibility defaults for all customer-facing pages. */
:root {
  color-scheme: light;
  --red-solid: #b3202a;
  --red-on-dark: #ea4435;
  --red-on-raised: #ff4b3e;
  --red: var(--red-solid);
  --red-dark: #901a23;
  --red-hover: var(--red-dark);
  --ink: #171719;
  --muted: #56585e;
  --line: #d6d0c9;
  --paper: #f7f5f1;
  --surface: #fff;
  --soft-red: #fbecea;
  --substep: var(--red);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 5;
  padding: 8px 12px;
  background: var(--surface);
}
.skip:focus {
  top: 12px;
}
:root.dark {
  color-scheme: dark;
  --paper: #171719;
  --surface: #252528;
  --ink: #f5f3f0;
  --muted: #c7c5c4;
  --line: #646166;
  --soft-red: #382021;
  --red: var(--red-on-dark);
  --red-hover: var(--red-on-dark);
}

/* Raised dark surfaces need a brighter red for small text. */
:root.dark
  :is(.home-card, .card, .note, .information-notice, .da-cookie-dialog),
:root.dark .information-main button[data-cookie-settings] {
  --red: var(--red-on-raised);
  --red-hover: var(--red-on-raised);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared site chrome. The standalone homepage uses the same class contract as Header.astro. */
.site-header {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 16px 22px;
  background: #171719;
  color: #fff;
  font:
    400 16px/1.5 Inter,
    'Helvetica Neue',
    Arial,
    sans-serif;
  letter-spacing: normal;
}
.site-header__inner {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.site-header .site-logo {
  display: block;
  flex: none;
}
.site-logo__home {
  display: block;
  text-decoration: none;
}
.site-logo__image {
  display: block;
  width: 210px;
  height: auto;
}
.site-logo__tagline a {
  color: inherit;
  text-underline-offset: 3px;
}
.site-logo__tagline {
  display: block;
  padding-left: 43px;
  color: #d5d4d3;
  font:
    600 10px/1.5 Inter,
    'Helvetica Neue',
    Arial,
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: none;
}
.site-header__nav {
  display: none;
  flex-wrap: wrap;
  gap: 4px 20px;
  width: 100%;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
/* Call button styled like the amiable-page call CTA. */
.site-header__phone {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 44px;
  padding: 5px 14px;
  border: 2px solid var(--red-solid);
  border-radius: 6px;
  background: var(--red-solid);
  color: #fff;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.site-header__phone:hover {
  filter: brightness(0.92);
}
.site-header__phone:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.site-header__phone-number {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}
.site-header__phone small {
  font-size: 11px;
  font-weight: 500;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #d5d4d3;
  cursor: pointer;
}
.theme-toggle:hover {
  background: #303033;
  color: #fff;
}
.theme-toggle[hidden],
.theme-toggle [data-theme-icon='light'],
:root.dark .theme-toggle [data-theme-icon='dark'] {
  display: none;
}
:root.dark .theme-toggle [data-theme-icon='light'] {
  display: block;
}
@media (max-width: 399px) {
  .site-header {
    padding-inline: 16px;
  }
  .site-header__inner {
    gap: 12px;
  }
  .site-logo__image {
    width: 180px;
  }
  .site-logo__tagline {
    padding-left: 37px;
  }
}
@media (max-width: 599px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px 44px 44px;
    gap: 4px;
  }
  .site-header__actions {
    display: contents;
  }
  /* Compact icon-only call button; number and hours stay in its aria-label. */
  .site-header__phone {
    grid-column: 2;
    grid-row: 1;
    width: 44px;
    height: 44px;
    padding: 0;
  }
  .site-header__phone-label,
  .site-header__phone small {
    display: none;
  }
  .site-header__phone svg {
    width: 20px;
    height: 20px;
  }
  .theme-toggle {
    grid-column: 3;
    grid-row: 1;
  }
  .site-header__menu {
    grid-column: 4;
    grid-row: 1;
  }
}
.site-header__menu summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  list-style: none;
  cursor: pointer;
}
.site-header__menu summary::-webkit-details-marker {
  display: none;
}
.site-header__menu-icon {
  display: grid;
  gap: 5px;
  width: 24px;
}
.site-header__menu-icon span {
  height: 2px;
  background: #fff;
}
.site-header__menu[open] .site-header__menu-icon span:first-child {
  transform: translateY(7px) rotate(45deg);
}
.site-header__menu[open] .site-header__menu-icon span:nth-child(2) {
  visibility: hidden;
}
.site-header__menu[open] .site-header__menu-icon span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}
.site-header__menu .site-header__nav {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(280px, calc(100vw - 44px));
  padding: 12px 20px;
  border: 1px solid #646166;
  background: #171719;
  box-shadow: 0 12px 24px #0003;
}
.site-header .site-header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font:
    600 14px/1.5 Inter,
    'Helvetica Neue',
    Arial,
    sans-serif;
  text-decoration: none;
  text-underline-offset: 3px;
}
.site-header__nav a:hover,
.site-header__nav a[aria-current='page'] {
  text-decoration: underline;
}
.site-header__nav a[aria-current='page'] {
  color: var(--red-on-dark);
}
.site-header :focus-visible {
  outline: 3px solid var(--red-on-dark);
  outline-offset: 4px;
}
@media (min-width: 1200px) {
  .site-header {
    min-height: 96px;
    padding: 20px 40px;
  }
  .site-header__inner {
    max-width: 1160px;
  }
  .site-header__nav {
    display: flex;
    width: auto;
  }
  .site-header__menu {
    display: none;
  }
  .site-logo__image {
    width: 250px;
  }
  .site-logo__tagline {
    padding-left: 51px;
  }
}
:root.dark .site-header {
  background: #09090a;
}

/* FAQ accordion shared by the homepage and information pages. */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  padding: 20px 4px;
  font-weight: 600;
  cursor: pointer;
}
.faq-list details[open] summary {
  color: var(--red);
}
.faq-list details p {
  padding: 0 4px 20px;
  margin: 0;
  max-width: 750px;
  font-size: 15px;
}

@media print {
  .site-header {
    display: none;
  }
}

.brand-domain {
  text-transform: none;
}

.service-name {
  color: var(--red);
  text-transform: none;
}
