/*
Theme Name: Pro-Tech Lead Gen
Theme URI: https://greenbuildproperties.com/
Author: Bluegrass Media
Description: Lead-generation WordPress theme for Pro-Tech Design and Build Inc.
Version: 0.1.7
Text Domain: protech
*/

:root {
    --navy: #0a2246;
    --navy-2: #12345f;
    --blue: #075dcc;
    --blue-dark: #044aa5;
    --green: #1d6847;
    --copper: #a96f35;
    --ink: #1d2b3f;
    --muted: #4a5a72;
    --line: #d9e2ee;
    --soft: #f4f7fb;
    --white: #ffffff;
    --shadow: 0 18px 48px rgba(10, 34, 70, 0.14);
    --radius: 8px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
    font: 500 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(7, 93, 204, 0.34);
    outline-offset: 3px;
}

p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.72;
}

p + p {
    margin-top: 18px;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--navy);
    line-height: 1.07;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

h1 {
    max-width: 780px;
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 850;
}

h2 {
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 820;
}

h3 {
    font-size: 21px;
    font-weight: 780;
}

ul {
    margin: 0;
    padding: 0;
}

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

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 14px;
    background: var(--navy);
    color: var(--white);
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.site-header .container {
    width: min(100% - 32px, 1320px);
}

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

.brand,
.brand a {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 260px;
    color: var(--navy);
}

.brand img {
    width: auto;
    max-height: 70px;
}

.fallback-logo {
    width: 226px;
    max-width: 226px;
    object-fit: contain;
}

.brand-copy {
    display: none;
    gap: 2px;
    line-height: 1;
}

.brand-copy strong {
    color: var(--navy);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

.brand-copy small {
    color: var(--green);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: var(--navy);
    color: var(--white);
    font-size: 16px;
    font-weight: 900;
}

.brand-text strong,
.brand-text small {
    display: block;
}

.brand-text strong {
    font-size: 19px;
    line-height: 1;
    text-transform: uppercase;
}

.brand-text small {
    margin-top: 4px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}

.primary-nav {
    flex: 1;
    min-width: 0;
}

.header-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
}

.menu-toggle-icon {
    display: grid;
    gap: 5px;
    width: 22px;
}

.menu-toggle-icon span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

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

.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    list-style: none;
}

.menu a {
    color: var(--navy);
    font-size: 14px;
    font-weight: 780;
    white-space: nowrap;
}

.header-cta {
    flex: 0 0 auto;
    min-width: max-content;
    padding-right: 20px;
    padding-left: 20px;
}

.button,
button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--blue);
    border-radius: 6px;
    background: var(--blue);
    color: var(--white);
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(7, 93, 204, 0.16);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    background: var(--blue-dark);
    box-shadow: 0 16px 34px rgba(7, 93, 204, 0.22);
}

.button-secondary {
    background: var(--white);
    color: var(--blue);
    box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: #f4f8ff;
    color: var(--blue-dark);
}

.button-light {
    border-color: var(--white);
    background: var(--white);
    color: var(--navy);
    box-shadow: none;
}

.hero {
    padding: 72px 0 64px;
}

.hero-photo {
    position: relative;
    min-height: 640px;
    display: grid;
    align-items: center;
    padding: 0;
    overflow: hidden;
    background: var(--navy);
}

.hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(5, 22, 48, 0.88) 0%, rgba(5, 22, 48, 0.66) 36%, rgba(5, 22, 48, 0.18) 68%, rgba(5, 22, 48, 0.05) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    margin: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 108px 0 150px;
}

.hero-photo .hero-copy {
    max-width: 760px;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: #9bc6ff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-photo h1,
.hero-photo .hero-lead,
.hero-photo .service-line {
    color: var(--white);
}

.hero-photo h1 {
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.26);
}

.hero-photo .hero-lead {
    color: rgba(255, 255, 255, 0.88);
}

.hero-photo .button-secondary {
    border-color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    box-shadow: none;
}

.hero-photo .button-secondary:hover,
.hero-photo .button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.hero-photo .trust-strip span {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    align-items: center;
    gap: 60px;
}

.home-shortcuts {
    position: relative;
    z-index: 3;
    margin-top: -82px;
    padding-bottom: 48px;
    background: var(--white);
}

