/* R4fx additions on top of the Dormatic template: estimate calculator, forms.
   Carried over from the previous static site; colours are shared with color.css. */
:root {
  --sign: #0D5C41; --sky: #E2EAED; --asphalt: #232A2D; --concrete: #EDF0EC; --paper: #FFFFFF; --amber: #F2B53A;
  --sign-deep: #0A4A34; --steel: #76838A; --line: #D3DAD5; --line-strong: #C3CCC6; --field: #7F8D85;
  --body: #3A4641; --muted: #56625C; --error: #B42318; --tint: #F7F9F7;
  --font-display: "Barlow", "Segoe UI", Arial, sans-serif; --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --header-h: 72px; --gutter: clamp(16px, 4vw, 40px); --focus: #1B2427;
}
[hidden] { display: none !important; }
/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--sign); color: #fff; }
.btn-secondary { background: transparent; color: var(--sign); border-color: var(--sign); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--sign-deep); color: #fff; }
  .btn-secondary:hover { background: var(--sign); color: #fff; }
}
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 0.9375rem; border-radius: 8px; }
.btn-xs { min-height: 40px; padding: 0 14px; font-size: 0.875rem; border-radius: 8px; border-width: 1.5px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.is-added { background: var(--sign-deep); border-color: var(--sign-deep); color: #fff; }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none;
  background: #fff; color: var(--asphalt); border: 1.5px solid var(--line-strong); border-radius: 8px; cursor: pointer;
}
.icon-btn .icon { width: 20px; height: 20px; }
.link-btn {
  padding: 6px 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--asphalt); }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--asphalt); }
