/* =========================================
   AI-PROM — INDUSTRIAL SERVICE & ENGINEERING
========================================= */

html {
    --paper: #f1f0ec;
    --paper-dark: #e5e2db;
    --white: #ffffff;
    --ink: #171b20;
    --ink-light: #222a31;
    --ink-soft: #303941;
    --text: #414a52;
    --muted: #747c82;
    --steel: #40586a;
    --orange: #df7545;
    --orange-hover: #f08a59;
    --line: rgba(23,27,32,.14);
    --line-light: rgba(255,255,255,.16);
    --container: 1320px;
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

button, input, textarea, select { font: inherit; font-family: 'Manrope', Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
.container { width: min(var(--container), calc(100% - 100px)); margin: 0 auto; }
.section { padding: 145px 0; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--steel);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.eyebrow-light { color: #b6c0c8; }
.status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 5px rgba(223,117,69,.12);
}

/* HEADER */
.header {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    background: rgba(15,20,24,.18);
    border-bottom: 1px solid rgba(255,255,255,.17);
    transition: background .3s, box-shadow .3s, border-color .3s;
}
.header.scrolled {
    position: fixed;
    color: var(--ink);
    background: rgba(241,240,236,.97);
    border-bottom-color: rgba(23,27,32,.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 5px 25px rgba(23,27,32,.06);
}
.header-inner {
    width: min(1600px, calc(100% - 70px));
    min-height: 94px;
    display: grid;
    grid-template-columns: 170px minmax(0,1fr) 180px;
    align-items: center;
    gap: 22px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-symbol { display: block; width: 42px; height: 42px; color: white; transition: transform .35s; }
.logo:hover .logo-symbol { transform: rotate(45deg); }
.logo-name { color: white; font-size: 18px; font-weight: 800; letter-spacing: -.7px; }
.header.scrolled .logo-symbol, .header.scrolled .logo-name { color: var(--ink); }
.navigation {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 6px;
}
.navigation a {
    position: relative;
    padding: 14px 7px;
    color: rgba(255,255,255,.92);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .25s;
}
.navigation a::after {
    content: "";
    position: absolute;
    left: 7px;
    right: 7px;
    bottom: 5px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s;
}
.navigation a:hover { color: white; }
.navigation a:hover::after { transform: scaleX(1); }
.header.scrolled .navigation a { color: #42494f; }
.header.scrolled .navigation a:hover { color: var(--orange); }
.header-contact {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.5);
    background: rgba(255,255,255,.06);
    color: white;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    transition: background .25s, color .25s, border-color .25s;
}
.header-contact b { color: var(--orange-hover); font-size: 18px; }
.header-contact:hover { background: var(--orange); border-color: var(--orange); color: white; }
.header-contact:hover b { color: white; }
.header.scrolled .header-contact { color: white; background: var(--orange); border-color: var(--orange); }
.header.scrolled .header-contact b { color: white; }
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 6px auto;
    background: white;
    transition: transform .25s, background .25s;
}
.header.scrolled .menu-toggle span { background: var(--ink); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* BUTTONS */
.button {
    min-height: 57px;
    padding: 0 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.button span { font-size: 18px; transition: transform .25s; }
.button:hover span { transform: translate(3px,-3px); }
.button-primary { background: var(--orange); color: white; }
.button-primary:hover { background: var(--orange-hover); transform: translateY(-2px); }
.button-secondary { color: var(--ink); border-color: rgba(23,27,32,.25); background: transparent; }
.button-secondary:hover { border-color: var(--ink); background: rgba(23,27,32,.04); }
.button-outline { color: white; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); }
.button-outline:hover { color: var(--ink); border-color: white; background: white; }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: white; transform: translateY(-2px); }

/* HERO */
.hero {
    position: relative;
    min-height: 810px;
    display: flex;
    flex-direction: column;
    background: #1a2229;
    color: white;
    overflow: hidden;
}
.hero-background { position: absolute; inset: 0; z-index: 0; }
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    filter: brightness(.68) saturate(.72) contrast(1.12);
}
.hero-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(12,17,21,.91) 0%, rgba(12,17,21,.79) 36%, rgba(12,17,21,.38) 75%, rgba(12,17,21,.3) 100%), linear-gradient(0deg, rgba(12,17,21,.66), transparent 45%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 715px;
    padding-top: 130px;
    padding-bottom: 90px;
    display: flex;
    align-items: center;
}
.hero-content { max-width: 900px; }
.hero-kicker {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #e6e9eb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}
.hero h1 {
    max-width: 1000px;
    margin-top: 35px;
    font-size: clamp(55px,7vw,91px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -5px;
}
.hero h1 span { display: block; color: #e4a17d; }
.hero-description {
    max-width: 610px;
    margin-top: 30px;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 2;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-caption {
    margin-top: 55px;
    color: rgba(255,255,255,.64);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.7px;
}
.hero-bottom { position: relative; z-index: 2; background: rgba(18,23,28,.9); border-top: 1px solid rgba(255,255,255,.15); }
.hero-bottom-inner { min-height: 88px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; }
.hero-bottom-inner > div {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 5px 18px;
    border-right: 1px solid rgba(255,255,255,.16);
}
.hero-bottom-inner > div:first-child { padding-left: 0; }
.hero-bottom-inner > div:last-child { padding-right: 0; border-right: 0; }
.hero-bottom-number { color: var(--orange-hover); font-size: 12px; font-weight: 800; }
.hero-bottom-inner > div > span:last-child { color: rgba(255,255,255,.85); font-size: 9px; font-weight: 700; letter-spacing: 1px; }

/* POSITIONING */
.positioning-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.positioning-inner {
    min-height: 215px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 80px;
}
.positioning-lead h2 { max-width: 760px; margin-top: 13px; font-size: clamp(25px,3vw,38px); font-weight: 700; line-height: 1.2; letter-spacing: -1.5px; }
.positioning-inner > p { max-width: 500px; color: #666f76; font-size: 14px; line-height: 2; }

/* SECTION HEADINGS */
.section-heading { max-width: 950px; }
.section-heading h2 {
    max-width: 950px;
    margin-top: 26px;
    font-size: clamp(42px,5.5vw,72px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3.8px;
}
.section-heading h2 span { display: block; color: var(--steel); }
.section-heading > p { max-width: 670px; margin-top: 26px; color: var(--muted); font-size: 14px; line-height: 2; }

/* SERVICES */
.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 70px; }
.service-card {
    position: relative;
    min-width: 0;
    min-height: 470px;
    display: flex;
    align-items: flex-end;
    background: #303941;
    overflow: hidden;
    isolation: isolate;
}
.service-card-wide { min-height: 610px; grid-column: span 2; }
.service-card > img {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(.72) saturate(.68) contrast(1.12);
    transition: transform .8s, filter .8s;
}
.service-card:hover > img { transform: scale(1.045); filter: brightness(.82) saturate(.8) contrast(1.1); }
.service-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(12,17,21,.05) 0%, rgba(12,17,21,.18) 28%, rgba(12,17,21,.92) 100%);
}
.service-content { width: 100%; padding: 40px 42px 38px; color: white; }
.service-category { display: inline-block; color: #efb18d; font-size: 9px; font-weight: 800; letter-spacing: 1.8px; }
.service-card h3 { max-width: 700px; margin-top: 17px; font-size: clamp(28px,3.1vw,42px); font-weight: 700; line-height: 1.15; letter-spacing: -1.5px; }
.service-card p { max-width: 620px; margin-top: 17px; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.9; }
.service-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; color: white; font-size: 11px; font-weight: 800; }
.service-link span { color: var(--orange-hover); font-size: 18px; transition: transform .25s; }
.service-link:hover span { transform: translate(3px,-3px); }
.gas-photo-pair { position: absolute; z-index: -2; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.gas-photo-pair img { width: 100%; height: 100%; object-fit: cover; min-width: 0; filter: brightness(.78) saturate(.68) contrast(1.08); }
.service-card-gas .service-overlay { background: linear-gradient(180deg, rgba(12,17,21,.06) 0%, rgba(12,17,21,.2) 32%, rgba(12,17,21,.94) 100%); }

/* SYMPTOMS */
.symptoms { background: var(--ink); color: white; }
.symptoms-heading { display: grid; grid-template-columns: 1.1fr .7fr; align-items: end; gap: 75px; }
.symptoms-heading h2 { max-width: 800px; margin-top: 25px; font-size: clamp(42px,5.3vw,66px); font-weight: 700; line-height: 1.08; letter-spacing: -3px; }
.symptoms-heading h2 span { display: block; color: #c4cdd3; }
.symptoms-heading > p { max-width: 420px; color: #b6bfc5; font-size: 13px; line-height: 2; }
.symptoms-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 75px; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.symptom-item { min-height: 315px; padding: 27px 25px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transition: background .25s; }
.symptom-item:hover { background: rgba(255,255,255,.045); }
.symptom-index { color: #e6a17b; font-size: 11px; font-weight: 800; }
.symptom-mark { margin-top: 28px; color: var(--orange-hover); font-size: 35px; line-height: 1; }
.symptom-item h3 { margin-top: 28px; color: white; font-size: 19px; font-weight: 700; line-height: 1.3; }
.symptom-item p { margin-top: 14px; color: #aeb8bf; font-size: 11px; line-height: 1.9; }
.symptoms-action { margin-top: 38px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.symptoms-action p { color: #c5ccd1; font-size: 13px; }

/* EQUIPMENT */
.equipment { background: var(--ink-light); color: white; }
.equipment-layout { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 90px; }
.equipment-content { max-width: 600px; }
.equipment-content h2 { margin-top: 25px; font-size: clamp(42px,5vw,65px); font-weight: 700; line-height: 1.08; letter-spacing: -3px; }
.equipment-content h2 span { display: block; color: #b8c5ce; }
.equipment-content > p { max-width: 540px; margin-top: 25px; color: #b6bfc5; font-size: 13px; line-height: 2; }
.equipment-list { margin-top: 38px; border-top: 1px solid var(--line-light); }
.equipment-item { min-height: 62px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border-bottom: 1px solid var(--line-light); color: #e2e6e9; font-size: 12px; font-weight: 600; transition: padding .25s, color .25s; }
.equipment-item b { color: var(--orange-hover); font-size: 18px; }
.equipment-item:hover { padding-left: 9px; color: white; }
.equipment-content .button { margin-top: 35px; }
.equipment-media { position: relative; min-width: 0; height: 650px; background: #303941; overflow: hidden; }
.equipment-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.7) saturate(.68) contrast(1.12); transition: transform .8s, filter .8s; }
.equipment-media:hover img { transform: scale(1.035); filter: brightness(.82) saturate(.78) contrast(1.1); }
.equipment-media figcaption { position: absolute; left: 25px; bottom: 25px; color: white; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-shadow: 0 2px 8px rgba(0,0,0,.5); }

/* ENGINEERING SYSTEMS */
.systems { background: var(--paper); }
.systems-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 70px; }
.system-card { min-width: 0; background: white; border: 1px solid rgba(23,27,32,.08); transition: transform .3s, box-shadow .3s; }
.system-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(23,27,32,.09); }
.system-image { height: 285px; background: #303941; overflow: hidden; }
.system-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.78) saturate(.68) contrast(1.12); transition: transform .7s, filter .7s; }
.system-card:hover .system-image img { transform: scale(1.04); filter: brightness(.88) saturate(.82) contrast(1.1); }
.system-content { padding: 30px 28px 32px; }
.system-index { color: var(--orange); font-size: 9px; font-weight: 800; letter-spacing: 1.5px; }
.system-content h3 { margin-top: 18px; font-size: 23px; font-weight: 700; line-height: 1.3; letter-spacing: -.8px; }
.system-content p { min-height: 125px; margin-top: 15px; color: #687078; font-size: 12px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 13px; margin-top: 23px; color: var(--ink); font-size: 11px; font-weight: 800; }
.text-link span { color: var(--orange); font-size: 18px; transition: transform .25s; }
.text-link:hover span { transform: translate(3px,-3px); }
.systems-bottom { margin-top: 45px; padding: 28px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 35px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.systems-bottom-title { color: var(--steel); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; white-space: nowrap; }
.systems-tags { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.systems-tags span { padding: 8px 13px; background: rgba(64,88,106,.08); color: #48545e; font-size: 10px; font-weight: 600; }

/* APPROACH */
.approach { background: var(--ink-light); color: white; }
.approach-heading { display: grid; grid-template-columns: 1.1fr .7fr; align-items: end; gap: 80px; }
.approach-heading h2 { max-width: 760px; margin-top: 25px; font-size: clamp(40px,5vw,63px); font-weight: 700; line-height: 1.1; letter-spacing: -3px; }
.approach-heading h2 span { display: block; color: #aebbc5; }
.approach-heading > p { max-width: 430px; color: #b6bfc5; font-size: 13px; line-height: 2; }
.approach-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 90px; border-top: 1px solid var(--line-light); }
.approach-item { padding: 30px 30px 0 0; }
.approach-item + .approach-item { padding-left: 30px; border-left: 1px solid var(--line-light); }
.approach-item > span { color: #df986f; font-size: 9px; font-weight: 800; letter-spacing: 1.7px; }
.approach-item h3 { margin-top: 32px; color: white; font-size: 23px; font-weight: 700; line-height: 1.3; }
.approach-item p { max-width: 340px; margin-top: 15px; color: #b6bfc5; font-size: 12px; line-height: 2; }

/* EMPTY PROJECTS ANCHOR */
.projects-anchor { min-height: 1px; scroll-margin-top: 110px; }

/* ABOUT */
.about { background: var(--paper); }
.about-layout { display: grid; grid-template-columns: 1fr .9fr; gap: 100px; }
.about-heading h2 { max-width: 650px; margin-top: 25px; font-size: clamp(42px,5vw,65px); font-weight: 700; line-height: 1.1; letter-spacing: -3.5px; }
.about-heading h2 span { display: block; color: var(--steel); }
.about-content { padding-top: 42px; }
.about-content p { margin-top: 20px; color: #626a70; font-size: 13px; line-height: 2; }
.about-content .about-lead { margin-top: 0; color: var(--ink); font-size: 21px; font-weight: 600; line-height: 1.65; }

/* CONTACTS */
.contacts { background: var(--ink); color: white; }
.contacts-heading { max-width: 880px; }
.contacts-heading h2 { margin-top: 25px; font-size: clamp(43px,5.5vw,72px); font-weight: 700; line-height: 1.07; letter-spacing: -4px; }
.contacts-heading h2 span { display: block; color: #b4c1ca; }
.contacts-heading > p { max-width: 600px; margin-top: 25px; color: #b4bdc4; font-size: 13px; line-height: 2; }
.contacts-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 100px; margin-top: 75px; }
.contacts-info { display: flex; flex-direction: column; gap: 30px; }
.contact-item { display: flex; flex-direction: column; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line-light); }
.contact-item > span { color: #9da9b1; font-size: 9px; font-weight: 700; letter-spacing: 1.6px; }
.contact-item > a, .contact-item > p { color: white; font-size: 18px; font-weight: 600; }
.contact-item > a:hover { color: var(--orange-hover); }
.contact-phone-button { align-self: flex-start; margin-top: 10px; }
.contact-form-wrap { padding: 42px; background: #222a31; border: 1px solid rgba(255,255,255,.1); }
.contact-form-wrap h3 { margin-bottom: 30px; color: white; font-size: 26px; font-weight: 700; letter-spacing: -.7px; }
.contact-form-wrap form { display: flex; flex-direction: column; gap: 22px; }
.contact-form-wrap label { display: flex; flex-direction: column; gap: 9px; color: #c4cbd0; font-size: 11px; font-weight: 600; }
.contact-form-wrap input, .contact-form-wrap textarea, .contact-form-wrap select {
    width: 100%;
    min-height: 53px;
    padding: 14px 16px;
    color: white;
    background: #171d22;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 0;
    outline: none;
    resize: vertical;
    font-size: 12px;
    transition: border-color .25s;
}
.contact-form-wrap textarea { min-height: 125px; }
.contact-form-wrap select { cursor: pointer; }
.contact-form-wrap select option { background: #171d22; color: white; }
.contact-form-wrap input:focus, .contact-form-wrap textarea:focus, .contact-form-wrap select:focus { border-color: var(--orange); }
.contact-form-wrap input::placeholder, .contact-form-wrap textarea::placeholder { color: #89939a; }
.contact-form-wrap .button { align-self: flex-start; }
.form-status { color: #aeb8bf; font-size: 10px; line-height: 1.7; }

/* FOOTER */
.footer { padding: 30px 0 25px; background: #101418; border-top: 1px solid rgba(255,255,255,.12); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-logo .logo-symbol, .footer-logo .logo-name { color: white; }
.footer-description, .footer-copy { color: #9da7ae; font-size: 10px; }
.photo-credits { margin-top: 25px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.photo-credits p { max-width: 1150px; margin-top: 7px; color: #77828a; font-size: 9px; line-height: 1.9; }
.photo-credits a { color: #b8c2c9; text-decoration: underline; text-decoration-color: rgba(184,194,201,.4); }
.photo-credits a:hover { color: var(--orange-hover); }

/* SCROLL REVEAL: visible by default; animated when JS activates */
.reveal { opacity: 1; visibility: visible; transform: none; }
html.js .reveal {
    opacity: 0;
    visibility: hidden;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease, visibility .7s ease;
    will-change: opacity, transform;
}
html.js .reveal.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.service-grid .service-card:nth-child(2), .systems-grid .system-card:nth-child(2) { transition-delay: .08s; }
.service-grid .service-card:nth-child(3), .systems-grid .system-card:nth-child(3) { transition-delay: .16s; }
.service-grid .service-card:nth-child(4) { transition-delay: .24s; }
.symptoms-grid .symptom-item:nth-child(2) { transition-delay: .06s; }
.symptoms-grid .symptom-item:nth-child(3) { transition-delay: .12s; }
.symptoms-grid .symptom-item:nth-child(4) { transition-delay: .18s; }
.approach-grid .approach-item:nth-child(2) { transition-delay: .08s; }
.approach-grid .approach-item:nth-child(3) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html.js .reveal, html.js .reveal.visible { opacity: 1; visibility: visible; transform: none; }
}

/* RESPONSIVE HEADER: compact navigation below 1240px */
@media (max-width: 1240px) {
    .header-inner { grid-template-columns: 1fr auto auto; gap: 20px; }
    .navigation {
        display: none;
        position: absolute;
        top: 94px;
        left: 0;
        width: 100%;
        padding: 22px 35px 28px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 35px rgba(23,27,32,.12);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .navigation.open { display: flex; }
    .navigation a { padding: 13px 5px; color: var(--ink); font-size: 14px; }
    .navigation a::after { display: none; }
    .navigation a:hover, .header.scrolled .navigation a:hover { color: var(--orange); }
    .header.scrolled .navigation { top: 94px; }
    .menu-toggle { display: block; }
    .header.scrolled .menu-toggle span { background: var(--ink); }
    .hero h1 { font-size: clamp(52px,7.5vw,78px); }
    .equipment-layout { gap: 55px; }
    .contacts-grid { gap: 55px; }
}

/* TABLET */
@media (max-width: 980px) {
    .container { width: calc(100% - 70px); }
    .hero { min-height: 740px; }
    .hero-inner { min-height: 650px; }
    .hero-bottom-inner { grid-template-columns: repeat(2,1fr); padding-top: 15px; padding-bottom: 15px; }
    .hero-bottom-inner > div { padding: 12px 10px; }
    .hero-bottom-inner > div:first-child, .hero-bottom-inner > div:nth-child(3) { padding-left: 0; }
    .hero-bottom-inner > div:nth-child(2) { border-right: 0; }
    .positioning-inner { gap: 40px; }
    .symptoms-heading, .approach-heading { grid-template-columns: 1fr; gap: 25px; }
    .symptoms-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .equipment-layout { grid-template-columns: 1fr; gap: 50px; }
    .equipment-content { max-width: 750px; }
    .equipment-media { height: 480px; }
    .systems-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .system-card:last-child { grid-column: span 2; }
    .system-card:last-child .system-image { height: 330px; }
    .about-layout { grid-template-columns: 1fr .9fr; gap: 50px; }
    .contacts-grid { grid-template-columns: 1fr; gap: 45px; }
}

/* MOBILE */
@media (max-width: 700px) {
    .container { width: calc(100% - 42px); }
    .section { padding: 90px 0; }
    .header-inner { width: calc(100% - 36px); min-height: 76px; }
    .navigation, .header.scrolled .navigation { top: 76px; padding-left: 22px; padding-right: 22px; }
    .logo-symbol { width: 37px; height: 37px; }
    .logo-name { font-size: 16px; }
    .header-contact { display: none; }
    .hero { min-height: auto; padding-top: 76px; }
    .hero-inner { min-height: 0; padding-top: 85px; padding-bottom: 80px; }
    .hero h1 { margin-top: 27px; font-size: clamp(45px,9vw,65px); letter-spacing: -3px; }
    .hero-description { font-size: 13px; line-height: 1.9; }
    .hero-actions { flex-direction: column; align-items: stretch; max-width: 360px; }
    .hero-actions .button { width: 100%; }
    .hero-caption { margin-top: 38px; font-size: 8px; letter-spacing: 1px; line-height: 1.7; }
    .hero-bottom-inner { gap: 4px; }
    .hero-bottom-inner > div { gap: 9px; padding: 11px 7px; }
    .hero-bottom-inner > div > span:last-child { font-size: 8px; line-height: 1.5; letter-spacing: .4px; }
    .positioning-inner { min-height: 0; padding-top: 55px; padding-bottom: 55px; grid-template-columns: 1fr; gap: 17px; }
    .positioning-lead h2 { font-size: 29px; letter-spacing: -1px; }
    .positioning-inner > p { font-size: 12px; }
    .section-heading h2 { margin-top: 20px; font-size: clamp(38px,7.5vw,52px); letter-spacing: -2.3px; }
    .section-heading > p { font-size: 13px; }
    .service-grid { grid-template-columns: 1fr; margin-top: 45px; gap: 13px; }
    .service-card, .service-card-wide { grid-column: auto; min-height: 390px; }
    .service-card-wide { min-height: 450px; }
    .service-content { padding: 27px 23px; }
    .service-card h3 { font-size: 29px; letter-spacing: -1px; }
    .service-card p { font-size: 11px; }
    .symptoms-heading h2 { font-size: 42px; letter-spacing: -2px; }
    .symptoms-grid { grid-template-columns: 1fr 1fr; margin-top: 45px; }
    .symptom-item { min-height: 290px; padding: 22px 17px; }
    .symptom-mark { margin-top: 24px; }
    .symptom-item h3 { font-size: 17px; }
    .symptom-item p { font-size: 10px; }
    .symptoms-action { align-items: flex-start; flex-direction: column; gap: 20px; }
    .equipment-layout { gap: 40px; }
    .equipment-content h2 { font-size: 43px; letter-spacing: -2px; }
    .equipment-content > p { font-size: 12px; }
    .equipment-item { min-height: 63px; font-size: 11px; }
    .equipment-media { height: 360px; }
    .systems-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 45px; }
    .system-card:last-child { grid-column: auto; }
    .system-image, .system-card:last-child .system-image { height: 250px; }
    .system-content { padding: 25px 22px; }
    .system-content h3 { font-size: 22px; }
    .system-content p { min-height: 0; }
    .systems-bottom { margin-top: 35px; flex-direction: column; gap: 20px; }
    .systems-tags { justify-content: flex-start; }
    .systems-tags span { font-size: 9px; padding: 7px 10px; }
    .approach-heading h2 { font-size: 41px; letter-spacing: -2px; }
    .approach-grid { grid-template-columns: 1fr; margin-top: 45px; }
    .approach-item { padding: 25px 0; }
    .approach-item + .approach-item { padding: 25px 0; border-left: 0; border-top: 1px solid var(--line-light); }
    .approach-item h3 { margin-top: 18px; font-size: 22px; }
    .about-layout { grid-template-columns: 1fr; gap: 15px; }
    .about-heading h2 { font-size: 43px; letter-spacing: -2px; }
    .about-content { padding-top: 10px; }
    .about-content .about-lead { font-size: 19px; }
    .contacts-heading h2 { font-size: 43px; letter-spacing: -2.2px; }
    .contacts-grid { margin-top: 48px; }
    .contacts-info { gap: 24px; }
    .contact-form-wrap { padding: 25px 18px; }
    .contact-form-wrap h3 { font-size: 22px; }
    .contact-form-wrap .button { width: 100%; }
    .footer { padding: 28px 0; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
    .photo-credits p { font-size: 8px; }
}

/* VERY SMALL MOBILE */
@media (max-width: 390px) {
    .hero h1 { font-size: 39px; }
    .hero-bottom-inner { grid-template-columns: 1fr; }
    .hero-bottom-inner > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 10px 0; }
    .hero-bottom-inner > div:last-child { border-bottom: 0; }
    .symptoms-grid { grid-template-columns: 1fr; }
    .symptom-item { min-height: 0; padding: 24px 20px; }
    .symptom-mark { margin-top: 18px; }
    .symptom-item h3 { margin-top: 18px; }
    .equipment-content h2, .about-heading h2, .contacts-heading h2 { font-size: 37px; }
}
