/*
Theme Name: Elektrosicherheit Weber WP Safe
Theme URI: https://www.elektrosicherheitweber.info/
Author: Eric Weber
Description: Futuristisches, schnelles WordPress-Theme für Elektrosicherheit Weber mit Fokus auf elektrische Betriebssicherheit, Prüfleistungen und Sachverständigen-Kompetenz.
Version: 1.6.8
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: Proprietary
Text Domain: elektrosicherheit-weber-wp-safe
*/
:root {
    --color-ink: #061016;
    --color-ink-2: #0b1821;
    --color-panel: #10212c;
    --color-steel: #eef3f5;
    --color-steel-2: #dbe4e8;
    --color-text: #17222b;
    --color-muted: #52616c;
    --color-white: #ffffff;
    --color-gold: #d99a25;
    --color-gold-2: #f0c35a;
    --color-blue: #19a8e2;
    --color-blue-2: #70d1ff;
    --color-danger: #b43b30;
    --color-success: #16704b;
    --shadow-soft: 0 22px 70px rgba(5, 18, 27, 0.18);
    --shadow-strong: 0 30px 90px rgba(0, 0, 0, 0.34);
    --radius: 8px;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--color-white);
    color: var(--color-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 120px));
    margin: 0 auto;
}

.skip-link,
.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;
}

.skip-link:focus {
    width: auto;
    height: auto;
    margin: 0;
    padding: 12px 16px;
    clip: auto;
    z-index: 1000;
    top: 16px;
    left: 16px;
    background: var(--color-gold);
    color: var(--color-ink);
    border-radius: var(--radius);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 16, 22, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 84px;
}

.brand {
    display: inline-grid;
    grid-template-columns: 56px auto;
    align-items: center;
    gap: 14px;
    color: var(--color-white);
    text-decoration: none;
    min-width: 250px;
}

.brand img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(240, 195, 90, 0.35), 0 10px 28px rgba(25, 168, 226, 0.16);
}

.brand strong {
    display: block;
    font-size: 0.96rem;
    line-height: 1.2;
}

.brand small {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
    margin-top: 2px;
}

.primary-nav {
    justify-self: center;
}

.primary-nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 13px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    border-radius: var(--radius);
    transition: color 160ms ease, background 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-2));
    color: var(--color-ink);
    text-decoration: none;
    font-weight: 800;
    border-radius: var(--radius);
    box-shadow: 0 14px 32px rgba(217, 154, 37, 0.22);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 10px;
}

.nav-toggle span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    background: var(--color-white);
    margin: 5px 0;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(6, 16, 22, 0.96) 0%, rgba(9, 24, 33, 0.94) 48%, rgba(13, 35, 47, 0.9) 100%),
        repeating-linear-gradient(135deg, rgba(25, 168, 226, 0.12) 0 1px, transparent 1px 60px);
    color: var(--color-white);
}

.hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
    height: 55%;
    background:
        linear-gradient(90deg, transparent 0 70%, rgba(25, 168, 226, 0.28) 70% 71%, transparent 71% 100%),
        linear-gradient(0deg, transparent 0 65%, rgba(217, 154, 37, 0.25) 65% 66%, transparent 66% 100%);
    background-size: 82px 82px;
    opacity: 0.42;
    pointer-events: none;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(350px, 0.75fr);
    gap: 56px;
    align-items: center;
    min-height: 600px;
    padding: 52px 0 62px;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--color-blue-2);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    max-width: 780px;
    font-size: 3.2rem;
}

h2 {
    font-size: 2.35rem;
}

h3 {
    font-size: 1.18rem;
}

.hero__lead {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.btn--gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-2));
    color: var(--color-ink);
    box-shadow: 0 18px 36px rgba(217, 154, 37, 0.23);
}

.btn--dark {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--color-white);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--color-white);
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.trust-strip span,
.standard-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid rgba(25, 168, 226, 0.28);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
}

.hero-visual {
    min-width: 0;
}

.hero-visual__frame {
    position: relative;
    display: grid;
    grid-template-columns: 0.75fr 1.2fr 0.75fr;
    gap: 12px;
    min-height: 370px;
    padding: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
}

.panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #172b36, #07141c);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.panel--left,
.panel--right {
    display: grid;
    align-content: center;
    gap: 24px;
    padding: 24px 18px;
}

.panel--left span,
.panel--right span {
    display: block;
    height: 48px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(25, 168, 226, 0.2), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(112, 209, 255, 0.18);
}

.panel--center {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 18px;
    padding: 20px;
}

.meter {
    padding: 14px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(112, 209, 255, 0.22);
}

.meter strong,
.meter span {
    display: block;
}

.meter span {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.86rem;
}

