:root {
    --bg: #f6faf6;
    --surface: #ffffff;
    --surface-soft: #eaf5ec;
    --surface-strong: #dcefe0;
    --accent: #2f8f46;
    --accent-dark: #1e6631;
    --accent-light: #a9dfb1;
    --text: #17231a;
    --muted: #647068;
    --border: #dce7de;
    --danger: #b42318;
    --success: #19733a;
    --dark: #16271b;
    --shadow: 0 20px 60px rgba(39, 72, 46, 0.11);
    --shadow-small: 0 10px 30px rgba(39, 72, 46, 0.07);
    --radius: 24px;
    --radius-small: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 2%, rgba(169, 223, 177, 0.35), transparent 29rem),
        linear-gradient(180deg, #fbfdfb 0, var(--bg) 34rem);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1,
h2,
h3 {
    color: var(--text);
    letter-spacing: -0.04em;
}

h1 {
    margin: 0;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: 0.99;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
}

h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.25;
}

p {
    margin: 0;
}

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

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 999;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--text);
    color: white;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(220, 231, 222, 0.78);
    background: rgba(251, 253, 251, 0.88);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(47, 143, 70, 0.22);
    border-radius: 13px;
    background: linear-gradient(135deg, var(--accent-light), #e8f6ea);
    color: var(--accent-dark);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

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

.brand strong {
    font-size: 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.15;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.main-nav a {
    transition: color 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--accent-dark);
}

.header-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 17px;
    border-radius: 13px;
    background: var(--accent);
    color: white !important;
    box-shadow: 0 10px 24px rgba(47, 143, 70, 0.2);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: white;
    color: var(--text);
    cursor: pointer;
}

.hero {
    padding: clamp(64px, 10vw, 112px) 0 68px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: clamp(42px, 7vw, 88px);
}

.eyebrow,
.kicker {
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--surface-soft);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(47, 143, 70, 0.12);
}

.hero h1 {
    margin-top: 24px;
}

.hero h1 span,
.service-hero h1 span {
    background: linear-gradient(90deg, #48a85d 0%, #2f8f46 48%, #1f7137 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 760px;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(1.07rem, 2vw, 1.25rem);
    line-height: 1.62;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 14px 30px rgba(47, 143, 70, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--accent-dark);
}

.button-secondary {
    border-color: var(--border);
    background: white;
    color: var(--text);
}

.button-wide {
    width: 100%;
}

.button:disabled {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    filter: grayscale(0.2);
    opacity: 0.55;
}

.hero-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.88rem;
}

.hero-panel {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    transform: rotate(1deg);
}

.hero-panel-top {
    min-height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    border-radius: 23px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 105% -10%, rgba(169, 223, 177, 0.24), transparent 15rem),
        linear-gradient(145deg, #192d1f, #36583e);
    color: white;
}

.hero-panel-top::after {
    content: "";
    position: absolute;
    right: -75px;
    bottom: -95px;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.035), 0 0 0 74px rgba(255, 255, 255, 0.025);
}

.hero-panel-top span {
    position: relative;
    z-index: 1;
    color: #cfe9d4;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-panel-top strong {
    position: relative;
    z-index: 1;
    max-width: 330px;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.hero-metrics div {
    min-width: 0;
    padding: 15px;
    border-radius: 16px;
    background: var(--surface-soft);
}

.hero-metrics strong,
.hero-metrics span {
    display: block;
}

.hero-metrics strong {
    color: var(--accent-dark);
    font-size: 1.05rem;
}

.hero-metrics span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.78rem;
}

.trust-strip {
    padding: 0 0 28px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-small);
}

.trust-grid div {
    padding: 22px;
}

.trust-grid div + div {
    border-left: 1px solid var(--border);
}

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

.trust-grid strong {
    font-size: 0.98rem;
}

.trust-grid span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.82rem;
}

.section {
    padding: clamp(68px, 9vw, 108px) 0;
}

.section-soft {
    border-block: 1px solid var(--border);
    background: var(--surface-soft);
}

.section-heading {
    max-width: 790px;
    margin-bottom: 38px;
}

