/*
Theme Name: QLP - Quality Linings & Painting
Theme URI: https://qlapi.com
Description: Standalone WordPress theme for the static Quality Linings & Painting site. Built to migrate cleanly to WP Engine.
Version: 2.0.12
Author: QLP Dev Team
Author URI: https://qlapi.com
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qlp
Domain Path: /languages
*/

:root {
    --qlp-navy: #15364a;
    --qlp-blue: #1e6f8f;
    --qlp-steel: #5d6f7b;
    --qlp-orange: #e39a22;
    --qlp-red: #b54234;
    --qlp-ink: #22292f;
    --qlp-muted: #66737c;
    --qlp-border: #d9e0e4;
    --qlp-soft: #f4f7f8;
    --qlp-white: #ffffff;
    --qlp-max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--qlp-ink);
    background: var(--qlp-white);
    font-family: "Space Grotesk", "Space Grotes", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

button,
input,
select,
textarea {
    font-family: "Space Grotesk", "Space Grotes", Arial, Helvetica, sans-serif;
}

.site-main > .section,
.site-footer {
    padding-left: 18px;
    padding-right: 18px;
}

a {
    color: var(--qlp-blue);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--qlp-red);
}

img {
    max-width: 100%;
    height: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: min(100% - 32px, var(--qlp-max));
    margin: 0 auto;
}

.site-topbar {
    color: rgba(255, 255, 255, 0.9);
    background: var(--qlp-navy);
    font-size: 14px;
}

.topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.topbar-links a {
    color: rgba(255, 255, 255, 0.9);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(21, 54, 74, 0.1);
    box-shadow: 0 8px 26px rgba(21, 54, 74, 0.08);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--qlp-navy);
}

.brand-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--qlp-white);
    background: linear-gradient(135deg, var(--qlp-blue), var(--qlp-navy));
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.site-title {
    display: block;
    color: var(--qlp-navy);
    font-size: 22px;
    line-height: 1.1;
    font-weight: 800;
}

.site-description {
    display: block;
    color: var(--qlp-muted);
    font-size: 13px;
    line-height: 1.3;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--qlp-border);
    border-radius: 4px;
    background: var(--qlp-white);
    color: var(--qlp-navy);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    display: block;
    padding: 12px 11px;
    color: var(--qlp-ink);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.main-navigation .current-menu-item > a,
.main-navigation a:hover,
.main-navigation a:focus {
    color: var(--qlp-blue);
}

