/* Beaux Bricoleurs - Package 002 public content styles */
:root {
    --bb-dark: #18211b;
    --bb-green: #2f7d32;
    --bb-green-dark: #246227;
    --bb-light: #f6f4ef;
    --bb-accent: #f4b942;
    --bb-text: #222222;
    --bb-muted: #66706a;
    --bb-radius: 1.15rem;
    --bb-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--bb-text);
    background: #ffffff;
    padding-bottom: 0;
}

.skip-link {
    background: #ffffff;
    color: #000000;
    padding: 0.75rem 1rem;
    z-index: 2000;
}

.top-bar {
    background: var(--bb-dark);
    color: #ffffff;
    font-size: 0.95rem;
}

.top-bar a,
.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.top-bar a:hover,
.site-footer a:hover {
    text-decoration: underline;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--bb-green);
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: -0.3px;
}

.lang-switch { font-weight: 700; }

.hero {
    background:
        linear-gradient(110deg, rgba(24, 33, 27, 0.88), rgba(24, 33, 27, 0.62)),
        radial-gradient(circle at 80% 20%, rgba(244, 185, 66, 0.32), transparent 35%),
        var(--bb-dark);
    color: #ffffff;
    padding: 6.75rem 0;
}

.hero h1,
.page-hero h1 { font-weight: 800; line-height: 1.05; }
.hero .lead { max-width: 780px; color: rgba(255, 255, 255, 0.9); }

.btn-main {
    background: var(--bb-accent);
    color: #111111;
    border: none;
    font-weight: 800;
}
.btn-main:hover,
.btn-main:focus { background: #e1a72d; color: #111111; }

.btn-outline-light-custom {
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 800;
}
.btn-outline-light-custom:hover,
.btn-outline-light-custom:focus { background: #ffffff; color: var(--bb-dark); }

.section-padding { padding: 5rem 0; }
.bg-soft { background: var(--bb-light); }

.eyebrow {
    color: var(--bb-green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    font-weight: 800;
}

.service-card,
.form-box,
.content-card,
.step-card,
.area-card {
    background: #ffffff;
    border: 0;
    border-radius: var(--bb-radius);
    box-shadow: var(--bb-shadow);
    height: 100%;
}

.service-card,
.content-card,
.step-card,
.area-card { padding: 1.5rem; }
.service-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12); }

.icon-box,
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--bb-light);
    font-size: 1.55rem;
    margin-bottom: 1rem;
    font-weight: 900;
}
.step-number { color: var(--bb-green); }

.check-list { padding-left: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: 0.65rem; }
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--bb-green);
    font-weight: 800;
}

.service-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    padding: 0;
    list-style: none;
}
.service-pill-list li {
    background: var(--bb-light);
    border-radius: 999px;
    padding: .55rem .85rem;
    font-weight: 700;
    font-size: .92rem;
}

.cta-band {
    background: var(--bb-green);
    color: #ffffff;
    border-radius: 1.5rem;
    padding: 3rem;
}
.form-box { padding: 2rem; }
.quote-panel { border-top: 6px solid var(--bb-accent); }
.form-control,
.form-select { border-radius: 0.8rem; padding: 0.8rem 0.95rem; }