.section-heading h2 {
    margin-top: 8px;
}

.section-heading > p:last-child {
    max-width: 720px;
    margin-top: 15px;
    color: var(--muted);
    font-size: 1.05rem;
}

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

.service-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-small);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #c2dac7;
    box-shadow: var(--shadow);
}

.service-card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.service-card {
    position: relative;
}

.service-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 15px;
    background: var(--surface-soft);
    font-size: 1.35rem;
}

.service-card p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.93rem;
}

.text-link {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin-top: auto;
    padding-top: 18px;
    color: var(--accent-dark);
    font-size: 0.9rem;
    font-weight: 850;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
    gap: clamp(42px, 8vw, 110px);
}

.two-column h2 {
    margin-top: 8px;
}

.prose p + p {
    margin-top: 20px;
}

.prose {
    color: var(--muted);
    font-size: 1.04rem;
}

.prose-large {
    max-width: 820px;
    color: #49564d;
    font-size: 1.08rem;
}

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

.work-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow-small);
}

.work-visual {
    min-height: 210px;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #24432d, #4f7d58);
    color: white;
}

.work-visual::before,
.work-visual::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.work-visual::before {
    width: 180px;
    height: 180px;
    right: -35px;
    top: -38px;
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.03), 0 0 0 56px rgba(255, 255, 255, 0.025);
}

.work-visual::after {
    left: 28px;
    right: 28px;
    bottom: 63px;
    height: 74px;
    border-radius: 14px;
    transform: skewY(-5deg);
}

.work-visual-camera {
    background: linear-gradient(145deg, #1e3035, #4f7970);
}

.work-visual-support {
    background: linear-gradient(145deg, #2d293d, #646078);
}

.work-visual span {
    position: relative;
    z-index: 1;
    font-weight: 850;
}

.work-body {
    padding: 23px;
}

.tag {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 850;
}

.work-body h3 {
    margin-top: 11px;
}

.work-body p {
    margin-top: 9px;
    color: var(--muted);
}

.section-dark {
    background:
        radial-gradient(circle at 100% 0, rgba(169, 223, 177, 0.1), transparent 28rem),
        var(--dark);
    color: white;
}

.section-heading-light h2 {
    color: white;
}

.section-heading-light > p:last-child {
    color: #b7c6ba;
}

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

.process-grid li {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.045);
}

.process-grid li > span {
    color: #8bc996;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.process-grid h3 {
    margin-top: 34px;
    color: white;
}

.process-grid p {
    margin-top: 9px;
    color: #b7c6ba;
    font-size: 0.92rem;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
    gap: clamp(38px, 7vw, 92px);
    align-items: start;
}

.sticky-heading {
    position: sticky;
    top: 112px;
}

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

.faq-item {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: white;
    box-shadow: 0 8px 24px rgba(39, 72, 46, 0.045);
}

.faq-item summary {
    padding: 19px 52px 19px 20px;
    position: relative;
    cursor: pointer;
    list-style: none;
    font-weight: 800;
}

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    color: var(--accent);
    font-size: 1.4rem;
    transform: translateY(-50%);
}

.faq-item[open] summary::after {
    content: "−";
}

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

.request-section {
    border-top: 1px solid var(--border);
    background:
        radial-gradient(circle at 4% 20%, rgba(169, 223, 177, 0.35), transparent 26rem),
        #f8fbf8;
}

.request-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
    gap: clamp(42px, 8vw, 100px);
    align-items: start;
}

.request-copy h2 {
    margin-top: 8px;
}

.request-copy > p:last-of-type {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.04rem;
}

.contact-list {
    display: grid;
    gap: 10px;
    margin-top: 30px;
}

.contact-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 17px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.72);
}

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

.contact-list strong {
    text-align: right;
    font-size: 0.95rem;
}

