:root {
    --site-polish-green: #073d32;
    --site-polish-gold: #c99a3a;
    --site-polish-ink: #172b25;
    --site-polish-muted: #64736a;
    --site-polish-border: #dce5de;
    --site-polish-shadow: 0 18px 48px rgba(7, 61, 50, .1);
    --site-section-heading-size: clamp(2rem, 3vw, 2.6rem);
}

main.imported-page .heading-section {
    background: none !important;
    -webkit-background-clip: border-box !important;
}

main h1,
main h2,
main h3 {
    text-wrap: balance;
}

main .section-heading,
main .section-head,
main .heading-section,
main .about-section-header,
main .coverage-heading,
main .region-heading,
main .stories-heading,
main .child-services-heading,
main .why-section-heading,
main .business-section-heading {
    width: 100%;
    max-width: none;
    text-align: center;
}

main .section-heading h2,
main .section-head h2,
main .heading-section h1,
main .heading-section h2,
main .about-section-header h2,
main .coverage-heading h2,
main .region-heading h2,
main .stories-heading h2,
main .child-services-heading h2,
main .why-section-heading h2,
main .business-section-heading h2,
main .made-suit-redesign .ms-heading-panel h2,
main .use-case-heading,
main .faq-intro h2 {
    width: 100%;
    max-width: none;
    text-align: center;
}

@media (min-width: 901px) {
    main .section-heading h2,
    main .section-head h2,
    main .heading-section h1,
    main .heading-section h2,
    main .about-section-header h2,
    main .coverage-heading h2,
    main .region-heading h2,
    main .stories-heading h2,
    main .child-services-heading h2,
    main .why-section-heading h2,
    main .business-section-heading h2,
    main .made-suit-redesign .ms-heading-panel h2,
    main .use-case-heading,
    main .faq-intro h2,
    main.service-page .section-heading h2,
    main.service-page .section-head h2,
    main.service-page .heading-section h2,
    main.service-page .coverage-heading h2,
    main.service-page .region-heading h2,
    main.service-page .stories-heading h2,
    main.service-page .child-services-heading h2,
    main.service-page .why-section-heading h2,
    main.service-page .faq-section .faq-intro h2 {
        font-size: var(--site-section-heading-size);
    }

    main.service-page .made-suit-redesign .ms-heading-panel h2 {
        font-size: var(--site-section-heading-size) !important;
    }

    main .section-heading h2,
    main .section-head h2,
    main .heading-section h1,
    main .heading-section h2,
    main .about-section-header h2,
    main .coverage-heading h2,
    main .region-heading h2,
    main .stories-heading h2,
    main .child-services-heading h2,
    main .why-section-heading h2,
    main .business-section-heading h2,
    main .use-case-heading,
    main.service-page .section-heading h2,
    main.service-page .section-head h2,
    main.service-page .heading-section h2,
    main.service-page .about-section-header h2,
    main.service-page .coverage-heading h2,
    main.service-page .region-heading h2,
    main.service-page .stories-heading h2,
    main.service-page .child-services-heading h2,
    main.service-page .why-section-heading h2,
    main.service-page .business-section-heading h2,
    main.service-page .use-case-heading {
        position: relative;
        left: auto;
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        transform: none;
    }
}

main .faq-intro {
    width: 100%;
    min-width: 0;
    text-align: center;
}

main .faq-intro > p {
    margin-inline: auto;
}

