/* KalecheVærk — teknisk værkstedsflade */
:root {
  --background: #EEEEEC;
  --ink: #141414;
  --accent: #1D4ED8;
  --heading-font: "JetBrains Mono", monospace;
  --body-font: "Source Sans 3", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
  color: var(--ink);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1.05rem;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(var(--ink), var(--ink)) 2rem 0 / 1px 100% no-repeat,
    linear-gradient(var(--ink), var(--ink)) calc(100% - 2rem) 0 / 1px 100% no-repeat;
  opacity: 0.12;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

h1,
h2,
h3,
.brand,
.section-code,
.status-location,
.status-badge,
dt,
th,
.step-number,
.log-meta,
.footer-links,
summary,
.primary-action,
.secondary-action {
  font-family: var(--heading-font);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 22ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.status-strip {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) auto minmax(18rem, 1fr);
  align-items: center;
  gap: 1rem;
  width: min(100% - 4rem, 88rem);
  margin: 1.25rem auto 0;
  border: 2px solid var(--ink);
  background: var(--background);
}

.brand,
.status-location,
.status-badge {
  min-height: 3.3rem;
  display: flex;
  align-items: center;
  padding: 0.65rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-transform: uppercase;
}

.brand {
  font-size: 1rem;
  text-decoration: none;
}

.status-location {
  justify-content: center;
  border-right: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  white-space: nowrap;
}

.status-badge {
  justify-self: end;
  margin: 0.35rem;
  min-height: auto;
  border: 2px solid var(--accent);
  color: var(--accent);
  transform: rotate(-0.6deg);
}

main {
  width: min(100% - 4rem, 88rem);
  margin: 0 auto 2rem;
}

section {
  scroll-margin-top: 1rem;
}

.dispatch-shell {
  margin-top: 1.25rem;
  border: 4px solid var(--ink);
  background: var(--background);
}

.dispatch-heading {
  display: grid;
  grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1.45fr);
  gap: 2rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  border-bottom: 2px solid var(--ink);
}

.section-code {
  display: inline-block;
  align-self: start;
  width: fit-content;
  padding: 0.35rem 0.5rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.letter-copy {
  max-width: 70rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-bottom: 2px solid var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.letter-copy p:not(.signoff) {
  max-width: 64ch;
}

.signoff {
  margin: 2rem 0 0;
  font-family: var(--heading-font);
  font-size: 0.95rem;
  line-height: 1.8;
}

.signoff strong {
  display: inline-block;
  font-size: 1.15rem;
}

.dispatch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  border-bottom: 2px solid var(--ink);
}

.scope-spec {
  margin: 0;
  border-right: 2px solid var(--ink);
}

.scope-spec > div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--ink);
}

.scope-spec > div:last-child {
  border-bottom: 0;
}

dt,
dd {
  margin: 0;
  padding: 1rem 1.2rem;
}

dt {
  border-right: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

dd {
  overflow-wrap: anywhere;
}

.direct-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
}

.primary-action,
.secondary-action {
  display: block;
  padding: 1rem;
  border: 2px solid var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.primary-action {
  background: var(--ink);
  color: var(--background);
}

.primary-action:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--background);
}

.secondary-action:hover {
  border-color: var(--accent);
}

.text-link {
  width: fit-content;
  font-family: var(--heading-font);
  font-size: 0.78rem;
  font-weight: 600;
}

.service-table-wrap {
  padding: clamp(1.25rem, 4vw, 3rem);
}

.service-table-wrap h2 {
  margin-bottom: 1rem;
}

.service-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.service-table th,
.service-table td {
  padding: 0.9rem 1rem;
  border: 1px solid var(--ink);
  text-align: left;
  vertical-align: top;
}