.hero {
    position: relative;
    color: var(--qlp-white);
    background:
        linear-gradient(90deg, rgba(21, 54, 74, 0.92), rgba(21, 54, 74, 0.66)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 14px),
        linear-gradient(135deg, #244d63, #0f2735);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -24% 38%;
    height: 260px;
    background: linear-gradient(135deg, rgba(227, 154, 34, 0.28), rgba(181, 66, 52, 0.18));
    transform: skewY(-7deg);
}

.hero-inner {
    position: relative;
    z-index: 1;
    min-height: 520px;
    display: grid;
    align-items: center;
    padding: 72px 0 96px;
}

.hero-content {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--qlp-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    margin: 0 0 20px;
    color: var(--qlp-white);
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1;
    font-weight: 800;
}

.hero p {
    max-width: 640px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 21px;
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border: 0;
    border-radius: 4px;
    color: var(--qlp-white);
    background: var(--qlp-blue);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
input[type="submit"]:hover {
    color: var(--qlp-white);
    background: var(--qlp-red);
}

.button.button-accent {
    background: var(--qlp-orange);
    color: var(--qlp-navy);
}

.button.button-outline {
    background: transparent;
    color: var(--qlp-white);
    border: 2px solid rgba(255, 255, 255, 0.72);
}

.section {
    padding: 74px 0;
}

.section-muted {
    background: var(--qlp-soft);
}

.section-heading {
    max-width: 760px;
    margin: 0 0 34px;
}

.section-heading h2,
.entry-content h2 {
    margin: 0 0 12px;
    color: var(--qlp-navy);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.section-heading p {
    margin: 0;
    color: var(--qlp-muted);
    font-size: 18px;
}

.service-grid,
.project-grid,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr 1fr 1fr;
    gap: 30px;
}

.service-card,
.project-card,
.stat-card {
    background: var(--qlp-white);
    border: 1px solid var(--qlp-border);
    border-radius: 6px;
    box-shadow: 0 14px 34px rgba(21, 54, 74, 0.08);
    overflow: hidden;
}

.service-card {
    padding: 28px;
    border-top: 5px solid var(--qlp-blue);
}

.service-card:nth-child(2) {
    border-top-color: var(--qlp-orange);
}

.service-card:nth-child(3) {
    border-top-color: var(--qlp-red);
}

.service-card h3,
.project-card h3,
.stat-card strong {
    margin: 0 0 10px;
    color: var(--qlp-navy);
}

.service-card h3 {
    font-family: "Space Grotesk", "Space Grotes", Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 500;
}

.service-card p,
.project-card p {
    color: var(--qlp-muted);
}

.service-card p {
    font-family: "Space Grotesk", "Space Grotes", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    color: rgb(10, 141, 119);
    font-weight: 500;
}

.service-card a:hover,
.service-card a:focus {
    color: rgb(10, 141, 119);
}

.project-card {
    display: flex;
    min-height: 210px;
    flex-direction: column;
}

.project-media {
    min-height: 112px;
    background:
        linear-gradient(135deg, rgba(30, 111, 143, 0.88), rgba(21, 54, 74, 0.78)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px 18px);
}

.project-card:nth-child(3n + 2) .project-media {
    background:
        linear-gradient(135deg, rgba(227, 154, 34, 0.84), rgba(21, 54, 74, 0.72)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px 18px);
}

.project-card:nth-child(3n + 3) .project-media {
    background:
        linear-gradient(135deg, rgba(181, 66, 52, 0.82), rgba(21, 54, 74, 0.76)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0 2px, transparent 2px 18px);
}

.project-body {
    padding: 22px;
}

.intro-band {
    color: var(--qlp-white);
    background: var(--qlp-navy);
}

.intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 42px;
    align-items: start;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 42px;
    align-items: start;
}

.intro-band h2,
.intro-band h3 {
    color: var(--qlp-white);
}

.intro-band p,
.intro-band li {
    color: rgba(255, 255, 255, 0.88);
}

.intro-band .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.intro-band .stat-card {
    min-height: 0;
    padding: 24px 20px 22px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 4px solid var(--qlp-orange);
    border-radius: 6px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

.intro-band .stat-card strong {
    margin: 0;
    color: var(--qlp-white);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
}

.home .entry-content > .section.intro-band {
    padding-top: 86px;
    padding-bottom: 86px;
}

.home .entry-content > .section.intro-band .intro-layout {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 0.72fr);
    align-items: center;
}

.home .entry-content > .section.intro-band .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home .entry-content > .section.intro-band .stat-card {
    min-height: 150px;
    padding: 26px 22px 24px;
    border-top-color: var(--qlp-orange);
}

.stat-card {
    padding: 24px;
}

.stat-card strong {
    display: block;
    color: var(--qlp-blue);
    font-size: 30px;
    line-height: 1;
}

.page-hero {
    color: var(--qlp-white);
    background:
        linear-gradient(90deg, rgba(21, 54, 74, 0.92), rgba(21, 54, 74, 0.68)),
        linear-gradient(135deg, #244d63, #102b39);
    background-position: center;
    background-size: cover;
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
}

.page-hero .container {
    min-height: 315px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 56px;
    padding-bottom: 56px;
}

.page-hero.has-page-image {
    background-position: center;
    background-size: cover;
}

.site-main {
    flex: 1;
}

.content-wrap {
    padding: 64px 0;
}

.entry-content {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
}

body[class*="elementor-page-"] .entry-content {
    width: 100%;
    max-width: none;
}

body[class*="elementor-page-"] .entry-content > .elementor {
    margin-right: auto;
    margin-left: auto;
}

.entry-content h1,
.entry-title {
    color: var(--qlp-navy);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.08;
}

.entry-content h3 {
    margin-top: 32px;
    color: var(--qlp-blue);
}

.entry-content ul,
.entry-content ol {
    padding-left: 24px;
}

.sidebar-panel {
    padding: 26px;
    background: var(--qlp-soft);
    border: 1px solid var(--qlp-border);
    border-radius: 6px;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.contact-card {
    padding: 28px;
    background: var(--qlp-soft);
    border: 1px solid var(--qlp-border);
    border-radius: 6px;
}

.contact-form label {
    display: block;
    margin-bottom: 14px;
    color: var(--qlp-navy);
    font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.wpcf7-form-control {
    width: 100%;
    min-height: 46px;
    margin-top: 5px;
    padding: 10px 12px;
    border: 1px solid var(--qlp-border);
    border-radius: 4px;
    color: var(--qlp-ink);
    background: var(--qlp-white);
    font: inherit;
}

.contact-form textarea,
.wpcf7-textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-page-wrap {
    padding-top: 56px;
}

.contact-page-content {
    max-width: none;
}

.inline-service-teasers,
.inline-projects {
    max-width: none;
    margin-top: 34px;
}

.inline-service-teasers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-summary {
    margin: 0 0 28px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--qlp-border);
}

.home-welcome .section-heading {
    max-width: 1020px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.home-welcome {
    padding-top: 70px;
    padding-bottom: 48px;
}

.home-welcome-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: 42px;
    align-items: center;
}

.home-welcome-copy h2 {
    margin: 0 0 16px;
    color: var(--qlp-navy);
    font-family: "Space Grotesk", "Space Grotes", Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 500;
}

.home-welcome-copy p {
    margin: 0;
    color: var(--qlp-ink);
    font-family: "Space Grotesk", "Space Grotes", Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.65;
    font-weight: 500;
}

.home-welcome .qlp-video-wrap {
    width: 100%;
    margin: 0;
}

.home .entry-content > .section > .container.entry-content {
    width: min(100% - 32px, var(--qlp-max));
    max-width: var(--qlp-max);
    margin-right: auto;
    margin-left: auto;
}

.home .entry-content > .section > .container.entry-content p {
    max-width: 1180px;
    margin: 0 auto;
    color: var(--qlp-ink);
    font-size: 24px;
    line-height: 1.65;
    font-weight: 600;
    text-align: center;
}

.home .elementor-widget-html .qlp-slider + .section {
    padding-top: 70px;
    padding-bottom: 40px;
}

.home .elementor-widget-html .qlp-slider + .section > .container.entry-content {
    width: min(100% - 32px, var(--qlp-max));
    max-width: var(--qlp-max);
    margin-right: auto;
    margin-left: auto;
}

.home .elementor-widget-html .qlp-slider + .section > .container.entry-content p {
    max-width: 1120px;
    margin: 0 auto;
    color: var(--qlp-ink);
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.55;
    font-weight: 600;
    text-align: center;
}

.home .qlp-home-welcome-preserved {
    padding-top: 70px;
    padding-bottom: 40px;
}

.home .qlp-home-welcome-preserved > .container.entry-content {
    width: min(100% - 32px, var(--qlp-max));
    max-width: var(--qlp-max);
    margin-right: auto;
    margin-left: auto;
}

.home .qlp-home-welcome-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px;
    align-items: center;
}

.home .qlp-home-welcome-copy h2 {
    margin: 0 0 18px;
    color: var(--qlp-navy);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
}

.home .qlp-home-welcome-preserved .qlp-home-welcome-copy p {
    max-width: none;
    margin: 0;
    color: var(--qlp-ink);
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
    text-align: left;
}

.home .qlp-home-welcome-preserved .qlp-video-wrap {
    width: 100%;
    margin: 0;
}

.home .qlp-home-welcome-preserved .qlp-logo-row {
    justify-content: flex-start;
    margin-top: 28px;
}

.home-certifications {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: 34px;
}

.home-certifications img {
    max-width: 150px;
    max-height: 86px;
    object-fit: contain;
}

.home-featured-projects {
    padding-top: 22px;
}

.home-featured-projects .section-heading {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.home-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-featured-grid .service-card {
    padding: 0;
    border-top: 0;
}

.home-featured-grid .service-card h3,
.home-featured-grid .service-card p,
.home-featured-grid .service-card a {
    margin-right: 28px;
    margin-left: 28px;
}

.home-featured-grid .service-card a {
    display: inline-block;
    margin-bottom: 28px;
    font-weight: 700;
}

.home-service-image {
    min-height: 230px;
    margin-bottom: 24px;
    background-position: center;
    background-size: cover;
}

.home-featured-projects .qlp-featured-rows {
    max-width: 1080px;
    margin-right: auto;
    margin-left: auto;
}

.home-summary {
    padding-top: 22px;
    background: var(--qlp-white);
}

.home-summary .container {
    max-width: 980px;
}

.home-summary p {
    margin: 0 0 14px;
    color: var(--qlp-ink);
    font-size: 18px;
    font-weight: 700;
}

.old-contact-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 42px;
    align-items: start;
    margin-top: 24px;
}

.old-contact-card,
.old-contact-form {
    border: 1px solid var(--qlp-border);
    background: var(--qlp-white);
    box-shadow: 0 14px 34px rgba(21, 54, 74, 0.08);
}

.old-contact-card {
    padding: 28px;
}

.old-contact-form {
    padding: 30px;
}

.old-contact-card h3,
.old-contact-form h2 {
    margin-top: 0;
    color: var(--qlp-navy);
}

.old-contact-form .wpcf7-form p {
    margin: 0 0 16px;
}

.old-contact-form .wpcf7-form label {
    color: var(--qlp-navy);
    font-weight: 700;
}

.old-contact-form .wpcf7-submit {
    width: auto;
    min-width: 140px;
}

.copy-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.copy-check input {
    width: auto;
    min-height: 0;
    margin: 0;
}

.site-footer {
    color: rgba(255, 255, 255, 0.86);
    background: #151515;
    padding: 58px 0 26px;
}

.site-footer h2,
.site-footer h3 {
    color: var(--qlp-white);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.86);
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin-bottom: 8px;
}

.footer-intro p:first-child {
    margin-top: 0;
    color: #ffffff;
    font-weight: 700;
}

.certification-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 10px 0 18px;
}