.site-footer { background: var(--bb-dark); color: #d7ded9; }
.footer-links li { margin-bottom: 0.45rem; }

.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bb-dark);
    z-index: 1100;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.18);
}
.mobile-action-bar a {
    display: block;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    padding: 0.9rem 0.5rem;
    font-weight: 800;
}
.mobile-action-bar a:last-child { background: var(--bb-accent); color: #111111; }

.page-hero {
    background: linear-gradient(135deg, var(--bb-light), #ffffff);
    padding: 4.5rem 0;
}

.inline-cta {
    background: var(--bb-dark);
    color: #ffffff;
    border-radius: var(--bb-radius);
    padding: 2rem;
}
.inline-cta p { color: rgba(255,255,255,.84); }

@media (max-width: 1199.98px) { .navbar-nav .btn { margin-top: .5rem; } }
@media (max-width: 991.98px) {
    body { padding-bottom: 58px; }
    .hero { padding: 5rem 0; }
    .section-padding { padding: 3.75rem 0; }
    .cta-band { padding: 2rem; }
}

/* Package 003 smart quote form */
.smart-quote-form .alert { border-radius: .9rem; }
.quote-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem .8rem;
}
.quote-check {
    background: var(--bb-light);
    border-radius: .8rem;
    padding: .65rem .75rem .65rem 2.25rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.quote-check .form-check-input { margin-left: -1.45rem; margin-right: .55rem; }
.consent-check {
    background: #fff9e8;
    border: 1px solid rgba(244, 185, 66, .55);
    border-radius: .9rem;
    padding: .9rem .9rem .9rem 2.45rem;
}
.consent-check .form-check-input { margin-left: -1.55rem; }
.inline-cta {
    background: var(--bb-light);
    border-left: 5px solid var(--bb-accent);
    border-radius: 1rem;
    padding: 1.25rem;
}
@media (max-width: 575.98px) {
    .quote-check-grid { grid-template-columns: 1fr; }
}

/* Package 004 upload helpers */
.photo-upload-summary {
    min-height: 1.25rem;
    font-weight: 700;
}

/* Package 007 calendar request styles */
.calendar-request-box {
  border-color: rgba(47, 125, 50, .18) !important;
}
.calendar-summary {
  min-height: 1.25rem;
}
.calendar-grid-day {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
  height: 100%;
}
.calendar-window-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  padding: .45rem 0;
  border-top: 1px solid rgba(0,0,0,.06);
}
.calendar-window-row:first-of-type {
  border-top: 0;
}

/* Package 008 - Dynamic estimate system */
.estimate-box {
    background: #ffffff;
    border-color: rgba(47, 125, 50, 0.22) !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.05);
}
.estimate-range-display {
    background: var(--bb-dark);
    color: #ffffff;
    border-radius: 999px;
    padding: .65rem 1rem;
    font-weight: 900;
    min-width: 148px;
    text-align: center;
    align-self: flex-start;
}
.estimate-box-ready {
    border-color: rgba(47, 125, 50, 0.45) !important;
}
.pricing-rule-group {
    background: var(--bb-light);
    border-radius: 1rem;
    padding: 1rem;
}

/* Package 010 - SEO landing page system */
.area-hero {
    background: linear-gradient(135deg, rgba(24, 33, 27, .94), rgba(47, 125, 50, .86));
}
.area-card-highlight {
    background: rgba(255,255,255,.95);
    color: #18211b;
}
.clean-list,
.mini-list {
    list-style: none;
    padding-left: 0;
}
.clean-list li,
.mini-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: .55rem;
}
.clean-list li::before,
.mini-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--bb-green);
    font-weight: 900;
}
.area-listing-card .mini-list {
    color: #4b5563;
    font-size: .94rem;
}

