:root {
    color-scheme: light;
    --home-ink: #0f172a;
    --home-muted: #475569;
    --home-subtle: #64748b;
    --home-line: #e2e8f0;
    --home-surface: #fff;
    --home-background: #f8fafc;
    --home-primary: #e11d48;
    --home-primary-bright: #ff3847;
    --home-blue: #0284c7;
    --home-radius: 18px;
    font-family: "Inter", sans-serif;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

* {
    box-sizing: border-box;
}

body.stitch-home {
    position: relative;
    min-width: 320px;
    isolation: isolate;
    margin: 0;
    overflow-x: hidden;
    color: var(--home-ink);
    background: var(--home-background);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.stitch-home a {
    color: inherit;
    text-decoration: none;
}

.stitch-home button,
.stitch-home input {
    font: inherit;
}

.home-grid,
.home-glow {
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
}

.home-grid {
    opacity: 0.7;
    background-image:
        linear-gradient(
            to right,
            rgba(148, 163, 184, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            to bottom,
            rgba(148, 163, 184, 0.08) 1px,
            transparent 1px
        );
    background-size: 36px 36px;
}

.home-glow {
    right: auto;
    left: 50%;
    width: min(100%, 1280px);
    height: 640px;
    transform: translateX(-50%);
    background: radial-gradient(
        circle at 50% 25%,
        rgba(255, 56, 71, 0.08),
        transparent 70%
    );
}

.home-header {
    position: fixed;
    z-index: 20;
    inset: 0 0 auto;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
    backdrop-filter: blur(14px);
}

.home-header-inner,
.section-wrap,
.footer-inner,
.footer-bottom {
    width: min(100% - 48px, 1216px);
    margin-inline: auto;
}

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

.home-logo,
.footer-brand > a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.home-logo img {
    display: block;
    width: 144px;
    max-height: 46px;
    object-fit: contain;
}

.home-nav,
.home-header-actions {
    display: flex;
    align-items: center;
}

.home-nav {
    gap: clamp(14px, 2vw, 28px);
}

.home-nav > a,
.products-menu > summary {
    color: #475569 !important;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.home-nav > a:hover,
.products-menu > summary:hover {
    color: var(--home-ink);
}

.products-menu {
    position: relative;
}

.products-menu > summary,
.mobile-menu > summary {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    list-style: none;
}

.products-menu > summary::-webkit-details-marker,
.mobile-menu > summary::-webkit-details-marker {
    display: none;
}

.products-menu[open] > summary .material-symbols-outlined {
    transform: rotate(180deg);
}

.products-dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: -16px;
    display: grid;
    width: 276px;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--home-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
}

.more-menu .products-dropdown {
    left: 50%;
    width: min(520px, calc(100vw - 32px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    transform: translateX(-50%);
}

.products-dropdown a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
    border-radius: 9px;
}

.products-dropdown a:hover {
    background: #f8fafc;
}

.products-dropdown .material-symbols-outlined {
    color: var(--home-primary);
}

.products-dropdown strong,
.products-dropdown small {
    display: block;
}

.products-dropdown strong {
    font-size: 13px;
}

.products-dropdown small {
    color: var(--home-subtle);
    font-size: 11px;
}

.home-header-actions {
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.25;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

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

.button-primary {
    color: #fff !important;
    background: var(--home-primary-bright);
    box-shadow: 0 5px 14px rgba(255, 56, 71, 0.16);
}

.button-primary:hover {
    background: #ed263d;
    box-shadow: 0 8px 22px rgba(255, 56, 71, 0.25);
}

.button-secondary {
    border-color: var(--home-line);
    color: #1e293b !important;
    background: #fff;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
}

.button-secondary:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.button-small {
    min-height: 40px;
    padding: 9px 15px;
    font-size: 13px;
}

.button .material-symbols-outlined,
.home-nav .material-symbols-outlined {
    font-size: 18px;
}

.mobile-menu {
    display: none;
    position: relative;
}

.mobile-menu > summary {
    padding: 8px;
    color: var(--home-ink);
}

.mobile-menu > nav {
    position: absolute;
    top: calc(100% + 17px);
    right: 0;
    display: grid;
    width: min(280px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid var(--home-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
}

.mobile-menu > nav a {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--home-muted);
    font-size: 14px;
    font-weight: 600;
}

.mobile-menu > nav a:hover {
    background: var(--home-background);
    color: var(--home-ink);
}

.home-main {
    position: relative;
    z-index: 1;
}

.site-shell {
    padding-top: 72px;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 78px;
    padding-bottom: 82px;
    text-align: center;
}

.eyebrow {
    color: var(--home-primary);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.09em;
    line-height: 1.5;
    text-transform: uppercase;
}

.status-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 21px;
    padding: 8px 13px;
    border: 1px solid var(--home-line);
    border-radius: 999px;
    color: #475569 !important;
    background: #fff;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
    font-size: 10px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.11);
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 20px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(40px, 5.1vw, 64px);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.12;
}

.hero h1 span {
    color: var(--home-primary);
    background: linear-gradient(110deg, #0f172a 2%, #e11d48 55%, #ff3847 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-copy {
    max-width: 760px;
    margin: 0 auto 28px;
    color: var(--home-muted);
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.metrics-card {
    display: grid;
    width: min(100%, 950px);
    grid-template-columns: repeat(4, 1fr);
    padding: 14px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.035);
}

.metric {
    display: flex;
    min-height: 80px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-right: 1px solid #f1f5f9;
    text-align: center;
}

.metric:last-child {
    border: 0;
}

.metric strong {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.2;
}

.metric .star {
    color: #f59e0b;
    font-size: 20px;
}

.metric .metric-blue {
    color: var(--home-blue);
}

.metric > span {
    margin-top: 5px;
    color: var(--home-subtle);
    font-size: 12px;
}

.section-wrap {
    padding-top: 76px;
    padding-bottom: 76px;
    scroll-margin-top: 72px;
}

.section-border {
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

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

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
    margin: 7px 0 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.section-heading p {
    max-width: 490px;
    margin: 0;
    color: var(--home-muted);
    line-height: 1.7;
}

.split-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.centered-heading {
    max-width: 740px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.centered-heading p {
    margin: 12px auto 0;
}

.card-grid {
    display: grid;
    gap: 22px;
}

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

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

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

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

.home-card {
    min-width: 0;
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius);
    background: var(--home-surface);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.035);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.home-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 56, 71, 0.3);
    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.075),
        0 0 20px rgba(255, 56, 71, 0.07);
}

.product-card {
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.icon-box {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 13px;
}

.icon-box .material-symbols-outlined {
    font-size: 25px;
}

.icon-rose {
    border-color: #ffe4e6;
    color: var(--home-primary);
    background: #fff1f2;
}

.icon-blue {
    border-color: #e0f2fe;
    color: #0284c7;
    background: #f0f9ff;
}

.icon-indigo {
    border-color: #e0e7ff;
    color: #4f46e5;
    background: #eef2ff;
}

.icon-green {
    border-color: #d1fae5;
    color: #059669;
    background: #ecfdf5;
}

.icon-purple {
    border-color: #ede9fe;
    color: #7c3aed;
    background: #f5f3ff;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid var(--home-line);
    border-radius: 6px;
    color: #475569 !important;
    background: #f8fafc;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
    text-transform: uppercase;
}

.product-card h3,
.service-card h3,
.process-card h3,
.case-card h3,
.location-card h3,
.leadership-card h3,
.expert-card h3 {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.product-card > p,
.service-card > p,
.process-card > p,
.case-content > p,
.location-card > p,
.leadership-card > p,
.expert-card > p {
    margin: 9px 0 18px;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.7;
}

.check-list {
    display: grid;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    color: #334155;
    font-size: 12px;
    list-style: none;
}

.check-list li::before {
    margin-right: 8px;
    color: #059669;
    content: "✓";
    font-weight: 800;
}

.card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding: 11px 12px;
    border: 1px solid var(--home-line);
    border-radius: 8px;
    color: #1e293b;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 650;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.card-link:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.card-link .material-symbols-outlined {
    font-size: 18px;
}

.service-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 23px;
}

.service-card > .icon-box {
    margin-bottom: 19px;
}

.service-card > p {
    margin-bottom: 18px;
}

.service-caption {
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid #f1f5f9;
    color: var(--home-subtle);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
}

.process-card {
    padding: 22px;
}

.step-number {
    display: block;
    margin-bottom: 11px;
    color: #cbd5e1;
    font-family: "JetBrains Mono", monospace;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    transition: color 0.2s ease;
}

.process-card:hover .step-number {
    color: var(--home-primary-bright);
}

.process-card > p {
    margin-bottom: 0;
}

.case-card {
    overflow: hidden;
}

.case-card > img {
    display: block;
    width: 100%;
    height: 225px;
    object-fit: cover;
    background: #f1f5f9;
    transition: transform 0.4s ease;
}

.case-card:hover > img {
    transform: scale(1.035);
}

.case-content {
    padding: 22px 24px 20px;
}

.case-content h3 {
    margin-top: 13px;
}

.case-content > p {
    margin-bottom: 18px;
}

.case-result {
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.case-result strong {
    color: var(--home-primary);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 25px;
    font-weight: 800;
}

.case-result span {
    color: var(--home-subtle);
    font-size: 11px;
    font-weight: 600;
}

.location-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
}

.location-card h3 {
    margin-top: 15px;
}

.location-card > p {
    min-height: 48px;
    margin: 6px 0 17px;
}

.location-card > a {
    width: 100%;
    padding: 8px 0;
    border-top: 1px solid #f1f5f9;
    color: #475569 !important;
    font-size: 12px;
    transition: color 0.2s ease;
}

.location-card > a:hover {
    color: var(--home-primary);
}

.tag-rose {
    border-color: #ffe4e6;
    color: #be123c;
    background: #fff1f2;
}

.tag-blue {
    border-color: #e0f2fe;
    color: #0369a1;
    background: #f0f9ff;
}

.tag-indigo {
    border-color: #e0e7ff;
    color: #4338ca;
    background: #eef2ff;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
}

.about-copy h2 {
    margin-bottom: 18px;
}

.about-copy > p {
    margin: 0 0 15px;
    color: var(--home-muted);
    line-height: 1.75;
}

.about-copy > .about-lead {
    font-size: 17px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.value-card {
    padding: 14px;
    border: 1px solid var(--home-line);
    border-radius: 11px;
    background: #fff;
}

.value-card strong,
.value-card span {
    display: block;
}

.value-card strong {
    margin-bottom: 4px;
    font-size: 12px;
}

.value-card span {
    color: var(--home-subtle);
    font-size: 11px;
    line-height: 1.5;
}

.leadership-card {
    padding: 30px;
}

.leadership-card .eyebrow {
    color: #94a3b8;
}

.leadership-card h3 {
    margin-top: 8px;
    font-size: 24px;
}

.leadership-card > p {
    margin-bottom: 22px;
}

.engineering-core {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.engineering-core strong,
.engineering-core small {
    display: block;
}

.engineering-core strong {
    font-size: 13px;
}

.engineering-core small {
    color: var(--home-subtle);
    font-size: 11px;
}

.contact-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 25px;
    background: linear-gradient(135deg, #fff, #f1f5f9);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.contact-copy h2 {
    margin-bottom: 14px;
}

.contact-copy > p {
    margin: 0 0 24px;
    color: var(--home-muted);
    font-size: 16px;
    line-height: 1.7;
}

.newsletter-block > strong {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: 0;
    color: var(--home-ink);
    background: #fff;
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.newsletter-form input:focus {
    border-color: var(--home-primary);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.newsletter-form .button {
    min-height: 46px;
}

.newsletter-block > small {
    display: block;
    margin-top: 8px;
    color: var(--home-subtle);
    font-size: 10px;
}

.form-success,
.form-error {
    margin: 9px 0 0;
    font-size: 12px;
}

.form-success {
    color: #047857;
}

.form-error {
    color: #be123c;
}

.expert-card {
    padding: 24px;
}

.expert-card > p {
    margin: 5px 0 16px;
    font-size: 12px;
}

.expert-card > a {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 9px;
    padding: 11px;
    border: 1px solid var(--home-line);
    border-radius: 10px;
    background: #f8fafc;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.expert-card > a:hover {
    border-color: #cbd5e1;
    background: #fff;
}

.expert-card .contact-icon {
    display: inline-flex;
    width: 37px;
    height: 37px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
}

.contact-icon .material-symbols-outlined {
    font-size: 20px;
}

.expert-card > a > span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.expert-card strong,
.expert-card small {
    display: block;
}

.expert-card strong {
    font-size: 12px;
}

.expert-card small {
    color: var(--home-subtle);
    font-size: 10px;
}

.expert-card .contact-arrow {
    color: #94a3b8;
    font-size: 16px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.home-footer {
    border-top: 1px solid var(--home-line);
    background: rgba(248, 250, 252, 0.94);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr 1fr 1.2fr;
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 36px;
}

.footer-brand img {
    display: block;
    width: 145px;
    max-height: 44px;
    object-fit: contain;
}

.footer-inner h2 {
    margin: 4px 0 13px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.footer-inner > div:not(.footer-brand) > a {
    display: block;
    margin-top: 8px;
    color: var(--home-muted);
    font-size: 12px;
    transition: color 0.2s ease;
}

.footer-inner > div > a:hover,
.footer-bottom a:hover {
    color: var(--home-primary);
}

.footer-brand > p,
.footer-inner > div > p {
    max-width: 300px;
    margin: 13px 0;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.7;
}

.footer-brand > span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--home-subtle);
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
}

.footer-brand .status-dot {
    width: 7px;
    height: 7px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 17px;
    padding-bottom: 17px;
    border-top: 1px solid var(--home-line);
    color: var(--home-subtle);
    font-size: 11px;
}

.footer-bottom > span:last-child {
    display: flex;
    gap: 22px;
}

.footer-bottom a {
    transition: color 0.2s ease;
}

@media (max-width: 1050px) {
    .home-header-inner,
    .section-wrap,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 40px, 1216px);
    }

    .home-nav {
        gap: 13px;
    }

    .home-nav > a,
    .products-menu > summary {
        font-size: 12px;
    }

    .home-header-actions {
        gap: 8px;
    }

}

@media (max-width: 820px) {
    .home-header-inner {
        min-height: 66px;
    }

    .home-nav,
    .home-header-actions {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .home-main {
        padding-top: 66px;
    }

    .hero {
        padding-top: 60px;
    }

    .section-wrap {
        padding-top: 60px;
        padding-bottom: 60px;
    }

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

    .product-card:last-child,
    .location-card:last-child {
        grid-column: 1 / -1;
    }

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

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

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

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

@media (max-width: 560px) {
    .home-header-inner,
    .section-wrap,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 32px, 1216px);
    }

    .home-logo img {
        width: 130px;
    }

    .hero {
        padding-top: 47px;
        padding-bottom: 54px;
    }

    .status-eyebrow {
        max-width: 100%;
        font-size: 8px;
        letter-spacing: 0.04em;
    }

    .hero h1 {
        font-size: clamp(36px, 11vw, 48px);
    }

    .hero-copy {
        font-size: 15px;
    }

    .hero-actions {
        width: 100%;
        margin-bottom: 34px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .metrics-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 9px;
    }

    .metric {
        min-height: 78px;
    }

    .metric:nth-child(2) {
        border-right: 0;
    }

    .metric:nth-child(-n + 2) {
        border-bottom: 1px solid #f1f5f9;
    }

    .split-heading {
        display: block;
    }

    .split-heading > p {
        margin-top: 12px;
    }

    .product-grid,
    .service-grid,
    .process-grid,
    .case-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .product-card:last-child,
    .location-card:last-child {
        grid-column: auto;
    }

    .service-card {
        min-height: 0;
    }

    .case-card > img {
        height: 195px;
    }

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

    .contact-panel {
        padding: 23px 17px;
        border-radius: 18px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .button {
        width: 100%;
    }

    .footer-inner {
        gap: 26px 18px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

.hero-capabilities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 600;
}

.hero-capabilities > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-capabilities .material-symbols-outlined {
    color: var(--home-primary);
    font-size: 18px;
}

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

.trust-card {
    padding: 24px;
}

.trust-card > .icon-box {
    margin-bottom: 17px;
}

.trust-card h3,
.showcase-content h3,
.showcase-note h3,
.why-item h3,
.capability-panel h3 {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.trust-card p,
.showcase-content p,
.showcase-note p,
.why-item p,
.capability-panel p {
    margin: 8px 0 0;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.75;
}

.trust-proof-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 30px;
    margin-top: 26px;
}

.trust-proof-links a,
.home-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #be123c !important;
    font-size: 12px;
    font-weight: 700;
}

.trust-proof-links .material-symbols-outlined,
.home-inline-link .material-symbols-outlined {
    font-size: 17px;
}

.home-service-grid .service-card {
    min-height: 285px;
}

.home-service-grid .service-card > p {
    margin-bottom: 19px;
}

.home-service-grid .home-inline-link {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.home-section-link {
    display: flex;
    justify-content: center;
    margin-top: 29px;
}

.featured-work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.showcase-card {
    overflow: hidden;
}

.showcase-image {
    display: block;
    height: 220px;
    overflow: hidden;
    background: #eef2f8;
}

.showcase-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.showcase-card:hover .showcase-image img {
    transform: scale(1.035);
}

.showcase-image.showcase-illustration img {
    object-fit: contain;
    padding: 16px;
    background: linear-gradient(140deg, #f1f5ff, #fff);
}

.showcase-content {
    display: flex;
    min-height: 225px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 22px 22px;
}

.showcase-content .tag {
    margin-bottom: 13px;
}

.showcase-content h3 {
    font-size: 18px;
}

.showcase-content p {
    margin-bottom: 17px;
}

.showcase-content .home-inline-link {
    margin-top: auto;
}

.showcase-note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px;
    background: linear-gradient(155deg, #fff, #f5f7fc);
}

.showcase-note > .icon-box {
    margin-bottom: 19px;
}

.showcase-note > .eyebrow {
    margin-bottom: 8px;
}

.showcase-note h3 {
    font-size: 21px;
}

.showcase-note p {
    margin-bottom: 21px;
}

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

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid var(--home-line);
}

.why-item > .material-symbols-outlined {
    flex: 0 0 auto;
    color: var(--home-primary);
    font-size: 23px;
}

.why-item h3 {
    font-size: 15px;
}

.why-item p {
    font-size: 12px;
}

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

.home-process-grid .process-card {
    min-height: 190px;
}

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

.capability-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
}

.capability-panel > .icon-box {
    margin-bottom: 16px;
}

.capability-panel p {
    margin-bottom: 19px;
}

.capability-panel .home-inline-link {
    margin-top: auto;
}

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

.home-testimonial {
    display: flex;
    min-height: 235px;
    flex-direction: column;
    padding: 23px;
}

.home-testimonial-stars {
    color: #d8911d;
    font-size: 16px;
    letter-spacing: .1em;
}

.home-testimonial blockquote {
    flex: 1;
    margin: 14px 0 20px;
    color: #334155;
    font-size: 13px;
    line-height: 1.8;
}

.home-testimonial-author {
    display: grid;
    gap: 3px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.home-testimonial-author strong {
    font-size: 12px;
}

.home-testimonial-author span,
.testimonial-disclaimer {
    color: var(--home-subtle);
    font-size: 10px;
}

.testimonial-disclaimer {
    margin: 14px 0 0;
    text-align: center;
}

.home-faq-list {
    display: grid;
    max-width: 900px;
    gap: 11px;
    margin-inline: auto;
}

.home-faq {
    padding: 18px 20px;
    border: 1px solid var(--home-line);
    border-radius: 12px;
    background: #fff;
}

.home-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: var(--home-ink);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    list-style: none;
}

.home-faq summary::-webkit-details-marker {
    display: none;
}

.home-faq summary .material-symbols-outlined {
    flex: 0 0 auto;
    color: var(--home-primary);
    transition: transform .2s ease;
}

.home-faq[open] summary .material-symbols-outlined {
    transform: rotate(180deg);
}

.home-faq > p {
    margin: 12px 35px 0 0;
    color: var(--home-muted);
    font-size: 13px;
    line-height: 1.75;
}

.home-faq > p a {
    color: #be123c !important;
    font-weight: 700;
}

.home-final-cta {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: start;
    gap: clamp(28px, 6vw, 72px);
    margin-bottom: 24px;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 24px;
    background: linear-gradient(135deg, #fff, #f1f5f9);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
}

.home-contact-heading h2 {
    margin: 9px 0 13px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(29px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.17;
}

.home-contact-heading > p {
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.75;
}

.home-contact-details {
    display: grid;
    gap: 12px;
    margin: 26px 0 21px;
}

.home-contact-details > a,
.home-contact-details > span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--home-muted);
    font-size: 12px;
}

.home-contact-details .material-symbols-outlined {
    color: var(--home-primary);
    font-size: 18px;
}

.home-inquiry-form {
    display: grid;
    padding: 25px;
    border: 1px solid var(--home-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.home-inquiry-form h3 {
    margin: 0 0 5px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
    font-weight: 750;
}

.home-inquiry-form > p {
    margin: 0 0 12px;
    color: var(--home-muted);
    font-size: 12px;
}

.home-inquiry-form label {
    margin: 12px 0 5px;
    color: var(--home-ink);
    font-size: 11px;
    font-weight: 700;
}

.home-inquiry-form input:not([type="hidden"]),
.home-inquiry-form textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    color: var(--home-ink);
    background: #fff;
    font-size: 13px;
}

.home-inquiry-form textarea {
    resize: vertical;
}

.home-inquiry-form input:focus,
.home-inquiry-form textarea:focus {
    border-color: var(--home-primary);
    outline: 3px solid rgba(225, 29, 72, .12);
}

.home-inquiry-form > .button {
    justify-self: start;
    margin-top: 17px;
    cursor: pointer;
}

.home-inquiry-form > small {
    margin-top: 12px;
    color: var(--home-subtle);
    font-size: 10px;
    line-height: 1.6;
}

.home-inquiry-success,
.home-inquiry-error {
    margin: 8px 0;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 12px;
}

.home-inquiry-success {
    color: #047857;
    background: #ecfdf5;
}

.home-inquiry-error,
.home-field-error {
    color: #be123c;
    background: #fff1f2;
}

.home-field-error {
    margin-top: 4px;
    background: transparent;
    font-size: 11px;
}

@media (max-width: 900px) {
    .home-service-grid,
    .featured-work-grid,
    .home-testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-note {
        min-height: 320px;
    }

    .home-final-cta {
        grid-template-columns: 1fr;
    }
}

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

    .why-item:last-child {
        grid-column: 1 / -1;
    }

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

@media (max-width: 560px) {
    .hero-capabilities {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .trust-grid,
    .home-service-grid,
    .featured-work-grid,
    .why-grid,
    .home-process-grid,
    .capabilities-panels,
    .home-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .why-item:last-child {
        grid-column: auto;
    }

    .showcase-note {
        min-height: 0;
    }

    .home-final-cta {
        padding: 24px 17px;
        border-radius: 18px;
    }

    .home-inquiry-form {
        padding: 20px 16px;
    }
}