.thermal-map {
    position: relative;
    min-height: 226px;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 70% 30%, #f0c35a 0 10%, #d96f25 11% 18%, transparent 19%),
        radial-gradient(circle at 30% 70%, #19a8e2 0 12%, #235777 13% 24%, transparent 25%),
        linear-gradient(135deg, rgba(217, 154, 37, 0.55), rgba(25, 168, 226, 0.52), rgba(7, 20, 28, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.trace {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-blue), var(--color-gold));
}

.trace--one {
    width: 180px;
    right: 24px;
    top: 112px;
}

.trace--two {
    width: 140px;
    left: 28px;
    bottom: 88px;
}

.content-section {
    padding: 86px 0;
}

.section-light {
    background: var(--color-white);
}

.section-steel {
    background:
        linear-gradient(180deg, rgba(238, 243, 245, 0.96), rgba(255, 255, 255, 0.98)),
        repeating-linear-gradient(90deg, rgba(25, 168, 226, 0.12) 0 1px, transparent 1px 88px);
}

.section-dark {
    background:
        linear-gradient(135deg, #061016, #0b1b25 70%, #10212c);
    color: var(--color-white);
}

.section-heading {
    max-width: 820px;
    margin-bottom: 34px;
}

.section-heading--dark h2 {
    color: var(--color-white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.service-card {
    display: block;
    min-height: 258px;
    padding: 22px;
    border: 1px solid rgba(6, 16, 22, 0.1);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #ffffff, #f7fafb);
    box-shadow: 0 14px 34px rgba(6, 16, 22, 0.07);
}

.service-card--link {
    color: inherit;
    text-decoration: none;
}

.service-card__mark {
    display: block;
    width: 36px;
    height: 5px;
    margin-bottom: 20px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-gold));
}

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

.service-card small {
    display: block;
    margin-top: 18px;
    font-weight: 800;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 78px;
    align-items: start;
}

.prose {
    max-width: 820px;
}

.prose p:first-child {
    margin-top: 0;
}

.prose a {
    color: #0c6f9c;
    font-weight: 700;
}

.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    list-style: none;
    margin: 38px 0 0;
    padding: 0;
}

.process-list li {
    min-height: 250px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.process-list span,
.credential-grid span,
.service-detail__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 32px;
    margin-bottom: 20px;
    border-radius: 4px;
    background: rgba(25, 168, 226, 0.15);
    color: var(--color-blue-2);
    font-weight: 900;
}

.process-list p,
.credential-grid p {
    color: rgba(255, 255, 255, 0.7);
}

.standards {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.standard-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.standard-cloud span {
    background: #f4f8fa;
    color: var(--color-text);
    border-color: rgba(25, 168, 226, 0.24);
}

.cta-band {
    background:
        linear-gradient(135deg, #08131a 0%, #102331 65%, #1b2b33 100%);
    color: var(--color-white);
    padding: 46px 0;
}

.cta-band__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
}

.cta-band h2 {
    max-width: 820px;
    font-size: 2rem;
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.page-hero {
    background:
        linear-gradient(115deg, rgba(6, 16, 22, 0.96), rgba(16, 33, 44, 0.94)),
        repeating-linear-gradient(135deg, rgba(25, 168, 226, 0.12) 0 1px, transparent 1px 68px);
    color: var(--color-white);
    padding: 86px 0 70px;
}

.page-hero--compact {
    padding: 62px 0 52px;
}

.page-hero h1 {
    font-size: 3.35rem;
}

.page-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
}

.page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 64px;
    align-items: end;
}

.page-hero__facts,
.credential-panel,
.contact-facts {
    display: grid;
    gap: 10px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
}

.page-hero__facts span,
.contact-facts span,
.contact-facts a {
    color: rgba(255, 255, 255, 0.78);
}

.credential-panel span {
    color: var(--color-blue-2);
    font-weight: 900;
}

.credential-panel strong {
    font-size: 1.3rem;
}

.credential-panel p {
    margin: 0;
    font-size: 0.95rem;
}

.service-detail-list {
    display: grid;
    gap: 14px;
}

.service-detail {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
    padding: 28px;
    border: 1px solid rgba(6, 16, 22, 0.1);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 14px 34px rgba(6, 16, 22, 0.06);
}

.service-detail__meta {
    display: inline-flex;
    margin-top: 12px;
    padding: 8px 10px;
    border-radius: 4px;
    background: #f2f6f7;
    color: #244454;
    font-size: 0.9rem;
    font-weight: 850;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.proof-grid article {
    min-height: 170px;
    padding: 24px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid rgba(6, 16, 22, 0.1);
}

.credential-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.credential-grid article {
    min-height: 240px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
}

.testimonial-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: start;
}

blockquote {
    margin: 0;
    padding: 34px;
    border-left: 6px solid var(--color-gold);
    border-radius: var(--radius);
    background: #f6fafb;
    font-size: 1.1rem;
}

.testimonial-layout aside {
    padding: 26px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #10212c, #07141c);
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.testimonial-layout aside p {
    color: rgba(255, 255, 255, 0.75);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: start;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 30px;
    border: 1px solid rgba(6, 16, 22, 0.1);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.contact-form label {
    display: grid;
    gap: 7px;
    font-weight: 850;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #bfccd3;
    border-radius: var(--radius);
    padding: 12px 13px;
    background: #fbfdfe;
    color: var(--color-text);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(25, 168, 226, 0.2);
    border-color: var(--color-blue);
}

.checkbox-row {
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    font-weight: 500;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.notice {
    margin: 0;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-weight: 800;
}

.notice--success {
    color: var(--color-success);
    background: rgba(22, 112, 75, 0.1);
}

.notice--error {
    color: var(--color-danger);
    background: rgba(180, 59, 48, 0.1);
}

.contact-sidebar {
    padding: 28px;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #10212c, #07141c);
    color: var(--color-white);
}

.contact-sidebar ul {
    margin: 18px 0 0;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.75);
}

.legal-text h2 {
    margin-top: 34px;
    font-size: 1.45rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.site-footer {
    background: #050d12;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    padding: 54px 0;
}

.site-footer__brand {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.site-footer__brand img {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
}

.site-footer__brand strong,
.site-footer h2 {
    color: var(--color-white);
}

.site-footer__cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.site-footer h2 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.site-footer p {
    margin: 0 0 8px;
}

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

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
}

.site-footer__bottom p {
    margin: 0;
    font-size: 0.9rem;
}

@media (min-width: 1180px) {
    h1 {
        font-size: 3.45rem;
    }
}

@media (max-width: 1080px) {
    h1 {
        font-size: 2.85rem;
    }

    .page-hero__grid,
    .split-layout,
    .standards {
        grid-template-columns: 1fr;
    }

    .hero__grid {
        gap: 30px;
        grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.72fr);
        min-height: 540px;
    }

    .hero-visual__frame {
        min-height: 360px;
        padding: 14px;
    }

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

    .process-list,
    .credential-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .site-header__inner {
        grid-template-columns: auto auto;
        min-height: 74px;
    }

    .brand {
        min-width: 0;
        grid-template-columns: 48px auto;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .brand small {
        display: none;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .primary-nav {
        display: none;
        grid-column: 1 / -1;
        justify-self: stretch;
        padding-bottom: 16px;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav__list {
        display: grid;
        gap: 6px;
    }

    .primary-nav a {
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.06);
    }

    .header-cta {
        display: none;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        padding: 54px 0 66px;
        min-height: auto;
    }

    .page-hero {
        padding: 58px 0 52px;
    }

    h1,
    .page-hero h1 {
        font-size: 2.45rem;
    }

    h2 {
        font-size: 1.92rem;
    }

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

    .hero-visual__frame {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .panel--left,
    .panel--right {
        display: none;
    }

    .thermal-map {
        min-height: 220px;
    }

    .cta-band__inner,
    .testimonial-layout,
    .contact-layout,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .cta-band__actions {
        justify-content: flex-start;
    }

    .site-footer__cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .brand strong {
        font-size: 0.86rem;
    }

    h1,
    .page-hero h1 {
        font-size: 2.08rem;
    }

    h2,
    .cta-band h2 {
        font-size: 1.58rem;
    }

    .hero__lead,
    .page-hero p {
        font-size: 1rem;
    }

    .hero__actions,
    .cta-band__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        min-height: 50px;
    }

    .trust-strip,
    .standard-cloud {
        display: grid;
        grid-template-columns: 1fr;
    }

    .service-grid,
    .process-list,
    .proof-grid,
    .credential-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .process-list li,
    .credential-grid article {
        min-height: auto;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 22px;
    }

    blockquote,
    .contact-form,
    .contact-sidebar,
    .testimonial-layout aside {
        padding: 22px;
    }
}

.qa-section {
    padding-top: clamp(56px, 7vw, 96px);
}

.qa-section__grid {
    align-items: start;
}

.qa-section__intro {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.72);
}

.qa-list details {
    position: relative;
    border-color: rgba(112, 209, 255, 0.32);
    background:
        linear-gradient(135deg, rgba(25, 168, 226, 0.12), transparent 46%),
        rgba(5, 16, 28, 0.92);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.qa-list summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 18px;
    align-items: center;
    min-height: 72px;
    list-style: none;
}

.qa-list summary::-webkit-details-marker {
    display: none;
}

.qa-list summary::after {
    content: "+";
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(240, 195, 90, 0.72);
    color: var(--color-gold-2);
    font-size: 1.1rem;
    line-height: 1;
}

.qa-list details[open] summary::after {
    content: "–";
}

.qa-list details:focus-within {
    border-color: rgba(240, 195, 90, 0.78);
    box-shadow: 0 0 0 3px rgba(240, 195, 90, 0.12);
}

.qa-list p {
    color: rgba(255, 255, 255, 0.74);
}

/* Mockup-aligned homepage direction. */
.brand--mockup {
    grid-template-columns: 76px auto;
    gap: 12px;
    min-width: 240px;
}

.brand--mockup .brand__mark {
    display: grid;
    place-items: center;
    width: 76px;
    height: 66px;
}

.brand--mockup .brand__mark img {
    width: 76px;
    height: 66px;
    border-radius: 0;
    object-fit: contain;
    box-shadow: none;
}

.brand--mockup .brand__wordmark {
    display: grid;
    gap: 0;
    line-height: 1;
    text-transform: uppercase;
}

.brand--mockup .brand__top {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 850;
}

.brand--mockup strong {
    color: var(--color-gold-2);
    font-size: 1.85rem;
    line-height: 0.9;
}

.brand--mockup small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    margin-top: 2px;
    text-transform: none;
}

.site-header {
    background: rgba(2, 8, 15, 0.96);
    border-bottom: 1px solid rgba(112, 209, 255, 0.18);
}

.site-header__inner {
    min-height: 70px;
}

.primary-nav a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.93rem;
}

.header-phone {
    display: grid;
    min-height: auto;
    padding: 0 0 0 30px;
    background: transparent;
    color: #ffffff;
    box-shadow: none;
    border-radius: 0;
    position: relative;
    text-align: left;
}

.header-phone::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-gold-2);
    border-top-color: transparent;
    border-right-color: transparent;
    border-radius: 50%;
    transform: rotate(-30deg);
}

.header-phone span {
    font-size: 0.82rem;
    line-height: 1.1;
}

.header-phone small {
    color: var(--color-gold-2);
    font-size: 0.76rem;
    line-height: 1.1;
}

.hero--home {
    min-height: 355px;
    border-bottom: 1px solid rgba(112, 209, 255, 0.18);
    background:
        linear-gradient(90deg, #020914 0%, #03101b 42%, rgba(3, 16, 27, 0.9) 54%, rgba(3, 16, 27, 0.35) 100%);
}

.hero--home::before {
    content: "";
    position: absolute;
    inset: 0 0 0 43%;
    background:
        linear-gradient(90deg, #020914 0%, rgba(2, 9, 20, 0.58) 14%, rgba(2, 9, 20, 0.08) 34%, rgba(2, 9, 20, 0.02) 100%),
        var(--hero-image);
    background-size: cover;
    background-position: center right;
    opacity: 0.98;
    pointer-events: none;
}

.hero--home::after {
    display: none;
}

.hero--home .hero__grid {
    display: block;
    min-height: 355px;
    padding: 33px 0 30px;
    position: relative;
}

.hero--home .hero__copy {
    position: relative;
    z-index: 2;
    max-width: 540px;
}

.hero--home .eyebrow {
    color: var(--color-blue-2);
    margin-bottom: 10px;
    font-size: 0.75rem;
}

.hero--home h1 {
    max-width: 540px;
    color: #ffffff;
    font-size: 3.12rem;
    line-height: 1.05;
    font-weight: 900;
}

.hero--home h1 span {
    display: block;
    color: var(--color-gold-2);
    font-size: 0.62em;
    line-height: 1.16;
    margin-top: 2px;
    white-space: nowrap;
}

.hero--home .hero__lead {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 650;
}

.hero--home .hero__actions {
    margin-top: 22px;
    gap: 14px;
}

.hero--home .btn {
    min-height: 38px;
    min-width: 190px;
    padding: 0 24px;
    font-size: 0.84rem;
    border-radius: 2px;
}

.hero--home .btn::after {
    content: "→";
    margin-left: 14px;
}

.hero--home .btn--gold {
    background: linear-gradient(180deg, #f1c55b, #d99a25);
}

.hero--home .btn--dark {
    background: rgba(2, 9, 20, 0.5);
    border-color: rgba(240, 195, 90, 0.75);
}

.hero-art {
    display: none;
}

.proof-points {
    display: grid;
    grid-template-columns: 0.9fr 1.18fr 1.28fr;
    gap: 18px;
    max-width: 610px;
    margin-top: 24px;
}

.proof-points span {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 44px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.72rem;
    line-height: 1.22;
}

.proof-points i {
    position: relative;
    display: block;
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--color-blue-2);
    border-radius: 3px;
}

.proof-points span:nth-child(2) i {
    border-radius: 50%;
}

.proof-points span:nth-child(3) i {
    border-radius: 50%;
}

.proof-points i::after {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1.5px solid var(--color-blue-2);
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg);
}

.section-services-dark {
    padding: 30px 0 20px;
    background: linear-gradient(180deg, #020914 0%, #03101c 100%);
    color: #ffffff;
}

.section-heading--services {
    margin-bottom: 10px;
}

.section-heading--services .eyebrow {
    color: var(--color-gold-2);
    margin-bottom: 8px;
}

.section-heading--services h2 {
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-size: 1.72rem;
}

.section-heading--services h2::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin-top: 12px;
    background: var(--color-gold-2);
}

.section-services-dark .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.section-services-dark .service-card {
    min-height: 142px;
    padding: 14px 12px 13px;
    background: rgba(5, 16, 28, 0.86);
    border: 1px solid rgba(112, 209, 255, 0.28);
    border-radius: 2px;
    box-shadow: none;
    position: relative;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.section-services-dark .service-card--link:hover,
.section-services-dark .service-card--link:focus-visible {
    background: rgba(7, 22, 36, 0.98);
    border-color: rgba(240, 195, 90, 0.72);
    box-shadow: 0 16px 42px rgba(25, 168, 226, 0.16);
    outline: 0;
    transform: translateY(-2px);
}

.section-services-dark .service-card__icon {
    display: block;
    width: 26px;
    height: 26px;
    margin-bottom: 10px;
    border: 2px solid var(--color-blue-2);
    border-radius: 3px;
}

.section-services-dark .service-card h3 {
    color: #ffffff;
    font-size: 0.76rem;
    line-height: 1.12;
}

.section-services-dark .service-card p {
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0 0;
    font-size: 0.58rem;
    line-height: 1.42;
}

.section-services-dark .service-card__cta {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    color: var(--color-gold-2);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 850;
    line-height: 1;
}

@media (max-width: 1080px) {
    .hero--home h1 {
        font-size: 2.75rem;
    }

    .hero--home .hero__copy {
        max-width: 500px;
    }

}

@media (max-width: 900px) {
    .section-services-dark .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .brand--mockup {
        grid-template-columns: 48px auto;
    }

    .brand--mockup .brand__mark,
    .brand--mockup .brand__mark img {
        width: 48px;
        height: 48px;
    }

    .brand--mockup strong {
        font-size: 1.2rem;
    }

    .brand--mockup .brand__top,
    .brand--mockup small {
        display: none;
    }

    .hero--home::before {
        inset: 48% 0 0 0;
        opacity: 0.42;
    }

    .hero--home .hero__grid {
        min-height: auto;
        padding: 54px 0 42px;
    }

    .hero--home .hero__copy {
        max-width: none;
    }

    .hero--home h1,
    .hero--home h1 span {
        white-space: normal;
    }

    .proof-points {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .hero--home h1 {
        font-size: 2.1rem;
    }

    .hero--home .btn {
        width: 100%;
    }

    .section-services-dark .service-grid {
        grid-template-columns: 1fr;
    }
}

/* Global alignment with the approved dark mockup. */
body {
    background: #020914;
    color: rgba(255, 255, 255, 0.86);
}

.site-footer {
    border-top: 1px solid rgba(112, 209, 255, 0.16);
}

.section-light,
.section-steel,
.section-dark {
    background:
        linear-gradient(180deg, rgba(2, 9, 20, 0.98), rgba(3, 16, 28, 0.98)),
        repeating-linear-gradient(90deg, rgba(25, 168, 226, 0.08) 0 1px, transparent 1px 108px);
    color: rgba(255, 255, 255, 0.86);
}

.section-light h2,
.section-steel h2,
.section-dark h2,
.section-light h3,
.section-steel h3,
.section-dark h3 {
    color: #ffffff;
}

.section-light .eyebrow,
.section-steel .eyebrow,
.section-dark .eyebrow,
.page-hero .eyebrow {
    color: var(--color-gold-2);
}

.section-light p,
.section-steel p,
.section-dark p,
.service-card p,
.service-card small,
.prose,
.prose p,
.legal-text,
.legal-text p,
.contact-sidebar ul {
    color: rgba(255, 255, 255, 0.72);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 66px;
    background:
        linear-gradient(90deg, #020914 0%, #03101b 42%, rgba(3, 16, 27, 0.92) 58%, rgba(3, 16, 27, 0.72) 100%),
        var(--page-image, url("photo-hero-switchgear.jpg"));
    background-size: cover;
    background-position: center right;
    border-bottom: 1px solid rgba(112, 209, 255, 0.18);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 9, 20, 0.98) 0%, rgba(2, 9, 20, 0.94) 45%, rgba(2, 9, 20, 0.45) 100%),
        repeating-linear-gradient(135deg, rgba(25, 168, 226, 0.12) 0 1px, transparent 1px 74px);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 760px;
    color: #ffffff;
    font-size: 3rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.76);
}

.visual-band {
    padding: 28px 0 0;
    background:
        linear-gradient(180deg, rgba(2, 9, 20, 0.98), rgba(3, 16, 28, 0.98)),
        repeating-linear-gradient(90deg, rgba(25, 168, 226, 0.08) 0 1px, transparent 1px 108px);
}

.visual-band + .content-section {
    padding-top: 48px;
}

.visual-band__frame {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    border-top: 1px solid rgba(112, 209, 255, 0.28);
    border-bottom: 1px solid rgba(240, 195, 90, 0.18);
    background: #020914;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.visual-band__frame::before,
.visual-band__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.visual-band__frame::before {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(2, 9, 20, 0.88) 0%, rgba(2, 9, 20, 0.42) 42%, rgba(2, 9, 20, 0.02) 100%),
        linear-gradient(180deg, rgba(112, 209, 255, 0.09), transparent 42%, rgba(240, 195, 90, 0.08));
}

.visual-band__frame::after {
    z-index: 2;
    background: repeating-linear-gradient(90deg, transparent 0 64px, rgba(112, 209, 255, 0.08) 65px, transparent 66px);
    mix-blend-mode: screen;
}

.visual-band__frame img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    max-height: 360px;
    object-fit: cover;
    object-position: center right;
}

.page-hero__facts,
.credential-panel,
.contact-facts {
    background: rgba(5, 16, 28, 0.84);
    border: 1px solid rgba(112, 209, 255, 0.28);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
}

.page-hero__facts strong,
.credential-panel strong,
.contact-facts a {
    color: #ffffff;
}

.service-detail,
.proof-grid article,
.credential-grid article,
.contact-form,
.contact-sidebar,
.testimonial-layout aside,
blockquote,
.legal-text {
    background: rgba(5, 16, 28, 0.86);
    border: 1px solid rgba(112, 209, 255, 0.26);
    border-radius: 2px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.25);
}

