:root {
    color-scheme: light;
    --bg: #f5f5f7;
    --bg-soft: #fbfbfd;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-solid: #ffffff;
    --surface-muted: #f0f3f2;
    --surface-muted-2: #eef1f6;
    --line: rgba(29, 29, 31, 0.08);
    --line-strong: rgba(29, 29, 31, 0.14);
    --text: #1d1d1f;
    --muted: #6e6e73;
    --accent: #6b8f82;
    --accent-deep: #314b42;
    --accent-soft: rgba(107, 143, 130, 0.12);
    --accent-soft-2: rgba(94, 124, 151, 0.1);
    --shadow-sm: 0 10px 22px rgba(15, 23, 42, 0.05);
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 32px 80px rgba(15, 23, 42, 0.1);
    --container: min(1180px, calc(100vw - 40px));
    --radius-xl: 36px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --header-height: 88px;
    --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font-ui);
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(107, 143, 130, 0.08), transparent 24%),
        radial-gradient(circle at 82% 12%, rgba(94, 124, 151, 0.1), transparent 18%),
        linear-gradient(180deg, #f6f6f8 0%, #fafafc 52%, #f4f5f7 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.page-shell {
    position: relative;
    overflow: clip;
}

.page-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 14%, transparent 28%),
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.16) 68%, transparent 100%);
    pointer-events: none;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 0;
    backdrop-filter: blur(20px);
    background: rgba(245, 245, 247, 0.7);
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(250, 250, 252, 0.88);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.brand-wording {
    display: grid;
    gap: 2px;
}

.brand-emblem {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
}

.brand-emblem-mini {
    width: 30px;
    height: 30px;
}

.brand-emblem-frame {
    fill: rgba(255, 255, 255, 0.82);
    stroke: rgba(29, 29, 31, 0.08);
}

.brand-emblem-glyph,
.brand-emblem-stem {
    stroke: var(--text);
    stroke-width: 3.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-mark {
    font-size: clamp(1.18rem, 2vw, 1.42rem);
    font-weight: 700;
    letter-spacing: 0.28em;
    color: var(--text);
}

.brand-subtitle {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
}

.site-nav a {
    padding: 11px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 500;
    transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
    background: rgba(29, 29, 31, 0.05);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
}

.language-switch:hover,
.language-switch:focus-visible {
    transform: translateY(-1px);
}

.language-switch-current,
.language-switch-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.language-switch-current {
    background: var(--text);
    color: #ffffff;
}

.language-switch-next {
    background: rgba(29, 29, 31, 0.04);
    color: var(--muted);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

.hero-section {
    position: relative;
    padding: 40px 0 56px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 44px;
    align-items: start;
    min-height: calc(100vh - var(--header-height) - 96px);
    min-height: calc(100svh - var(--header-height) - 96px);
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(38px);
    opacity: 0.55;
    pointer-events: none;
}

.hero-orb-a {
    top: 120px;
    left: -40px;
    width: 240px;
    height: 240px;
    background: rgba(107, 143, 130, 0.18);
}

.hero-orb-b {
    right: 30px;
    bottom: 40px;
    width: 220px;
    height: 220px;
    background: rgba(94, 124, 151, 0.14);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(107, 143, 130, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--accent-deep);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2,
.hero-board h2 {
    margin: 0;
    font-family: var(--font-ui);
    font-weight: 700;
    letter-spacing: -0.05em;
}

.hero-copy h1 {
    max-width: 10.5ch;
    font-size: clamp(2.85rem, 5.4vw, 5rem);
    line-height: 0.95;
}

.lead,
.section-heading p,
.contact-copy p {
    color: var(--muted);
    font-size: 1.06rem;
}

.hero-copy .lead {
    max-width: 58ch;
    margin: 18px 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 20px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
    background: var(--text);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(29, 29, 31, 0.14);
}

.button-secondary {
    border-color: rgba(29, 29, 31, 0.08);
    background: rgba(255, 255, 255, 0.76);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.hero-highlights,
.bullet-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-highlights li,
.bullet-list li {
    position: relative;
    padding-left: 22px;
    color: var(--text);
}

.hero-highlights li::before,
.bullet-list li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #94aeb8);
}

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

.stat-card,
.service-card,
.process-card,
.contact-panel,
.contact-details,
.map-card,
.insights-window,
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.stat-card {
    padding: 16px;
    border-radius: var(--radius-md);
}

.stat-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
    color: var(--text);
}

.stat-card span {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.hero-board-wrap {
    position: relative;
    align-self: start;
}

.hero-board-wrap::before {
    content: "";
    position: absolute;
    inset: 18px -12px -12px 18px;
    border-radius: 40px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(107, 143, 130, 0.12));
    filter: blur(8px);
}

.hero-board {
    position: relative;
    z-index: 1;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 40px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 249, 252, 0.72)),
        rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    backdrop-filter: blur(24px);
}