/* Package 011 service SEO pages */
.service-dropdown { min-width: 16rem; }
.service-seo-hero {
    background:
        linear-gradient(110deg, rgba(24, 33, 27, 0.88), rgba(24, 33, 27, 0.68)),
        radial-gradient(circle at 85% 15%, rgba(244, 185, 66, 0.28), transparent 32%),
        var(--bb-dark);
    color: #ffffff;
}
.service-link-card {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    height: 100%;
    padding: 1.25rem;
    border-radius: var(--bb-radius);
    background: #ffffff;
    color: var(--bb-text);
    text-decoration: none;
    box-shadow: var(--bb-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.service-link-card:hover,
.service-link-card:focus {
    color: var(--bb-text);
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(0,0,0,.12);
}
.service-link-card small { color: var(--bb-muted); line-height: 1.45; }
.service-icon { font-size: 1.65rem; line-height: 1; }
.service-mini-card {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: #ffffff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.service-mini-card span { color: var(--bb-green); font-weight: 900; }
.clean-list a { color: var(--bb-green-dark); font-weight: 700; text-decoration: none; }
.clean-list a:hover { text-decoration: underline; }

/* Package 012 gallery and testimonials */
.gallery-card,
.testimonial-card {
    background: #ffffff;
    border: 0;
    border-radius: var(--bb-radius);
    box-shadow: var(--bb-shadow);
    height: 100%;
    overflow: hidden;
}
.gallery-image-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 190px;
    background: var(--bb-light);
}
.gallery-image-pair figure {
    position: relative;
    margin: 0;
    min-height: 190px;
    overflow: hidden;
}
.gallery-image-pair img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    display: block;
}
.gallery-image-pair figcaption {
    position: absolute;
    left: .75rem;
    bottom: .75rem;
    background: rgba(24, 33, 27, .86);
    color: #ffffff;
    border-radius: 999px;
    padding: .25rem .65rem;
    font-size: .8rem;
    font-weight: 800;
}
.gallery-placeholder {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    font-size: 3rem;
}
.testimonial-card {
    padding: 1.5rem;
}
.stars {
    color: #c88b00;
    letter-spacing: .05em;
    font-weight: 900;
    margin-bottom: .8rem;
}
@media (max-width: 575.98px) {
    .gallery-image-pair { grid-template-columns: 1fr; }
}


/* Package 021 - Visual Refresh */
:root {
    --bb-dark: #062b4f;
    --bb-navy: #062b4f;
    --bb-blue: #0d5ea8;
    --bb-teal: #00a884;
    --bb-green: #058b6f;
    --bb-green-dark: #04705a;
    --bb-light: #f3f7fa;
    --bb-accent: #ffb22e;
    --bb-text: #1d2a35;
    --bb-muted: #5f6f7c;
    --bb-radius: 1.25rem;
    --bb-shadow: 0 18px 45px rgba(6, 43, 79, 0.12);
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.top-bar {
    background: linear-gradient(90deg, #041f39, #07345e);
}

.navbar {
    backdrop-filter: blur(12px);
}

.navbar-brand.site-logo-link {
    font-weight: 900;
    letter-spacing: -0.04em;
}

.site-logo-mark {
    object-fit: contain;
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 7px 14px rgba(6,43,79,.16));
}

.site-logo-text {
    color: var(--bb-navy);
    white-space: nowrap;
}

.navbar .nav-link {
    font-weight: 700;
}

.navbar .nav-link.active {
    color: var(--bb-green);
}

.btn-main {
    background: linear-gradient(135deg, #ffc857, var(--bb-accent));
    box-shadow: 0 13px 26px rgba(255, 178, 46, .28);
    border-radius: .9rem;
}

.btn-outline-light-custom {
    border-radius: .9rem;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 7.25rem 0;
    background: var(--bb-navy);
}

.hero-slider {
    background: var(--bb-navy);
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slides {
    z-index: -3;
}

.hero-slide {
    background-size: cover;
    background-position: center right;
    opacity: 0;
    transform: scale(1.025);
    animation: heroFade 18s infinite;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }

.hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(4,31,57,.96) 0%, rgba(4,31,57,.86) 28%, rgba(4,31,57,.42) 56%, rgba(4,31,57,.12) 100%),
        radial-gradient(circle at 18% 80%, rgba(0,168,132,.34), transparent 28%),
        radial-gradient(circle at 42% 18%, rgba(255,178,46,.20), transparent 24%);
}

.hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(6,43,79,0) 66%, rgba(6,43,79,.42) 100%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.055) 0 1px, transparent 1px 120px);
    pointer-events: none;
}

.hero-motion {
    position: absolute;
    left: 5%;
    bottom: 12%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,168,132,.32), transparent 65%);
    filter: blur(2px);
    opacity: .65;
    animation: heroFloat 7s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-kicker {
    color: #8ff6df;
    letter-spacing: .12em;
    text-shadow: 0 2px 18px rgba(0,0,0,.35);
}

.hero h1 {
    text-shadow: 0 4px 26px rgba(0,0,0,.35);
    letter-spacing: -.045em;
}

.hero .lead {
    max-width: 700px;
    color: rgba(255,255,255,.92);
    text-shadow: 0 2px 18px rgba(0,0,0,.28);
}

.hero-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.hero-proof-row span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.12);
    color: #fff;
    border-radius: 999px;
    padding: .45rem .75rem;
    font-size: .88rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.service-card,
.form-box,
.content-card,
.step-card,
.area-card,
.client-card {
    border: 1px solid rgba(6,43,79,.06);
    box-shadow: var(--bb-shadow);
}

.service-card:hover,
.content-card:hover,
.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 58px rgba(6, 43, 79, 0.16);
}

.icon-box,
.step-number {
    background: linear-gradient(135deg, rgba(0,168,132,.13), rgba(13,94,168,.11));
    color: var(--bb-green);
}