.form-card {
    padding: clamp(24px, 5vw, 38px);
    border: 1px solid var(--border);
    border-radius: 28px;
    background: white;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.form-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-row label,
.consent-line {
    font-size: 0.9rem;
    font-weight: 750;
}

.form-row label > span {
    color: var(--danger);
}

.form-row input,
.form-row textarea {
    width: 100%;
    border: 1px solid #ccd9cf;
    border-radius: 13px;
    background: #fbfdfb;
    color: var(--text);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-row input {
    min-height: 49px;
    padding: 0 14px;
}

.form-row textarea {
    min-height: 138px;
    padding: 13px 14px;
    resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(47, 143, 70, 0.11);
}

.form-row input:disabled {
    background: #eef2ee;
    color: #7b857d;
    cursor: not-allowed;
}

.form-row small {
    color: var(--muted);
    font-size: 0.78rem;
}

.checkbox-line,
.consent-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-line {
    width: fit-content;
    color: var(--muted);
    font-weight: 600 !important;
}

.checkbox-line input,
.consent-line input {
    width: 17px;
    height: 17px;
    margin: 3px 0 0;
    flex: 0 0 17px;
    accent-color: var(--accent);
}

.consent-line {
    margin: 4px 0 20px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.consent-line a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

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

.field-invalid {
    border-color: #d92d20 !important;
    background: #fffafa !important;
    box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.1) !important;
}

.field-shake {
    animation: field-shake 0.4s ease;
}

@keyframes field-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
}

.flash-list {
    display: grid;
    gap: 9px;
    margin-bottom: 18px;
}

.flash {
    padding: 13px 15px;
    border-radius: 12px;
    font-size: 0.88rem;
}

.flash-error {
    border: 1px solid #fac5c2;
    background: #fff1f0;
    color: var(--danger);
}

.flash-success {
    border: 1px solid #b9e7c5;
    background: #edf9f0;
    color: var(--success);
}

.service-hero {
    padding: 38px 0 clamp(64px, 9vw, 104px);
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(circle at 80% 10%, rgba(169, 223, 177, 0.31), transparent 30rem),
        linear-gradient(180deg, #fbfdfb, #f4f9f5);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(48px, 7vw, 80px);
    color: var(--muted);
    font-size: 0.82rem;
}

.breadcrumbs a:hover {
    color: var(--accent-dark);
}

.service-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.46fr);
    align-items: end;
    gap: clamp(38px, 7vw, 86px);
}

.service-hero h1 {
    max-width: 880px;
    margin-top: 22px;
    font-size: clamp(2.6rem, 5.8vw, 5rem);
}

.service-icon-inline {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    margin: 0;
    border-radius: 10px;
    background: white;
    font-size: 1rem;
}

.service-summary {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-small);
}

.service-summary > span {
    color: var(--accent-dark);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-summary ul {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.service-summary li {
    padding-left: 21px;
    position: relative;
    color: var(--muted);
    font-size: 0.92rem;
}

.service-summary li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.64em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: clamp(46px, 8vw, 100px);
}

.content-section {
    padding-top: 70px;
}

.content-section h2 {
    margin-top: 8px;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    margin-top: 28px;
}

.check-grid > div {
    min-height: 100%;
    display: flex;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: white;
}

.check-grid > div > span {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--accent-dark);
    font-size: 0.8rem;
    font-weight: 900;
}

.check-grid p {
    color: var(--muted);
    font-size: 0.92rem;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.audience-grid div {
    padding: 18px;
    border-left: 4px solid var(--accent-light);
    border-radius: 0 14px 14px 0;
    background: var(--surface-soft);
    color: #3e4c42;
}

.compact-process {
    display: grid;
    gap: 0;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: compact-step;
}

.compact-process li {
    display: grid;
    grid-template-columns: 34px 160px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    counter-increment: compact-step;
}

.compact-process li::before {
    content: counter(compact-step, decimal-leading-zero);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
}

.compact-process strong {
    font-size: 0.94rem;
}

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

.article-sidebar {
    position: sticky;
    top: 108px;
}

.sidebar-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-small);
}

.sidebar-card h2 {
    margin-top: 7px;
    font-size: 1.75rem;
}

.sidebar-card > p:not(.kicker) {
    margin: 13px 0 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

.sidebar-contact {
    display: block;
    margin-top: 13px;
    color: var(--accent-dark);
    font-size: 0.88rem;
    font-weight: 800;
    text-align: center;
}

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

.related-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid #cfe1d2;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    transition: transform 0.18s ease, background 0.18s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    background: white;
}

