:root {
    --green: #2baa12;
    --green-strong: #1f930c;
    --green-soft: #eef8ea;
    --green-pale: #f6fbf3;
    --ink: #111820;
    --muted: #5c6770;
    --line: #e6ebe7;
    --panel: #f8faf8;
    --footer: #0c151b;
    --footer-2: #101c23;
    --shadow: 0 14px 36px rgba(21, 39, 29, 0.08);
    --shadow-soft: 0 8px 24px rgba(18, 35, 25, 0.06);
    --radius: 20px;
    --max: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

img {
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 82px;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid rgba(17, 24, 32, .06);
    transition: height .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
}

.site-header.is-scrolled {
    height: 68px;
    box-shadow: 0 8px 28px rgba(20, 35, 28, .08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-inner {
    width: min(calc(100% - 48px), var(--max));
    height: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 230px 1fr 250px;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
}

.brand-main {
    font-size: 33px;
    line-height: .95;
    font-weight: 800;
    font-style: italic;
    letter-spacing: .02em;
    color: #121820;
}

.brand-main span {
    color: inherit;
}

.brand-tagline {
    margin-top: 7px;
    color: var(--green-strong);
    font-size: 11px;
    font-weight: 700;
    transition: opacity .2s ease, max-height .2s ease, margin .2s ease;
}

.site-header.is-scrolled .brand-main {
    font-size: 29px;
}

.site-header.is-scrolled .brand-tagline {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
}

.main-nav {
    justify-self: center;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link,
.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    padding: 14px 0;
    color: #111820;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.nav-link::after,
.nav-button::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: var(--green);
    transition: right .18s ease;
}

.nav-link:hover::after,
.nav-button:hover::after {
    right: 0;
}

.nav-caret {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.dropdown {
    position: absolute;
    top: calc(100% - 2px);
    left: -18px;
    min-width: 260px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s ease;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 650;
}

.dropdown a:hover {
    background: var(--green-soft);
    color: var(--green-strong);
}

.header-contact {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
}

.header-phone img {
    width: 18px;
    height: 18px;
    filter: invert(54%) sepia(90%) saturate(650%) hue-rotate(61deg) brightness(82%);
}

.language-links {
    display: flex;
    gap: 9px;
    align-items: center;
}

.language-links img {
    display: block;
    width: 23px;
    height: 15px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .06);
}

.mobile-toggle {
    display: none;
    justify-self: end;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    background: #ffffff;
}

.hero-grass {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    width: 62%;
    height: 100%;
    pointer-events: none;
    background-image: url("../images/evilsoft-hero-brush.png");
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-copy {
    width: min(610px, 49%);
    padding: 42px 0 58px;
}

.eyebrow {
    color: var(--green-strong);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 14px 0 16px;
    max-width: 610px;
    font-size: clamp(42px, 4.1vw, 60px);
    line-height: 1.06;
    letter-spacing: -.04em;
}

.green-rule {
    width: 42px;
    height: 3px;
    margin: 0 0 20px;
    border-radius: 999px;
    background: var(--green);
}

.hero-lead {
    max-width: 520px;
    margin: 0;
    color: #46515a;
    font-size: 15px;
    line-height: 1.65;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--green), #209f0b);
    box-shadow: 0 8px 18px rgba(43, 170, 18, .18);
}

.btn-outline {
    color: var(--green-strong);
    border-color: var(--green);
    background: rgba(255,255,255,.88);
}

.btn-icon {
    width: 17px;
    height: 17px;
    margin-right: 9px;
    filter: brightness(0) invert(1);
}

.trust-strip {
    position: relative;
    z-index: 3;
    margin-top: -24px;
    background: transparent;
    border: 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(20, 35, 28, .07);
    overflow: hidden;
}

.trust-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    align-items: center;
    padding: 24px 32px;
}

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

.round-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1.5px solid var(--green);
    border-radius: 50%;
    color: var(--green-strong);
    background: #fff;
}

.round-icon img,
.service-icon img,
.mini-icon img,
.industry-icon img,
.contact-icon img {
    width: 28px;
    height: 28px;
}

.round-icon img,
.service-icon img,
.industry-icon img,
.contact-icon img {
    filter: invert(50%) sepia(95%) saturate(740%) hue-rotate(65deg) brightness(82%) contrast(94%);
}

.trust-item strong {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
}

.trust-item p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.section {
    padding: 70px 0;
}

.section-tight {
    padding: 52px 0;
}

.section-soft {
    background: #ffffff;
}

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

.section-heading-left {
    max-width: none;
    margin: 0 0 30px;
    text-align: left;
}

.section-heading-left .eyebrow {
    display: block;
    margin-bottom: 8px;
}

.section-heading-left h2 {
    font-size: clamp(27px, 2.7vw, 36px);
}

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

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    letter-spacing: -.025em;
}