.shortcut-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.shortcut-card {
    min-height: 226px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 42px rgba(10, 34, 70, 0.16);
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.shortcut-media {
    display: none;
    margin: 0;
}

.shortcut-card:hover,
.shortcut-card:focus-within {
    border-color: var(--blue);
    background: var(--blue);
    box-shadow: 0 22px 48px rgba(7, 93, 204, 0.24);
    transform: translateY(-3px);
}

.shortcut-card span {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shortcut-card h3 {
    margin-top: 14px;
}

.shortcut-card p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.58;
}

.shortcut-card a {
    display: inline-flex;
    margin-top: auto;
    padding-top: 18px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 850;
}

.shortcut-card:hover span,
.shortcut-card:hover h3,
.shortcut-card:hover p,
.shortcut-card:hover a,
.shortcut-card:focus-within span,
.shortcut-card:focus-within h3,
.shortcut-card:focus-within p,
.shortcut-card:focus-within a {
    color: var(--white);
}

.hero-lead {
    max-width: 650px;
    margin-top: 24px;
    color: #3e4e65;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-actions .button {
    flex: 1 1 220px;
}

.service-line {
    margin-top: 22px;
    color: var(--navy-2);
    font-size: 14px;
    font-weight: 800;
}

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

.trust-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #c5d7ee;
    border-radius: 999px;
    background: #f7faff;
    color: var(--navy);
    font-size: 12px;
    font-weight: 850;
}

