:root {
    --black: #2a1c1c;
    --panel: #382626;
    --panel-2: #422d2d;
    --red: #b11d23;
    --red-bright: #d4242c;
    --white: #ffffff;
    --soft: #efe6e6;
    --grey: #b9a5a5;
    --line: #4d3737;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: var(--black);
    color: var(--soft);
    line-height: 1.6;
    overflow-x: hidden;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

  /* Scroll reveal */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    details::details-content { transition: none; }
    .card-slide .cs-detail { transition: none; }
    .btn::after { display: none; }
    .hero::before, .cta-band::before { animation: none; }
  }

  /* Header */
  header.site {
    position: sticky; top: 0; z-index: 40;
    background: rgba(42,28,28,.94);
    backdrop-filter: blur(6px);
    border-bottom: 3px solid var(--red);
  }
  .hrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 13px; padding-bottom: 13px; }
  .hrow .brand img { height: 40px; width: auto; }
  nav.site { display: flex; gap: 26px; flex-wrap: wrap; }
  nav.site a {
    text-decoration: none; font-size: 12.5px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--grey);
    position: relative; padding: 4px 0;
  }
  nav.site a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
    background: var(--red-bright); transition: width .25s ease;
  }
  nav.site a:hover { color: var(--white); }
  nav.site a:hover::after { width: 100%; }
  .hcall {
    display: inline-block; background: var(--red); color: var(--white);
    font-weight: 700; font-size: 14px; text-decoration: none; padding: 10px 18px;
    border-radius: 2px; transition: background .2s ease, transform .2s ease;
  }
  .hcall:hover { background: var(--red-bright); transform: translateY(-1px); }

  /* Hero */
  .hero { padding: 64px 0 50px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
  .hero .eyebrow {
    color: var(--red-bright); font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
    font-size: 13px; margin-bottom: 14px;
  }
  .hero h1 {
    font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -0.015em;
    color: var(--white); margin-bottom: 16px;
  }
  .hero h1 .rx { color: var(--red-bright); }
  .hero .tag { color: var(--soft); font-style: italic; font-size: clamp(17px, 2vw, 21px); margin-bottom: 18px; }
  .hero p.lead { color: var(--grey); max-width: 560px; }
  .cta-row { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
  .btn {
    display: inline-block; padding: 13px 24px; font-weight: 700; font-size: 15px;
    text-decoration: none; border-radius: 2px; cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-red { background: var(--red); color: var(--white); border: 2px solid var(--red); }
  .btn-red:hover { background: var(--red-bright); border-color: var(--red-bright); }
  .btn-ghost { border: 2px solid var(--line); color: var(--soft); background: transparent; }
  .btn-ghost:hover { border-color: var(--red-bright); color: var(--white); }
  .hero-img { position: relative; }
  .hero-gallery {
    position: relative; overflow: hidden; border: 1px solid var(--line);
    height: clamp(280px, 30vw, 380px); background: var(--panel);
  }
  .hslide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
  .hslide.on { opacity: 1; pointer-events: auto; }
  .hslide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); }
  .hslide.on img { transform: scale(1.12); transition: transform 6s ease-out; }
  .hero-nav { margin-top: 10px; justify-content: center; }
  @media (max-width: 760px) { .hero-gallery { height: 250px; } }

  /* Trust strip */
  .trust {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line);
  }
  .trust .t { background: var(--panel); padding: 18px 20px; transition: background .2s ease; }
  .trust .t:hover { background: var(--panel-2); }
  .trust .t h4 { color: var(--white); font-size: 14.5px; margin-bottom: 3px; }
  .trust .t h4 .dot { color: var(--red-bright); }
  .trust .t p { font-size: 13px; color: var(--grey); }

  section { padding: 56px 0; }
  section[id], div[id='estimator'] { scroll-margin-top: 92px; }
  .sec-label {
    color: var(--red-bright); font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
    font-size: 12.5px; margin-bottom: 10px;
  }
  .sec-title { font-size: clamp(24px, 3vw, 32px); color: var(--white); margin-bottom: 8px; }
  .sec-note { color: var(--grey); font-size: 15px; margin-bottom: 24px; }

  /* Carousel */
  .carousel-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
  .swipe-hint { font-size: 13px; color: var(--grey); letter-spacing: .06em; }
  .carousel {
    display: flex; gap: 16px; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
    padding: 6px 2px 18px; scrollbar-width: none;
  }
  .carousel::-webkit-scrollbar { display: none; }
  .card-slide {
    flex: 0 0 262px; scroll-snap-align: start;
    border: 1px solid var(--line); background: var(--panel);
    display: flex; flex-direction: column; min-height: 300px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  }
  .card-slide:hover { transform: translateY(-5px); border-color: var(--red-bright); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
  .card-slide .cs-top { padding: 20px 20px 0; flex: 1; }
  .card-slide .cs-badge {
    display: inline-block; background: var(--red); color: var(--white);
    font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    padding: 3px 10px; margin-bottom: 10px;
  }
  .card-slide h3 { font-size: 19px; line-height: 1.25; margin-bottom: 6px; color: var(--white); }
  .card-slide .cs-line { font-size: 14px; color: var(--grey); min-height: 62px; }
  .card-slide .cs-price { color: var(--red-bright); font-weight: 800; font-size: 21px; margin: 12px 0 0; }
  .card-slide .cs-price small { display: block; font-size: 12.5px; font-weight: 600; color: var(--grey); margin-top: 2px; }
  .card-slide .cs-btn {
    display: block; margin: 16px 20px 20px; padding: 11px 0; text-align: center;
    background: var(--black); color: var(--white); text-decoration: none;
    font-weight: 700; font-size: 14px; letter-spacing: .04em; border: 1px solid var(--line);
    transition: background .2s ease, border-color .2s ease;
  }
  .card-slide .cs-btn:hover { background: var(--red); border-color: var(--red); }
  .card-slide.featured { background: var(--panel-2); border: 2px solid var(--red); }
  .card-slide.featured .cs-btn { background: var(--red); border-color: var(--red); }
  .card-slide.featured .cs-btn:hover { background: var(--red-bright); }
  .carousel { align-items: flex-start; }
  .card-slide { cursor: pointer; }
  .card-slide.open { border-color: var(--red-bright); }
  .card-slide .cs-more { margin: 8px 20px 0; padding: 0 0 14px; background: none; border: none; color: var(--red-bright); font: inherit; font-size: 13px; font-weight: 700; text-align: left; cursor: pointer; }
  .card-slide .cs-more::after { content: ' +'; }
  .card-slide.open .cs-more::after { content: ' \2212'; }
  .card-slide .cs-detail { display: block; max-height: 0; opacity: 0; overflow: hidden; padding: 0 20px; font-size: 13.5px; line-height: 1.55; color: var(--grey); transition: max-height .9s cubic-bezier(.25,.9,.3,1), opacity .6s ease, padding-bottom .8s ease; }
  .card-slide.open .cs-detail { transition-duration: .4s, .3s, .35s; }
  .card-slide.open .cs-detail { max-height: 420px; opacity: 1; padding-bottom: 18px; }
  .card-slide .cs-detail a { color: var(--red-bright); font-weight: 700; display: inline-block; margin-top: 8px; }
  .carousel-nav { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
  .carousel-nav .arrow {
    width: 40px; height: 40px; border: 2px solid var(--line); background: transparent;
    font-size: 16px; cursor: pointer; line-height: 1; color: var(--soft);
    transition: border-color .2s ease, color .2s ease;
  }
  .carousel-nav .arrow:hover { border-color: var(--red-bright); color: var(--red-bright); }
  .dots { display: flex; gap: 7px; }
  .dots .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); cursor: pointer; transition: background .2s ease; }
  .dots .dot.active { background: var(--red-bright); }

  /* Care plan */
  .careplan { border: 1px solid var(--line); background: var(--panel); }
  .careplan .cp-head {
    background: var(--red); color: var(--white); padding: 18px 26px;
    display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  }
  .careplan .cp-head h3 { font-size: 22px; letter-spacing: .04em; }
  .careplan .cp-head .badge {
    background: var(--white); color: var(--red); font-weight: 700; font-size: 12px;
    letter-spacing: .14em; text-transform: uppercase; padding: 4px 12px;
  }
  .careplan .cp-head p { width: 100%; font-size: 15px; opacity: .95; }
  .cp-body { display: grid; grid-template-columns: 1fr 1fr; }
  .cp-list { padding: 26px; border-right: 1px solid var(--line); }
  .cp-list h4 { color: var(--red-bright); margin-bottom: 12px; font-size: 16px; }
  .cp-list ul { list-style: none; }
  .cp-list li { padding: 6px 0 6px 24px; position: relative; font-size: 15px; }
  .cp-list li::before { content: "•"; color: var(--red-bright); position: absolute; left: 4px; font-weight: 700; }
  .cp-price { padding: 26px; }
  .cp-toggle { display: inline-flex; border: 1px solid var(--line); margin-bottom: 14px; }
  .cp-toggle button {
    background: transparent; color: var(--grey); border: none; cursor: pointer;
    font-weight: 700; font-size: 13px; letter-spacing: .06em; padding: 8px 16px;
    transition: background .2s ease, color .2s ease;
  }
  .cp-toggle button.on { background: var(--red); color: var(--white); }
  .cp-price .big { color: var(--red-bright); font-size: 36px; font-weight: 800; line-height: 1.1; }
  .cp-price .per { font-weight: 700; color: var(--white); margin: 4px 0 12px; }
  .cp-price .detail { font-size: 14px; color: var(--grey); margin-bottom: 8px; }
  .cp-price .covers { font-weight: 700; font-size: 14px; color: var(--soft); }
  .cp-price .launch { font-size: 13px; color: var(--grey); font-style: italic; margin-top: 10px; }

  /* Estimator */
  .estimator { border: 1px solid var(--line); background: var(--panel); padding: 30px; }
  .est-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
  .estimator input[type=range] { width: 100%; accent-color: var(--red); height: 34px; cursor: pointer; }
  .est-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--grey); }
  .est-count { color: var(--white); font-weight: 800; font-size: 44px; line-height: 1; }
  .est-count small { font-size: 15px; color: var(--grey); font-weight: 600; }
  .est-result { background: var(--black); border: 1px solid var(--line); padding: 22px 24px; }
  .est-result .band { color: var(--grey); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
  .est-result .price { color: var(--red-bright); font-size: 32px; font-weight: 800; margin: 4px 0 8px; }
  .est-result .note { font-size: 13px; color: var(--grey); }

  /* Fire doors trio + detail */
  .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
  .trio .cell { padding: 24px; background: var(--panel); transition: background .2s ease; }
  .trio .cell:hover { background: var(--panel-2); }
  .trio .from { color: var(--red-bright); font-size: 27px; font-weight: 800; }
  .trio .name { font-weight: 700; margin: 4px 0 2px; color: var(--white); }
  .trio .desc { font-size: 14px; color: var(--grey); }
  .fineprint { font-size: 14px; color: var(--grey); font-style: italic; margin-top: 14px; }
  .door-detail { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .dd-drop summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .dd-drop summary::-webkit-details-marker { display: none; }
  .dd-drop summary h4 { margin-bottom: 0; }
  .dd-drop[open] summary { margin-bottom: 8px; }
  .dd-drop[open] .dc-chev { transform: rotate(180deg); }
  .door-detail h4 { color: var(--red-bright); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
  .door-detail p, .door-detail li { font-size: 14.5px; color: var(--grey); }
  .door-detail ul { list-style: none; }
  .door-detail li { padding: 5px 0; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dotted var(--line); }
  .door-detail li span:last-child { font-weight: 700; color: var(--soft); white-space: nowrap; }

  /* Services grid */
  .services { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
  .services .svc { padding: 22px 24px; background: var(--black); transition: background .2s ease; }
  .services .svc:hover { background: var(--panel); }
  .services h4 { color: var(--red-bright); font-size: 16.5px; margin-bottom: 4px; }
  .services .svc p { font-size: 14.5px; color: var(--grey); }
  .services .price { font-weight: 700; font-size: 14.5px; margin-top: 6px; color: var(--soft); }
  .svc-accordion summary { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .svc-accordion .svc-name { color: var(--red-bright); font-weight: 700; }
  .svc-accordion .svc-right { margin-left: auto; white-space: nowrap; }
  .svc-accordion .svc-price-inline { color: var(--soft); font-weight: 700; font-size: 14px; }
  .svc-accordion .fa a { display: inline-block; margin-top: 10px; }

  /* Interactive tools: quiz, stepper, calculator, door check, FAQ search */
  .quiz, .steps4, .cp-calc, .doorcheck, .faq-search-wrap { border: 1px solid var(--line); background: var(--panel); padding: 26px 26px 30px; }
  .q-q { font-weight: 800; font-size: 18px; margin: 0 0 14px; color: var(--white); }
  .q-opts { display: grid; gap: 10px; }
  .q-opts button { text-align: left; padding: 14px 16px; background: var(--panel-2); border: 1px solid var(--line); color: var(--white); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
  .q-opts button:hover { border-color: var(--red-bright); background: rgba(177,29,35,.12); }
  .q-progress { display: flex; gap: 6px; margin-bottom: 18px; }
  .q-progress span { flex: 1; height: 4px; background: var(--line); }
  .q-progress span.done { background: var(--red-bright); }
  .q-result h3 { color: var(--white); margin: 0 0 12px; }
  .q-result ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
  .q-result li { border-left: 3px solid var(--red-bright); padding: 4px 0 4px 12px; color: var(--grey); font-size: 14.5px; }
  .q-result li b { color: var(--white); display: block; font-size: 15.5px; }
  .q-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
  .q-link { background: none; border: none; color: var(--grey); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
  /* stepper */
  .steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .st { padding: 18px 16px; background: var(--panel-2); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s ease, background .2s ease; }
  .st .n { color: var(--grey); font-weight: 800; font-size: 13px; letter-spacing: .08em; }
  .st h4 { margin: 6px 0 6px; color: var(--white); font-size: 16.5px; }
  .st p { margin: 0; color: var(--grey); font-size: 13.5px; line-height: 1.45; }
  .st.active { border-color: var(--red-bright); background: rgba(177,29,35,.14); }
  .st.active .n { color: var(--red-bright); }
  .steps4-note { margin: 12px 0 0; font-size: 12.5px; color: var(--grey); }
  /* calculator */
  .cp-calc { margin-top: 18px; }
  .cp-calc h4 { margin: 0 0 4px; color: var(--white); }
  .cp-calc .cc-sub { color: var(--grey); font-size: 13.5px; margin: 0 0 18px; }
  .cc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
  .cc-row label { display: flex; justify-content: space-between; color: var(--soft); font-size: 14px; font-weight: 700; margin-bottom: 6px; }
  .cc-row label output { color: var(--red-bright); }
  .cc-row input[type=range] { width: 100%; accent-color: var(--red); height: 30px; cursor: pointer; }
  .cc-addon { grid-column: 1 / -1; }
  .cc-addon label { display: flex; align-items: baseline; gap: 10px; cursor: pointer; justify-content: flex-start; margin-bottom: 0; }
  .cc-addon input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--red); cursor: pointer; position: relative; top: 2px; }
  .cc-addon small { display: block; color: var(--grey); font-size: 12.5px; font-weight: 400; }
  .cc-toggle { display: flex; align-items: center; gap: 10px; color: var(--soft); font-size: 14px; font-weight: 700; }
  .cc-toggle input { width: 20px; height: 20px; accent-color: var(--red); }
  .cc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
  .cc-box { border: 1px solid var(--line); padding: 16px; background: var(--panel-2); }
  .cc-box .k { color: var(--grey); font-size: 13px; font-weight: 700; }
  .cc-box .v { color: var(--white); font-size: 24px; font-weight: 800; margin-top: 4px; }
  .cc-box.plan { border-color: var(--red-bright); }
  .cc-box.plan .v { color: var(--red-bright); }
  .cc-verdict { margin: 14px 0 0; color: var(--soft); font-size: 14.5px; font-weight: 600; }
  .cc-note { margin: 10px 0 0; color: var(--grey); font-size: 12.5px; }
  /* door check */
  .doorcheck { margin-top: 22px; }
  details.doorcheck summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
  details.doorcheck summary::-webkit-details-marker { display: none; }
  details.doorcheck summary h3 { margin: 0 0 4px; }
  details.doorcheck summary .dc-sub { margin: 0; }
  .dc-chev { color: var(--red-bright); font-size: 22px; line-height: 1; transition: transform .2s ease; }
  details.doorcheck[open] .dc-chev { transform: rotate(180deg); }
  details.doorcheck > p.dc-sub { margin-top: 14px; }
  /* Learn tabs */
  .learn-tabs { border: 1px solid var(--line); background: var(--panel); }
  .tab-btns { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .tab-btn { flex: 1 1 auto; padding: 17px 18px; background: none; border: none; border-right: 1px solid var(--line); color: var(--grey); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background .15s ease, color .15s ease; }
  .tab-btn:last-child { border-right: none; }
  .tab-btn:hover { color: var(--white); background: var(--panel-2); }
  .tab-btn.active { color: var(--white); background: rgba(177,29,35,.14); box-shadow: inset 0 -3px 0 var(--red-bright); }
  .tab-pane { display: none; }
  .tab-pane.active { display: block; }
  .tab-pane .faq { border-top: none; }
  .tab-pane .fa a { color: var(--red-bright); font-weight: 700; }
  .tab-pane .fa .src { margin-top: 10px; font-size: 12.5px; opacity: .8; }
  @media (max-width: 640px) { .tab-btn { flex: 1 1 50%; font-size: 13.5px; padding: 14px 10px; } }
  /* Reminder dropdown */
  details.reminder { margin-top: 18px; border: 1px solid var(--line); background: var(--panel); }
  details.reminder summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; color: var(--soft); font-size: 15px; font-weight: 700; }
  details.reminder summary::-webkit-details-marker { display: none; }
  details.reminder summary .pm { color: var(--red-bright); font-size: 20px; font-weight: 800; transition: transform .25s ease; }
  details.reminder[open] summary .pm { transform: rotate(45deg); }
  .rem-form { padding: 0 22px 20px; }
  .rem-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 12px; }
  .rem-grid input, .rem-grid select { width: 100%; padding: 13px 14px; background: var(--panel-2); border: 1px solid var(--line); color: var(--white); font: inherit; font-size: 15px; }
  .rem-note { margin: 12px 0 0; color: var(--grey); font-size: 12.5px; }
  @media (max-width: 760px) { .rem-grid { grid-template-columns: 1fr; } }
  .doorcheck h3 { margin: 0 0 4px; color: var(--white); }
  .doorcheck .dc-sub { color: var(--grey); font-size: 13.5px; margin: 0 0 16px; }
  .dc-items { display: grid; gap: 8px; }
  .dc-item { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; background: var(--panel-2); border: 1px solid var(--line); color: var(--white); font: inherit; font-size: 14.5px; cursor: pointer; transition: border-color .15s ease; }
  .dc-item .box { flex: 0 0 20px; height: 20px; border: 2px solid var(--grey); display: inline-flex; align-items: center; justify-content: center; color: transparent; font-size: 13px; }
  .dc-item.ok { border-color: #2e7d4f; }
  .dc-item.ok .box { border-color: #2e7d4f; background: #2e7d4f; color: #fff; }
  .dc-item.ok .box::before { content: '\2713'; }
  .dc-result { margin: 16px 0 0; color: var(--soft); font-weight: 700; font-size: 15px; }
  .dc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
  /* faq search */
  .faq-search-wrap { padding: 16px 18px; margin-bottom: 18px; }
  .faq-search-wrap input { width: 100%; padding: 13px 14px; background: var(--panel-2); border: 1px solid var(--line); color: var(--white); font: inherit; font-size: 15px; }
  .faq-search-wrap input:focus { outline: none; border-color: var(--red-bright); }
  .faq-count { color: var(--grey); font-size: 13px; margin: 8px 0 0; min-height: 1em; }
  @media (max-width: 760px) {
    .steps4 { grid-template-columns: 1fr 1fr; }
    .cc-grid, .cc-out { grid-template-columns: 1fr; }
    .quiz, .steps4, .cp-calc, .doorcheck, .faq-search-wrap { padding: 20px 18px 24px; }
  }

  /* Billboard band */
  .brand-band { position: relative; overflow: hidden; border: 1px solid var(--line); }
  .brand-band img { width: 100%; height: 320px; object-fit: cover; filter: brightness(.42); }
  .brand-band::after { content:''; position:absolute; inset:0; background: rgba(0,0,0,.28); pointer-events:none; }
  .brand-band .bb-text { z-index: 1; }
  .brand-band .bb-text {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; padding: 0 20px;
  }
  .brand-band .bb-text .l1 { color: #ff5a60; font-weight: 800; font-size: clamp(22px, 3.4vw, 36px); letter-spacing: .02em; text-shadow: 0 2px 18px rgba(0,0,0,1), 0 0 6px rgba(0,0,0,1), 0 1px 2px rgba(0,0,0,1); }
  .brand-band .bb-text .l2 { color: var(--white); font-weight: 800; font-size: clamp(22px, 3.4vw, 36px); letter-spacing: .02em; text-shadow: 0 2px 18px rgba(0,0,0,1), 0 0 6px rgba(0,0,0,1), 0 1px 2px rgba(0,0,0,1); }


  /* Gallery */
  .gallery {
    display: flex; gap: 16px; overflow-x: auto; align-items: flex-start;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
    padding: 6px 2px 18px; scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gslide {
    flex: 0 0 340px; scroll-snap-align: start;
    border: 1px solid var(--line); background: var(--panel);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  }
  .gslide:hover { transform: translateY(-5px); border-color: var(--red-bright); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
  .gslide img { width: 100%; height: 220px; object-fit: cover; display: block; }
  .gslide .g-cap { padding: 14px 16px; }
  .gslide .g-cap h4 { color: var(--white); font-size: 15px; }
  .gslide .g-cap p { color: var(--grey); font-size: 12.5px; margin-top: 2px; }
  @media (max-width: 760px) { .gslide { flex-basis: 280px; } .gslide img { height: 190px; } }

  /* Steps + cards3 */
  .cards3, .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
  .cards3 .card, .steps .step { padding: 22px 24px; background: var(--panel); transition: background .2s ease; }
  .cards3 .card:hover, .steps .step:hover { background: var(--panel-2); }
  .cards3 h4 { color: var(--red-bright); font-size: 15.5px; margin-bottom: 4px; }
  .cards3 p { font-size: 14.5px; color: var(--grey); }
  .steps .num { color: var(--red-bright); font-size: 32px; font-weight: 800; line-height: 1; }
  .steps h4 { margin: 6px 0 4px; font-size: 16px; color: var(--white); }
  .steps p { font-size: 14.5px; color: var(--grey); }


  /* Portfolio block */
  .portfolio { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; border: 1px solid var(--line); background: var(--panel); padding: 30px; }
  .portfolio h3 { color: var(--white); font-size: 21px; margin-bottom: 8px; }
  .portfolio p { color: var(--grey); font-size: 15px; }
  .portfolio .p-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .portfolio .p-stat { background: var(--black); border: 1px solid var(--line); padding: 16px 18px; }
  .portfolio .p-stat .v { color: var(--red-bright); font-weight: 800; font-size: 19px; }
  .portfolio .p-stat .k { color: var(--grey); font-size: 13px; }

  /* FAQ */
  .faq { border: 1px solid var(--line); }
  .faq details { border-bottom: 1px solid var(--line); background: var(--panel); }
  .faq details:last-child { border-bottom: none; }
  .faq summary {
    list-style: none; cursor: pointer; padding: 18px 24px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    color: var(--white); font-weight: 700; font-size: 15.5px;
    transition: background .2s ease;
  }
  .faq summary:hover { background: var(--panel-2); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary .pm { color: var(--red-bright); font-size: 20px; font-weight: 800; transition: transform .25s ease; }
  .faq details[open] summary .pm { transform: rotate(45deg); }
  .faq details .fa { padding: 0 24px 20px; color: var(--grey); font-size: 14.5px; max-width: 760px; }

  /* Terms */
  .terms { background: var(--panel); border: 1px solid var(--line); padding: 28px 30px; }
  .terms ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; }
  .terms li { padding: 5px 0 5px 22px; position: relative; font-size: 15px; color: var(--soft); }
  .terms li::before { content: "•"; color: var(--red-bright); position: absolute; left: 4px; font-weight: 700; }

  /* Quote form */
  .quotebox { border: 1px solid var(--line); background: var(--panel); }
  .quotebox .q-head { background: var(--red); color: var(--white); padding: 18px 26px; }
  .quotebox .q-head h3 { font-size: 20px; }
  .quotebox .q-head p { font-size: 14.5px; opacity: .92; }
  .quotebox form { padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .quotebox .full { grid-column: 1 / -1; }
  .quotebox label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin-bottom: 5px; }
  .quotebox input, .quotebox select, .quotebox textarea {
    width: 100%; padding: 12px; font-size: 15px; font-family: inherit;
    border: 1px solid var(--line); background: var(--black); color: var(--soft);
    transition: border-color .2s ease;
  }
  .quotebox input:focus, .quotebox select:focus, .quotebox textarea:focus { outline: none; border-color: var(--red-bright); }
  .quotebox textarea { resize: vertical; min-height: 90px; }
  .quotebox .hp { display: none; }
  .quotebox .q-alt { font-size: 13.5px; color: var(--grey); }
  .quotebox .q-alt a { color: var(--red-bright); }

  /* CTA band */
  .cta-band { background: var(--red); color: var(--white); padding: 30px 28px; text-align: center; }
  .cta-band .big { font-weight: 700; font-size: 19px; margin-bottom: 8px; }
  .cta-band .contacts { font-size: 17px; }
  .cta-band a { color: var(--white); text-decoration: none; font-weight: 700; }
  .cta-band .contacts a[href^='tel'] { white-space: nowrap; }
  @media (max-width: 760px) {
    .cta-band .contacts { display: flex; flex-direction: column; gap: 8px; }
    .cta-band .contacts .sep { display: none; }
  }
  .cta-band a:hover { text-decoration: underline; }
  .cta-band .sep { margin: 0 14px; opacity: .7; }

  footer { padding: 44px 0 100px; border-top: 3px solid var(--red); margin-top: 56px; }
  footer .foot-box { max-width: 460px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; text-align: center; }
  footer img { height: 44px; width: auto; margin: 0 auto; }
  footer .fbrand span { display: block; letter-spacing: .5em; font-size: 10px; margin-top: 4px; color: var(--grey); }
  footer .fcontact { font-size: 14.5px; line-height: 1.9; text-align: center; margin-top: 14px; }
  footer .fcontact a { text-decoration: none; color: var(--soft); }
  footer .fcontact a:hover { color: var(--red-bright); }
  footer .legal { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--grey); line-height: 1.8; }

  /* Sticky mobile action bar */
  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none;
    background: var(--panel); border-top: 3px solid var(--red);
  }
  .actionbar a { flex: 1; text-align: center; padding: 14px 4px; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--soft); }
  .actionbar a.primary { background: var(--red); color: var(--white); }
  .actionbar a + a { border-left: 1px solid var(--line); }
  @media (max-width: 860px) { .actionbar { display: flex; } body { padding-bottom: 54px; } }

  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 44px; }
    .hero-img { max-width: 460px; }
    .trust { grid-template-columns: 1fr 1fr; }
    .trust .t { padding: 12px 14px; }
    .trust .t h4 { font-size: 13px; }
    .trust .t p { font-size: 12px; }
  }
  @media (max-width: 760px) {
    .cp-body { grid-template-columns: 1fr; }
    .cp-list { border-right: none; border-bottom: 1px solid var(--line); }
    .trio { grid-template-columns: 1fr; }
    .services { grid-template-columns: 1fr; }
    .cards3, .steps { grid-template-columns: 1fr; }
    .door-detail { grid-template-columns: 1fr; }
    .terms ul { grid-template-columns: 1fr; }
    .quotebox form { grid-template-columns: 1fr; }
    .est-grid { grid-template-columns: 1fr; }
    .portfolio { grid-template-columns: 1fr; }
    .card-slide { flex-basis: 236px; }
    nav.site { display: none; }
  }

  /* Multi-page nav: active page + mobile row (nav was hidden on mobile) */
  nav.site a.here { color: var(--white); }
  nav.site a.here::after { width: 100%; }
  @media (max-width: 860px) {
    .hrow { flex-wrap: wrap; }
    nav.site { display: flex; order: 3; width: 100%; gap: 18px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  }

  @media (max-width: 560px) {
    .svc-accordion summary { display: block; }
    .svc-accordion .svc-name { display: block; }
    .svc-accordion .svc-right { display: inline-block; margin: 3px 0 0; white-space: nowrap; }
  }

  /* Cross-page links */
  .cs-link { display: inline-block; margin-top: 8px; color: var(--soft); font-weight: 700; font-size: 14px; text-decoration: none; }
  .cs-link:hover { color: var(--white); }
  p.xlinks { margin-top: 14px; font-size: 14px; line-height: 1.7; }
  p.xlinks a { color: var(--red-bright); font-weight: 700; text-decoration: none; }
  p.xlinks a:hover { text-decoration: underline; }
  .related { margin-top: 6px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; display: flex; gap: 16px; flex-wrap: wrap; align-items: baseline; font-size: 14px; }
  .related span { color: var(--soft); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
  .related a { color: var(--red-bright); font-weight: 700; text-decoration: none; }
  .related a:hover { text-decoration: underline; }

  /* ---------- v15: liquid motion touches ---------- */

  /* Smooth open AND close for every dropdown (details) */
  :root { interpolate-size: allow-keywords; }
  details::details-content {
    block-size: 0; overflow: clip; opacity: 0; transform: translateY(-8px);
    transition: block-size .45s cubic-bezier(.25,.9,.3,1),
                opacity .3s ease,
                transform .45s cubic-bezier(.25,.9,.3,1),
                content-visibility .45s allow-discrete;
  }
  details[open]::details-content { block-size: auto; opacity: 1; transform: none; }

  /* Liquid sheen sweep across buttons on hover */
  .btn { position: relative; overflow: hidden; }
  .btn::after {
    content: ''; position: absolute; inset: -2px; pointer-events: none;
    background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.22) 50%, transparent 58%);
    transform: translateX(-130%) skewX(-8deg);
    transition: transform .65s cubic-bezier(.3,.7,.3,1);
  }
  .btn:hover::after, .btn:focus-visible::after { transform: translateX(130%) skewX(-8deg); }

  /* Springier, fluid hover on service cards */
  .card-slide { transition: transform .4s cubic-bezier(.34,1.4,.64,1), border-color .2s ease, box-shadow .4s ease; }

  /* Slow liquid glow drifting behind the hero text */
  .hero { position: relative; overflow: clip; }
  .hero::before {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    width: 480px; height: 480px; left: -80px; top: 10px;
    background: radial-gradient(circle at 42% 42%, rgba(177,29,35,.30), rgba(177,29,35,0) 62%);
    border-radius: 44% 56% 58% 42% / 46% 42% 58% 54%;
    filter: blur(38px);
    animation: liquidMorph 14s ease-in-out infinite alternate;
  }
  @keyframes liquidMorph {
    0%   { border-radius: 44% 56% 58% 42% / 46% 42% 58% 54%; transform: translate(0,0) scale(1) rotate(0deg); }
    50%  { border-radius: 56% 44% 42% 58% / 42% 58% 46% 54%; transform: translate(26px,14px) scale(1.08) rotate(8deg); }
    100% { border-radius: 48% 52% 54% 46% / 54% 46% 52% 48%; transform: translate(-12px,22px) scale(.96) rotate(-6deg); }
  }

  /* ---------- v17: expert polish (distinctive type + depth) ---------- */

  /* Distinctive font pairing: Space Grotesk for headings, Public Sans for body */
  h1, h2, h3, h4, .svc-accordion .svc-name, .card-slide h3, .eyebrow,
  .btn, nav.site a, .cs-price, .svc-price-inline, .svc-right, summary {
    font-family: "Space Grotesk", "Public Sans", "Helvetica Neue", Arial, sans-serif;
  }
  h1, h2, h3, h4 { letter-spacing: -0.015em; }
  .eyebrow { letter-spacing: .18em; }
  .cs-price, .svc-price-inline, .svc-right, .price, td, th { font-variant-numeric: tabular-nums; }

  /* Depth: gentle warm gradient instead of flat background */
  body {
    background:
      radial-gradient(1200px 700px at 85% -10%, rgba(177,29,35,.07), rgba(177,29,35,0) 60%),
      linear-gradient(180deg, #1d1313 0%, var(--black) 420px);
    background-attachment: fixed;
  }

  /* Depth: soft top-edge light on panels and cards, gentle shadow on hero image */
  .card-slide, .related, .panel, details, .t-item {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
  }
  details[open] { box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 10px 28px rgba(0,0,0,.25); }
  .hero-gallery { box-shadow: 0 24px 60px rgba(0,0,0,.45); }

  /* ---------- v18: softened corners, one radius scale (like safety signage) ---------- */

  /* Controls: buttons, inputs, option chips */
  .btn, .q-opts button, .cp-toggle, .dc-item, .st,
  input, select, textarea, .faq-search-wrap input, .rem-grid input, .rem-grid select {
    border-radius: 10px;
  }

  /* Cards and dropdowns */
  .card-slide, details, .cc-box, .est-result, .p-stat,
  .quiz, .steps4, .cp-calc, .doorcheck, .faq-search-wrap,
  .estimator, .careplan, .learn-tabs, .faq, .portfolio, details.reminder {
    border-radius: 14px;
  }

  /* Segmented panels (1px hairline grids): round the outer edge only, clip flush cells */
  .trio, .services, .cards3, .steps {
    border-radius: 14px;
    overflow: hidden;
  }

  /* Media */
  .hero-gallery, .portfolio img, .brand-band {
    border-radius: 16px;
  }
  .hero-gallery { overflow: hidden; }
  .hero-gallery img { border-radius: 0; }

  /* v18 audit pass: remaining square controls */
  .carousel-nav .arrow { border-radius: 10px; }
  .trust .t { border-radius: 12px; }
  .card-slide .cs-badge { border-radius: 5px; }

  /* ---------- v19: DESIGN.md critique pass (Impeccable-style audit) ---------- */

  /* 1. Anchor deep-links were landing behind the sticky header */
  [id] { scroll-margin-top: 96px; }

  /* 2. Containers with red header blocks: round the container, clip the header to it */
  .quotebox { border-radius: 14px; overflow: hidden; }
  .careplan { overflow: hidden; }

  /* 3. Red call-to-action band joins the 16px panel tier */
  .cta-band { border-radius: 16px; }

  /* 4. Header call button joins the 10px control tier */
  .hcall { border-radius: 10px; }

  /* 5. Harmonise the related-links strip with the 14px card tier */
  .related { border-radius: 14px; }

  /* ---------- v20: stacked-accordion corner fix + canvas colour ---------- */

  /* Stacked FAQ/service rows: square inner joins, rounding only on the container */
  .faq { overflow: hidden; }
  .faq details { border-radius: 0; }

  /* Paint the canvas itself so overscroll never flashes white */
  html { background: var(--black); }

  /* ---------- v21: even card rows + corner consistency ---------- */

  /* Equal-height cards in both carousels: tops and bottom link rows line up */
  .carousel, .gallery { align-items: stretch; }
  .gslide { display: flex; flex-direction: column; }
  .gslide .g-cap { flex: 1; }

  /* Trust strip: round the container and clip the cells, not the other way round */
  .trust { border-radius: 14px; overflow: hidden; }
  .trust .t { border-radius: 0; }

  /* Gallery cards join the 14px card tier (image clipped flush) */
  .gslide { border-radius: 14px; overflow: hidden; }
  .gslide img { border-radius: 0; }

  /* Card CTA button joins the 10px control tier */
  .card-slide .cs-btn { border-radius: 10px; }

  /* Terms box on Learn joins the 14px panel tier */
  .terms { border-radius: 14px; }

  /* Estimator: existing price bands as a selectable-looking strip under the slider */
  .est-bands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 22px; }
  .est-bands .eb { background: var(--panel); padding: 14px 16px; transition: background .2s ease; }
  .est-bands .eb h4 { color: var(--white); font-size: 14px; margin-bottom: 2px; }
  .est-bands .eb-p { color: var(--red-bright); font-weight: 800; font-size: 16px; margin: 0; }
  .est-bands .eb.on { background: rgba(177,29,35,.14); }
  @media (max-width: 900px) { .est-bands { grid-template-columns: 1fr 1fr; } }

  /* FAQ: fixed-height scroll window with edge fade, so the list never takes over the page */
  #faq .faq { max-height: 416px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22px, #000 calc(100% - 22px), transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 22px, #000 calc(100% - 22px), transparent); }
  #faq .faq::-webkit-scrollbar { display: block; width: 6px; }
  #faq .faq::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
  #faq .faq::-webkit-scrollbar-track { background: transparent; }

  /* Breathing room between the sticky header line and the first block on inner pages
     (index untouched: its first .wrap child is the hero, not a section) */
  .wrap > section:first-child { padding-top: 30px !important; }

  /* Equal heights across the services stat-card row */
  .portfolio .p-stats { grid-auto-rows: 1fr; }