.certification-logos img {
    width: 74px;
    max-height: 54px;
    object-fit: contain;
    padding: 6px;
    background: #ffffff;
}

.footer-social a {
    font-weight: 700;
}

.footer-bottom {
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
}

/* Live Joomla body migration */
.qlp-live-page > .container {
    width: min(100% - 40px, 1180px);
    max-width: 1180px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
}

.qlp-content-container {
    width: min(100% - 40px, 980px);
    margin-right: auto;
    margin-left: auto;
}

.qlp-about-content,
.qlp-services-content {
    padding-right: 28px;
    padding-left: 28px;
}

.qlp-live-page {
    padding-top: 76px;
    padding-bottom: 76px;
}

.qlp-live-page h2 {
    margin-bottom: 24px;
    text-align: left;
}

.qlp-live-page h3,
.qlp-live-page h4 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.qlp-live-page p,
.qlp-live-page li {
    line-height: 1.75;
}

.qlp-live-page p {
    margin-top: 0;
    margin-bottom: 18px;
}

.qlp-live-page ul,
.qlp-live-page ol {
    padding-left: 22px;
    margin: 16px 0 28px;
    text-align: left;
}

.qlp-service-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.qlp-service-link-grid article {
    display: flex;
    min-height: 240px;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--qlp-border);
    background: #fff;
    box-shadow: 0 14px 34px rgba(21, 54, 74, 0.08);
}