.hero-board::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107, 143, 130, 0.16), transparent 72%);
    pointer-events: none;
}

.hero-board-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-board-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-board-mark {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: var(--text);
}

.panel-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(29, 29, 31, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.panel-chip-muted {
    background: var(--accent-soft);
    color: var(--accent-deep);
}

.hero-board h2 {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    font-size: clamp(1.85rem, 2.7vw, 2.7rem);
    line-height: 1;
}

.hero-board p {
    position: relative;
    z-index: 1;
    margin: 10px 0 20px;
    color: var(--muted);
}

.hero-board-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hero-board-card {
    padding: 16px;
    border: 1px solid rgba(29, 29, 31, 0.06);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
}

.hero-board-card:nth-child(2),
.hero-board-card:nth-child(4) {
    background: rgba(240, 243, 242, 0.88);
}

.hero-board-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-board-card strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
}

.hero-board-tags {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-board-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(29, 29, 31, 0.06);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.section {
    position: relative;
    padding: 84px 0;
}

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

.section-heading.compact {
    margin-bottom: 0;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 0.98;
}

.section-heading p {
    margin: 18px 0 0;
}

.section-services,
.section-process,
.section-contact {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(251, 251, 253, 0.72));
}

.section-insights,
.section-faq {
    background: linear-gradient(180deg, rgba(248, 249, 251, 0.92), rgba(245, 245, 247, 0.92));
}

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

.service-card,
.process-card {
    min-height: 248px;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.process-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-lg);
}

.service-index,
.process-index {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-card h3,
.process-card h3,
.contact-panel h3,
.contact-details h3,
.map-card h3 {
    margin: 0 0 14px;
    font-size: 1.22rem;
    line-height: 1.2;
}

.service-card p,
.process-card p {
    margin: 0;
    color: var(--muted);
}

.insights-grid,
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    align-items: stretch;
}

.insights-window {
    position: relative;
    padding: 28px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.insights-window::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(94, 124, 151, 0.16), transparent 72%);
    pointer-events: none;
}

.window-header {
    display: flex;
    gap: 8px;
}

.window-header span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(29, 29, 31, 0.18);
}

.insights-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.feature-pill {
    padding: 11px 16px;
    border: 1px solid rgba(29, 29, 31, 0.06);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--text);
    font-weight: 600;
}

.mini-metrics {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.mini-metrics article {
    padding: 18px;
    border: 1px solid rgba(29, 29, 31, 0.06);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
}

.mini-metrics strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.32rem;
    color: var(--text);
}

.mini-metrics span {
    color: var(--muted);
    font-size: 0.92rem;
}

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

.faq-item {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item[open] {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-lg);
}

.faq-item summary {
    list-style: none;
    padding: 22px 24px;
    cursor: pointer;
    color: var(--text);
    font-weight: 600;
}

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

.faq-item p {
    margin: 0;
    padding: 0 24px 22px;
    color: var(--muted);
}

.contact-copy p {
    margin-top: 18px;
}

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

.contact-panel,
.contact-details,
.map-card {
    padding: 28px;
    border-radius: var(--radius-xl);
}

.contact-panel {
    margin-top: 28px;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.contact-details {
    padding: 20px 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(240, 243, 242, 0.82)),
        rgba(255, 255, 255, 0.74);
}

.contact-details ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-details li {
    display: grid;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(29, 29, 31, 0.06);
}

.contact-details li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-details span {
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-details strong,
.contact-details a {
    color: var(--text);
    font-size: 1rem;
}

.map-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.8);
}

.map-header {
    margin-bottom: 12px;
}