.service-detail h2,
.proof-grid h3,
.credential-grid h2,
.contact-sidebar h2,
.legal-text h2 {
    color: #ffffff;
}

.service-detail__index,
.process-list span,
.credential-grid span {
    background: rgba(25, 168, 226, 0.12);
    border: 1px solid rgba(112, 209, 255, 0.34);
    color: var(--color-blue-2);
}

.service-detail__meta {
    background: rgba(217, 154, 37, 0.12);
    color: var(--color-gold-2);
    border: 1px solid rgba(240, 195, 90, 0.26);
}

.proof-grid article,
.credential-grid article,
.process-list li {
    min-height: 190px;
}

.process-list li {
    background: rgba(5, 16, 28, 0.86);
    border-color: rgba(112, 209, 255, 0.26);
}

blockquote {
    border-left-color: var(--color-gold-2);
    color: rgba(255, 255, 255, 0.82);
}

.testimonial-layout aside {
    background:
        linear-gradient(145deg, rgba(5, 16, 28, 0.92), rgba(5, 16, 28, 0.72)),
        url("photo-hero-switchgear.jpg");
    background-size: cover;
    background-position: center right;
}

.contact-form input,
.contact-form textarea {
    background: rgba(2, 9, 20, 0.82);
    border-color: rgba(112, 209, 255, 0.32);
    color: #ffffff;
}