.qlp-service-link-grid h3 {
    margin-top: 0;
}

.qlp-service-link-grid a {
    margin-top: auto;
    font-weight: 800;
}

.qlp-live-featured {
    padding-top: 36px;
}

.qlp-live-featured .section-heading {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.qlp-inline-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    margin-bottom: 18px;
}

.qlp-page-banner {
    position: relative;
    width: 100vw;
    min-height: 340px;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    display: grid;
    place-items: center;
    color: #fff;
    background-position: center;
    background-size: cover;
}

.qlp-page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(21, 54, 74, 0.52);
}

.qlp-page-banner-inner {
    position: relative;
    z-index: 1;
    width: min(100% - 32px, var(--qlp-max));
}

.qlp-page-banner h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
}

.qlp-video-wrap {
    position: relative;
    width: min(100%, 900px);
    margin: 34px auto;
    aspect-ratio: 16 / 9;
    background: #111;
}

.qlp-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.qlp-featured-rows {
    display: grid;
    gap: 34px;
}

.qlp-featured-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--qlp-border);
    box-shadow: 0 14px 34px rgba(21, 54, 74, 0.08);
    overflow: hidden;
}

.qlp-featured-row.is-reverse .qlp-featured-media {
    order: 2;
}

.qlp-featured-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
    object-fit: cover;
}

.qlp-featured-body {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 42px;
    text-align: left;
}

.qlp-featured-body h3 {
    margin-top: 0;
    color: var(--qlp-navy);
    font-family: "Space Grotesk", "Space Grotes", Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 500;
}

.qlp-featured-body p {
    color: var(--qlp-muted);
    font-family: "Space Grotesk", "Space Grotes", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
}

.qlp-featured-body a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 12px;
    padding: 0;
    color: rgb(10, 141, 119);
    background: transparent;
    border-radius: 0;
    font-weight: 500;
}

.qlp-featured-body a:hover,
.qlp-featured-body a:focus {
    color: rgb(10, 141, 119);
    background: transparent;
}

.qlp-safety-powder {
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
    margin-top: 42px;
    overflow: hidden;
}

.qlp-safety-powder-image {
    position: relative;
    min-height: 100%;
}

.qlp-safety-powder .qlp-safety-powder-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    display: block;
    object-fit: cover;
    object-position: center;
}

.qlp-safety-powder-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 5vw, 72px);
    color: #fff;
    background: rgb(41, 206, 175);
}

.qlp-safety-powder-content h2,
.qlp-safety-powder-content h3,
.qlp-safety-powder-content p {
    color: #fff;
}

.qlp-safety-powder-content h2 {
    margin: 0 0 12px;
    font-size: 50px;
    line-height: 1.1;
}

.qlp-safety-powder-content h3 {
    margin: 0 0 24px;
    font-size: 30px;
    line-height: 1.2;
}

.qlp-safety-powder-content p {
    font-size: 19px;
    line-height: 1.65;
}

.qlp-safety-powder-content p:last-child {
    margin-bottom: 0;
}

.qlp-featured-body a::after,
.service-card a::after {
    content: "\2192";
    margin-left: 8px;
    line-height: 1;
}