main .faq-intro .faq-help {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

main .faq-intro .faq-help > div {
    flex: 1;
    min-width: 0;
}

main .coverage-heading > div {
    width: 100%;
}

main .urgent-inner > div,
main .emergency-panel > div {
    max-width: none;
}

main .urgent-inner p,
main .emergency-panel p,
main .static-page-contact-panel p {
    max-width: none !important;
}

@media (min-width: 641px) {
    main > section:not(.hero):not(.service-hero):not(.static-page-hero):not(.urgent-banner):not([style]),
    .service-page .imported-content > section:not(.urgent-banner):not([style]),
    .static-page-content-inner > section:not([style]) {
        padding-block: clamp(56px, 5.25vw, 72px) !important;
    }

    main > section.urgent-banner,
    main.service-page .urgent-banner {
        padding-block: 24px !important;
    }

    .service-page .urgent-banner .urgent-inner {
        min-height: 0;
        padding-block: 24px;
    }
}

@media (max-width: 640px) {
    main h2 {
        font-size: clamp(1.3rem, 6.7vw, 1.625rem) !important;
        line-height: 1.15 !important;
    }

    main .section-heading h2,
    main .section-head h2,
    main .heading-section h1,
    main .heading-section h2,
    main .about-section-header h2,
    main .coverage-heading h2,
    main .region-heading h2,
    main .stories-heading h2,
    main .child-services-heading h2,
    main .why-section-heading h2,
    main .business-section-heading h2,
    main .made-suit-redesign .ms-heading-panel h2,
    main .use-case-heading,
    main .faq-intro h2,
    main.service-page .section-heading h2,
    main.service-page .section-head h2,
    main.service-page .heading-section h2,
    main.service-page .coverage-heading h2,
    main.service-page .region-heading h2,
    main.service-page .stories-heading h2,
    main.service-page .child-services-heading h2,
    main.service-page .why-section-heading h2,
    main.service-page .faq-section .faq-intro h2 {
        position: relative;
        left: auto;
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        transform: none;
    }

    main > section:not(.hero):not(.service-hero):not(.static-page-hero):not(.urgent-banner):not([style]),
    .service-page .imported-content > section:not(.urgent-banner):not([style]),
    .static-page-content-inner > section:not([style]) {
        padding-block: clamp(24px, 6vw, 32px) !important;
    }

    main > section.urgent-banner:not(.hero):not(.service-hero):not(.static-page-contact):not([style]),
    main.service-page .urgent-banner {
        padding-block: 14px !important;
    }

    .service-page .urgent-banner .urgent-inner {
        min-height: 0;
        padding-block: 20px;
    }
}

main.imported-page .heading-section h1,
main.imported-page .heading-section h2,
main.service-page .child-services-heading h2 {
    position: static;
    left: auto;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    transform: none;
    text-align: center !important;
}

/* Header rules now live ONLY in header.css */

header a:focus-visible,
header summary:focus-visible,
header button:focus-visible,
footer a:focus-visible,
main a:focus-visible,
main button:focus-visible,
.quote-modal button:focus-visible {
    outline: 3px solid var(--site-polish-gold);
    outline-offset: 3px;
}

footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 8%, rgba(201, 154, 58, .12), transparent 24%),
        #031f1a;
}

footer::before {
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c99a3a 24%, #f0d58d 50%, #c99a3a 76%, transparent);
    content: "";
}

