:root {
    --ink: #14231f;
    --muted: #5b6b66;
    --paper: #f4f7f5;
    --surface: #ffffff;
    --line: #dbe4df;
    --deep: #08231b;
    --green: #147454;
    --lime: #b8e05f;
    --amber: #f2b94b;
    --blue: #3578c6;
    --red: #c75248;
    --purple: #7254b6;
    --teal: #168b8a;
    --orange: #c87735;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Outfit", Arial, sans-serif; line-height: 1.55; }
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-inner, .header-inner, .hero-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.catalog-header { position: fixed; z-index: 30; inset: 0 0 auto; color: #fff; background: rgba(5, 28, 21, 0.84); border-bottom: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--deep); background: var(--lime); border-radius: 6px; }
.catalog-nav { display: flex; align-items: center; gap: 28px; }
.catalog-nav a { color: rgba(255,255,255,.86); font-size: 14px; font-weight: 600; text-decoration: none; }
.catalog-nav a:hover { color: #fff; }
.catalog-nav .subscriber-link { padding: 10px 14px; border: 1px solid rgba(255,255,255,.48); border-radius: 6px; }
.nav-toggle { display: none; width: 42px; height: 42px; place-items: center; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.48); border-radius: 6px; }
.nav-toggle svg { width: 22px; height: 22px; }

.catalog-hero { position: relative; min-height: 700px; display: flex; align-items: flex-end; isolation: isolate; color: #fff; background-image: var(--hero-image); background-position: center; background-size: cover; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(3,24,18,.96) 0%, rgba(3,24,18,.82) 48%, rgba(3,24,18,.25) 100%); }
.hero-inner { padding: 152px 0 84px; }
.eyebrow, .section-kicker, .motor-short-name { margin: 0 0 10px; color: var(--green); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.catalog-hero .eyebrow { color: var(--lime); }
.catalog-hero h1 { margin: 0; font-size: 76px; line-height: 1; letter-spacing: 0; }
.hero-statement { max-width: 800px; margin: 20px 0 0; font-size: 34px; font-weight: 700; line-height: 1.15; }
.hero-description { max-width: 680px; margin: 22px 0 0; color: rgba(255,255,255,.8); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border: 1px solid transparent; border-radius: 6px; font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 17px; height: 17px; flex: 0 0 auto; }
.button-primary { color: var(--deep); background: var(--lime); }
.button-primary:hover { background: #caef76; }
.button-secondary { color: #fff; background: rgba(4,24,18,.4); border-color: rgba(255,255,255,.55); }
.button-outline { color: var(--deep); background: #fff; border-color: var(--line); }
.button-light { color: var(--deep); background: #fff; }

.commercial-services { padding: 88px 0; background: #fff; }
.service-heading { max-width: 760px; margin-bottom: 38px; }
.service-heading h2 { margin: 0; font-size: 42px; line-height: 1.1; letter-spacing: 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.service-grid article { min-width: 0; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.service-grid article > span { width: 46px; height: 46px; display: grid; place-items: center; color: var(--green); background: #e3f0e9; border-radius: 6px; }
.service-grid svg { width: 23px; height: 23px; }
.service-grid h3 { margin: 20px 0 8px; font-size: 20px; line-height: 1.2; }
.service-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.capabilities { padding: 48px 0; background: #ecf3ef; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capabilities-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 42px; }
.capabilities article { display: grid; grid-template-columns: 46px 1fr; gap: 15px; }
.capabilities article > span { width: 46px; height: 46px; display: grid; place-items: center; color: var(--green); background: #e7f2ec; border-radius: 6px; }
.capabilities svg { width: 23px; height: 23px; }
.capabilities h2 { margin: 0 0 5px; font-size: 18px; }
.capabilities p { margin: 0; color: var(--muted); font-size: 14px; }

.solutions { padding: 94px 0; }
.section-heading { display: grid; grid-template-columns: 1fr .8fr; align-items: end; gap: 80px; margin-bottom: 40px; }
.section-heading h2, .contact-band h2 { margin: 0; font-size: 42px; line-height: 1.1; letter-spacing: 0; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 17px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.catalog-search { position: relative; min-width: 300px; flex: 1 1 420px; max-width: 500px; }
.catalog-search svg { position: absolute; top: 50%; left: 14px; width: 19px; height: 19px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.catalog-search input { width: 100%; min-height: 46px; padding: 11px 14px 11px 43px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 14px; outline: none; }
.catalog-search input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,116,84,.12); }
.catalog-filters { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #e4ebe7; border-radius: 7px; }
.catalog-filters button { min-height: 38px; padding: 8px 12px; color: #455650; background: transparent; border: 0; border-radius: 5px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.catalog-filters button.is-active { color: #fff; background: var(--deep); }
.motor-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.motor-card[hidden] { display: none; }
.motor-card { --accent: var(--green); min-width: 0; display: grid; grid-template-columns: 230px minmax(0,1fr); overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 25px rgba(20,35,31,.06); }
.motor-card--blue { --accent: var(--blue); }
.motor-card--amber { --accent: #a96c00; }
.motor-card--red { --accent: var(--red); }
.motor-card--purple { --accent: var(--purple); }
.motor-card--teal { --accent: var(--teal); }
.motor-card--orange { --accent: var(--orange); }
.motor-image { position: relative; min-height: 100%; background: #dce7e2; }
.motor-image img { width: 100%; height: 100%; object-fit: cover; }
.motor-image > span, .motor-image > strong { position: absolute; top: 16px; left: 16px; padding: 6px 9px; color: #fff; background: rgba(6,25,19,.84); border-radius: 5px; font-size: 12px; font-weight: 800; }
.motor-image > strong { top: auto; bottom: 16px; color: var(--deep); background: var(--amber); }
.motor-body { min-width: 0; display: flex; flex-direction: column; padding: 25px; }
.motor-short-name { color: var(--accent); }
.motor-body h3 { margin: 0; font-size: 24px; line-height: 1.15; }
.motor-description { margin: 13px 0 17px; color: var(--muted); font-size: 15px; }
.motor-segments { display: grid; grid-template-columns: 18px 1fr; gap: 9px; margin: 0 0 23px; color: #3e504a; font-size: 13px; }
.motor-segments svg { width: 17px; height: 17px; color: var(--accent); }
.motor-footer { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.motor-price { min-width: 112px; }
.motor-price span { display: block; color: var(--muted); font-size: 11px; }
.motor-price strong { display: inline; font-size: 22px; white-space: nowrap; }
.motor-price small { margin-left: 3px; color: var(--muted); font-size: 11px; }
.catalog-empty { padding: 42px 20px; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: 8px; text-align: center; }

.contact-band { padding: 76px 0; color: #fff; background: #147454; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.contact-band .section-kicker { color: #d7f699; }
.contact-band h2 { max-width: 760px; }
footer { padding: 30px 0; color: rgba(255,255,255,.65); background: #061a14; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 13px; }
.footer-inner div { display: flex; flex-direction: column; }
.footer-inner strong { color: #fff; font-size: 16px; text-transform: uppercase; }

@media (max-width: 1040px) {
    .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .catalog-toolbar { align-items: stretch; flex-direction: column; }
    .catalog-search { min-width: 0; flex-basis: auto; max-width: none; }
    .motor-card { grid-template-columns: 190px minmax(0,1fr); }
    .motor-footer { align-items: stretch; flex-direction: column; }
}

@media (max-width: 820px) {
    .catalog-hero { min-height: 660px; }
    .catalog-hero h1 { font-size: 62px; }
    .hero-statement { font-size: 29px; }
    .capabilities-grid, .section-heading { grid-template-columns: 1fr; gap: 32px; }
    .motor-grid { grid-template-columns: 1fr; }
    .motor-footer { align-items: end; flex-direction: row; }
}

@media (max-width: 700px) {
    .section-inner, .header-inner, .hero-inner { width: min(100% - 28px, 1180px); }
    .header-inner { min-height: 64px; }
    .nav-toggle { display: grid; }
    .catalog-nav { position: fixed; inset: 64px 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 14px 18px; background: #0b261e; border-bottom: 1px solid rgba(255,255,255,.2); }
    .catalog-nav.is-open { display: flex; }
    .catalog-nav a { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .catalog-nav .subscriber-link { margin-top: 10px; text-align: center; border: 1px solid rgba(255,255,255,.45); }
    .catalog-hero { min-height: 630px; background-position: 56% center; }
    .hero-shade { background: linear-gradient(0deg, rgba(3,24,18,.97) 0%, rgba(3,24,18,.8) 66%, rgba(3,24,18,.32) 100%); }
    .hero-inner { padding: 125px 0 55px; }
    .catalog-hero h1 { font-size: 50px; }
    .hero-statement { font-size: 26px; }
    .hero-description { font-size: 16px; }
    .hero-actions { display: grid; }
    .capabilities { padding: 54px 0; }
    .commercial-services { padding: 66px 0; }
    .service-heading h2 { font-size: 33px; }
    .capabilities-grid { gap: 28px; }
    .solutions { padding: 68px 0; }
    .section-heading h2, .contact-band h2 { font-size: 33px; }
    .motor-card { grid-template-columns: 1fr; }
    .motor-image { min-height: 0; }
    .motor-image img { height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
    .contact-inner { align-items: stretch; flex-direction: column; }
    .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
    .catalog-hero h1 { font-size: 44px; }
    .hero-statement { font-size: 24px; }
    .motor-body { padding: 21px; }
    .motor-footer { align-items: stretch; flex-direction: column; }
    .motor-footer .button { width: 100%; }
    .service-grid { grid-template-columns: 1fr; }
    .catalog-filters { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
    .catalog-filters button:first-child { grid-column: 1 / -1; }
}

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