.contact-form label {
    color: #ffffff;
}

.notice--success,
.notice--error {
    background: rgba(255, 255, 255, 0.08);
}

.prose a,
.legal-text a,
.contact-facts a {
    color: var(--color-blue-2);
}

.standards {
    align-items: start;
}

.standard-cloud span {
    background: rgba(5, 16, 28, 0.86);
    border-color: rgba(112, 209, 255, 0.26);
    color: rgba(255, 255, 255, 0.84);
}

.cta-band {
    border-top: 1px solid rgba(112, 209, 255, 0.16);
    border-bottom: 1px solid rgba(112, 209, 255, 0.16);
    background:
        linear-gradient(90deg, rgba(2, 9, 20, 0.95), rgba(3, 16, 28, 0.88)),
        url("photo-hero-switchgear.jpg");
    background-size: cover;
    background-position: center right;
}

.site-footer__brand img {
    border: 1px solid rgba(240, 195, 90, 0.32);
}

@media (min-width: 901px) {
    .section-services-dark .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .page-hero {
        padding: 58px 0 52px;
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }

    .visual-band {
        padding-top: 18px;
    }

    .visual-band + .content-section {
        padding-top: 36px;
    }

    .visual-band__frame,
    .visual-band__frame img {
        min-height: 180px;
    }
}

/* Complete WordPress migration: nested navigation and long-form page content. */
.primary-nav__list > li {
    position: relative;
}

.primary-nav__list .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 80;
    display: grid;
    min-width: 292px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: rgba(3, 13, 23, 0.98);
    border: 1px solid rgba(112, 209, 255, 0.26);
    border-radius: 2px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.primary-nav__list li:hover > .sub-menu,
.primary-nav__list li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-nav__list .sub-menu a {
    width: 100%;
    min-height: 38px;
    justify-content: flex-start;
    border-radius: 2px;
    font-size: 0.84rem;
}

.primary-nav__list .menu-item-has-children > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.migrated-content {
    max-width: 980px;
}