.cta-band {
    background:
        radial-gradient(circle at 15% 18%, rgba(255,255,255,.18), transparent 28%),
        linear-gradient(135deg, #062b4f, #058b6f);
    box-shadow: 0 22px 50px rgba(6, 43, 79, .22);
}

.footer,
.site-footer {
    background:
        radial-gradient(circle at 20% 10%, rgba(0,168,132,.22), transparent 25%),
        linear-gradient(135deg, #031a2f, #062b4f);
}

.mobile-sticky-cta a,
.mobile-action-bar a {
    background: var(--bb-navy);
}
.mobile-sticky-cta a:last-child,
.mobile-action-bar a:last-child {
    background: var(--bb-accent);
    color: #111;
}

@keyframes heroFade {
    0% { opacity: 0; transform: scale(1.035); }
    6% { opacity: 1; transform: scale(1.02); }
    31% { opacity: 1; transform: scale(1.0); }
    39% { opacity: 0; transform: scale(1.0); }
    100% { opacity: 0; transform: scale(1.035); }
}

@keyframes heroFloat {
    from { transform: translate3d(0, 0, 0) scale(.92); }
    to { transform: translate3d(42px, -36px, 0) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-motion {
        animation: none !important;
    }
    .hero-slide:first-child {
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .hero {
        min-height: 640px;
        padding: 5.75rem 0;
    }

    .hero-slide {
        background-position: center right 24%;
    }

    .hero-slider::before {
        background:
            linear-gradient(90deg, rgba(4,31,57,.97) 0%, rgba(4,31,57,.91) 54%, rgba(4,31,57,.40) 100%),
            radial-gradient(circle at 18% 80%, rgba(0,168,132,.25), transparent 28%);
    }
}

@media (max-width: 575.98px) {
    .site-logo-text {
        max-width: 210px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero {
        min-height: 610px;
        padding: 4.75rem 0 5.5rem;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-proof-row span {
        font-size: .78rem;
    }
}


/* Package 021.1 - Public copy cleanup and footer contrast */
.footer,
.site-footer {
    color: rgba(255,255,255,.88) !important;
}
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
    color: #ffffff !important;
}
.footer p,
.footer li,
.footer small,
.footer .small,
.site-footer p,
.site-footer li,
.site-footer small,
.site-footer .small {
    color: rgba(255,255,255,.88) !important;
}
.footer a,
.site-footer a {
    color: #ffffff !important;
    text-decoration-color: rgba(255,255,255,.45);
}
.footer a:hover,
.site-footer a:hover {
    color: #8ff6df !important;
}
.footer .btn-main,
.site-footer .btn-main {
    color: #111111 !important;
}
.footer hr,
.site-footer hr {
    border-color: rgba(255,255,255,.22) !important;
}


/* Package 022 - Guided Multi-Step Quote Form */
.quote-wizard {
    overflow: hidden;
}

.quote-progress {
    margin: 1rem 0 1.5rem;
}

.quote-progress-bar {
    height: .55rem;
    background: rgba(6, 43, 79, .09);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: .85rem;
}

.quote-progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--bb-teal), var(--bb-accent));
    border-radius: 999px;
    transition: width .28s ease;
}

.quote-step-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .45rem;
}

.quote-step-tab {
    appearance: none;
    border: 1px solid rgba(6, 43, 79, .12);
    background: #fff;
    color: var(--bb-muted);
    border-radius: .9rem;
    padding: .5rem .35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    font-weight: 800;
    transition: all .18s ease;
}

.quote-step-tab span {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: var(--bb-light);
    color: var(--bb-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
}

.quote-step-tab small {
    font-size: .72rem;
    line-height: 1.1;
}

.quote-step-tab.is-active {
    border-color: rgba(0, 168, 132, .45);
    background: rgba(0, 168, 132, .08);
    color: var(--bb-navy);
}

.quote-step-tab.is-active span,
.quote-step-tab.is-complete span {
    background: var(--bb-teal);
    color: #fff;
}

.quote-step-tab.is-complete {
    color: var(--bb-green);
}

.quote-step {
    display: none;
    animation: quoteStepIn .22s ease both;
}

.quote-step.is-active {
    display: block;
}

.quote-step-heading {
    margin-bottom: 1.25rem;
}

.quote-step-heading span {
    display: inline-flex;
    color: var(--bb-green);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .4rem;
}

.quote-step-heading h3 {
    font-weight: 900;
    color: var(--bb-navy);
    margin-bottom: .4rem;
    letter-spacing: -.02em;
}

.quote-step-heading p {
    color: var(--bb-muted);
    margin-bottom: 0;
}

.quote-wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(6, 43, 79, .08);
}

.quote-wizard-actions .btn {
    min-width: 140px;
}

.quote-review-card {
    border: 1px solid rgba(6, 43, 79, .09);
    border-radius: 1rem;
    background: linear-gradient(180deg, #fff, #f8fbfd);
    padding: 1rem;
}

.quote-review-grid {
    display: grid;
    gap: .65rem;
}

.quote-review-row {
    display: grid;
    grid-template-columns: minmax(110px, .42fr) 1fr;
    gap: .75rem;
    padding: .75rem;
    border-radius: .8rem;
    background: #fff;
    border: 1px solid rgba(6, 43, 79, .06);
}

.quote-review-row span {
    color: var(--bb-muted);
    font-size: .86rem;
    font-weight: 800;
}

.quote-review-row strong {
    color: var(--bb-text);
    white-space: pre-wrap;
}

.quote-inline-error {
    border-radius: .8rem;
    background: rgba(220, 53, 69, .08);
    border: 1px solid rgba(220, 53, 69, .22);
    color: #a31627;
    padding: .75rem .9rem;
    font-weight: 700;
}

.smart-quote-form .is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .12);
}