.related-card strong {
    font-size: 1.05rem;
}

.related-card > span:last-child {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.87rem;
}

.document-hero {
    padding: 74px 0 54px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-soft);
}

.document-container {
    max-width: 860px;
}

.document-hero h1 {
    margin-top: 10px;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.document-hero p:last-child {
    margin-top: 18px;
    color: var(--muted);
}

.document-section {
    background: #fbfdfb;
}

.legal-text {
    padding: clamp(26px, 5vw, 54px);
    border: 1px solid var(--border);
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow-small);
}

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

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

.legal-text p {
    margin-top: 11px;
    color: var(--muted);
}

.legal-text a {
    color: var(--accent-dark);
    text-decoration: underline;
}

.legal-note {
    margin-top: 34px;
    padding: 17px;
    border: 1px solid #f0d49a;
    border-radius: 14px;
    background: #fff9e9;
    color: #664d1d;
}

.legal-note code {
    padding: 2px 5px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.05);
}

.not-found {
    min-height: 68vh;
    display: grid;
    place-items: center;
    padding: 70px 0;
}

.not-found-inner {
    max-width: 660px;
    text-align: center;
}

.not-found-inner > span {
    color: var(--accent);
    font-size: clamp(5rem, 16vw, 10rem);
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.not-found h1 {
    margin-top: 18px;
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.not-found p {
    margin: 18px auto 26px;
    color: var(--muted);
}

.site-footer {
    padding: 62px 0 22px;
    background: #122016;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.65fr 0.65fr;
    gap: 55px;
}

.brand-footer strong {
    color: white;
}

.brand-footer small {
    color: #9db0a1;
}

.footer-grid > div:first-child > p {
    max-width: 470px;
    margin-top: 18px;
    color: #9db0a1;
}

.footer-heading {
    margin: 0 0 16px;
    color: white;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-grid > div:not(:first-child) a {
    display: block;
    width: fit-content;
    margin-top: 9px;
    color: #b5c3b8;
    font-size: 0.9rem;
}

.footer-grid a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 52px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #819085;
    font-size: 0.78rem;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .main-nav {
        position: fixed;
        inset: 79px 0 auto 0;
        max-height: calc(100vh - 79px);
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        overflow-y: auto;
        padding: 16px 20px 24px;
        border-bottom: 1px solid var(--border);
        background: #fbfdfb;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 14px 10px;
        border-bottom: 1px solid var(--border);
    }

    .main-nav .header-cta {
        margin-top: 12px;
        border: 0;
        justify-content: center;
    }

    .hero-grid,
    .service-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 680px;
        transform: none;
    }

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

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

    .trust-grid div:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .trust-grid div:nth-child(4) {
        border-top: 1px solid var(--border);
    }

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

    .faq-layout,
    .request-grid,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .sticky-heading,
    .article-sidebar {
        position: static;
    }

    .article-sidebar {
        order: -1;
    }

    .sidebar-card {
        max-width: 620px;
    }

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

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
}

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

    .header-inner {
        min-height: 70px;
    }

    .main-nav {
        inset-block-start: 71px;
    }

    .brand small {
        display: none;
    }

    .hero {
        padding-top: 54px;
    }

    h1 {
        font-size: clamp(2.55rem, 13vw, 4rem);
    }

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

    .hero-panel,
    .form-card {
        padding: 15px;
        border-radius: 22px;
    }

    .hero-panel-top {
        min-height: 250px;
        padding: 22px;
    }

    .hero-metrics,
    .service-grid,
    .works-grid,
    .process-grid,
    .check-grid,
    .audience-grid,
    .related-grid,
    .form-split,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .trust-grid div + div,
    .trust-grid div:nth-child(3),
    .trust-grid div:nth-child(4) {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .compact-process li {
        grid-template-columns: 28px 1fr;
        gap: 11px;
    }

    .compact-process li span {
        grid-column: 2;
    }

    .footer-grid > div:first-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .contact-list a {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .contact-list strong {
        text-align: left;
    }
}

@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;
    }
}