.content-section--migrated .migrated-content,
.contact-intro {
    padding: 26px;
    background: rgba(5, 16, 28, 0.82);
    border: 1px solid rgba(112, 209, 255, 0.22);
    border-radius: 2px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

.contact-intro {
    margin-bottom: 22px;
}

.migrated-content h2 {
    margin-top: 1.35em;
    margin-bottom: 0.45em;
    color: #ffffff;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.22;
}

.migrated-content h2:first-child,
.migrated-content h3:first-child {
    margin-top: 0;
}

.migrated-content h3 {
    margin-top: 1.1em;
    margin-bottom: 0.35em;
    color: var(--color-gold-2);
    font-size: 1.02rem;
    line-height: 1.35;
}

.migrated-content ul {
    display: grid;
    gap: 8px;
    margin: 14px 0 20px;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.76);
}

.migrated-content li::marker {
    color: var(--color-blue-2);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--color-gold-2);
    font-weight: 800;
    text-decoration: none;
}

.text-link::after {
    content: "→";
    font-weight: 900;
}

@media (max-width: 860px) {
    .primary-nav__list .sub-menu {
        position: static;
        min-width: 0;
        padding: 5px 0 0 14px;
        background: transparent;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .primary-nav__list .sub-menu a {
        background: rgba(112, 209, 255, 0.08);
    }

    .content-section--migrated .migrated-content,
    .contact-intro {
        padding: 20px;
    }
}

/* SEO, navigation, content and trust upgrades. */
.breadcrumbs {
    background: rgba(2, 9, 20, 0.98);
    border-bottom: 1px solid rgba(112, 209, 255, 0.14);
}

.breadcrumbs__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
}

.breadcrumbs a {
    color: rgba(112, 209, 255, 0.9);
    text-decoration: none;
}

.breadcrumbs strong {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.service-focus {
    padding-top: 54px;
    padding-bottom: 54px;
}

.service-focus__grid,
.faq-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 42px;
    align-items: start;
}

.service-focus__grid h2,
.faq-section__grid h2,
.related-services h2 {
    margin-top: 0;
}

.service-focus__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-focus__facts li {
    min-height: 86px;
    padding: 18px;
    background: rgba(5, 16, 28, 0.88);
    border: 1px solid rgba(112, 209, 255, 0.26);
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
}

.service-focus__facts li::before {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    margin-bottom: 12px;
    background: var(--color-gold-2);
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    background: rgba(5, 16, 28, 0.88);
    border: 1px solid rgba(112, 209, 255, 0.24);
    border-radius: 2px;
    overflow: hidden;
}

.faq-list summary {
    cursor: pointer;
    padding: 18px 20px;
    color: #ffffff;
    font-weight: 850;
}

.faq-list summary::marker {
    color: var(--color-gold-2);
}

.faq-list p {
    margin: 0;
    padding: 0 20px 20px;
}

.related-services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
}