.hero-media {
    position: relative;
    aspect-ratio: 1.16 / 1;
    min-height: 360px;
    max-height: 480px;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-media img,
.wide-media img,
.project-card figure img,
.article-card figure img,
.feature-band figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section {
    padding: 64px 0;
}

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

.section-navy {
    background: var(--navy);
}

.section-navy h2,
.section-navy h3,
.section-navy p {
    color: var(--white);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.section-heading p {
    margin-top: 14px;
}

.section-heading.align-left {
    margin-left: 0;
    text-align: left;
}

.path-grid,
.project-grid,
.article-grid,
.feature-grid,
.method-grid {
    display: grid;
    gap: 24px;
    align-items: stretch;
}

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

.path-card,
.project-card,
.article-card,
.feature-item,
.content-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 34px rgba(10, 34, 70, 0.06);
}

.feature-item {
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-item:hover {
    border-color: var(--blue);
    background: var(--blue);
    box-shadow: 0 20px 42px rgba(7, 93, 204, 0.24);
    transform: translateY(-3px);
}

.feature-item:hover h2,
.feature-item:hover h3,
.feature-item:hover p {
    color: var(--white);
}

.path-card {
    height: 100%;
    min-height: 256px;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.path-card p,
.feature-item p,
.project-card p,
.article-card p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.58;
}

.path-card a,
.project-card a,
.article-card a,
.content-card a {
    display: inline-flex;
    margin-top: 20px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 850;
}

.path-card a {
    margin-top: auto;
    padding-top: 20px;
}

.split-content,
.feature-band {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    align-items: center;
    gap: 46px;
}

.split-content.reverse {
    grid-template-columns: minmax(360px, 1.05fr) minmax(0, 0.95fr);
}

.split-content h2 + p,
.feature-band h2 + p {
    margin-top: 16px;
}

.split-content .button,
.feature-band .button {
    margin-top: 22px;
}

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

.proof-list div {
    position: relative;
    padding: 18px 20px;
    border-left: 4px solid var(--green);
    border-radius: 6px;
    background: var(--soft);
    color: var(--navy);
    font-weight: 850;
}

.method-section .button {
    width: max-content;
    display: flex;
    margin: 34px auto 0;
}

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

.method-card {
    position: relative;
    min-height: 224px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.method-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #7db3ff;
}

.method-card:nth-child(2)::before {
    background: #6fcf97;
}

.method-card:nth-child(3)::before {
    background: #f5bc66;
}

.method-card:nth-child(4)::before {
    background: #8ed8d2;
}

.method-card:nth-child(5)::before {
    background: #d6b1ff;
}

.method-card p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.58;
}

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

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-card figure {
    height: 230px;
    margin: 0;
    background: var(--line);
}

.project-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.project-body span,
.article-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-band {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 34px rgba(10, 34, 70, 0.06);
}

.feature-band figure,
.wide-media {
    height: 410px;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.check-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 24px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.55;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.section-navy .check-list li {
    color: var(--white);
}

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

.article-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.article-card figure {
    height: 178px;
    margin: 0;
    background: var(--line);
}

.article-card > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.project-body a,
.article-card > div a {
    margin-top: auto;
    padding-top: 20px;
}

.final-cta {
    background: var(--blue);
}

.final-cta-inner {
    max-width: 860px;
    text-align: center;
}

.final-cta h2,
.final-cta p {
    color: var(--white);
}

.final-cta p {
    margin-top: 18px;
}

.final-cta .button {
    margin-top: 30px;
}

.filter-line {
    font-size: 14px;
    font-weight: 800;
}

.page-hero {
    padding: 62px 0 50px;
    background: var(--navy);
}

.page-hero h1,
.page-hero p {
    color: var(--white);
}

.page-hero p {
    max-width: 760px;
    margin-top: 14px;
    font-size: 20px;
}

.review-layout {
    align-items: start;
    grid-template-columns: 0.72fr 1.28fr;
}

.review-aside,
.contact-panel {
    padding: 30px;
    border-radius: var(--radius);
    background: var(--soft);
}

.review-aside h2 + ul,
.review-aside h2 + p {
    margin-top: 16px;
}

.review-aside h2:not(:first-child) {
    margin-top: 34px;
}

.review-form {
    display: grid;
    gap: 22px;
}

.review-form fieldset {
    margin: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.review-form legend {
    padding: 0 8px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 900;
}

.review-form label {
    display: grid;
    gap: 8px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 850;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-row.single-field {
    grid-template-columns: 1fr;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cbd7e6;
    border-radius: 6px;
    background: var(--white);
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
}

input,
select {
    min-height: 46px;
    padding: 0 12px;
}

input[type="file"] {
    padding: 7px;
    color: var(--muted);
    cursor: pointer;
}

input[type="file"]::file-selector-button,
input[type="file"]::-webkit-file-upload-button {
    margin-right: 12px;
    border: 0;
    border-radius: 6px;
    background: var(--blue);
    color: var(--white);
    font: inherit;
    font-weight: 900;
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 160ms ease, box-shadow 160ms ease;
}

input[type="file"]:hover::file-selector-button,
input[type="file"]:focus-visible::file-selector-button,
input[type="file"]:hover::-webkit-file-upload-button,
input[type="file"]:focus-visible::-webkit-file-upload-button {
    background: var(--blue-dark);
    box-shadow: 0 10px 22px rgba(7, 93, 204, 0.2);
}

textarea {
    padding: 12px;
    resize: vertical;
}

.form-note,
.form-submit-row p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.55;
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.notice-success {
    margin-bottom: 22px;
    padding: 16px 18px;
    border-left: 4px solid var(--green);
    border-radius: 6px;
    background: #edf8f2;
    color: var(--navy);
    font-weight: 800;
}

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

.feature-item {
    padding: 24px;
}

.feature-item h2 {
    font-size: 20px;
}

.centered-action {
    margin-top: 34px;
    text-align: center;
}

.narrow-content {
    max-width: 780px;
}

.narrow-content h2,
.narrow-content h3 {
    margin-top: 32px;
}

.narrow-content ul,
.narrow-content ol {
    margin: 18px 0 0 22px;
    color: var(--muted);
    line-height: 1.7;
}

.content-list {
    display: grid;
    gap: 22px;
}

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

.content-card {
    padding: 26px;
}

.dark-card {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.dark-card h3,
.dark-card p {
    color: var(--white);
}

.dark-card p {
    color: rgba(255, 255, 255, 0.78);
}

.mini-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.mini-metric-grid div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 26px rgba(10, 34, 70, 0.06);
}

.mini-metric-grid strong,
.mini-metric-grid span {
    display: block;
}

.mini-metric-grid strong {
    color: var(--navy);
    font-size: 18px;
    font-weight: 900;
}

.mini-metric-grid span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.project-filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.project-filter-row span,
.tag-cloud span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #bdd5f7;
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    font-size: 13px;
    font-weight: 850;
}

.project-case-list {
    display: grid;
    gap: 26px;
}

.project-case-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    scroll-margin-top: 112px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 34px rgba(10, 34, 70, 0.06);
}

.project-case-card figure {
    min-height: 100%;
    margin: 0;
    background: var(--line);
}

.project-case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-case-body {
    padding: 30px;
}

.project-case-body > span {
    display: block;
    margin-bottom: 10px;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-facts {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.case-facts p {
    font-size: 15px;
    line-height: 1.6;
}

.case-facts strong {
    color: var(--navy);
}

.roadmap-list {
    display: grid;
    gap: 16px;
}

.roadmap-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 26px rgba(10, 34, 70, 0.06);
}

.roadmap-item > div {
    min-width: 0;
}

.roadmap-item p {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.6;
}

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

.contact-note {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.contact-note h3 {
    font-size: 18px;
}

.contact-note p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.align-left-action {
    text-align: left;
}

.ebook-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 34px rgba(10, 34, 70, 0.06);
}

.ebook-band p {
    max-width: 720px;
    margin-top: 12px;
}

.article-card[id] {
    scroll-margin-top: 112px;
}

.site-footer {
    padding: 58px 0;
    background: #071b39;
}

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

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

.site-footer h2 {
    font-size: 25px;
}

.site-footer h3 {
    margin-bottom: 16px;
    font-size: 15px;
}

.site-footer p,
.site-footer a {
    display: block;
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.6;
}

.site-footer a {
    transition: color 160ms ease, opacity 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--white);
}

.contact-address {
    max-width: 220px;
}

.site-footer .button {
    display: inline-flex;
    margin-top: 18px;
    color: var(--navy);
}

.license {
    font-weight: 850;
}

@media (max-width: 1240px) and (min-width: 821px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .header-panel {
        order: 3;
        flex-basis: 100%;
    }

    .primary-nav {
        overflow-x: auto;
    }

    .menu {
        justify-content: flex-start;
        min-width: max-content;
        padding-bottom: 4px;
    }
}

@media (max-width: 1120px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .header-panel {
        order: 3;
        flex-basis: 100%;
    }

    .primary-nav {
        overflow-x: auto;
    }

    .menu {
        justify-content: flex-start;
        min-width: max-content;
        padding-bottom: 4px;
    }

    .hero-grid,
    .split-content,
    .split-content.reverse,
    .feature-band,
    .review-layout {
        grid-template-columns: 1fr;
    }

    .hero-media {
        min-height: 320px;
    }

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

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

    .header-inner {
        min-height: 78px;
        padding: 10px 0;
    }

    .brand {
        min-width: 0;
        flex: 1;
    }

    .fallback-logo {
        max-width: 224px;
    }

    .brand-copy {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .header-panel {
        display: none;
        flex-basis: 100%;
        width: 100%;
        padding: 14px 0 6px;
        border-top: 1px solid var(--line);
    }

    .header-panel.is-open {
        display: grid;
        gap: 14px;
    }

    .primary-nav {
        overflow: visible;
    }

    .menu {
        display: grid;
        min-width: 0;
        gap: 0;
        padding-bottom: 0;
    }

    .menu a {
        display: flex;
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
        font-size: 15px;
        white-space: normal;
    }

    .header-cta {
        width: 100%;
    }

    .hero {
        padding: 48px 0;
    }

    .hero-photo {
        min-height: 610px;
        padding: 0;
    }

    .hero-photo::before {
        background: linear-gradient(180deg, rgba(5, 22, 48, 0.30) 0%, rgba(5, 22, 48, 0.54) 35%, rgba(5, 22, 48, 0.82) 72%, rgba(5, 22, 48, 0.92) 100%);
    }

    .hero-bg img {
        object-position: 46% 50%;
    }

    .hero-content {
        padding: 58px 0 126px;
    }

    .hero-photo .service-line {
        display: none;
    }

    .hero-photo .trust-strip {
        margin-top: 22px;
    }

    .hero-photo .trust-strip span {
        background: rgba(5, 22, 48, 0.34);
    }

    .home-shortcuts {
        margin-top: -58px;
        padding-bottom: 34px;
    }

    .shortcut-card {
        min-height: 0;
        padding: 0;
        overflow: hidden;
    }

    .shortcut-card .shortcut-media {
        display: block;
        height: 172px;
    }

    .shortcut-card .shortcut-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .shortcut-card > span {
        margin: 22px 22px 0;
    }

    .shortcut-card h3 {
        margin: 10px 22px 0;
    }

    .shortcut-card p {
        margin: 10px 22px 0;
    }

    .shortcut-card a {
        margin: auto 22px 0;
        padding: 18px 0 22px;
    }

    .section {
        padding: 44px 0;
    }

    .path-grid,
    .project-grid,
    .article-grid,
    .feature-grid,
    .method-grid,
    .content-list-columns,
    .footer-grid,
    .form-row,
    .project-case-card,
    .shortcut-grid,
    .mini-metric-grid {
        grid-template-columns: 1fr;
    }

    .project-case-card figure {
        min-height: 300px;
    }

    .hero-media,
    .wide-media,
    .feature-band figure {
        min-height: 300px;
        height: auto;
    }

    .feature-band,
    .ebook-band {
        padding: 20px;
    }

    .ebook-band {
        display: grid;
    }

    .page-hero {
        padding: 44px 0;
    }

    .form-submit-row {
        display: grid;
    }
}

@media (max-width: 540px) {
    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 27px;
    }

    p {
        font-size: 16px;
    }

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

    .brand {
        min-width: 0;
    }

    .fallback-logo {
        max-width: 214px;
    }

    .brand-text strong {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
        gap: 12px;
    }

    .hero-actions .button {
        flex: none;
    }

    .button,
    button.button {
        width: 100%;
    }

    .method-section .button {
        width: 100%;
    }

    .trust-strip {
        display: grid;
    }

    .review-form fieldset {
        padding: 18px;
    }

    .roadmap-item {
        grid-template-columns: 1fr;
    }

    .project-case-body {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