.qlp-bottom-band {
    position: relative;
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: 0;
    color: #4f565d;
    background: #f3f9fc;
    overflow: hidden;
}

.qlp-bottom-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("https://qlapi.com/images/banners/Home-4-Denver-art-museum.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 0;
    background-attachment: fixed;
    opacity: 0.08;
}

.qlp-bottom-band > .container {
    position: relative;
    z-index: 1;
    width: min(100% - 20px, 100%);
    max-width: none;
}

.qlp-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.qlp-bottom-grid > div {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 42px 34px;
    border-right: 0;
    color: #4f565d;
    font-size: 20px;
    line-height: 1.85;
    font-weight: 400;
    text-align: center;
}

.g-features-particle-icon,
.qlp-feature-icon {
    position: relative;
    flex: 0 0 auto;
    width: 108px;
    height: 94px;
    display: inline-grid;
    place-items: center;
    color: #5f5f5f;
    font-size: 86px;
    line-height: 1;
}

.qlp-feature-icon svg {
    width: 96px;
    height: 86px;
    fill: none;
    stroke: currentColor;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.g-features-particle-icon .g-circle-border {
    display: none;
}

.qlp-bottom-text,
.g-features-particle-desc {
    display: block;
    margin: 0;
}

.qlp-bottom-grid > div:last-child {
    border-right: 0;
}

.qlp-articles-page {
    background: #f7f7f7;
}

.qlp-articles-page > .container {
    width: min(100% - 40px, 1180px);
    max-width: 1180px;
}

.qlp-article-featured {
    margin-bottom: 54px;
}

.qlp-article-featured img {
    width: min(100%, 870px);
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: cover;
}

.qlp-article-featured h3 {
    max-width: 900px;
    margin: 36px 0 0;
    color: #071c35;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.24;
    font-weight: 500;
}

.qlp-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 56px;
}

.qlp-article-card {
    min-width: 0;
}

.qlp-article-card img {
    width: 100%;
    aspect-ratio: 1.5 / 1;
    display: block;
    object-fit: cover;
    margin-bottom: 34px;
}

.qlp-article-card h3 {
    margin: 0;
    color: #071c35;
    font-size: clamp(20px, 1.7vw, 25px);
    line-height: 1.28;
    font-weight: 500;
}

.qlp-article-card h3 a,
.qlp-article-featured h3 a,
.qlp-more-articles a {
    color: inherit;
}

.qlp-more-articles {
    margin-top: 70px;
}

.qlp-more-articles h2 {
    margin-bottom: 18px;
}

.qlp-more-articles ol {
    margin: 0;
    padding-left: 24px;
    font-size: 20px;
    line-height: 1.75;
}

.qlp-article-pagination {
    display: flex;
    gap: 8px;
    margin-top: 54px;
}

.qlp-article-pagination a {
    min-width: 42px;
    min-height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--qlp-border);
    background: #fff;
    color: #071c35;
    font-weight: 800;
}

.qlp-article-pagination a.is-active,
.qlp-article-pagination a:hover {
    color: #fff;
    background: #b9342f;
    border-color: #b9342f;
}

.qlp-single-article > .container {
    width: min(100% - 40px, 1040px);
    max-width: 1040px;
}

.qlp-single-article-image {
    width: min(100%, 900px);
    max-height: 520px;
    display: block;
    object-fit: cover;
    margin-bottom: 36px;
}

.qlp-single-article h1 {
    max-width: 940px;
    margin: 0 0 28px;
    color: #071c35;
    font-size: clamp(34px, 4.6vw, 48px);
    line-height: 1.22;
    font-weight: 500;
}

.qlp-single-article-body {
    max-width: 940px;
    color: var(--qlp-ink);
    font-size: 18px;
    line-height: 1.75;
}

.qlp-single-article-body img {
    max-width: 100%;
    height: auto;
}

.qlp-care-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.qlp-care-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.qlp-logo-row {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.qlp-logo-row img {
    max-height: 72px;
    width: auto;
    object-fit: contain;
}

.qlp-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 42px;
    align-items: start;
    margin-top: 24px;
}

.qlp-static-form {
    display: grid;
    gap: 10px;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(20, 24, 31, 0.08);
}

.qlp-static-form h3,
.qlp-static-form p {
    margin: 0 0 8px;
}

.qlp-static-form input[type="text"],
.qlp-static-form input[type="email"],
.qlp-static-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 4px;
    padding: 11px 12px;
    font: inherit;
}

.qlp-map-embed {
    margin-top: 24px;
}

.qlp-map-embed iframe {
    width: 100%;
    max-width: 600px;
    display: block;
}

.qlp-checkbox {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 8px 0;
}

.qlp-safety-page,
.qlp-equipment-page,
.qlp-care-page,
.qlp-about-page,
.qlp-projects-page {
    font-family: "Space Grotesk", "Space Grotes", Arial, Helvetica, sans-serif;
}