.related-services__grid a {
    display: grid;
    gap: 10px;
    min-height: 150px;
    padding: 18px;
    background: rgba(5, 16, 28, 0.86);
    border: 1px solid rgba(112, 209, 255, 0.24);
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.related-services__grid a:hover,
.related-services__grid a:focus {
    transform: translateY(-2px);
    border-color: rgba(240, 195, 90, 0.55);
    background: rgba(7, 22, 36, 0.96);
}

.related-services__grid strong {
    color: #ffffff;
    line-height: 1.25;
}

.related-services__grid span {
    font-size: 0.88rem;
    line-height: 1.5;
}

.site-footer__cols {
    grid-template-columns: minmax(220px, 1.2fr) minmax(190px, 0.8fr) minmax(170px, 0.7fr);
}

.site-footer__cols a {
    text-decoration: none;
}

.legal-text {
    line-height: 1.72;
}

.legal-text ul {
    display: grid;
    gap: 7px;
}

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

.audience-grid article {
    min-height: 178px;
    padding: 24px;
    background:
        linear-gradient(145deg, rgba(5, 16, 28, 0.94), rgba(5, 16, 28, 0.78)),
        repeating-linear-gradient(135deg, rgba(112, 209, 255, 0.08) 0 1px, transparent 1px 44px);
    border: 1px solid rgba(112, 209, 255, 0.24);
    border-radius: 2px;
}

.audience-grid article::before {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-bottom: 18px;
    background: var(--color-gold-2);
}

.audience-grid h3 {
    margin: 0 0 10px;
    color: #ffffff;
}

.audience-grid p {
    margin: 0;
}

@media (max-width: 1080px) {
    .related-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .service-focus__grid,
    .faq-section__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .service-focus__facts,
    .related-services__grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .site-footer__cols {
        grid-template-columns: 1fr;
    }
}

/* Tablet and phone breathing room. */
@media (max-width: 1180px) {
    .container {
        width: min(var(--container), calc(100% - 48px));
    }

    .site-header__inner {
        grid-template-columns: auto auto;
        min-height: 74px;
    }

    .brand--mockup {
        grid-template-columns: 54px auto;
        min-width: 0;
    }

    .brand--mockup .brand__mark,
    .brand--mockup .brand__mark img {
        width: 54px;
        height: 54px;
    }

    .brand--mockup strong {
        font-size: 1.28rem;
    }

    .brand--mockup small {
        display: none;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .primary-nav {
        display: none;
        grid-column: 1 / -1;
        justify-self: stretch;
        padding: 6px 0 18px;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav__list {
        display: grid;
        gap: 8px;
    }

    .primary-nav a {
        justify-content: flex-start;
        min-height: 46px;
        padding: 0 14px;
        background: rgba(255, 255, 255, 0.06);
    }

    .primary-nav__list .sub-menu {
        position: static;
        min-width: 0;
        padding: 6px 0 0 14px;
        background: transparent;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .primary-nav__list .sub-menu a {
        min-height: 42px;
        background: rgba(112, 209, 255, 0.08);
        white-space: normal;
    }

    .header-cta {
        display: none;
    }

    .hero--home {
        min-height: auto;
    }

    .hero--home::before {
        inset: 0;
        opacity: 0.28;
        background:
            linear-gradient(180deg, rgba(2, 9, 20, 0.97) 0%, rgba(2, 9, 20, 0.88) 48%, rgba(2, 9, 20, 0.7) 100%),
            var(--hero-image);
        background-size: cover;
        background-position: center right;
    }

    .hero--home .hero__grid {
        min-height: auto;
        padding: 64px 0 58px;
    }

    .hero--home .hero__copy {
        max-width: 760px;
    }

    .hero--home h1 {
        max-width: 760px;
        font-size: clamp(2.35rem, 6.2vw, 3.1rem);
        line-height: 1.08;
    }

    .hero--home h1 span {
        white-space: normal;
    }

    .hero--home .hero__lead {
        max-width: 620px;
    }

    .hero--home .btn {
        min-height: 46px;
        min-width: 0;
    }

    .proof-points {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        max-width: 760px;
    }

    .proof-points span {
        min-height: 58px;
        padding: 8px;
        background: rgba(5, 16, 28, 0.68);
        border: 1px solid rgba(112, 209, 255, 0.18);
    }

    .section-services-dark {
        padding: 46px 0 34px;
    }

    .section-services-dark .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .section-services-dark .service-card {
        min-height: 182px;
        padding: 18px;
    }

    .section-services-dark .service-card h3 {
        font-size: 0.95rem;
        line-height: 1.22;
    }

    .section-services-dark .service-card p {
        font-size: 0.78rem;
        line-height: 1.48;
    }

    .page-hero {
        padding: 68px 0 58px;
    }

    .page-hero__grid {
        grid-template-columns: 1fr;
        gap: 26px;
        align-items: start;
    }

    .page-hero__facts,
    .credential-panel,
    .contact-facts {
        width: min(100%, 560px);
    }

    .split-layout,
    .standards,
    .service-focus__grid,
    .faq-section__grid,
    .contact-layout,
    .testimonial-layout,
    .cta-band__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .content-section {
        padding: 68px 0;
    }

    .cta-band__actions {
        justify-content: flex-start;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(var(--container), calc(100% - 32px));
    }

    .brand--mockup {
        grid-template-columns: 48px auto;
        gap: 10px;
    }

    .brand--mockup .brand__mark,
    .brand--mockup .brand__mark img {
        width: 48px;
        height: 48px;
    }

    .brand--mockup .brand__top {
        display: none;
    }

    .brand--mockup strong {
        font-size: 1.08rem;
    }

    .hero--home .hero__grid {
        padding: 52px 0 48px;
    }

    .hero--home h1 {
        font-size: clamp(2rem, 10vw, 2.45rem);
    }

    .hero--home .hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero--home .btn,
    .btn {
        width: 100%;
        min-height: 50px;
    }

    .proof-points,
    .section-services-dark .service-grid,
    .service-grid,
    .process-list,
    .proof-grid,
    .credential-grid,
    .service-focus__facts,
    .related-services__grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .proof-points span {
        min-height: 50px;
    }

    .section-services-dark .service-card,
    .service-card,
    .process-list li,
    .credential-grid article,
    .audience-grid article,
    .related-services__grid a {
        min-height: auto;
    }

    .page-hero {
        padding: 54px 0 46px;
    }

    .page-hero h1,
    h1 {
        font-size: clamp(1.95rem, 9vw, 2.25rem);
        line-height: 1.1;
    }

    h2,
    .cta-band h2 {
        font-size: clamp(1.45rem, 7vw, 1.72rem);
        line-height: 1.18;
    }

    .page-hero p,
    .hero__lead {
        font-size: 0.98rem;
        line-height: 1.58;
    }

    .visual-band__frame,
    .visual-band__frame img {
        min-height: 160px;
        max-height: 220px;
    }

    .content-section {
        padding: 54px 0;
    }

    .content-section--migrated .migrated-content,
    .contact-intro,
    .contact-form,
    .contact-sidebar,
    .legal-text,
    blockquote,
    .testimonial-layout aside {
        padding: 18px;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px;
    }

    .service-detail__meta {
        display: block;
        width: 100%;
    }

    .migrated-content,
    .legal-text,
    .contact-form,
    .contact-sidebar {
        overflow-wrap: anywhere;
    }

    .site-footer__brand {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .site-footer__brand img {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 420px) {
    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .site-header__inner {
        min-height: 68px;
    }

    .brand--mockup strong {
        font-size: 0.96rem;
    }

    .hero--home .hero__grid {
        padding: 44px 0 42px;
    }

    .hero--home h1,
    .page-hero h1,
    h1 {
        font-size: 1.82rem;
    }

    h2,
    .cta-band h2 {
        font-size: 1.38rem;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .content-section--migrated .migrated-content,
    .contact-intro,
    .contact-form,
    .contact-sidebar,
    .legal-text,
    blockquote,
    .testimonial-layout aside {
        padding: 16px;
    }

    .visual-band__frame,
    .visual-band__frame img {
        min-height: 140px;
    }
}

/* Mockup-aligned service visuals and topic imagery. */
.section-services-dark .service-card--link {
    display: grid;
    grid-template-rows: 92px auto auto auto 1fr;
    gap: 8px;
    min-height: 248px;
    padding: 0 12px 44px;
    overflow: hidden;
}

.service-card__media {
    position: relative;
    display: block;
    width: calc(100% + 24px);
    height: 92px;
    margin: 0 -12px 2px;
    overflow: hidden;
    border-bottom: 1px solid rgba(112, 209, 255, 0.2);
    background: #020914;
}

.service-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 9, 20, 0.06), rgba(2, 9, 20, 0.58)),
        linear-gradient(90deg, rgba(2, 9, 20, 0.58), transparent 74%);
    pointer-events: none;
}

.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    transform: scale(1.04);
}

.section-services-dark .service-card__icon {
    margin-bottom: 2px;
}

.section-services-dark .service-card small {
    display: block;
    margin: 0;
    color: rgba(112, 209, 255, 0.78);
    font-size: 0.54rem;
    font-weight: 760;
    line-height: 1.35;
}

.section-services-dark .service-card__cta {
    bottom: 12px;
}

.section-services-dark .service-card--link:hover .service-card__media img,
.section-services-dark .service-card--link:focus-visible .service-card__media img {
    transform: scale(1.1);
}

.service-detail--visual {
    grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.service-detail__visual {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    background: #020914;
    border-right: 1px solid rgba(112, 209, 255, 0.22);
}

.service-detail__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 9, 20, 0.2), rgba(2, 9, 20, 0.72)),
        repeating-linear-gradient(135deg, rgba(112, 209, 255, 0.1) 0 1px, transparent 1px 56px);
}

.service-detail__visual img {
    width: 100%;
    height: 100%;
    min-height: 270px;
    object-fit: cover;
    object-position: center right;
}

.service-detail__body {
    padding: 28px;
}

.service-focus__grid--visual {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
    align-items: center;
}

.service-focus__grid--visual .service-focus__facts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-focus__visual {
    position: relative;
    min-height: 250px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(112, 209, 255, 0.26);
    border-radius: 2px;
    background: #020914;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.25);
}

.service-focus__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 9, 20, 0.35), rgba(2, 9, 20, 0.04)),
        linear-gradient(180deg, rgba(112, 209, 255, 0.1), transparent 45%, rgba(240, 195, 90, 0.08));
    pointer-events: none;
}

.service-focus__visual img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    object-position: center right;
}

.credential-grid--enhanced article,
.about-method .proof-grid article {
    background:
        linear-gradient(145deg, rgba(5, 16, 28, 0.94), rgba(5, 16, 28, 0.76)),
        repeating-linear-gradient(135deg, rgba(112, 209, 255, 0.08) 0 1px, transparent 1px 46px);
}

.about-method {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 54px;
    align-items: start;
}

@media (max-width: 1180px) {
    .section-services-dark .service-card--link {
        min-height: 245px;
    }
}

@media (max-width: 860px) {
    .service-detail--visual,
    .service-focus__grid--visual,
    .about-method {
        grid-template-columns: 1fr;
    }

    .service-focus__grid--visual .service-focus__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail__visual {
        border-right: 0;
        border-bottom: 1px solid rgba(112, 209, 255, 0.22);
    }
}

@media (max-width: 640px) {
    .section-services-dark .service-card--link {
        grid-template-rows: 138px auto auto auto 1fr;
        min-height: auto;
        padding: 0 16px 46px;
    }

    .service-card__media {
        width: calc(100% + 32px);
        height: 138px;
        margin: 0 -16px 4px;
    }

    .section-services-dark .service-card small {
        font-size: 0.72rem;
    }

    .service-focus__grid--visual .service-focus__facts {
        grid-template-columns: 1fr;
    }

    .service-detail__body {
        padding: 20px;
    }
}

/* Final collision guard for footer and dense legal/contact text. */
.site-footer__inner,
.site-footer__cols,
.site-footer__brand {
    min-width: 0;
}