.brand:hover { color: var(--asphalt); }
.mark { display: inline-block; flex: none; background: var(--sign); border-radius: 8px; padding: 3px; }
.mark-face {
  display: block; border: 2px solid #fff; border-radius: 6px; padding: 6px 9px 5px;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; line-height: 1;
  letter-spacing: 0.01em;
}
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; line-height: 1.15; }
.pictogram {
  display: grid; place-items: center; flex: none; width: 56px; height: 56px;
  background: var(--sign); color: #fff; border-radius: 12px;
}
.pictogram .icon { width: 30px; height: 30px; }
.service-name { font-weight: 700; font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.012em; }
.service-desc { font-size: 1.0625rem; line-height: 1.65; color: var(--body); }
.service-note {
  margin-top: 16px; padding: 4px 0 4px 14px; border-left: 3px solid var(--amber);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; line-height: 1.45; color: var(--asphalt);
}
.ticks { list-style: none; padding: 0; margin-bottom: 20px; display: grid; gap: 10px; }
.ticks li {
  position: relative; padding-left: 20px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.975rem; line-height: 1.4; color: var(--asphalt);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 8px; height: 8px;
  background: var(--sign); border-radius: 2px;
}
.service-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.service-link {
  font-family: var(--font-display); font-weight: 700; font-size: 0.975rem; line-height: 1.4;
  color: var(--sign); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.service-link-quiet { font-weight: 600; color: var(--muted); text-decoration-thickness: 1px; }

/* Pricing */
.pricing { background: var(--paper); }
.pricing-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 36px); }
.pricing-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  background: #fff; color: var(--asphalt); border: 1.5px solid var(--line-strong); border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; text-decoration: none;
}
.pricing-nav a:hover { color: var(--sign); border-color: var(--sign); }
.rate-cards { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.rate-card {
  padding: clamp(20px, 3vw, 36px); background: var(--concrete); border-radius: 18px;
}
.rate-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.rate-title { font-weight: 800; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.15; letter-spacing: -0.015em; }
.rate-summary { margin-top: 6px; max-width: 70ch; font-size: 1rem; line-height: 1.55; color: var(--body); }
.packages { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.package {
  display: flex; flex-direction: column; gap: 10px; padding: 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
}
.package-name { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; line-height: 1.25; }
.package-desc { font-size: 0.975rem; line-height: 1.55; color: var(--body); }
.package-buy { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price {
  font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1;
  letter-spacing: -0.015em; font-variant-numeric: tabular-nums; color: var(--asphalt);
}
.price-unit { display: block; margin-top: 6px; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0; color: var(--muted); }
.buy-controls, .addon-controls { display: flex; align-items: flex-end; gap: 10px; }
.qty-field { display: grid; gap: 4px; }
.qty-field label { font-family: var(--font-display); font-weight: 600; font-size: 0.75rem; line-height: 1.2; color: var(--muted); }
.qty-field input {
  width: 84px; min-height: 40px; padding: 6px 10px;
  font-family: var(--font-display); font-size: 1rem; color: var(--asphalt);
  background: #fff; border: 1.5px solid var(--field); border-radius: 8px;
}
.addons { margin-top: 22px; padding: 18px 20px 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.addons-title { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.addons-hint { margin-top: 2px; font-family: var(--font-display); font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
.addon-list { list-style: none; padding: 0; margin-top: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.addon {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "controls controls";
  align-items: center; gap: 8px 14px; padding: 14px 0; border-top: 1px solid var(--line);
}
.addon-name { grid-area: name; font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; line-height: 1.35; }
.addon-price { grid-area: price; font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.addon-controls { grid-area: controls; justify-content: flex-end; }
.rate-quote { margin-top: 16px; font-family: var(--font-display); font-size: 0.9375rem; line-height: 1.5; color: var(--body); }
.rate-quote a { font-weight: 700; }

.terms {
  margin-top: clamp(24px, 3vw, 36px); padding: clamp(22px, 3vw, 36px);
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 18px;
}
.terms-title { font-weight: 800; font-size: 1.375rem; line-height: 1.2; margin-bottom: 14px; }
.terms-list { padding-left: 1.25em; display: grid; gap: 10px; max-width: 80ch; }
.terms-list li { font-size: 1rem; line-height: 1.6; color: var(--body); padding-left: 4px; }

.emergency-note {
  margin-top: 32px; padding: 4px 0 4px 14px; border-left: 3px solid var(--amber);
  font-family: var(--font-display); font-weight: 600; font-size: 0.975rem; line-height: 1.45; color: #fff;
}
.form-panel {
  --focus: #1B2427;
  padding: clamp(22px, 3.5vw, 40px); background: var(--paper); color: var(--asphalt); border-radius: 18px;
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .5);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; line-height: 1.3; color: var(--asphalt); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font-family: var(--font-display); font-size: 1rem; line-height: 1.4; color: var(--asphalt);
  background: #fff; border: 1.5px solid var(--field); border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232A2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #75817B; }
.field input:focus, .field select:focus, .field textarea:focus, .qty-field input:focus, .stepper input:focus {
  outline: none; border-color: var(--sign); box-shadow: 0 0 0 3px rgba(13, 92, 65, .25);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; line-height: 1.4; color: var(--error); }
.field-hint { font-family: var(--font-display); font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
.form-actions { margin-top: 6px; }

.form-status {
  margin-top: 20px; padding: 16px 18px; border-left: 4px solid var(--sign); border-radius: 10px;
  background: var(--concrete); font-family: var(--font-display); font-size: 0.9375rem; line-height: 1.5; color: var(--asphalt);
}
.form-status.is-error { border-left-color: var(--error); background: #FDF1EF; }
.form-status-title { font-weight: 700; font-size: 1rem; }
.form-status p + p { margin-top: 4px; }
.form-status-actions { margin-top: 12px; display: grid; gap: 10px; justify-items: start; }
.copy-box {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--field); border-radius: 8px;
  font-family: var(--font-display); font-size: 0.875rem; line-height: 1.45; color: var(--asphalt); background: #fff;
}




/* ---------- Dormatic layout fit ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

.main-header .logo-box .logo .brand { padding: 0; }
.brand-light, .brand-light:hover { color: #fff; }
.brand-text { text-transform: none; letter-spacing: 0; }
.top-phone { color: #fff; font-weight: 600; }
.top-phone i { margin-right: 8px; }
.top-phone:hover { color: var(--amber); }
.header-top .top-inner { min-height: 44px; }
.main-header .menu-right-content { display: flex; align-items: center; gap: 12px; }
.main-header .menu-right-content .btn-box { margin: 0; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.r4-hero { position: relative; overflow: hidden; background: #03070C; }
.r4-hero-image { position: absolute; inset: 0; background-size: cover; background-position: right center; }
.r4-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(3,7,12,.82) 0%, rgba(3,7,12,.5) 45%, rgba(3,7,12,0) 70%); }
.r4-hero .auto-container { position: relative; z-index: 2; }
.r4-hero .content-box { max-width: 680px; padding: 130px 0 150px; }
.r4-hero h5 { margin-bottom: 18px; color: var(--amber); font-size: 18px; font-weight: 600; letter-spacing: .01em; }
.r4-hero h1 { margin-bottom: 22px; color: #fff; font-size: 72px; line-height: 1.04; font-weight: 800; letter-spacing: -.02em; }
.r4-hero p { max-width: 540px; margin-bottom: 36px; color: #D7E0E4; font-size: 20px; line-height: 1.5; }
.r4-hero .btn-box { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.r4-hero-link { color: #fff; font-size: 17px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.r4-hero-link:hover { color: var(--amber); }
.r4-commitments { padding: 70px 0 30px; }
.r4-commitments .feature-block-one .inner-box { height: 100%; }
.r4-commitments .feature-block { display: flex; }
.r4-commitments .feature-block-one { width: 100%; }
.feature-block-one .icon i { font-size: 28px; }

/* About */
.about-section { padding-top: 80px; }
.content_block_1 .content-box .text h3 { font-size: 22px; line-height: 1.4; }

/* Services */
.r4-services { padding: 80px 0; background: var(--concrete); }
.r4-subhead { margin-top: 60px; }
.r4-service { height: calc(100% - 30px); margin-bottom: 30px; }
.r4-service .inner-box { height: 100%; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px -18px rgba(20, 32, 27, .35); }
.r4-service .lower-content { padding: 30px; }
.r4-service-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.r4-service-head h3 { margin: 0; font-size: 22px; line-height: 1.25; }
.r4-service .text p { margin-bottom: 14px; }
.service-note { padding: 2px 0 2px 12px; border-left: 3px solid var(--amber); font-weight: 600; }
.r4-ticks { margin: 0 0 18px; padding: 0; list-style: none; }
.r4-ticks li { position: relative; padding-left: 22px; margin-bottom: 4px; color: var(--body); }
.r4-ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--sign); font-weight: 800; }
.r4-service-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.r4-service-links a { color: var(--sign); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.assurance { margin-top: 6px; padding: 22px 26px; background: var(--sign); border-radius: 10px; color: #fff; }
.assurance p { margin: 0; color: #fff; }
.assurance-title { font-size: 20px; font-weight: 700; }

/* Who we serve */
.r4-audiences { padding: 80px 0 50px; }
.r4-audiences .chooseus-block-one .inner-box { margin-bottom: 30px; }
.r4-audiences .icon-box i { font-size: 34px; color: var(--sign); }

/* Pricing */
.r4-pricing { padding: 80px 0; background: var(--concrete); }
.pricing-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pricing-nav a { padding: 8px 14px; background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--asphalt); font-weight: 600; font-size: 15px; }
.pricing-nav a:hover { border-color: var(--sign); color: var(--sign); }
.rate-card { background: #fff; }
.rate-card p, .addon-name { margin-bottom: 0; }
.terms { margin-top: 32px; }

/* How it works */
.r4-process { padding: 80px 0 50px; }
.work-block-one .icon-box i { font-size: 34px; }

/* FAQ */
.r4-faq { padding: 80px 0; background: var(--concrete); }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; align-items: start; }
.qa { padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.qa summary { cursor: pointer; font-weight: 700; font-size: 17px; color: var(--asphalt); }
.qa p { margin: 10px 0 0; }

/* Contact */
.r4-contact { padding: 90px 0; background: var(--sign); color: #fff; }
.r4-contact .sec-title span, .r4-contact .sec-title h2 { color: #fff; }
.r4-contact-lead { color: rgba(255, 255, 255, .92); font-size: 18px; }
.contact-list { display: grid; gap: 16px; margin: 26px 0 0; }
.contact-list dt { font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .78); }
.contact-list dd { margin: 0; font-weight: 700; font-size: 19px; line-height: 1.35; color: #fff; }
.contact-list a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.emergency-note { margin: 28px 0 40px; }
.form-panel .field input, .form-panel .field select, .form-panel .field textarea { width: 100%; background: #fff; }
.field-error { margin: 0; color: var(--error); font-size: 14px; }
.field-hint { margin: 0; }
.form-status p { margin: 0; }
.r4-cta { padding: 60px 0; }


/* Legal pages */
.legal-content { padding: 70px 0 90px; }
.legal-body { max-width: 800px; margin: 0 auto; }
.legal-body h2 { margin: 32px 0 10px; font-size: 24px; }
.legal-body ul, .legal-body ol { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; list-style: inherit; }
.legal-body ul li { list-style: disc; }
.legal-body ol li { list-style: decimal; }
.legal-updated { color: var(--muted); font-size: 15px; }
.error-section { padding: 110px 0; }

@media (min-width: 1100px) {
  .addon { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "name price controls"; }
}
@media (max-width: 991px) {
  .r4-hero h1 { font-size: 52px; }
  .r4-hero .content-box { padding: 80px 0 100px; }
  .r4-hero-image { background-position: 70% center; }
  .faq-list { grid-template-columns: 1fr; }
  .addon-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .r4-hero h1 { font-size: 40px; }
  .r4-hero p { font-size: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .calc-bar { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; }
  body.has-calc-bar { padding-bottom: 88px; }
  .rate-card { padding: 18px 16px 20px; }
  .addons { padding: 14px 16px 4px; }
  .main-header .menu-right-content .btn-box { display: none; }
  .header-top .info { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Overrides for template styles that assumed its garage-door content */
.sec-title span::before, .sec-title span::after { display: none !important; background: none !important; }
.sec-title span { padding-left: 0 !important; color: var(--sign); font-weight: 700; }
.sec-title.light span { color: var(--amber); }
.r4-service .lower-content .text { padding: 0; margin: 0; background: transparent; box-shadow: none; }
.content_block_1 .content-box .text { padding-left: 0; }

/* Shown after returning from Stripe. Fixed, because the template's header overlays the top of the page. */
.booking-notice { position: fixed; z-index: 100; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin: 0 auto; padding: 16px 44px 16px 20px; border-radius: 10px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); }
.booking-notice p { font-size: 16px; line-height: 1.5; }
#booking-notice-close { position: absolute; top: 8px; right: 10px; padding: 4px 8px; background: transparent; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

@media (max-width: 767px) {
  .r4-hero::before { background: rgba(3, 7, 12, .72); }
  .r4-hero-image { background-position: 62% 100%; background-size: auto 135%; background-repeat: no-repeat; }
  .r4-hero .content-box { padding: 90px 0 70px; }
  .r4-hero h5 { font-size: 16px; }
}
@media (max-width: 520px) {
  .brand-text { display: none; }
  .brand-light .brand-text { display: inline; }
  .header-top .right-column { float: none !important; text-align: center; }
  .header-top .top-inner { min-height: 0; }
}

/* Keep the back-to-top button clear of the estimate bar */
body.has-calc-bar .scroll-top { bottom: 96px; }
@media (min-width: 992px) {
  body.calc-summary-visible .scroll-top { display: none !important; }
}

/* The template sizes this icon for its own icon font; Font Awesome's phone needs to be smaller. */
.cta-section .inner-box .btn-box a.call { display: inline-flex; align-items: center; gap: 10px; }
.cta-section .inner-box .btn-box a.call i { position: static; display: inline-block; margin: 0; font-size: 18px; line-height: 1; }
.cta-section .inner-box .btn-box a.call { padding-left: 20px; }

/* ---------- Estimate calculator ---------- */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.rate-cards.is-tabbed .rate-card:not(.is-active) { display: none; }
.pricing-nav a[aria-current="true"] { background: var(--sign); border-color: var(--sign); color: #fff; }
.calc-pick { display: flex; align-items: flex-start; gap: 10px; margin: 0; cursor: pointer; }
.calc-pick input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--sign); }
.package.is-picked { border-color: var(--sign); box-shadow: 0 0 0 2px var(--sign); }
.addon.is-locked { opacity: .55; }
.addon.is-locked .calc-pick { cursor: not-allowed; }
.qty-field input:disabled { background: var(--concrete); color: var(--muted); cursor: not-allowed; }
.calc-summary {
  position: sticky; top: 110px; display: grid; gap: 12px; padding: 22px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  font-family: var(--font-display);
}
.calc-summary p, .calc-summary ul, .calc-summary dl, .calc-summary dd { margin: 0; }
.calc-summary-title { font-weight: 800; font-size: 1.375rem; line-height: 1.2; }
.calc-empty { font-size: 1rem; line-height: 1.5; color: var(--body); }
.calc-lines { list-style: none; padding: 0; max-height: 40vh; overflow-y: auto; }
.calc-lines li { list-style: none; }
.calc-line {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.calc-line-name { font-weight: 700; font-size: 0.9375rem; line-height: 1.3; }
.calc-line-meta { margin-top: 2px; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.calc-line-total { font-weight: 800; font-size: 0.9375rem; text-align: right; font-variant-numeric: tabular-nums; }
.calc-line .link-btn { grid-column: 1; justify-self: start; font-size: 0.8125rem; }
.calc-notice { font-size: 0.875rem; line-height: 1.45; color: var(--error); }
.calc-notice:empty { display: none; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-total dt { font-weight: 700; font-size: 1rem; color: var(--asphalt); }
.calc-total dd { font-weight: 800; font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--asphalt); }
.calc-summary button.btn:disabled { opacity: .5; cursor: not-allowed; }
.calc-summary > .link-btn { justify-self: center; }
.calc-call { font-size: 0.9375rem; line-height: 1.45; text-align: center; }
.calc-call a { font-weight: 700; white-space: nowrap; }
.calc-fine { font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }
.calc-bar {
  position: fixed; z-index: 60; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 18px;
  background: var(--asphalt); color: #fff; border: 0; border-radius: 14px; cursor: pointer;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55);
  font-family: var(--font-display); text-align: left;
}
.calc-bar[hidden] { display: none; }
.calc-bar-summary { display: grid; gap: 2px; }
.calc-bar-count { font-size: 0.8125rem; font-weight: 600; color: rgba(255, 255, 255, .78); }
.calc-bar-total { font-size: 1.125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc-bar-cta { padding: 10px 14px; background: var(--sign); border-radius: 9px; font-weight: 700; font-size: 0.9375rem; }
@media (min-width: 992px) {
  .calc-bar { display: none; }
}
@media (max-width: 991px) {
  .calc-layout { grid-template-columns: minmax(0, 1fr); }
  .calc-summary { position: static; }
  .calc-lines { max-height: none; }
}
.calc-layout .addon-list { grid-template-columns: minmax(0, 1fr); }
.calc-layout .addon-name { font-size: 0.9375rem; }