.qlp-safety-page > .container > h2 {
    color: #111111;
    font-size: 50px;
    line-height: 1.1;
}

.qlp-safety-page > .container > p,
.qlp-safety-page > .container > li {
    font-size: 16px;
}

.qlp-equipment-page h2 {
    color: #111111;
}

.qlp-equipment-page li:first-child {
    font-weight: 400;
}

.qlp-form-notice {
    margin: 0 0 24px;
    padding: 14px 16px;
    border-left: 4px solid #1e6f8f;
    background: #f4f7f8;
}

.qlp-form-notice.is-success {
    border-left-color: #16845f;
}

.qlp-form-notice.is-error {
    border-left-color: #b54234;
}

.qlp-contact-hero {
    width: min(100% - 32px, var(--qlp-max));
    margin: 32px auto 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(420px, 0.94fr);
    gap: 40px;
    background: #f6f6f6;
}

.qlp-contact-hero-copy {
    min-height: 605px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 58px;
    color: #ffffff;
    background: #252d24;
    text-align: center;
}

.qlp-contact-hero-copy h2 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 50px;
    line-height: 1.08;
    font-weight: 700;
}

.qlp-contact-hero-copy p {
    max-width: 610px;
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 500;
}

.qlp-contact-hero-map iframe {
    width: 100%;
    height: 565px;
    display: block;
    border: 0;
}

.qlp-contact-main {
    padding-top: 72px;
    padding-bottom: 78px;
    background: #ffffff;
}

.qlp-contact-main-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.qlp-contact-info h2,
.qlp-contact-form-panel h2 {
    margin: 0 0 24px;
    color: #071c35;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 400;
}

.qlp-contact-info ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.qlp-contact-info li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    color: #555f67;
    font-size: 16px;
    line-height: 1.35;
}

.qlp-contact-info .fa {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: #071c35;
    background: #fafafa;
    font-size: 18px;
}

.qlp-contact-info a {
    color: #555f67;
}

.qlp-contact-info a:hover,
.qlp-contact-info a:focus {
    color: #6c8c2f;
}

.qlp-contact-info li:last-child a {
    color: #6c8c2f;
}

.qlp-contact-links-heading {
    margin-top: 46px !important;
}

.qlp-contact-form-panel > h2 {
    margin-bottom: 12px;
    font-size: 30px;
    font-weight: 500;
    text-align: left;
}

.qlp-contact-form-panel > p {
    margin: 0 0 26px;
    color: #555f67;
    font-size: 16px;
}

.qlp-contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 30px;
}

.qlp-contact-field,
.qlp-contact-field-wide {
    min-width: 0;
}

.qlp-contact-field-wide {
    grid-column: 1 / -1;
}

.qlp-contact-form label {
    display: block;
    margin: 0 0 7px;
    color: #071c35;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
}

.qlp-contact-form label span {
    color: #c83434;
}

.qlp-contact-form input[type="text"],
.qlp-contact-form input[type="email"],
.qlp-contact-form textarea {
    width: 100%;
    min-height: 70px;
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    background: #ffffff;
    color: #071c35;
    font: inherit;
    font-size: 16px;
}

.qlp-contact-form textarea {
    min-height: 220px;
    resize: vertical;
}

.qlp-contact-copy {
    display: flex !important;
    align-items: center;
    gap: 10px;
    color: #555f67 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.qlp-contact-copy input {
    width: auto;
    min-height: 0;
    margin: 0;
}