.section-heading p {
    margin: 10px auto 0;
    color: var(--muted);
    font-size: 15px;
}

.heading-rule {
    width: 34px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: var(--green);
}

.services-shell {
    padding: 10px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.service-card {
    min-height: 252px;
    padding: 28px 20px 22px;
    border: 1px solid #e8ece8;
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

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

.service-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    color: var(--green-strong);
    border-radius: 50%;
    background: var(--green-pale);
}

.service-icon img {
    width: 38px;
    height: 38px;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.25;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.service-card .more {
    display: inline-block;
    margin-top: 18px;
    color: var(--green-strong);
    font-size: 12px;
    font-weight: 800;
}

.benefit-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 28px;
    border: 1px solid #dcebd8;
    border-radius: 15px;
    background: linear-gradient(90deg, #f4fbf1, #fbfdf9, #f4fbf1);
    overflow: hidden;
}

.benefit-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px 24px;
}

.benefit-item + .benefit-item {
    border-left: 1px solid #dcebd8;
}

.mini-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    background: var(--green-strong);
}

.mini-icon img {
    filter: brightness(0) invert(1);
}

.benefit-item strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
}

.benefit-item p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.split-panels {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 18px;
    margin-top: 18px;
}

.panel {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.panel h3 {
    margin: 0 0 8px;
    color: var(--green-strong);
    font-size: 19px;
}

.panel > p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.area-layout {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 22px;
    align-items: center;
    margin-top: 22px;
}

.area-map {
    position: relative;
    width: 150px;
    height: 110px;
    border: 2px solid #a8ce9c;
    border-radius: 46% 54% 58% 42% / 52% 42% 58% 48%;
    background: #f1f8ee;
    transform: rotate(-4deg);
}

.area-map::before {
    content: "";
    position: absolute;
    left: 62px;
    top: 27px;
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    background: var(--green);
    transform: rotate(-45deg);
    box-shadow: 0 9px 15px rgba(43,170,18,.25);
}

.area-map::after {
    content: "";
    position: absolute;
    left: 72px;
    top: 35px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
}

.city-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 12px;
}

