/*
 * Additions on top of the theme stylesheet (light "ivory & gold" build).
 * style.css is left untouched so it stays swappable; everything the CMS
 * needs that the theme doesn't already ship lives here.
 */

:root {
    --c-gold: #d4a62a;
    --c-gold-soft: #ead9a5;
    --c-ink: #07111b;
    --c-body: #667085;
    --c-line: var(--border, #e8e1d4);
    --c-panel: #fff;
    --c-shadow: 0 14px 38px rgba(7, 17, 27, .07);
}

/* ------------------------------------------------------------------ footer */
.footer-social { margin-top: 18px; display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    color: var(--gold2, #f0cf72); font-size: 1rem;
    transition: all .2s ease;
}
.footer-social a:hover { background: var(--gold, #d7a83c); color: #07111b; border-color: var(--gold, #d7a83c); }
.footer .footer-address { display: block; margin-bottom: 10px; line-height: 1.7; font-size: .92rem; opacity: .85; }
.footer .footer-address i { color: var(--gold2, #f0cf72); }

/* ---------------------------------------------------------- flash messages */
.toast-stack { position: fixed; right: 20px; bottom: 96px; z-index: 1080; max-width: 360px; }
.toast-note {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 14px 18px; border-radius: 14px; color: #fff;
    font-size: .92rem; line-height: 1.45;
    box-shadow: 0 18px 45px rgba(7, 17, 27, .22);
    animation: toast-in .35s ease both;
}
.toast-success { background: #12805c; }
.toast-error { background: #b42318; }
.toast-note i { font-size: 1.05rem; flex: 0 0 auto; margin-top: 1px; }

@keyframes toast-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------- hero certifications */
.hero-cert { font-weight: 700; }
.cert-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 24px; }
.cert-badges span {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 16px; border-radius: 999px;
    border: 1px solid rgba(240, 207, 114, .42);
    background: rgba(215, 168, 60, .14);
    color: var(--gold2, #f0cf72); font-size: .8rem; font-weight: 700;
}
.cert-badges i { font-size: .88rem; }

/* Inner-page hero is dark, so its badges keep the same treatment. */
.inner-hero .cert-badges { margin-bottom: 0; }

/* --------------------------------------------------------- inner-page hero */
.inner-hero { background-size: cover; background-position: center; position: relative; }
.inner-hero.has-image::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(6, 16, 22, .93) 0%, rgba(17, 27, 35, .86) 65%, rgba(27, 37, 45, .8) 100%);
}
.inner-hero > .container { position: relative; z-index: 2; }
.breadcrumb-custom span { margin: 0 7px; opacity: .55; }

.hero-trust { margin-top: 16px; }
.hero-trust p { margin: 0 0 4px; font-size: .88rem; font-weight: 700; color: var(--gold2, #f0cf72); max-width: 760px; }
.hero-trust p + p { color: #d8e0e6; font-weight: 500; }

/* ------------------------------------------------------- trusted-by strip */
.client-strip-card {
    background: #fff; border: 1px solid var(--c-line); border-radius: 22px;
    box-shadow: var(--c-shadow); padding: 30px 32px; margin-top: 24px;
}
.client-strip-head {
    display: flex; flex-wrap: wrap; align-items: flex-end;
    justify-content: space-between; gap: 14px; margin-bottom: 22px;
}
.client-strip-head h2 { font-size: 1.6rem; margin: 0; }
.client-logos {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px; align-items: center;
}
/* The supplied client logos are light artwork on transparency, so the tiles
   stay dark — on a white tile they wash out completely. */
.client-logo {
    border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px;
    padding: 14px; background: var(--dark, #061016);
    display: grid; place-items: center; min-height: 78px;
    transition: border-color .2s ease;
}
.client-logo:hover { border-color: rgba(240, 207, 114, .45); }
.client-logo img { max-width: 100%; max-height: 46px; object-fit: contain; }
.client-strip-note {
    margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--c-line);
    color: var(--c-body); line-height: 1.8; font-size: .93rem;
}

/* --------------------------------------------------------- CMS rich text */
.rich-text { color: var(--c-body); line-height: 1.85; }
.rich-text h2, .rich-text h3, .rich-text h4 { color: var(--c-ink); margin: 32px 0 14px; }
.rich-text h2 { font-size: 1.55rem; }
.rich-text h3 { font-size: 1.25rem; }
.rich-text > *:first-child { margin-top: 0; }
.rich-text p, .rich-text li { margin-bottom: 14px; }
.rich-text ul, .rich-text ol { margin: 0 0 18px; padding-left: 22px; }
.rich-text li { margin-bottom: 9px; }
.rich-text li::marker { color: var(--c-gold); }
.rich-text a { color: var(--c-gold); text-decoration: underline; }
.rich-text strong { color: var(--c-ink); }
.rich-text img { max-width: 100%; height: auto; border-radius: 14px; }
.rich-text blockquote {
    border-left: 3px solid var(--c-gold); margin: 20px 0;
    padding: 6px 0 6px 18px; color: var(--c-body);
}

/* ------------------------------------------------------- FAQ accordion */
.faq-accordion .accordion-item {
    background: #fff; border: 1px solid var(--c-line) !important;
    border-radius: 16px !important; margin-bottom: 12px; overflow: hidden;
    box-shadow: 0 6px 20px rgba(7, 17, 27, .04);
}
.faq-accordion .accordion-button {
    background: #fff; color: var(--c-ink);
    font-weight: 700; font-size: 1rem; line-height: 1.55;
    padding: 18px 22px; box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) { background: #fbfaf7; color: var(--c-gold); }
.faq-accordion .accordion-button:focus { box-shadow: none !important; border-color: var(--c-gold-soft); }
.faq-accordion .accordion-body { padding: 4px 22px 20px; background: #fff; }
.faq-accordion .accordion-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------- detail sidebar */
.side-card h3 { font-size: 1.15rem; margin-bottom: 16px; }
.side-card .aside-contact {
    display: block; margin-bottom: 12px;
    color: var(--c-ink); font-weight: 600; font-size: .94rem;
}
.side-card .aside-contact:hover { color: var(--c-gold); }
.side-card .aside-contact i { color: var(--c-gold); margin-right: 8px; }

.spec-table { width: 100%; border-collapse: collapse; background: none; }
.spec-table th, .spec-table td {
    padding: 13px 0; border-bottom: 1px solid var(--c-line);
    text-align: left; font-size: .93rem;
    /* The theme styles table headers for a dark panel; inside the light
       side-card that renders as a solid dark block. */
    background: transparent !important;
}
.spec-table th { color: var(--c-body); font-weight: 600; width: 46%; }
.spec-table td { color: var(--c-ink); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------ testimonials */
.testimonial-card {
    background: #fff; border: 1px solid var(--c-line); border-radius: 22px;
    padding: 26px; height: 100%; box-shadow: var(--c-shadow);
}
.testimonial-card .stars { color: var(--c-gold); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { color: var(--c-body); line-height: 1.8; margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-person img {
    width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
    border: 1px solid var(--c-line);
}
.testimonial-person strong { display: block; font-size: .95rem; color: var(--c-ink); }
.testimonial-person span { font-size: .82rem; color: var(--c-body); }

/* ----------------------------------------------------------------- contact */
.mini-info-card {
    background: #fff; border: 1px solid var(--c-line); border-radius: 22px;
    padding: 26px; height: 100%; box-shadow: var(--c-shadow);
}
.mini-info-card .icon {
    width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
    background: rgba(215, 168, 60, .14); border: 1px solid var(--c-gold-soft);
    color: var(--c-gold); font-size: 1.2rem; margin-bottom: 15px;
}
.mini-info-card h3 { font-size: 1.05rem; margin-bottom: 9px; }
.mini-info-card a, .mini-info-card p { color: var(--c-body); font-size: .93rem; line-height: 1.7; }
.mini-info-card a:hover { color: var(--c-gold); }

.contact-form {
    background: #fff; border: 1px solid var(--c-line);
    border-radius: 22px; padding: 30px; box-shadow: var(--c-shadow);
}
.contact-form .form-label { color: var(--c-ink); font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.contact-form .form-control:focus, .contact-form .form-select:focus {
    border-color: var(--c-gold); box-shadow: 0 0 0 .18rem rgba(215, 168, 60, .16);
}

.map-embed { border-radius: 22px; overflow: hidden; border: 1px solid var(--c-line); }
.map-embed iframe { width: 100%; height: 440px; border: 0; display: block; }

/* -------------------------------- slide-in panels: labels & error states */
.calc-body label, .lead-pop label { font-weight: 800; font-size: 13px; margin-bottom: 6px; }
.calc-body label .req, .contact-form .form-label .req { color: #b42318; }

.calc-alert {
    display: flex; gap: 9px; align-items: flex-start;
    background: #fdeaea; border: 1px solid #f3c3c3; color: #b42318;
    border-radius: 12px; padding: 11px 14px; margin-bottom: 16px;
    font-size: .86rem; line-height: 1.45;
}
.calc-alert i { margin-top: 1px; }

.invalid-feedback { color: #b42318 !important; font-size: .8rem; }
.calc-body .invalid-feedback, .lead-pop .invalid-feedback, .contact-form .invalid-feedback { display: block; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #e39c9c !important; background-image: none !important; }

/* --------------------------------------------- service detail sections */
.stage-card {
    background: #fff; border: 1px solid var(--c-gold-soft); border-radius: 26px;
    padding: 28px 26px; height: 100%; position: relative;
    box-shadow: var(--c-shadow); text-align: left;
}
.stage-card .stage-num {
    position: absolute; top: 20px; right: 24px;
    font-family: "Noto Serif", serif; font-size: 1.7rem; font-weight: 800;
    color: rgba(212, 166, 42, .25); line-height: 1;
}
.stage-card h3 { font-size: 1.1rem; margin: 0 0 10px; padding-right: 48px; color: var(--c-ink); }
.stage-card p { margin: 0; line-height: 1.75; font-size: .91rem; color: var(--c-body); }

.coverage-card { text-align: left; }
.coverage-card i { display: inline-block; }
.coverage-card h3 { font-size: 1.02rem; }
.coverage-card p { color: var(--c-body); line-height: 1.7; font-size: .88rem; margin: 0; }

.process-flow {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 10px 14px; margin-top: 40px;
}
.process-flow span {
    padding: 10px 22px; border-radius: 999px;
    border: 1px solid var(--c-gold-soft); background: #fff;
    color: var(--c-ink); font-size: .85rem; font-weight: 700;
    box-shadow: 0 6px 18px rgba(7, 17, 27, .05);
}
.process-flow i { color: var(--c-gold); font-size: .9rem; }

.trust-block {
    background: #fff; border: 1px solid var(--c-line); border-radius: 26px;
    padding: 40px; box-shadow: var(--c-shadow); position: static;
}
.trust-block .section-title { font-size: 1.7rem; }
.trust-block p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------- about hero panel */
/* .fd-list is styled for light backgrounds, but this panel is a dark
   gradient — the default slate text fails contrast against it. */
.about-hero-panel .fd-list li { color: #d8e0e6 !important; }
.about-hero-panel .fd-list li::before,
.about-hero-panel .fd-list li i { color: var(--gold2, #f0cf72) !important; }

/* ------------------------------------------------------- listing cards */
/* Cards are already equal height; this pins "Read More" to the bottom so the
   links line up when descriptions differ in length. */
.card-box {
    display: flex !important;
    flex-direction: column;
}
.card-box > p { flex: 1 1 auto; }
.card-box > .card-link { margin-top: auto; align-self: flex-start; }

/* -------------------------------------------------------- filter chips */
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-chips a {
    padding: 9px 20px; border-radius: 999px; background: #fff;
    border: 1px solid var(--c-line); color: var(--c-body);
    font-size: .88rem; font-weight: 700; transition: all .18s ease;
}
.filter-chips a:hover { border-color: var(--c-gold); color: var(--c-ink); }
.filter-chips a.active { background: var(--dark, #061016); border-color: var(--dark, #061016); color: var(--gold2, #f0cf72); }

/* ------------------------------------------------------- product gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; margin-top: 16px; }
.gallery-grid img {
    width: 100%; aspect-ratio: 4/3; object-fit: cover;
    border-radius: 14px; border: 1px solid var(--c-line); background: #fbfaf7;
}

/* ------------------------------------------------------------ pagination */
.pagination { justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pagination .page-link {
    border-radius: 10px !important; border-color: var(--c-line);
    color: var(--c-ink); background: #fff;
}
.pagination .page-link:hover { border-color: var(--c-gold); color: var(--c-gold); }
.pagination .page-item.active .page-link {
    background: var(--dark, #061016); border-color: var(--dark, #061016); color: var(--gold2, #f0cf72);
}
.pagination .page-item.disabled .page-link { opacity: .5; }

/* ---------------------------------------------------------- empty states */
.no-results { text-align: center; padding: 74px 20px; color: var(--c-body); }
.no-results i { font-size: 2.6rem; color: var(--c-gold-soft); display: block; margin-bottom: 16px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 767.98px) {
    .toast-stack { right: 12px; left: 12px; max-width: none; bottom: 88px; }
    .contact-form, .trust-block { padding: 22px; }
    .client-strip-card { padding: 22px; }
    .process-flow span { padding: 8px 16px; font-size: .78rem; }
}

/* ------------------------------------------------------------- offers */
.offer-badge {
    display: inline-block; vertical-align: middle;
    margin-left: 8px; padding: 4px 12px; border-radius: 999px;
    background: rgba(215, 168, 60, .14); border: 1px solid var(--c-gold-soft);
    color: var(--c-gold); font-size: .68rem; font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase;
}
.offer-validity {
    font-size: .82rem !important; color: var(--c-gold) !important;
    font-weight: 600; margin-bottom: 12px !important;
}
.offer-validity i { margin-right: 5px; }

/* ------------------------------------------------------ contact tiles */
.contact-tile { text-align: left; }
.contact-tile h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-tile p { margin: 0; font-size: .92rem; line-height: 1.7; }
.contact-tile a { color: var(--c-body); }
.contact-tile a:hover { color: var(--c-gold); }

/* Address panel shown when no map embed is configured. */
.map-box p { color: rgba(255, 255, 255, .82); line-height: 1.7; }
.map-box h3 { color: #fff; }

/* ----------------------------------------------------- certifications */
.cert-table-wrap {
    background: #fff; border: 1px solid var(--c-line); border-radius: 22px;
    box-shadow: var(--c-shadow); overflow: hidden;
}
.cert-table { width: 100%; border-collapse: collapse; }
.cert-table th, .cert-table td {
    padding: 16px 22px; text-align: left; vertical-align: top;
    border-bottom: 1px solid var(--c-line); background: transparent;
}
.cert-table thead th {
    background: #fbfaf7; font-size: .72rem; letter-spacing: .09em;
    text-transform: uppercase; color: var(--c-body); font-weight: 800;
    white-space: nowrap;
}
.cert-table tbody tr:last-child th,
.cert-table tbody tr:last-child td { border-bottom: 0; }
.cert-table tbody tr:hover { background: #fcfbf9; }
.cert-table td { color: var(--c-body); font-size: .93rem; line-height: 1.7; }
.cert-standard {
    color: var(--c-ink) !important; font-weight: 800; white-space: nowrap;
}
.cert-standard i { color: var(--c-gold); margin-right: 8px; }
.cert-region { color: var(--c-ink) !important; font-weight: 600; white-space: nowrap; }
.cert-footnote {
    margin: 18px 0 0; text-align: center;
    color: var(--c-body); font-size: .86rem; line-height: 1.7;
}

@media (max-width: 575.98px) {
    .cert-table th, .cert-table td { padding: 12px 14px; font-size: .86rem; }
    .cert-table thead { display: none; }
    .cert-table tr { display: block; border-bottom: 1px solid var(--c-line); }
    .cert-table td { display: block; border: 0; padding-bottom: 4px; }
    .cert-table td:last-child { padding-bottom: 14px; }
}

/* --------------------------------------------- location page intro panel */
/* The panel lists 7 services, so it needs a tighter two-column list than the
   About page's four-item version. */
.about-hero-panel .fd-list {
    columns: 2; column-gap: 26px;
}
.about-hero-panel .fd-list li {
    break-inside: avoid; margin-bottom: 10px;
}
.about-hero-panel .panel-note {
    margin: 18px 0 0; padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: var(--gold2, #f0cf72); font-size: .82rem;
    font-weight: 600; line-height: 1.6;
}

@media (max-width: 575.98px) {
    .about-hero-panel .fd-list { columns: 1; }
}

/* ------------------------------------------------- other-city cross links */
.city-grid {
    display: grid; gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.city-chip {
    display: flex; align-items: center; gap: 13px;
    padding: 16px 18px; border-radius: 16px;
    background: #fff; border: 1px solid var(--c-line);
    box-shadow: 0 6px 20px rgba(7, 17, 27, .04);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.city-chip:hover {
    border-color: var(--c-gold); transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(7, 17, 27, .09);
}
.city-chip-icon {
    width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(215, 168, 60, .14); border: 1px solid var(--c-gold-soft);
    color: var(--c-gold); font-size: 1.02rem;
}
.city-chip-body { flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.city-chip-body strong { display: block; color: var(--c-ink); font-size: .98rem; }
.city-chip-body small { color: var(--c-body); font-size: .76rem; }
.city-chip-arrow { color: var(--c-gold); font-size: .9rem; flex: 0 0 auto; }