.site-footer__inner {
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.48fr);
    align-items: start;
    gap: clamp(28px, 4.2vw, 64px);
}

.site-footer__cols {
    grid-template-columns: minmax(210px, 1.18fr) minmax(210px, 0.92fr) minmax(150px, 0.62fr);
    gap: clamp(22px, 3vw, 42px);
    align-items: start;
}

.site-footer__cols > div,
.site-footer p,
.site-footer a,
.site-footer strong {
    min-width: 0;
    max-width: 100%;
}

.site-footer p,
.site-footer a {
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.58;
}

.site-footer h2 {
    line-height: 1.2;
}

@media (max-width: 1120px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-footer__cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-footer__cols {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer__inner {
        padding: 42px 0;
    }

    .site-footer__brand {
        grid-template-columns: 56px minmax(0, 1fr);
        align-items: start;
    }
}

/* Final services layout: six core services as a strong 3 x 2 visual grid. */
.section-services-dark {
    padding: clamp(46px, 5.6vw, 76px) 0 clamp(44px, 5vw, 68px);
}

.section-services-dark .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 24px);
    max-width: 1180px;
}

.section-services-dark .service-card--link {
    grid-template-rows: clamp(158px, 14vw, 210px) auto auto auto 1fr;
    gap: 12px;
    min-height: 430px;
    padding: 0 18px 60px;
}

.section-services-dark .service-card {
    border-color: rgba(112, 209, 255, 0.34);
    background: rgba(5, 16, 28, 0.9);
}

.service-card__media {
    width: calc(100% + 36px);
    height: clamp(158px, 14vw, 210px);
    margin: 0 -18px 8px;
}

.section-services-dark .service-card__icon {
    width: 30px;
    height: 30px;
}

.section-services-dark .service-card h3 {
    font-size: clamp(1rem, 1.05vw, 1.12rem);
    line-height: 1.18;
}

.section-services-dark .service-card p {
    margin-top: 2px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.section-services-dark .service-card small {
    font-size: 0.76rem;
    line-height: 1.42;
}

.section-services-dark .service-card__cta {
    left: 18px;
    right: 18px;
    bottom: 20px;
    font-size: 0.82rem;
}

@media (max-width: 1020px) {
    .section-services-dark .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 820px;
    }

    .section-services-dark .service-card--link {
        min-height: 410px;
    }
}

@media (max-width: 640px) {
    .section-services-dark .service-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

    .section-services-dark .service-card--link {
        grid-template-rows: 172px auto auto auto 1fr;
        min-height: auto;
        padding: 0 16px 56px;
    }

    .service-card__media {
        width: calc(100% + 32px);
        height: 172px;
        margin: 0 -16px 8px;
    }

    .section-services-dark .service-card__cta {
        left: 16px;
        right: 16px;
        bottom: 18px;
    }
}

.home-intro .prose p {
    max-width: 760px;
    font-size: 1.04rem;
}

.section-services-dark .service-card--link {
    cursor: pointer;
}

.service-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    text-decoration: none;
}

.service-card__overlay:focus-visible {
    outline: 3px solid var(--color-gold-2);
    outline-offset: 4px;
}

.section-services-dark .service-card--link > :not(.service-card__overlay) {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.section-services-dark .service-card__cta:not(.service-card__cta--clean) {
    display: none;
}

.external-resources__layout {
    display: grid;
    gap: clamp(24px, 3vw, 38px);
    align-items: start;
}

.external-resources__intro {
    max-width: 760px;
}

.external-resources__intro h2 {
    max-width: 720px;
}

.external-resources__intro p:not(.eyebrow) {
    max-width: 680px;
}

.external-resources__content {
    display: grid;
    gap: 18px;
}

.external-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 24px);
}

.external-resource-card,
.share-panel,
.legal-supplement {
    border: 1px solid rgba(112, 209, 255, 0.22);
    background: rgba(5, 16, 28, 0.78);
    border-radius: var(--radius);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.external-resource-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 236px;
    padding: clamp(22px, 2.4vw, 30px);
}

.external-resource-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--color-gold-2);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.external-resource-card h3,
.share-panel h3 {
    font-size: 1.08rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.external-resource-card p,
.share-panel p {
    margin: 10px 0 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.62;
    overflow-wrap: anywhere;
}

.external-resource-card p {
    flex: 1;
}

.external-resource-card a,
.share-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(240, 195, 90, 0.48);
    border-radius: var(--radius);
    color: var(--color-gold-2);
    text-decoration: none;
    font-weight: 850;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.external-resource-card a:hover,
.external-resource-card a:focus-visible,
.share-links a:hover,
.share-links a:focus-visible {
    background: var(--color-gold-2);
    border-color: var(--color-gold-2);
    color: var(--color-ink);
}

.share-panel {
    margin-top: 0;
    padding: clamp(20px, 2.4vw, 28px);
}

.share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.legal-supplement {
    margin-top: 34px;
    padding: 22px;
    border-left: 4px solid var(--color-gold-2);
}

.legal-supplement h2 {
    margin-top: 0;
}

.external-link-dialog[hidden] {
    display: none;
}

.external-link-dialog {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.external-link-dialog__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 7, 13, 0.72);
    backdrop-filter: blur(10px);
}

.external-link-dialog__panel {
    position: relative;
    z-index: 1;
    width: min(540px, 100%);
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(112, 209, 255, 0.32);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(7, 20, 31, 0.98), rgba(3, 12, 22, 0.98)),
        repeating-linear-gradient(135deg, rgba(25, 168, 226, 0.08) 0 1px, transparent 1px 72px);
    color: var(--color-white);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
}

.external-link-dialog__panel h2 {
    color: var(--color-white);
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.external-link-dialog__panel p {
    color: rgba(255, 255, 255, 0.74);
}

.external-link-dialog__target {
    display: grid;
    gap: 4px;
    margin: 18px 0;
    padding: 12px 14px;
    border: 1px solid rgba(112, 209, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(2, 9, 20, 0.72);
}

.external-link-dialog__target span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.external-link-dialog__target strong {
    overflow-wrap: anywhere;
    color: var(--color-blue-2);
}

.external-link-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.external-dialog-open {
    overflow: hidden;
}

@media (max-width: 920px) {
    .external-resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .external-resource-grid {
        grid-template-columns: 1fr;
    }

    .external-resource-card {
        min-height: auto;
    }
}

@media (max-width: 560px) {
    .external-link-dialog {
        padding: 14px;
    }

    .external-link-dialog__actions .btn {
        width: 100%;
    }
}

/* Reference CPT pages and final service-card collision fixes. */
.section-services-dark .service-card__icon {
    display: none !important;
}

.section-services-dark .service-card--link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 430px;
    padding: 0 18px 20px;
}

.section-services-dark .service-card h3,
.section-services-dark .service-card p,
.section-services-dark .service-card small {
    margin: 0;
    overflow-wrap: anywhere;
    word-break: normal;
}

.section-services-dark .service-card h3 {
    line-height: 1.24;
}

.section-services-dark .service-card p {
    line-height: 1.55;
}

.section-services-dark .service-card small {
    line-height: 1.45;
}

.section-services-dark .service-card__cta:not(.service-card__cta--clean) {
    display: none !important;
}

.section-services-dark .service-card__cta.service-card__cta--clean {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    color: var(--color-gold-2);
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.2;
    white-space: normal;
}

.section-services-dark .service-card__cta.service-card__cta--clean span[aria-hidden],
.reference-card__link span[aria-hidden],
.reference-cta .btn span[aria-hidden],
.single-referenzen .btn span[aria-hidden] {
    display: inline-block;
    font-size: 1.35em;
    line-height: 0.8;
    transform: translateY(-1px);
}

.reference-hero,
.reference-single-hero,
.reference-section,
.reference-cta {
    background: #06111f;
    color: #edf6ff;
}

.reference-hero,
.reference-single-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 8vw, 124px) 0 clamp(54px, 6vw, 88px);
    background:
        linear-gradient(135deg, rgba(6, 17, 31, 0.96), rgba(10, 29, 53, 0.9)),
        linear-gradient(90deg, rgba(245, 183, 61, 0.12), transparent 36%),
        #06111f;
}