.contact-form {
    display: grid;
    gap: 18px;
    flex: 1 1 auto;
}

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

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form span {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(29, 29, 31, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    resize: vertical;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(29, 29, 31, 0.38);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(107, 143, 130, 0.24);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 4px rgba(107, 143, 130, 0.08);
}

.field-full {
    grid-column: 1 / -1;
}

.field-error {
    color: #ab4d48;
    font-size: 0.84rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.form-footer p {
    margin: 0;
    max-width: 50ch;
    color: var(--muted);
    font-size: 0.92rem;
}

.form-feedback {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.form-feedback.is-success {
    background: rgba(107, 143, 130, 0.12);
    border: 1px solid rgba(107, 143, 130, 0.14);
    color: var(--accent-deep);
}

.form-feedback.is-error {
    background: rgba(171, 77, 72, 0.1);
    border: 1px solid rgba(171, 77, 72, 0.12);
    color: #92423d;
}

.contact-aside {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 14px;
    height: 100%;
}

.map-card iframe {
    flex: 1 1 auto;
    width: 100%;
    min-height: 320px;
    height: 100%;
    border: 0;
    border-radius: 22px;
}

.site-footer {
    padding: 44px 0 58px;
    border-top: 1px solid rgba(29, 29, 31, 0.06);
    background: rgba(248, 248, 250, 0.82);
}

.footer-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.footer-brand {
    max-width: 560px;
}

.footer-inner p {
    margin: 18px 0 0;
    color: var(--muted);
}

.footer-meta {
    display: grid;
    gap: 10px;
    justify-items: end;
    text-align: right;
    color: var(--muted);
}

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

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .hero-grid,
    .insights-grid,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 28px 0 44px;
    }

    .hero-grid {
        gap: 32px;
        min-height: auto;
    }

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

    .hero-board-wrap::before {
        inset: 14px -8px -8px 8px;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: grid;
        gap: 10px;
        padding: 18px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav a {
        padding: 12px 14px;
    }

    .header-actions {
        gap: 10px;
    }

    .language-switch {
        order: -1;
    }

    .hero-section {
        padding: 18px 0 36px;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-copy h1 {
        max-width: 11ch;
        font-size: clamp(2.6rem, 8vw, 4.2rem);
    }

    .hero-copy .lead {
        margin-top: 16px;
        font-size: 1rem;
    }

    .hero-actions {
        margin: 20px 0 16px;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 18px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-card strong {
        font-size: 0.88rem;
    }

    .stat-card span {
        font-size: 0.76rem;
    }

    .hero-board {
        padding: 22px;
        border-radius: 30px;
    }

    .hero-board h2 {
        font-size: clamp(1.7rem, 5vw, 2.2rem);
    }

    .hero-board p {
        margin: 8px 0 16px;
        font-size: 0.98rem;
    }

    .hero-board-grid {
        gap: 10px;
    }

    .hero-board-card {
        padding: 14px;
    }

    .hero-board-tags {
        margin-top: 14px;
    }

    .hero-board-tag {
        font-size: 0.76rem;
        padding: 7px 10px;
    }

    .mini-metrics,
    .field-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner,
    .footer-meta {
        justify-items: start;
        text-align: left;
    }

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

    .contact-aside {
        grid-template-rows: auto auto;
        height: auto;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 64px 0;
    }

    .hero-section {
        padding: 10px 0 28px;
    }

    .header-inner {
        gap: 12px;
    }

    .brand-mark {
        letter-spacing: 0.2em;
    }

    .brand {
        gap: 10px;
    }

    .brand-emblem {
        width: 32px;
        height: 32px;
    }

    .brand-subtitle {
        display: none;
    }

    .hero-copy h1 {
        font-size: clamp(2.4rem, 11vw, 3.4rem);
        max-width: 10ch;
    }

    .hero-copy .lead {
        max-width: 42ch;
        font-size: 0.96rem;
    }

    .hero-actions {
        gap: 10px;
        margin: 18px 0 14px;
    }

    .button {
        padding: 12px 18px;
    }

    .hero-highlights {
        gap: 8px;
        font-size: 0.93rem;
    }

    .hero-highlights li:nth-child(3) {
        display: none;
    }

    .hero-stats {
        gap: 8px;
        margin-top: 16px;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-card strong {
        font-size: 0.84rem;
    }

    .stat-card span {
        font-size: 0.72rem;
    }

    .hero-board,
    .service-card,
    .process-card,
    .insights-window,
    .contact-panel,
    .contact-details,
    .map-card {
        padding: 18px;
    }

    .contact-details {
        padding: 18px;
    }

    .services-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .hero-board-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hero-board-card span {
        margin-bottom: 6px;
        font-size: 0.7rem;
    }

    .hero-board-card strong {
        font-size: 0.88rem;
        line-height: 1.28;
    }

    .hero-board-tags {
        display: none;
    }

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

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

    .map-card iframe {
        min-height: 280px;
    }
}

@media (max-width: 390px) {
    .hero-board-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-stats .stat-card:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-height: 900px) and (min-width: 1101px) {
    .hero-section {
        padding: 28px 0 40px;
    }

    .hero-grid {
        gap: 36px;
        min-height: calc(100vh - var(--header-height) - 68px);
        min-height: calc(100svh - var(--header-height) - 68px);
    }

    .hero-copy h1 {
        font-size: clamp(2.7rem, 4.8vw, 4.4rem);
    }

    .hero-copy .lead {
        margin-top: 14px;
    }

    .hero-actions {
        margin: 18px 0 14px;
    }

    .hero-stats {
        margin-top: 16px;
    }

    .hero-board {
        padding: 24px;
    }

    .hero-board h2 {
        font-size: clamp(1.75rem, 2.4vw, 2.4rem);
    }

    .hero-board p {
        margin: 8px 0 16px;
    }

    .hero-board-tags {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