footer .footer-col h3 {
    color: #f1ca70;
    font-size: .76rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

footer .footer-col a {
    transition: color .2s ease, transform .2s ease;
}

footer .footer-col a:hover {
    color: #f1ca70;
}

footer .footer-about img {
    margin-bottom: 0;
}

footer .footer-about p {
    margin-top: 6px;
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    justify-content: flex-start;
}

footer .footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

footer .footer-legal a {
    color: inherit;
    white-space: nowrap;
    transition: color .2s ease;
}

footer .footer-legal a:hover {
    color: #f1ca70;
}

main .contact-form-box {
    border-top: 4px solid var(--site-polish-gold);
    border-color: var(--site-polish-border);
    border-top-color: var(--site-polish-gold);
    border-radius: 22px;
    box-shadow: var(--site-polish-shadow);
}

main .contact-side-card,
main .about-pillar-card,
main .about-feature-card,
main .about-testi-card,
main .faq-card {
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

main .contact-side-card:hover,
main .about-pillar-card:hover,
main .about-feature-card:hover,
main .about-testi-card:hover,
main .faq-card:hover {
    border-color: rgba(201, 154, 58, .48);
    box-shadow: 0 18px 38px rgba(7, 61, 50, .12);
    transform: translateY(-3px);
}

.contact-page .form-input,
.contact-page .form-select,
.contact-page .form-textarea {
    border-width: 1px;
    border-color: var(--site-polish-border);
    border-radius: 12px;
    background: #f9fbf9;
}

.contact-page .form-input:focus,
.contact-page .form-select:focus,
.contact-page .form-textarea:focus {
    border-color: var(--site-polish-gold);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(201, 154, 58, .15);
}

.service-page .why-section .service-quote {
    border-radius: 22px;
    background: linear-gradient(145deg, #fff, #fbfcf9);
    box-shadow: var(--site-polish-shadow);
}

.service-page .why-section .service-quote h3 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-page .why-section .service-quote h3::before {
    width: 5px;
    height: 27px;
    flex: 0 0 5px;
    border-radius: 5px;
    background: var(--site-polish-gold);
    content: "";
}

.service-page .why-section .service-quote input,
.service-page .why-section .service-quote select,
.service-page .why-section .service-quote textarea {
    border-color: var(--site-polish-border);
    border-radius: 11px;
    background: #f9fbf9;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.service-page .why-section .service-quote input:focus,
.service-page .why-section .service-quote select:focus,
.service-page .why-section .service-quote textarea:focus {
    border-color: var(--site-polish-gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 154, 58, .15);
}

@media (prefers-reduced-motion: reduce) {
    footer .footer-col a,
    main .contact-side-card,
    main .about-pillar-card,
    main .about-feature-card,
    main .about-testi-card,
    main .faq-card,
    .service-page .why-section .service-quote input,
    .service-page .why-section .service-quote select,
    .service-page .why-section .service-quote textarea {
        transition: none;
    }

    main .contact-side-card:hover,
    main .about-pillar-card:hover,
    main .about-feature-card:hover,
    main .about-testi-card:hover,
    main .faq-card:hover {
        transform: none;
    }
}

main .why-section > .container {
    position: relative;
    width: min(1140px, calc(100% - 40px));
    max-width: 1140px;
}

.container {
    width: min(1140px, calc(100% - 40px));
    max-width: 1140px;
}

main .why-section .why-section-heading h2 {
    position: static;
    left: auto;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    transform: none;
}

main .why-section .why-grid {
    gap: clamp(24px, 3vw, 40px);
}

main .child-services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

main .child-service-card {
    justify-self: stretch;
}

main .urgent-inner .urgent-cta {
    flex: 0 0 auto;
    min-width: 210px;
    white-space: nowrap;
}

@media (min-width: 601px) and (max-width: 1000px) {
    main .child-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    main .why-section > .container {
        width: calc(100% - 40px);
    }
}

@media (max-width: 600px) {
    main .child-services-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


main.service-page .service-hero {
  min-height: 340px;
}

@media (max-width: 767.98px) {
  main.service-page .service-hero {
    min-height: 240px;
  }
}
main .services-editorial {
  overflow: clip !important;
}

main .services-editorial .editorial-services-layout {
  align-items: start;
}

main .services-editorial .editorial-services-intro {
  position: sticky;
  top: 140px;
}

main .editorial-services-intro .editorial-service-thumb {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

main .editorial-services-intro .editorial-service-thumb img {
  display: block;
  width: 100%;
  height: 530px;
}

/* tablet */
@media (max-width: 991.98px) {
  main .editorial-services-intro .editorial-service-thumb img {
    height: 320px;
  }
}

/* mobile */
@media (max-width: 640px) {
  main .editorial-services-intro .editorial-service-thumb img {
    height: 200px;
  }
}

/* Get a Quote floating button (left-bottom, opposite to WhatsApp) */
.quote-float {
  position: fixed !important;
  left: 24px !important;
  right: auto !important;
  bottom: 30px !important;
  z-index: 999 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #c99a3a;
  color: #073d32;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(7, 61, 50, .28);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.quote-float:hover {
  background: #d8aa4a;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(7, 61, 50, .36);
}

.quote-float:focus-visible {
  outline: 3px solid #073d32;
  outline-offset: 3px;
}

.quote-float-icon {
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .quote-float {
    left: 14px !important;
    bottom: 30px !important;
    height: 50px;
    padding: 0 16px;
    font-size: .74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-float { transition: none; }
  .quote-float:hover { transform: none; }
}
.editorial-services-heading {
    margin-bottom: 15px !important;
}


.service-image-wrap::before {
  display: none;
}

@media (min-width: 992px) {
  .service-image-wrap::before {
    display: block;
  }
}