.service-table th {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.service-table th:first-child,
.service-table td:first-child {
  width: 46%;
}

.service-table th:nth-child(2),
.service-table td:nth-child(2) {
  width: 20%;
}

.steps-section {
  margin-top: 1.25rem;
  border: 2px solid var(--ink);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(12rem, 0.55fr) minmax(0, 1.45fr);
  gap: 2rem;
  align-items: start;
  padding: 1.5rem;
  border-bottom: 2px solid var(--ink);
}

.section-heading-row h2 {
  margin: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step {
  min-width: 0;
  padding: 1.5rem;
  border-right: 1px solid var(--ink);
}

.step:last-child {
  border-right: 0;
}

.step-number {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 700;
}

.step p {
  margin-bottom: 0;
}

.log-section {
  display: grid;
  grid-template-columns: minmax(13rem, 0.42fr) minmax(0, 1.58fr);
  margin-top: 1.25rem;
  border: 2px solid var(--ink);
}

.log-meta {
  padding: 1.5rem;
  border-right: 2px solid var(--ink);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

blockquote {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
}

blockquote p {
  max-width: 62ch;
  margin-bottom: 1.25rem;
  font-family: var(--heading-font);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  line-height: 1.45;
}

blockquote footer {
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(17rem, 0.75fr) minmax(0, 1.25fr);
  margin-top: 1.25rem;
  border: 2px solid var(--ink);
}

.contact-main {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-right: 2px solid var(--ink);
}

.contact-main h2 {
  margin-top: 1.5rem;
}

address {
  display: grid;
  gap: 0.35rem;
  margin-top: 2rem;
  font-family: var(--heading-font);
  font-size: 0.9rem;
  font-style: normal;
}

.legal-panel {
  min-width: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 1.25rem;
  border-bottom: 2px solid var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

details {
  border-bottom: 1px solid var(--ink);
}

details:last-child {
  border-bottom: 0;
}

summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

details[open] summary {
  color: var(--accent);
}

details p {
  max-width: 65ch;
  margin: 0;
  padding: 0 1.25rem 1.25rem;
}

@media (max-width: 900px) {
  .status-strip {
    grid-template-columns: 1fr 1fr;
  }

  .status-location {
    justify-content: flex-end;
    border-right: 0;
  }

  .status-badge {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
    border-top: 2px solid var(--ink);
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:nth-child(2) {
    border-right: 0;
  }

  .step:nth-child(-n+2) {
    border-bottom: 1px solid var(--ink);
  }
}

@media (max-width: 640px) {
  body::before {
    display: none;
  }

  .status-strip,
  main {
    width: calc(100% - 1.5rem);
  }

  .status-strip,
  .dispatch-heading,
  .dispatch-grid,
  .section-heading-row,
  .steps-grid,
  .log-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .status-location {
    justify-content: flex-start;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .status-badge {
    grid-column: auto;
    justify-content: flex-start;
    margin: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    transform: none;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .dispatch-heading {
    gap: 1.5rem;
  }

  .scope-spec {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .scope-spec > div {
    grid-template-columns: 1fr;
  }

  dt {
    padding-bottom: 0.4rem;
    border-right: 0;
  }

  dd {
    padding-top: 0.4rem;
  }

  .service-table-wrap {
    overflow-x: auto;
  }

  .service-table {
    min-width: 42rem;
  }

  .steps-grid .step {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .steps-grid .step:last-child {
    border-bottom: 0;
  }

  .step-number {
    margin-bottom: 1rem;
  }

  .log-meta,
  .contact-main {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .footer-links {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


/* --- Multi-Page Universal Styles --- */
.multipage-site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.header-brand {
  font-family: JetBrains Mono;
  font-size: 1.35rem;
  font-weight: 800;
  color: #EEEEEC;
  text-decoration: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}
.site-nav a.nav-link {
  color: #444;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.site-nav a.nav-link:hover,
.site-nav a.nav-link.active {
  color: #141414;
  border-bottom-color: #141414;
}
.header-tel-cta {
  background: #141414;
  color: #ffffff !important;
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}
.subpage-hero-banner {
  background: #1D4ED8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2.75rem 1.25rem 2.25rem;
}
.subpage-container {
  max-width: 1080px;
  margin: 0 auto;
}
.subpage-breadcrumbs {
  font-size: 0.84rem;
  color: #777;
  margin-bottom: 0.75rem;
}
.subpage-breadcrumbs a {
  color: #EEEEEC;
  text-decoration: none;
}
.subpage-breadcrumbs .breadcrumb-current {
  color: #555;
  font-weight: 600;
}
.subpage-hero-title {
  font-family: JetBrains Mono;
  font-size: 2.35rem;
  color: #EEEEEC;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}
.subpage-hero-subtitle {
  color: #666;
  font-size: 1.05rem;
  margin: 0;
}
.subpage-section {
  padding: 3.5rem 1.25rem;
}
.subpage-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.subpage-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.subpage-card h3 {
  margin-top: 0;
  color: #EEEEEC;
  font-size: 1.25rem;
}
.srv-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.srv-price-badge {
  background: #1D4ED8;
  color: #EEEEEC;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}
.subpage-action-btn {
  display: inline-block;
  background: #EEEEEC;
  color: #ffffff;
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-top: 0.5rem;
}
.subpage-highlight-banner {
  background: #fafaf8;
  border-left: 4px solid #141414;
  padding: 1.5rem 1.75rem;
  border-radius: 0 8px 8px 0;
  margin-top: 2rem;
}
.subpage-highlight-banner h3 {
  margin: 0 0 0.35rem 0;
  color: #EEEEEC;
}
.subpage-story-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  margin-bottom: 2rem;
}
.story-lead {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.6;
}
.story-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.story-badge {
  background: #1D4ED8;
  color: #EEEEEC;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
}
.subpage-guarantee-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.subpage-guarantee-box h3 {
  margin-top: 0;
  color: #EEEEEC;
}
.subpage-testimonial-card {
  background: #fdfdfc;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  position: relative;
}
.testimonial-mark {
  font-size: 3rem;
  color: #141414;
  line-height: 1;
  display: block;
  margin-bottom: -0.75rem;
}
.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: #333;
  margin: 0 0 0.75rem 0;
}
.testimonial-author {
  font-size: 0.88rem;
  color: #666;
  font-weight: 600;
  margin: 0;
}
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.timeline-step {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 1.5rem;
}
.step-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: #141414;
  margin-bottom: 0.5rem;
}
.timeline-step h3 {
  margin: 0 0 0.4rem 0;
  color: #EEEEEC;
  font-size: 1.1rem;
}
.timeline-step p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.45;
}
.pricing-table-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.pricing-table-header {
  background: #fafaf8;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.pricing-table-header h2 {
  margin: 0 0 0.35rem 0;
  color: #EEEEEC;
}
.pricing-rows-wrapper {
  padding: 0.5rem 2rem;
}
.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.pricing-row:last-child {
  border-bottom: 0;
}
.pricing-rate {
  font-weight: 700;
  color: #141414;
}
.pricing-footer-cta {
  padding: 1.25rem 2rem 1.75rem;
  text-align: center;
}
.subpage-cta-solid {
  display: inline-block;
  background: #141414;
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-weight: 700;
}
.emergency-hero-card {
  background: #ffffff;
  border: 2px solid #e02b2b;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.emergency-pill {
  display: inline-block;
  background: #e02b2b;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.emergency-hero-card h2 {
  margin: 0 0 0.5rem 0;
  color: #EEEEEC;
  font-size: 2rem;
}
.emergency-lead {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.emergency-call-btn {
  display: inline-block;
  background: #e02b2b;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
}
.guarantee-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-weight: 600;
  color: #444;
}
.contact-highlight-link {
  font-size: 1.35rem;
  font-weight: 800;
  color: #141414;
  text-decoration: none;
}
.contact-directions-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 600;
  color: #EEEEEC;
  text-decoration: underline;
}
@media (max-width: 640px) {
  .multipage-site-header .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .site-nav {
    justify-content: center;
    gap: 0.65rem;
  }
  .subpage-hero-title {
    font-size: 1.85rem;
  }
  .process-timeline {
    grid-template-columns: 1fr;
  }
  .subpage-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* --- Interactive Features Styling --- */
    :root {
      --it-pri: #EEEEEC;
      --it-acc: #141414;
      --it-bg: #1D4ED8;
      --it-card-bg: #ffffff;
      --it-border: rgba(0, 0, 0, 0.12);
      --it-font: JetBrains Mono;
    }
    .interactive-section {
      padding: 3.5rem 1.25rem;
      border-top: 1px solid var(--it-border);
      position: relative;
    }
    .interactive-inner {
      max-width: 960px;
      margin: 0 auto;
    }
    .interactive-heading {
      text-align: center;
      margin-bottom: 2.5rem;
    }
    .interactive-heading h2 {
      font-family: var(--it-font);
      font-size: 2rem;
      margin: 0 0 0.5rem 0;
      color: var(--it-pri);
    }
    .interactive-heading p {
      color: #666;
      font-size: 1.05rem;
      margin: 0;
    }
    /* Service Filter Tabs */
    .service-category-filter-bar {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.6rem;
      margin: 1.5rem 0 2rem;
    }
    .service-tab-btn {
      background: #ffffff;
      border: 1px solid var(--it-border);
      color: #444;
      padding: 0.55rem 1.15rem;
      border-radius: 999px;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
      font-family: inherit;
    }
    .service-tab-btn:hover {
      border-color: var(--it-pri);
      color: var(--it-pri);
      transform: translateY(-1px);
    }
    .service-tab-btn.active {
      background: var(--it-pri);
      color: #ffffff;
      border-color: var(--it-pri);
      box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    }
    .service-card-item {
      transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .service-card-item.is-filtered-out {
      display: none !important;
      opacity: 0;
      transform: scale(0.96);
    }
    /* FAQ Accordion */
    .faq-accordion-list {
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }
    .faq-item {
      background: var(--it-card-bg);
      border: 1px solid var(--it-border);
      border-radius: 8px;
      overflow: hidden;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .faq-item[open] {
      border-color: var(--it-acc);
      box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    }
    .faq-summary {
      padding: 1.1rem 1.4rem;
      font-weight: 600;
      font-size: 1.05rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      list-style: none;
      user-select: none;
      color: var(--it-pri);
    }
    .faq-summary::-webkit-details-marker {
      display: none;
    }
    .faq-icon {
      font-size: 1.3rem;
      line-height: 1;
      color: var(--it-acc);
      transition: transform 0.25s ease;
    }
    .faq-item[open] .faq-icon {
      transform: rotate(45deg);
    }
    .faq-body {
      padding: 0 1.4rem 1.25rem;
      color: #444;
      line-height: 1.6;
      border-top: 1px solid rgba(0,0,0,0.05);
      margin-top: 0.5rem;
      padding-top: 0.8rem;
    }
    /* Estimator Widget */
    .estimator-panel {
      background: var(--it-card-bg);
      border: 1px solid var(--it-border);
      border-radius: 12px;
      padding: 2rem;
      box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    }
    .estimator-step {
      margin-bottom: 1.8rem;
    }
    .estimator-step-title {
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--it-pri);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin: 0 0 0.9rem;
    }
    .estimator-chips-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 0.75rem;
    }
    .estimator-chip {
      background: #fafafa;
      border: 1.5px solid var(--it-border);
      border-radius: 8px;
      padding: 0.9rem 1.1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-family: inherit;
      text-align: left;
      transition: all 0.2s ease;
    }
    .estimator-chip:hover {
      border-color: var(--it-acc);
      background: #ffffff;
      transform: translateY(-1px);
    }
    .estimator-chip.active {
      border-color: var(--it-acc);
      background: rgba(0, 102, 204, 0.05);
      box-shadow: 0 0 0 1px var(--it-acc);
    }
    .chip-name {
      font-weight: 600;
      color: #222;
      font-size: 0.92rem;
    }
    .chip-price {
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--it-acc);
      white-space: nowrap;
      margin-left: 0.5rem;
    }
    .estimator-multipliers {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
    }
    .multiplier-btn {
      background: #ffffff;
      border: 1px solid var(--it-border);
      padding: 0.6rem 1.1rem;
      border-radius: 6px;
      font-size: 0.88rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.18s ease;
      font-family: inherit;
      color: #555;
    }
    .multiplier-btn:hover {
      border-color: var(--it-pri);
      color: var(--it-pri);
    }
    .multiplier-btn.active {
      background: var(--it-pri);
      color: #ffffff;
      border-color: var(--it-pri);
    }
    .estimator-summary-card {
      background: #f8f9fa;
      border-top: 2px solid var(--it-acc);
      border-radius: 8px;
      padding: 1.4rem 1.6rem;
      margin-top: 1.5rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 1.25rem;
    }
    .estimator-summary-label {
      display: block;
      font-size: 0.85rem;
      text-transform: uppercase;
      font-weight: 700;
      color: #666;
      margin-bottom: 0.25rem;
    }
    .est-range {
      font-family: var(--it-font);
      font-size: 1.75rem;
      font-weight: 800;
      color: var(--it-pri);
    }
    .estimator-disclaimer {
      font-size: 0.8rem;
      color: #888;
      margin: 0.3rem 0 0;
    }
    .estimator-cta-button {
      background: var(--it-acc);
      color: #ffffff;
      text-decoration: none;
      padding: 0.85rem 1.6rem;
      border-radius: 8px;
      font-weight: 700;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      transition: transform 0.18s ease, filter 0.18s ease;
    }
    .estimator-cta-button:hover {
      transform: translateY(-2px);
      filter: brightness(1.08);
      color: #ffffff;
    }
    @media (max-width: 640px) {
      .estimator-summary-card {
        flex-direction: column;
        align-items: flex-start;
      }
      .estimator-cta-button {
        width: 100%;
        justify-content: center;
      }
    }

    /* Google Map in Contact Section */
    .interactive-map-section {
      margin-top: 2rem;
      margin-bottom: 1.5rem;
      width: 100%;
      box-sizing: border-box;
    }
    .map-container {
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid var(--it-border);
      background: #ffffff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }
    .map-header {
      padding: 1.1rem 1.25rem 0.85rem;
      background: #fafaf8;
      border-bottom: 1px solid var(--it-border);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 0.75rem;
    }
    .map-header-text {
      flex: 1 1 240px;
    }
    .map-header-action {
      flex: 0 0 auto;
    }
    .map-badge {
      display: inline-block;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 0.2rem 0.6rem;
      border-radius: 4px;
      background: var(--it-acc);
      color: #ffffff;
      margin-bottom: 0.4rem;
    }
    .map-title {
      margin: 0.2rem 0 0.15rem;
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--it-pri);
      font-family: var(--it-font);
    }
    .map-address {
      margin: 0;
      font-size: 0.9rem;
      color: #666666;
      line-height: 1.4;
    }
    .map-directions-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.5rem 0.95rem;
      font-size: 0.84rem;
      font-weight: 600;
      color: var(--it-pri);
      background: #ffffff;
      border: 1px solid var(--it-border);
      border-radius: 6px;
      text-decoration: none;
      transition: all 0.18s ease;
      font-family: inherit;
    }
    .map-directions-btn:hover {
      background: var(--it-acc);
      color: #ffffff;
      border-color: var(--it-acc);
    }
    .map-frame-wrapper {
      position: relative;
      width: 100%;
      height: 320px;
      background: #f0ede8;
    }
    .map-frame-wrapper iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }
    @media (max-width: 640px) {
      .map-frame-wrapper {
        height: 240px;
      }
    }

    /* Mobile Sticky Contact Bar */
    .mobile-sticky-bar {
      display: none;
    }
    @media (max-width: 640px) {
      .mobile-sticky-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99999;
        font-family: var(--it-font);
        box-sizing: border-box;
      }
      .mobile-bar-inner {
        display: flex;
        gap: 0.6rem;
        align-items: center;
        justify-content: space-between;
      }
      .mobile-bar-btn {
        flex: 1 1 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        padding: 0.75rem 0.9rem;
        font-size: 0.92rem;
        font-weight: 700;
        text-decoration: none;
        border-radius: 8px;
        transition: transform 0.15s ease, filter 0.15s ease;
        box-sizing: border-box;
        text-align: center;
      }
      .mobile-bar-btn:active {
        transform: scale(0.98);
      }

      /* Style: docked */
      .bar-style-docked {
        background: #111111;
        padding: 0.65rem 1rem env(safe-area-inset-bottom, 0.65rem);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
      }
      .bar-style-docked .mobile-btn-call {
        background: var(--it-acc);
        color: #ffffff;
      }
      .bar-style-docked .mobile-btn-dir {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
      }

      /* Style: pill */
      .bar-style-pill {
        padding: 0 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
        background: transparent;
      }
      .bar-style-pill .mobile-bar-inner {
        background: #ffffff;
        padding: 0.5rem;
        border-radius: 999px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
        border: 1px solid var(--it-border);
      }
      .bar-style-pill .mobile-btn-call {
        background: var(--it-pri);
        color: #ffffff;
        border-radius: 999px;
      }
      .bar-style-pill .mobile-btn-dir {
        background: #f2f2f0;
        color: var(--it-pri);
        border-radius: 999px;
      }

      /* Style: accent */
      .bar-style-accent {
        background: #ffffff;
        padding: 0.65rem 1rem env(safe-area-inset-bottom, 0.65rem);
        border-top: 2px solid var(--it-acc);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
      }
      .bar-style-accent .mobile-btn-call {
        background: var(--it-acc);
        color: #ffffff;
      }
      .bar-style-accent .mobile-btn-dir {
        background: #ffffff;
        color: var(--it-pri);
        border: 1px solid var(--it-border);
      }

      /* Style: minimal */
      .bar-style-minimal {
        padding: 0 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
        background: transparent;
      }
      .bar-style-minimal .mobile-bar-inner {
        background: rgba(20, 20, 20, 0.94);
        backdrop-filter: blur(8px);
        padding: 0.55rem;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.1);
      }
      .bar-style-minimal .mobile-btn-call {
        background: #ffffff;
        color: #111111;
        border-radius: 8px;
      }
      .bar-style-minimal .mobile-btn-dir {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
        border-radius: 8px;
      }

      body {
        padding-bottom: 72px;
      }
    }

/* --- Google Consent Mode v2 - Cookie Banner --- */
#cookie-consent-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  background: #181818;
  color: #f5f5f5;
  padding: 1.15rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.45;
  box-sizing: border-box;
}
.cookie-banner-content {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1 1 480px;
}
.cookie-banner-text strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
  color: #ffffff;
}
.cookie-banner-text p {
  margin: 0;
  color: #d1d1d1;
  font-size: 0.84rem;
}
.cookie-banner-text a {
  color: #ffffff;
  text-decoration: underline;
  margin-left: 0.25rem;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  border: 0;
  cursor: pointer;
  padding: 0.55rem 1.15rem;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: inherit;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.cookie-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.cookie-btn-accept {
  background: #ffffff;
  color: #111111;
}
.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}
@media (max-width: 640px) {
  #cookie-consent-banner {
    padding: 1rem;
  }
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .cookie-banner-actions {
    justify-content: stretch;
  }
  .cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 680px) {
.status-strip {
  grid-template-columns: 1fr;
}
.dispatch-heading {
  grid-template-columns: 1fr;
}
.dispatch-grid {
  grid-template-columns: 1fr;
}
.scope-spec > div {
  grid-template-columns: 1fr;
}
.section-heading-row {
  grid-template-columns: 1fr;
}
.steps-grid {
  grid-template-columns: 1fr;
}
.log-section {
  grid-template-columns: 1fr;
}
.contact-section {
  grid-template-columns: 1fr;
}
body {
  overflow-wrap: break-word;
}
video, svg, canvas, img {
  height: auto;
  max-width: 100%;
}
table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
iframe {
  height: auto;
  max-width: 100%;
}
}