.qlp-honeypot {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

@media (max-width: 640px) {
    .qlp-safety-page > .container > h2,
    .qlp-safety-powder-content h2 {
        font-size: 38px;
    }

    .qlp-safety-powder-content p {
        font-size: 17px;
    }
}

.article-summary {
    padding: 26px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.article-summary:first-of-type {
    padding-top: 0;
}

.article-summary h3 {
    margin-top: 0;
}

@media (max-width: 980px) {
    .qlp-contact-hero,
    .qlp-contact-main-grid {
        grid-template-columns: 1fr;
    }

    .qlp-contact-hero {
        gap: 24px;
        padding: 24px;
    }

    .qlp-contact-hero-copy {
        min-height: 420px;
    }

    .qlp-contact-hero-map iframe {
        height: 440px;
    }

    .qlp-contact-main-grid {
        gap: 42px;
    }

    .qlp-contact-layout {
        grid-template-columns: 1fr;
    }

    .qlp-featured-row,
    .qlp-featured-row.is-reverse {
        grid-template-columns: 1fr;
    }

    .qlp-featured-row.is-reverse .qlp-featured-media {
        order: 0;
    }

    .qlp-safety-powder {
        grid-template-columns: 1fr;
    }

    .qlp-safety-powder .qlp-safety-powder-image img {
        position: static;
        min-height: 360px;
        max-height: 520px;
    }

    .qlp-care-gallery {
        grid-template-columns: 1fr;
    }

    .qlp-service-link-grid {
        grid-template-columns: 1fr;
    }

    .qlp-bottom-grid,
    .qlp-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qlp-bottom-grid > div {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(79, 86, 93, 0.16);
    }

    .qlp-bottom-grid > div:last-child {
        border-bottom: 0;
    }

    .header-inner {
        min-height: 74px;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .main-navigation ul {
        position: absolute;
        inset: 100% 16px auto 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        background: var(--qlp-white);
        border: 1px solid var(--qlp-border);
        border-radius: 6px;
        box-shadow: 0 18px 40px rgba(21, 54, 74, 0.16);
    }

    .main-navigation.is-open ul {
        display: flex;
    }

    .main-navigation a {
        padding: 12px;
    }

    .service-grid,
    .project-grid,
    .stats-grid,
    .intro-layout,
    .content-layout,
    .contact-panel,
    .old-contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-inner {
        min-height: 470px;
    }

    .intro-band .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home .entry-content > .section.intro-band .intro-layout {
        grid-template-columns: 1fr;
    }

    .home-welcome-layout {
        grid-template-columns: 1fr;
    }

    .home .entry-content > .section.intro-band .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .qlp-contact-hero {
        padding: 18px;
    }

    .qlp-contact-hero-copy {
        min-height: 360px;
        padding: 40px 24px;
    }

    .qlp-contact-hero-copy p {
        font-size: 16px;
    }

    .qlp-contact-hero-map iframe {
        height: 360px;
    }

    .qlp-contact-main {
        padding-top: 48px;
        padding-bottom: 54px;
    }

    .qlp-contact-form {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .qlp-contact-info li {
        font-size: 16px;
    }

    .qlp-live-page {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .qlp-live-page > .container {
        width: min(100% - 28px, 1180px);
    }

    .qlp-about-content,
    .qlp-services-content {
        padding-right: 0;
        padding-left: 0;
    }

    .qlp-bottom-band {
        background-attachment: scroll;
    }

    .qlp-bottom-grid > div {
        padding: 26px 22px;
        font-size: 16px;
    }

    .qlp-articles-page > .container {
        width: min(100% - 28px, 1180px);
    }

    .qlp-article-featured {
        margin-bottom: 42px;
    }

    .qlp-article-card img {
        margin-bottom: 18px;
    }

    .qlp-articles-grid {
        grid-template-columns: 1fr;
    }

    .topbar-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 10px 0;
        gap: 6px;
    }

    .site-title {
        font-size: 18px;
    }

    .site-description {
        display: none;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
    }

    .hero-inner {
        min-height: 430px;
        padding: 52px 0 70px;
    }

    .hero p {
        font-size: 18px;
    }

    .section {
        padding: 52px 0;
    }

    .intro-band .stats-grid {
        grid-template-columns: 1fr;
    }

    .home .entry-content > .section.intro-band {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .home .entry-content > .section.intro-band .stats-grid {
        grid-template-columns: 1fr;
    }

    .home .entry-content > .section > .container.entry-content p {
        font-size: 18px;
        line-height: 1.65;
    }

    .home-welcome {
        padding-top: 44px;
        padding-bottom: 34px;
    }

    .home-welcome-copy h2,
    .home-welcome-copy p {
        font-size: 20px;
    }

    .home .elementor-widget-html .qlp-slider + .section {
        padding-top: 44px;
        padding-bottom: 26px;
    }

    .home .elementor-widget-html .qlp-slider + .section > .container.entry-content p {
        font-size: 19px;
        line-height: 1.6;
    }

    .home .qlp-home-welcome-preserved {
        padding-top: 44px;
        padding-bottom: 26px;
    }

    .home .qlp-home-welcome-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .home .qlp-home-welcome-preserved .qlp-home-welcome-copy p {
        font-size: 17px;
        line-height: 1.65;
    }
}

/* Old Joomla header/menu alignment */
.site-topbar,
.brand-mark,
.site-title,
.site-description {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 8px 28px rgba(17, 17, 17, 0.08);
}

.header-inner {
    width: min(100% - 40px, 1340px);
    min-height: 111px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: center;
    gap: 38px;
}

.site-branding {
    width: 100%;
    display: block;
}

.qlp-logo {
    display: block;
    width: 116px;
    height: 99px;
    max-width: none;
    object-fit: contain;
}

.main-navigation {
    min-width: 0;
    justify-content: center;
}

.main-navigation ul.old-site-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    width: 100%;
}

.old-site-menu > li {
    position: relative;
}

.old-site-menu > li > a {
    position: relative;
    padding: 34px 12px 32px;
    color: #111111;
    font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
    white-space: nowrap;
    transition: color 180ms ease;
}

.old-site-menu > li > a::before {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 23px;
    left: 10px;
    height: 2px;
    background: rgb(109, 144, 81);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.old-site-menu > li > a:hover,
.old-site-menu > li:focus-within > a,
.old-site-menu > li.current-menu-item > a {
    color: rgb(109, 144, 81);
}

.old-site-menu > li > a:hover::before,
.old-site-menu > li:focus-within > a::before,
.old-site-menu > li.current-menu-item > a::before {
    transform: scaleX(1);
}

.old-site-menu .has-submenu > a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.old-site-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 60;
    display: none;
    min-width: 230px;
    padding: 8px 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.16);
}

.old-site-menu .has-submenu:hover .sub-menu,
.old-site-menu .has-submenu:focus-within .sub-menu {
    display: block;
}

.old-site-menu .sub-menu li {
    display: block;
}

.old-site-menu .sub-menu a {
    display: block;
    padding: 13px 18px;
    color: #111111;
    font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 650;
    text-transform: capitalize;
    white-space: nowrap;
}

.old-site-menu .sub-menu a:hover,
.old-site-menu .sub-menu a:focus,
.old-site-menu .sub-menu .current-menu-item a {
    color: #ffffff;
    background: rgb(109, 144, 81);
}

/* Old Joomla full-width slideshow */
.qlp-slider {
    position: relative;
    width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    min-height: 620px;
    overflow: hidden;
    background: #111111;
}

.qlp-slider-track,
.qlp-slide {
    position: absolute;
    inset: 0;
}

.qlp-slide {
    display: grid;
    place-items: center;
    padding: 120px 24px;
    color: #ffffff;
    text-align: center;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 700ms ease, transform 1200ms ease;
}

.qlp-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.34);
}

.qlp-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.qlp-slide-content {
    position: relative;
    z-index: 3;
}

.qlp-slide h1 {
    margin: 0 0 28px;
    color: #ffffff;
    font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
    font-size: clamp(42px, 7vw, 92px);
    font-weight: 700;
    line-height: 1.04;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.5);
}

