﻿:root {
    --bg: #f5f7fb;
    --bg-alt: #ecf1f8;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --ink: #0f2342;
    --ink-soft: #29446f;
    --muted: #556987;
    --line: rgba(15, 35, 66, 0.1);
    --line-strong: rgba(15, 35, 66, 0.18);
    --accent: #ff7a00;
    --accent-deep: #e06300;
    --accent-soft: rgba(255, 122, 0, 0.12);
    --navy-900: #07152c;
    --navy-800: #0f2342;
    --navy-700: #163463;
    --glow: rgba(35, 119, 255, 0.18);
    --shadow-sm: 0 14px 34px rgba(9, 27, 55, 0.08);
    --shadow-md: 0 26px 70px rgba(9, 27, 55, 0.14);
    --shadow-lg: 0 36px 90px rgba(7, 21, 44, 0.2);
    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius: 24px;
    --radius-lg: 34px;
    --max: 1200px;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(45, 119, 255, 0.08), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 122, 0, 0.08), transparent 26%),
        linear-gradient(180deg, #f8fbff 0%, #f3f6fb 55%, #eef2f8 100%);
    line-height: 1.75;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
.brand strong,
.blog-card-title,
.display-title {
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

p {
    margin-top: 0;
    color: var(--muted);
}

.container {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
}

#scroll-progress {
    position: fixed;
    inset: 0 auto auto 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #52b6ff 0%, var(--accent) 100%);
    z-index: 3000;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: rgba(245, 248, 252, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(15, 35, 66, 0.08);
    box-shadow: 0 12px 34px rgba(7, 21, 44, 0.08);
}

.nav-shell {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 86px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo-img {
    height: 56px;
    width: auto;
    display: block;
}

.main-nav {
    margin-left: auto;
}

.main-nav ul,
nav ul {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav a,
nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-nav a::after,
nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    background: linear-gradient(90deg, #3ca6ff, var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active,
nav a:hover,
nav a.active {
    color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.active::after,
nav a:hover::after,
nav a.active::after {
    transform: scaleX(1);
}

.nav-cta-wrapper {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 0.5rem;
    cursor: pointer;
}

.burger-box {
    width: 28px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-box span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero-banner,
.hero-banner-about {
    position: relative;
    overflow: hidden;
}

.hero-banner {
    min-height: min(94vh, 920px);
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, #07152c 0%, #0f2342 45%, #13376b 100%);
    color: #fff;
}

.hero-banner-about {
    padding: 7rem 0 4.75rem;
    background:
        radial-gradient(circle at top right, rgba(60, 166, 255, 0.16), transparent 28%),
        radial-gradient(circle at 10% 20%, rgba(255, 122, 0, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(244,248,253,0.96) 100%);
}

.video-bg,
.video-bg video,
.hero-video-element,
.video-overlay-tint,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.video-bg {
    z-index: 0;
}

.video-bg video,
.hero-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05) brightness(0.45);
}

.video-overlay-tint {
    background:
        linear-gradient(105deg, rgba(7, 21, 44, 0.92) 10%, rgba(7, 21, 44, 0.6) 48%, rgba(7, 21, 44, 0.35) 100%),
        linear-gradient(180deg, rgba(18, 57, 109, 0.32) 0%, rgba(255, 122, 0, 0.12) 100%);
    z-index: 1;
}

.hero-overlay {
    z-index: 2;
    display: flex;
    align-items: center;
}

.hero-content,
.about-hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 760px;
    padding: 8rem 0 6rem;
}

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

.hero-headline {
    font-size: clamp(3rem, 5vw, 5.3rem);
    margin: 1rem 0 1.25rem;
}

.hero-banner .hero-headline,
.hero-banner .hero-subtext,
.hero-banner .eyebrow {
    color: #fff;
}

.hero-headline em {
    color: var(--accent);
    font-style: italic;
}

.hero-subtext {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    max-width: 650px;
    margin-bottom: 2rem;
}

.hero-banner .hero-subtext {
    color: rgba(255, 255, 255, 0.82);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.eyebrow::before {
    content: '';
    width: 42px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.eyebrow.accent {
    color: var(--accent);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.95rem 1.45rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: linear-gradient(135deg, #ff8e1f 0%, var(--accent) 100%);
    color: #fff !important;
    box-shadow: 0 16px 32px rgba(255, 122, 0, 0.22);
}

.button.primary:hover {
    background: linear-gradient(135deg, #ff9d3d 0%, var(--accent-deep) 100%);
    box-shadow: 0 22px 44px rgba(255, 122, 0, 0.28);
}

.button.secondary-outline {
    border-color: rgba(15, 35, 66, 0.18);
    background: rgba(255, 255, 255, 0.75);
    color: var(--ink) !important;
}

.hero-banner .button.secondary-outline {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

.button.secondary-outline:hover {
    border-color: rgba(15, 35, 66, 0.34);
    background: rgba(255, 255, 255, 0.95);
}

.hero-banner .button.secondary-outline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.14);
}

.button.large {
    min-height: 58px;
    padding-inline: 1.9rem;
}

.nav-cta {
    min-height: 48px;
    padding-inline: 1.2rem;
}

.about-hero-image {
    min-height: 420px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(15, 35, 66, 0.08);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-hero-image::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent 0%, rgba(7, 21, 44, 0.18) 100%);
}

.band {
    position: relative;
    padding: 6rem 0;
}

.bg-light {
    background: linear-gradient(180deg, rgba(255,255,255,0.52) 0%, rgba(236, 241, 248, 0.9) 100%);
}

.overflow-hidden {
    overflow: hidden;
}

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

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading.centered .eyebrow {
    justify-content: center;
}

.section-heading h2,
.display-title,
.cta-content h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    margin-bottom: 1rem;
}

.section-lead {
    max-width: 720px;
    font-size: 1.05rem;
    color: var(--muted);
}

.grid-2,
.grid-3,
.grid-4,
.wp-custom-grid,
.contact-grid,
.footer-grid {
    display: grid;
    gap: 1.6rem;
}

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

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

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

.align-stretch {
    align-items: stretch;
}

.card,
.framework-card,
.path-step,
.contact-card,
.blog-card,
.framework-item {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,255,0.96) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.framework-card:hover,
.path-step:hover,
.contact-card:hover,
.blog-card:hover,
.framework-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 122, 0, 0.28);
}

.card::before,
.framework-card::before,
.path-step::before,
.contact-card::before,
.blog-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #36a9ff 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.card:hover::before,
.framework-card:hover::before,
.path-step:hover::before,
.contact-card:hover::before,
.blog-card:hover::before {
    opacity: 1;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-flush,
.service-card {
    height: 100%;
}

.card-img-wrap {
    overflow: hidden;
}

.card-img-wrap img,
.blog-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.card:hover .card-img-wrap img,
.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.card-body,
.blog-card-content {
    padding: 1.8rem;
    flex: 1;
}

.card-body h3,
.framework-card h3,
.path-step h3,
.blog-card-title {
    font-size: 1.45rem;
    margin-bottom: 0.8rem;
}

.card-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    color: var(--accent);
    background: linear-gradient(135deg, rgba(54, 169, 255, 0.12) 0%, rgba(255, 122, 0, 0.12) 100%);
    box-shadow: inset 0 0 0 1px rgba(15, 35, 66, 0.05);
}

.path-step,
.framework-card {
    padding: 2rem;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #36a9ff 0%, var(--accent) 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 14px 30px rgba(53, 130, 228, 0.18);
}

.wave-path,
.path-visual {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 3rem;
}

.wave-path::before,
.path-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 2%;
    right: 2%;
    border-top: 1px dashed rgba(54, 169, 255, 0.35);
    z-index: 0;
}

.wave-up,
.wave-down {
    z-index: 1;
}

.wave-up {
    transform: translateY(-20px);
}

.wave-down {
    transform: translateY(20px);
}

.framework-diagram {
    position: relative;
    width: min(100%, 760px);
    height: 540px;
    margin: 3rem auto 0;
}

.framework-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at top, #173a70 0%, #09162d 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.65rem;
    line-height: 1.2;
    box-shadow: 0 0 0 18px rgba(54, 169, 255, 0.1), 0 24px 60px rgba(9, 22, 45, 0.2);
}

.framework-item {
    position: absolute;
    width: 170px;
    padding: 1.25rem 1rem;
    text-align: center;
}

.framework-item i {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--accent);
    font-size: 1.5rem;
}

.framework-item h4 {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.item1 { top: 0; left: 50%; transform: translateX(-50%); }
.item2 { top: 17%; right: 0; }
.item3 { bottom: 17%; right: 0; }
.item4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.item5 { bottom: 17%; left: 0; }
.item6 { top: 17%; left: 0; }

.framework-diagram::before {
    content: '';
    position: absolute;
    inset: 60px;
    border-radius: 50%;
    border: 1px dashed rgba(15, 35, 66, 0.14);
}

.premium-image-float {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

.cta-section,
.cta-box.inverted {
    position: relative;
}

.cta-box.inverted {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2.6rem;
    margin-top: 1rem;
    background:
        radial-gradient(circle at top left, rgba(54, 169, 255, 0.18), transparent 25%),
        linear-gradient(135deg, #08162d 0%, #0f2342 55%, #163463 100%);
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

.cta-box.inverted::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.04) 50%, transparent 100%);
    pointer-events: none;
}

.cta-content,
.cta-action {
    position: relative;
    z-index: 1;
}

.cta-content p,
.cta-box.inverted h2,
.cta-box.inverted p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.cta-box.inverted .button {
    background: #fff;
    color: var(--ink) !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.contact-card {
    padding: 2rem;
}

.field-group {
    margin-bottom: 1rem;
}

.field-group label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ink);
}

.field-group input,
.field-group select,
.field-group textarea {
    width: 100%;
    border: 1px solid rgba(15, 35, 66, 0.14);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    background: rgba(245, 248, 252, 0.95);
    color: var(--ink);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
    outline: none;
    border-color: rgba(54, 169, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(54, 169, 255, 0.12);
    background: #fff;
}

.audit-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #36a9ff 0%, var(--accent) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.blog-card-image {
    background: var(--bg-alt);
}

.blog-meta {
    font-size: 0.77rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.blog-card-excerpt {
    flex: 1;
}

.blog-read-more {
    text-decoration: none;
    font-weight: 700;
    color: var(--ink);
}

.blog-read-more:hover {
    color: var(--accent);
}

.main-footer {
    margin-top: 3rem;
    background:
        radial-gradient(circle at top left, rgba(54, 169, 255, 0.18), transparent 24%),
        linear-gradient(180deg, #08162d 0%, #050f22 100%);
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.main-footer .container {
    width: min(calc(100% - 2rem), var(--max));
}

.footer-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    padding: 3.5rem 0 2rem;
}

.footer-col h4,
.footer-links h4,
.footer-contact h4 {
    margin-bottom: 0.8rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff !important;
}

.footer-tagline,
.footer-col p,
.footer-contact p,
.footer-email,
.footer-nav a,
.footer-links a,
.footer-contact a,
.main-footer nav a {
    color: rgba(255, 255, 255, 0.72) !important;
    text-decoration: none;
}

.footer-nav,
.footer-links nav {
    display: grid;
    gap: 0.55rem;
}

.social-list {
    display: flex;
    gap: 0.85rem;
    padding: 0;
    margin: 1.2rem 0 0;
    list-style: none;
}

.social-list a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-list a:hover {
    transform: translateY(-2px);
    background: rgba(255, 122, 0, 0.22);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-row,
.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0 1.4rem;
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;
    font-size: 0.78rem !important;
    color: rgba(255, 255, 255, 0.62) !important;
    text-decoration: none;
}

.footer-legal,
.footer-legal-links {
    display: flex;
    gap: 1rem;
}

.reveal-init {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-init.revealed {
    opacity: 1;
    transform: none;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #e6ecf4;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3ca6ff 0%, var(--accent) 100%);
    border-radius: 999px;
}

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

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

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

    .wave-up,
    .wave-down {
        transform: none;
    }

    .wave-path::before,
    .path-visual::before {
        display: none;
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-shell {
        min-height: 78px;
        gap: 1rem;
    }

    .main-nav {
        position: fixed;
        top: 78px;
        right: 1rem;
        left: 1rem;
        margin-left: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(7, 21, 44, 0.94);
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav a {
        justify-content: center;
        min-height: 48px;
        color: rgba(255, 255, 255, 0.88);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.04);
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a.active,
    .main-nav a:hover {
        color: #fff;
        background: linear-gradient(135deg, rgba(54, 169, 255, 0.22), rgba(255, 122, 0, 0.18));
    }

    .nav-cta-wrapper {
        display: none;
    }

    .hero-content {
        padding: 7rem 0 5rem;
    }

    .about-hero-grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .wp-custom-grid,
    .contact-grid,
    .footer-grid,
    .wave-path,
    .path-visual {
        grid-template-columns: 1fr;
    }

    .about-hero-image {
        min-height: 300px;
    }

    .cta-box.inverted,
    .footer-bottom-row,
    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .framework-diagram {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .framework-center,
    .framework-diagram::before {
        display: none;
    }

    .framework-item {
        position: relative;
        inset: auto !important;
        width: 100%;
        transform: none !important;
    }
}

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

    .hero-banner-about {
        padding-top: 6rem;
    }

    .hero-content {
        padding: 6.2rem 0 4.5rem;
    }

    .band {
        padding: 4.6rem 0;
    }

    .card-body,
    .blog-card-content,
    .contact-card,
    .path-step,
    .framework-card {
        padding: 1.4rem;
    }

    .cta-box.inverted {
        padding: 2rem 1.4rem;
    }

    .footer-bottom-row,
    .footer-bottom-content,
    .footer-legal,
    .footer-legal-links {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

.hero-inline-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.hero-banner .hero-inline-note {
    color: rgba(255, 255, 255, 0.82);
}

.hero-inline-note a {
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

.hero-inline-note a:hover {
    text-decoration: underline;
}

.assessment-highlight {
    margin-top: 2rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
}

.assessment-highlight strong {
    color: #fff;
}