@keyframes quoteStepIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767.98px) {
    .quote-step-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .quote-step-tab {
        padding: .45rem .25rem;
    }

    .quote-step-tab small {
        font-size: .68rem;
    }

    .quote-wizard-actions {
        position: sticky;
        bottom: 0;
        z-index: 5;
        margin-left: -2rem;
        margin-right: -2rem;
        padding: 1rem 2rem;
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(10px);
        box-shadow: 0 -12px 28px rgba(6, 43, 79, .08);
    }

    .quote-wizard-actions .btn {
        flex: 1;
        min-width: 0;
    }

    .quote-review-row {
        grid-template-columns: 1fr;
        gap: .25rem;
    }
}


/* Package 022.1 - Quote wizard one-step display enforcement */
.smart-quote-form [data-quote-step] {
    display: none;
}

.smart-quote-form [data-quote-step].is-active {
    display: block;
}

.smart-quote-form [data-quote-submit].d-none {
    display: none !important;
}


/* Package 022.2 - Quote wizard progress and spacing polish */
.quote-progress {
    margin: 1.1rem 0 2rem;
    padding: 1rem;
    border: 1px solid rgba(6, 43, 79, .08);
    border-radius: 1.1rem;
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
}

.quote-progress-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: .8rem;
}

.quote-progress-status span {
    display: block;
    color: var(--bb-green);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .12rem;
}

.quote-progress-status strong {
    display: block;
    color: var(--bb-navy);
    font-size: 1.05rem;
    line-height: 1.2;
}

.quote-progress-status em {
    flex-shrink: 0;
    font-style: normal;
    font-weight: 900;
    color: var(--bb-navy);
    background: rgba(0, 168, 132, .12);
    border: 1px solid rgba(0, 168, 132, .18);
    border-radius: 999px;
    padding: .35rem .65rem;
}

.quote-progress-bar {
    height: .72rem;
    background: rgba(6, 43, 79, .11);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: .95rem;
}

.quote-progress-bar span {
    background: linear-gradient(90deg, var(--bb-teal), var(--bb-accent));
    box-shadow: 0 0 18px rgba(0, 168, 132, .26);
}

.quote-step-tabs {
    gap: .6rem;
}

.quote-step-tab {
    min-height: 58px;
    flex-direction: row;
    justify-content: center;
    gap: .45rem;
    padding: .55rem .55rem;
    white-space: nowrap;
}

.quote-step-tab span {
    flex: 0 0 auto;
}

.quote-step-tab small {
    display: inline-block;
    font-size: .76rem;
    line-height: 1.1;
    min-width: 0;
}

.quote-wizard-actions {
    margin-top: 2rem;
    padding-top: 1.65rem;
}

.quote-step-heading {
    margin-bottom: 1.65rem;
}

.quote-review-grid {
    gap: .9rem;
}

.quote-review-row {
    grid-template-columns: minmax(135px, .38fr) minmax(0, 1fr);
    gap: 1.25rem;
    padding: .95rem 1rem;
    align-items: start;
}

.quote-review-row span {
    letter-spacing: .02em;
}

.quote-review-row strong {
    display: block;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .quote-progress {
        padding: .85rem;
    }

    .quote-progress-status {
        align-items: flex-start;
    }

    .quote-step-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem;
    }

    .quote-step-tab {
        min-height: 52px;
        justify-content: flex-start;
        padding: .5rem .6rem;
    }

    .quote-step-tab small {
        font-size: .73rem;
    }

    .quote-wizard-actions {
        margin-top: 2rem;
        padding-top: 1rem;
    }

    .quote-review-row {
        grid-template-columns: 1fr;
        gap: .35rem;
        padding: .9rem;
    }
}

@media (max-width: 420px) {
    .quote-step-tabs {
        grid-template-columns: 1fr;
    }

    .quote-progress-status em {
        display: none;
    }
}