.city-list li::before {
    content: "•";
    margin-right: 8px;
    color: var(--green);
    font-size: 18px;
    line-height: 0;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 22px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.industry-item {
    min-height: 92px;
    padding: 16px 10px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.industry-icon {
    color: var(--green-strong);
}

.industry-icon img {
    width: 24px;
    height: 24px;
}

.industry-item span {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
}

.cta-band {
    display: grid;
    grid-template-columns: 72px 1fr 330px;
    gap: 18px;
    align-items: center;
    margin-top: 26px;
    padding: 14px 22px;
    border: 1px solid #dcebd8;
    border-radius: 15px;
    background: linear-gradient(90deg, #f3faef, #fff, #eef8e9);
}

.cta-band h3 {
    margin: 0;
    font-size: 19px;
}

.cta-band p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--green), #1d970a);
    font-size: 20px;
    font-weight: 850;
}

.cta-phone img {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    filter: brightness(0) invert(1);
}

.site-footer {
    color: #dce5e8;
    background: linear-gradient(180deg, var(--footer-2), var(--footer));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .9fr .95fr 1fr .95fr;
    gap: 42px;
    padding: 48px 0 34px;
}

.footer-brand .brand-main {
    color: #fff;
    font-size: 28px;
}

.footer-brand p {
    max-width: 260px;
    margin: 15px 0 0;
    color: #9fb0b8;
    font-size: 12px;
}

.footer-col h4 {
    margin: 0 0 13px;
    color: #fff;
    font-size: 13px;
}

.footer-col ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-col li {
    margin: 7px 0;
    color: #b6c3c8;
    font-size: 12px;
}

.footer-col a:hover {
    color: #fff;
}

.footer-contact {
    display: grid;
    gap: 9px;
}

.footer-contact a,
.footer-contact span {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #b6c3c8;
    font-size: 12px;
}

.footer-contact img {
    width: 15px;
    height: 15px;
    margin-top: 2px;
    filter: invert(55%) sepia(91%) saturate(560%) hue-rotate(61deg) brightness(84%);
}

.footer-hours strong {
    display: block;
    margin-top: 10px;
    color: #63ca43;
    font-size: 12px;
}

.footer-bottom {
    padding: 16px 0 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #80919a;
    font-size: 11px;
    text-align: center;
}

/* Subpages */
.subhero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 66px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
}

.subhero::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 46%;
    background-image: url("../images/evilsoft-hero-brush.png");
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
    opacity: .72;
}

.subhero .container {
    position: relative;
    z-index: 2;
}

.breadcrumbs {
    margin-bottom: 13px;
    color: var(--green-strong);
    font-size: 12px;
    font-weight: 750;
}

.subhero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.subhero p {
    max-width: 650px;
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 44px;
    align-items: start;
}

.article h2 {
    margin: 42px 0 14px;
    font-size: 28px;
    letter-spacing: -.02em;
}

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

.article h3 {
    margin: 28px 0 10px;
    font-size: 20px;
}

.article p {
    margin: 0 0 16px;
    color: #3f4a52;
}

.article ul,
.article ol {
    padding-left: 22px;
    color: #3f4a52;
}

.article li {
    margin: 8px 0;
}

.article strong {
    color: var(--ink);
}

.info-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.info-card + .info-card {
    margin-top: 16px;
}

.info-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
}

.info-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.info-card .btn {
    width: 100%;
    margin-top: 18px;
}

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

.fact {
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--green-pale);
}

.fact strong {
    display: block;
    margin-bottom: 4px;
    color: var(--green-strong);
    font-size: 20px;
}

.fact span {
    color: var(--muted);
    font-size: 12px;
}

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    counter-reset: step;
    margin: 24px 0;
}

.process-step {
    counter-increment: step;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.process-step::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    border-radius: 50%;
    color: #fff;
    background: var(--green);
    font-weight: 850;
}

.process-step h3 {
    margin: 0 0 7px;
    font-size: 15px;
}

.process-step p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.faq {
    margin-top: 28px;
}

.faq details {
    border-top: 1px solid var(--line);
}

.faq details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    cursor: pointer;
    padding: 17px 4px;
    font-weight: 800;
}

.faq p {
    padding: 0 4px 16px;
    margin: 0;
    color: var(--muted);
}

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

.page-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.page-card h2,
.page-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.page-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.page-card a.more {
    display: inline-block;
    margin-top: 16px;
    color: var(--green-strong);
    font-weight: 800;
    font-size: 13px;
}

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

.contact-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    border-radius: 50%;
    color: var(--green-strong);
    background: var(--green-pale);
}

.contact-card h3 {
    margin: 0 0 8px;
}

.contact-card p,
.contact-card a {
    color: var(--muted);
}