.slider-button {
    min-height: 52px;
    padding: 14px 30px;
    color: #ffffff;
    background: #b9342f;
    border-radius: 0;
    font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
    text-transform: none;
}

.slider-button:hover,
.slider-button:focus {
    background: #15364a;
}

.slider-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    border-radius: 0;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.35);
    font-size: 46px;
    font-weight: 300;
    line-height: 1;
    transform: translateY(-50%);
}

.slider-nav:hover,
.slider-nav:focus {
    background: #b9342f;
}

.slider-prev {
    left: 24px;
}

.slider-next {
    right: 24px;
}

.service-page-slider {
    min-height: 500px;
}

.service-page-slider .qlp-slide {
    padding-top: 92px;
    padding-bottom: 92px;
}

@media (max-width: 1180px) {
    .header-inner {
        grid-template-columns: 116px minmax(0, 1fr);
        gap: 20px;
    }

    .qlp-logo {
        width: 116px;
        height: 99px;
    }

    .old-site-menu > li > a {
        padding-left: 7px;
        padding-right: 7px;
        font-size: 15px;
    }
}

@media (max-width: 980px) {
    .header-inner {
        grid-template-columns: 116px auto;
        min-height: 111px;
    }

    .qlp-logo {
        width: 116px;
        height: 99px;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .main-navigation ul.old-site-menu {
        position: absolute;
        inset: 100% 16px auto 16px;
        display: none;
        width: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
        background: #ffffff;
        border: 1px solid var(--qlp-border);
        box-shadow: 0 18px 40px rgba(21, 54, 74, 0.16);
    }

    .main-navigation.is-open ul.old-site-menu {
        display: flex;
    }

    .old-site-menu > li > a {
        padding: 14px 18px;
        font-size: 15px;
    }

    .old-site-menu > li > a::before {
        display: none;
    }

    .old-site-menu .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        padding: 0 0 0 14px;
        border: 0;
        box-shadow: none;
    }

    .qlp-slider {
        min-height: 500px;
    }

    .service-page-slider {
        min-height: 460px;
    }
}

@media (max-width: 640px) {
    .header-inner {
        width: min(100% - 24px, 1320px);
    }

    .qlp-logo {
        width: 116px;
        height: 99px;
    }

    .qlp-slider {
        min-height: 430px;
    }

    .service-page-slider {
        min-height: 400px;
    }

    .qlp-slide {
        padding: 90px 22px;
    }

    .old-contact-card,
    .old-contact-form {
        padding: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .slider-nav {
        width: 42px;
        height: 42px;
        min-height: 42px;
        font-size: 34px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }
}