/* Package 022.3 - Graphical connected quote progress tracker */
.quote-progress {
    padding: 1.25rem 1.25rem 1.35rem;
}

.quote-progress-status {
    justify-content: center;
    text-align: center;
    margin-bottom: 1.15rem;
}

.quote-progress-status > div {
    width: 100%;
}

.quote-progress-status span {
    font-size: .8rem;
}

.quote-progress-status strong {
    font-size: 1.12rem;
}

.quote-progress-bar {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.quote-step-tabs.quote-step-graph {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(74px, 1fr));
    gap: 0;
    align-items: start;
    padding: .25rem 0 0;
}

.quote-step-tabs.quote-step-graph::before {
    content: "";
    position: absolute;
    left: calc(8.333% + 18px);
    right: calc(8.333% + 18px);
    top: 25px;
    height: 4px;
    border-radius: 999px;
    background: #d9dee7;
    z-index: 0;
}

.quote-step-tab {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    border-radius: 0;
    min-height: 84px;
    padding: 0 .35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: .55rem;
    color: #7b8794;
    box-shadow: none;
    white-space: normal;
}

.quote-step-tab::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 0;
    width: 50%;
    height: 4px;
    background: #d9dee7;
    transform: translateY(-50%);
    z-index: -1;
}

.quote-step-tab::after {
    content: "";
    position: absolute;
    top: 25px;
    right: 0;
    width: 50%;
    height: 4px;
    background: #d9dee7;
    transform: translateY(-50%);
    z-index: -1;
}

.quote-step-tab:first-child::before,
.quote-step-tab:last-child::after {
    display: none;
}

.quote-step-tab.is-complete::before,
.quote-step-tab.is-complete::after,
.quote-step-tab.is-active::before {
    background: linear-gradient(90deg, var(--bb-teal), var(--bb-blue));
}

.quote-step-tab.is-complete + .quote-step-tab::before {
    background: linear-gradient(90deg, var(--bb-blue), var(--bb-blue));
}

.quote-step-tab span {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 4px solid #d9dee7;
    background: #ffffff;
    color: var(--bb-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .92rem;
    font-weight: 900;
    box-shadow: 0 5px 14px rgba(6, 43, 79, .10);
}

.quote-step-tab.is-active span {
    border-color: var(--bb-blue);
    background: #ffffff;
    color: var(--bb-blue);
}

.quote-step-tab.is-active span::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--bb-blue);
    position: absolute;
}

.quote-step-tab.is-active span {
    font-size: 0;
}

.quote-step-tab.is-complete span {
    border-color: var(--bb-blue);
    background: var(--bb-blue);
    color: #ffffff;
    font-size: 0;
}

.quote-step-tab.is-complete span::after {
    content: "✓";
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 900;
}

.quote-step-tab small {
    display: block;
    color: #6b7280;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    max-width: 105px;
}

.quote-step-tab.is-active small {
    color: var(--bb-navy);
}

.quote-step-tab.is-complete small {
    color: var(--bb-blue);
}

.quote-step-tab:focus-visible span {
    outline: 3px solid rgba(255, 178, 46, .72);
    outline-offset: 3px;
}

.quote-wizard-actions {
    margin-top: 2.35rem;
}

.quote-review-row {
    grid-template-columns: minmax(155px, .36fr) minmax(0, 1fr);
    gap: 1.75rem;
    padding: 1rem 1.1rem;
}

.quote-review-row span {
    color: #536272;
}

.quote-review-row strong {
    padding-left: .25rem;
}

@media (max-width: 767.98px) {
    .quote-progress {
        padding: 1rem .8rem 1.1rem;
    }

    .quote-step-tabs.quote-step-graph {
        display: flex;
        overflow-x: auto;
        gap: 0;
        padding: .35rem .25rem .25rem;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .quote-step-tabs.quote-step-graph::before {
        left: 38px;
        right: 38px;
        top: 28px;
    }

    .quote-step-tab {
        flex: 0 0 92px;
        min-height: 88px;
        scroll-snap-align: center;
        padding: 0 .25rem;
    }

    .quote-step-tab::before,
    .quote-step-tab::after {
        top: 28px;
    }

    .quote-step-tab span {
        width: 44px;
        height: 44px;
    }

    .quote-step-tab small {
        font-size: .73rem;
        max-width: 84px;
    }

    .quote-review-row {
        grid-template-columns: 1fr;
        gap: .45rem;
    }

    .quote-review-row strong {
        padding-left: 0;
    }
}