.contact-card a:hover {
    color: var(--green-strong);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.blog-card-visual {
    height: 150px;
    background:
        linear-gradient(135deg, rgba(43,170,18,.18), rgba(13,28,35,.02)),
        radial-gradient(circle at 20% 30%, rgba(43,170,18,.25), transparent 30%),
        #f5faf3;
}

.blog-card-body {
    padding: 24px;
}

.blog-card small {
    color: var(--green-strong);
    font-weight: 800;
}

.blog-card h2 {
    margin: 7px 0 10px;
    font-size: 22px;
}

.blog-card p {
    margin: 0;
    color: var(--muted);
}

.software-card {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 26px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.software-badge {
    display: grid;
    place-items: center;
    width: 130px;
    height: 130px;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(135deg, #2db316, #10251a);
}

.software-badge span {
    font-size: 28px;
    font-weight: 900;
}

.software-card h2 {
    margin: 0 0 8px;
}

.software-card p {
    margin: 0;
    color: var(--muted);
}

.legal {
    max-width: 900px;
}

.legal h2 {
    margin-top: 34px;
}

.legal p,
.legal li {
    color: #3f4a52;
}

/* Language landing pages */
.lang-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1080px) {
    .header-inner {
        grid-template-columns: 210px 1fr 210px;
        gap: 16px;
    }

    .main-nav > ul {
        gap: 16px;
    }

    .nav-link,
    .nav-button {
        font-size: 12px;
    }

    .header-phone {
        font-size: 15px;
    }

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

    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        min-height: 230px;
    }

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

    .footer-col:nth-child(4),
    .footer-col:nth-child(5) {
        margin-top: 4px;
    }
}

@media (max-width: 900px) {
    .site-header,
    .site-header.is-scrolled {
        height: 74px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 6px 24px rgba(20,35,28,.07);
    }

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .header-contact,
    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .brand-main,
    .site-header.is-scrolled .brand-main {
        font-size: 28px;
    }

    .brand-tagline {
        display: none;
    }

    .main-nav.is-open {
        display: block;
        position: absolute;
        top: 74px;
        left: 16px;
        right: 16px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open > ul {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .main-nav.is-open .nav-link,
    .main-nav.is-open .nav-button {
        width: 100%;
        padding: 12px;
        justify-content: space-between;
    }

    .dropdown {
        position: static;
        display: none;
        min-width: 0;
        margin-bottom: 8px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-item.is-open .dropdown {
        display: block;
    }

    .hero {
        min-height: 470px;
    }

    .hero-content {
        min-height: 470px;
        align-items: center;
    }

    .hero-copy {
        width: min(560px, 54%);
    }

    .hero-grass {
        width: 58%;
    }

    .trust-item {
        grid-template-columns: 48px 1fr;
        padding: 20px 16px;
    }

    .round-icon {
        width: 46px;
        height: 46px;
    }

    .benefit-bar {
        grid-template-columns: 1fr;
    }

    .benefit-item + .benefit-item {
        border-left: 0;
        border-top: 1px solid #dcebd8;
    }

    .split-panels,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .cta-band {
        grid-template-columns: 60px 1fr;
    }

    .cta-phone {
        grid-column: 1 / -1;
    }

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

    .subhero {
        padding: 58px 0 56px;
    }
}

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

    .hero {
        min-height: 0;
        padding-bottom: 0;
    }

    .hero-content {
        min-height: 0;
        padding-bottom: 300px;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
        padding: 42px 0 36px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-grass {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 290px;
        background-size: cover;
        background-position: right bottom;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .trust-item + .trust-item {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .section {
        padding: 52px 0;
    }

    .services-shell {
        padding: 20px;
    }

    .service-grid,
    .page-cards,
    .contact-grid,
    .blog-grid,
    .fact-grid {
        grid-template-columns: 1fr;
    }

    .split-panels {
        margin-top: 14px;
    }

    .area-layout {
        grid-template-columns: 1fr;
    }

    .area-map {
        margin-inline: auto;
    }

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

    .benefit-item {
        grid-template-columns: 44px 1fr;
        padding: 16px;
    }

    .cta-band {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-band .mini-icon {
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .content-grid {
        gap: 28px;
    }

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

    .subhero::after {
        opacity: .24;
        width: 68%;
    }

    .software-card {
        grid-template-columns: 1fr;
    }

    .software-badge {
        width: 100px;
        height: 100px;
    }
}