.reference-hero::before,
.reference-single-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(90deg, rgba(49, 199, 255, 0.32) 1px, transparent 1px),
        linear-gradient(0deg, rgba(49, 199, 255, 0.18) 1px, transparent 1px);
    background-size: 92px 92px, 92px 92px;
    mask-image: linear-gradient(90deg, #000, transparent 76%);
    pointer-events: none;
}

.reference-hero::after,
.reference-single-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 183, 61, 0.86), transparent);
}

.reference-hero__inner,
.reference-single-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

.reference-hero h1,
.reference-single-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.reference-hero h1::first-line,
.reference-single-hero h1::first-line {
    color: #ffffff;
}

.reference-hero p:not(.eyebrow),
.reference-single-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 20px 0 0;
    color: #b9c9da;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.65;
}

.reference-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 24px);
    margin-top: clamp(32px, 4vw, 48px);
}

.reference-trust__item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding-right: 18px;
    border-right: 1px solid rgba(185, 201, 218, 0.16);
}

.reference-trust__item:last-child {
    border-right: 0;
}

.reference-trust__icon {
    position: relative;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(245, 183, 61, 0.82);
    border-radius: 999px;
}

.reference-trust__icon::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 9px;
    width: 10px;
    height: 16px;
    border: solid #f5b73d;
    border-width: 0 2px 2px 0;
    transform: rotate(42deg);
}

.reference-trust strong,
.reference-trust small {
    display: block;
}

.reference-trust strong {
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 850;
    text-transform: uppercase;
}

.reference-trust small {
    color: #b9c9da;
    font-size: 0.82rem;
    line-height: 1.45;
}

.reference-section {
    padding: clamp(48px, 6vw, 82px) 0;
}

.reference-section--grid {
    background:
        linear-gradient(180deg, #06111f, #08192c 58%, #06111f);
}

.reference-section__heading {
    margin-bottom: 24px;
}

.reference-section__heading h2,
.reference-highlight h2,
.reference-single__facts h2,
.reference-single__content h2,
.reference-cta h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.2;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 26px);
}

.reference-card,
.reference-highlight,
.reference-single__facts,
.reference-single__document,
.reference-single__content,
.reference-empty,
.reference-cta__inner {
    border: 1px solid rgba(245, 183, 61, 0.34);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(10, 29, 53, 0.82), rgba(4, 14, 25, 0.9));
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.reference-card {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: clamp(18px, 2vw, 26px);
}

.reference-card__logo {
    display: grid;
    place-items: center;
    width: 100%;
    height: 76px;
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid rgba(185, 201, 218, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.96);
}

.reference-card__logo-img {
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
}

.reference-card__logo span {
    color: #06111f;
    font-size: 1.3rem;
    font-weight: 900;
}

.reference-stars {
    display: inline-flex;
    gap: 2px;
    color: #f5b73d;
    font-size: 1.05rem;
    letter-spacing: 0;
}

.reference-card p {
    flex: 1;
    margin: 14px 0 20px;
    color: #d7e5f2;
    font-size: 0.94rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.reference-card__meta {
    display: grid;
    gap: 2px;
    margin-bottom: 16px;
}

.reference-card__meta strong {
    color: #ffffff;
    font-size: 0.95rem;
}

.reference-card__meta span {
    color: #b9c9da;
    font-size: 0.86rem;
}

.reference-card__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: #f5b73d;
    font-size: 0.84rem;
    font-weight: 850;
    text-decoration: none;
    text-transform: uppercase;
}

.reference-section--highlight {
    background: #06111f;
    padding-top: 0;
}

.reference-highlight {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: clamp(24px, 4vw, 54px);
    padding: clamp(22px, 3vw, 38px);
}

.reference-highlight__preview,
.reference-single__document a:first-child {
    display: block;
    overflow: hidden;
    margin-top: 18px;
    border: 1px solid rgba(185, 201, 218, 0.22);
    border-radius: 6px;
    background: #ffffff;
    text-decoration: none;
}

.reference-highlight__preview-img,
.reference-single__preview-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.reference-highlight__preview-img--logo {
    padding: 34px;
}

.reference-highlight__facts,
.reference-single__facts {
    align-self: start;
}

.reference-highlight__facts {
    display: grid;
    gap: 18px;
    padding-top: 42px;
}

.reference-fact {
    display: grid;
    gap: 5px;
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(185, 201, 218, 0.15);
}

.reference-fact span {
    color: #f5b73d;
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.reference-fact strong {
    color: #edf6ff;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.reference-highlight__actions {
    margin-top: 8px;
}

.reference-cta {
    padding: 0 0 clamp(48px, 6vw, 82px);
}

.reference-cta__inner {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: clamp(20px, 3vw, 34px);
}

.reference-cta p {
    margin: 8px 0 0;
    color: #b9c9da;
}

.reference-empty {
    padding: 26px;
    color: #b9c9da;
}

.reference-single-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 300px);
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
}

.reference-single__logo {
    display: grid;
    place-items: center;
    min-height: 150px;
    padding: 24px;
    border: 1px solid rgba(245, 183, 61, 0.34);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
}

.reference-single__logo-img {
    max-height: 90px;
    object-fit: contain;
}

.reference-single {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    gap: clamp(24px, 4vw, 48px);
}

.reference-single__document,
.reference-single__facts,
.reference-single__content {
    padding: clamp(20px, 3vw, 32px);
}

.reference-single__document .btn {
    margin-top: 18px;
}

.reference-single__facts {
    display: grid;
    gap: 18px;
}

.reference-section--content {
    padding-top: 0;
}

.reference-single__content {
    color: #d7e5f2;
}

.reference-single__content p {
    color: #d7e5f2;
}

@media (max-width: 1020px) {
    .reference-trust,
    .reference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reference-highlight,
    .reference-single,
    .reference-single-hero__inner {
        grid-template-columns: 1fr;
    }

    .reference-highlight__facts {
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .section-services-dark .service-card--link {
        min-height: auto;
        padding: 0 16px 18px;
    }

    .reference-hero,
    .reference-single-hero {
        padding: 56px 0 46px;
    }

    .reference-trust,
    .reference-grid {
        grid-template-columns: 1fr;
    }

    .reference-trust__item {
        border-right: 0;
        padding-right: 0;
    }

    .reference-cta__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .reference-cta__inner .btn {
        width: 100%;
        justify-content: center;
    }
}
