/* Compliance + polish layer. Uses the site's own design tokens. */

.linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.footer-grid { align-items: start; row-gap: 1.75rem; }
.footer-desc { max-width: 30ch; opacity: .8; }
.footer-hours { font-size: var(--step-small); opacity: .75; margin-top: .5rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-bottom: .9rem; }
.footer-legal { font-size: var(--step-small); line-height: 1.65; max-width: 52ch; }
.footer-legal p { margin: 0 0 .6rem; opacity: .8; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: .4rem 0 .8rem; }
.footer-legal a, .footer-legal .linkish { text-decoration: underline; text-underline-offset: 3px; }
.copyright { opacity: .6; }

/* Prices */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}
.price-grid li {
  border: 1px solid color-mix(in srgb, var(--color-neutral-dark) 14%, transparent);
  border-radius: var(--radius-image);
  padding: 1.15rem 1.25rem;
  background: color-mix(in srgb, var(--color-neutral-light) 55%, #fff);
}
.price-grid strong { display: block; font-size: 1.05rem; }
.price-amount { display: block; font-size: 1.5rem; font-weight: 700; margin: .35rem 0 .5rem; }
.price-grid p { font-size: var(--step-small); opacity: .8; margin: 0; }
.price-note { font-size: var(--step-small); opacity: .75; margin-top: 1rem; }

/* Legal identity strip */
.legal-strip {
  border-left: 3px solid var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 7%, #fff);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-image) var(--radius-image) 0;
  font-size: var(--step-small);
}
.legal-strip p { margin: 0 0 .5rem; }
.legal-strip p:last-child { margin: 0; }

/* Cookie banner v2 */
.cookie_box[hidden] { display: none; }
.cookie_box.show { display: block; animation: cb-in .22s ease-out; }
@keyframes cb-in { from { opacity: 0; transform: translateY(10px); } }
.cookie_box-inner { max-width: 60rem; margin: 0 auto; }
.cookie_box p a { text-decoration: underline; }
.cb-btn {
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  padding: .6rem 1.1rem;
  font: inherit;
  font-size: var(--step-small);
  font-weight: 600;
  cursor: pointer;
}
.cb-primary { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.cb-secondary { background: transparent; color: var(--color-neutral-light); border-color: currentColor; }
.cb-ghost { background: transparent; color: var(--color-neutral-light); text-decoration: underline; }
.cb-choices { margin-top: 1rem; display: grid; gap: .55rem; font-size: var(--step-small); }
.cb-choices[hidden] { display: none; }
.cb-choices label { display: flex; align-items: center; gap: .6rem; }
.cb-choices input { inline-size: 1.05rem; block-size: 1.05rem; accent-color: var(--color-primary); }
.cb-choices-buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }

/* Forms */
.lead-status { margin-top: 1rem; font-size: var(--step-small); }
.lead-status[hidden] { display: none; }
.lead-status.ok { color: var(--color-primary); }
.lead-status.err { color: #b91c1c; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--step-small); }
.form-consent input { margin-top: .25rem; }
[data-lead][aria-busy="true"] { opacity: .7; pointer-events: none; }

/* Legal pages */
.legal-page { max-width: 68ch; }
.legal-page h2 { margin-top: 2.25rem; }
.legal-page p, .legal-page li { line-height: 1.7; }
.legal-page table { width: 100%; border-collapse: collapse; font-size: var(--step-small); margin: 1rem 0; }
.legal-page th, .legal-page td { text-align: left; border-bottom: 1px solid color-mix(in srgb, var(--color-neutral-dark) 15%, transparent); padding: .5rem .4rem; vertical-align: top; }
.legal-updated { font-size: var(--step-small); opacity: .7; }

/* 404 */
.nf { padding-block: var(--section-padding); max-width: 46ch; }
.nf h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
.nf-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
/* Mobile nav toggle */
.nav-toggle {
  min-width: 44px;
  flex: 0 0 auto;
  justify-content: center;
  display: none; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--color-neutral-dark) 22%, transparent);
  background: transparent; cursor: pointer; font-size: 1.35rem; line-height: 1;
  color: currentColor;
}
.nav-toggle[aria-expanded="true"] { background: color-mix(in srgb, var(--color-neutral-dark) 8%, transparent); }
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { flex-wrap: nowrap; align-items: center; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: .15rem;
    background: #fff; border-top: 1px solid color-mix(in srgb, var(--color-neutral-dark) 12%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--color-neutral-dark) 12%, transparent);
    padding: .75rem 1.25rem 1rem; box-shadow: 0 12px 24px -18px rgba(0,0,0,.45);
    display: none; z-index: 40;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .55rem 0; font-size: 1rem; }
  .site-header { position: relative; }
  .nav-toggle { order: 3; }
  .locale-switch { order: 2; margin-left: auto; padding-right: .75rem; }
}

/* Hero facts + secondary CTA */
.hero-facts {
  display: flex; flex-wrap: wrap; gap: .4rem .9rem;
  margin: 1rem 0 1.25rem; font-size: var(--step-small); letter-spacing: .01em;
}
.hero-facts span { display: inline-flex; align-items: center; gap: .35rem; opacity: .85; }
.hero-facts span + span { position: relative; }
.hero-facts span + span::before {
  content: ""; position: absolute; left: -.5rem; top: 50%; width: 3px; height: 3px;
  border-radius: 50%; background: currentColor; opacity: .5; transform: translateY(-50%);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.button.ghost {
  background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 35%, transparent);
}
.button.ghost:hover { box-shadow: inset 0 0 0 1px currentColor; }

/* Mobile hardening */
@media (max-width: 899px) {
  .site-header .site_logo img { height: 44px; width: auto; max-width: 60vw; }
  .site_logo { flex: 0 1 auto; min-width: 0; }
  .cookie_box { max-width: calc(100vw - 2rem); }
  .cookie_box p, .cookie_box label { overflow-wrap: anywhere; }
}
@media (max-width: 520px) {
  .cookie_box { left: .5rem; right: .5rem; bottom: .5rem; padding: 1rem; }
  .cookie_box-buttons { gap: .5rem; }
  .cookie_box-buttons button { flex: 1 1 auto; }
}
html, body { overflow-x: clip; }
