:root {
  --green: #17574c;
  --green-dark: #0d342f;
  --green-light: #28766a;
  --gold: #c49a5a;
  --gold-light: #e1c18d;
  --ink: #17211f;
  --muted: #66716e;
  --line: #dde3df;
  --paper: #f6f7f4;
  --white: #fff;
  --shadow: 0 24px 70px rgba(9, 39, 34, .13);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 1.15em; height: 1.15em; fill: currentColor; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; padding: 10px 14px; background: #fff; color: #000; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.topbar { background: var(--green-dark); color: #dfeae7; font-size: .85rem; }
.topbar__inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar p { margin: 0; letter-spacing: .02em; }
.topbar__contacts { display: flex; align-items: center; gap: 24px; }
.topbar__contacts a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease; }
.topbar__contacts a:hover { color: var(--gold-light); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(23,87,76,.1); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; gap: 30px; }
.brand { flex: 0 0 300px; }
.brand img { width: 100%; height: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.main-nav a { position: relative; padding: 31px 0 27px; color: #26322f; font-size: .9rem; font-weight: 750; text-transform: uppercase; letter-spacing: .045em; }
.main-nav a::after { position: absolute; left: 0; right: 100%; bottom: 23px; height: 2px; content: ""; background: var(--gold); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.menu-button { display: none; width: 46px; height: 46px; margin-left: auto; padding: 11px; border: 0; border-radius: 8px; color: var(--green-dark); background: var(--paper); cursor: pointer; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid var(--gold); border-radius: 3px; color: #13251f; background: var(--gold); font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--gold-light); }
.button--compact { min-height: 46px; padding-inline: 20px; white-space: nowrap; }
.button--outline { color: #fff; background: transparent; border-color: rgba(255,255,255,.68); }
.button--outline:hover { color: var(--green-dark); background: #fff; }
.button--dark-outline { color: var(--green-dark); background: transparent; border-color: var(--green); }
.button--dark-outline:hover { color: #fff; background: var(--green); }

.hero { position: relative; min-height: 650px; display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--green-dark); }
.hero__image, .hero__shade, .hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { object-fit: cover; object-position: center 58%; transform: scale(1.03); }
.hero__shade { background: linear-gradient(90deg, rgba(5,27,24,.96) 0%, rgba(9,40,35,.83) 43%, rgba(8,29,27,.28) 74%, rgba(7,25,23,.25) 100%); }
.hero__grid { opacity: .12; background-image: linear-gradient(rgba(255,255,255,.23) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.23) 1px, transparent 1px); background-size: 90px 90px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.hero__content { position: relative; z-index: 2; padding: 95px 0 145px; }
.eyebrow { margin: 0 0 15px; color: var(--gold-light); font-size: .79rem; font-weight: 850; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow--dark { color: var(--green-light); }
.hero h1 { max-width: 800px; margin: 0; font-size: clamp(3.7rem, 7vw, 6.9rem); line-height: .93; letter-spacing: -.055em; text-transform: uppercase; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.86); }
.hero__lead { max-width: 640px; margin: 28px 0 34px; color: #d7e2df; font-size: 1.13rem; line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero__rail { position: absolute; z-index: 3; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(160px, 1fr)); width: min(850px, 68%); background: rgba(8,38,34,.92); border-top: 1px solid rgba(255,255,255,.15); }
.hero__rail span { padding: 22px 28px; border-left: 1px solid rgba(255,255,255,.14); color: #ecf1ef; font-size: .82rem; font-weight: 760; text-transform: uppercase; letter-spacing: .08em; }

.quick-facts { position: relative; z-index: 5; margin-top: -1px; color: #fff; background: var(--green); }
.quick-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-facts article { display: flex; min-height: 112px; align-items: center; gap: 16px; padding: 22px 28px; border-right: 1px solid rgba(255,255,255,.16); }
.quick-facts article:first-child { border-left: 1px solid rgba(255,255,255,.16); }
.quick-facts strong { color: var(--gold-light); font-size: 1.45rem; }
.quick-facts span { color: #dce8e5; font-size: .87rem; line-height: 1.35; }

.section { padding: 110px 0; }
.section-heading { margin-bottom: 40px; }
.section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading h2, .about h2, .quality h2, .contact h2, .process h2, .faq h2 { max-width: 760px; margin: 0; color: var(--green-dark); font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.08; letter-spacing: -.045em; }
.section-heading p:last-child { max-width: 660px; margin: 16px 0 0; color: var(--muted); }
.section-heading__aside { max-width: 430px !important; margin: 0 0 6px !important; }
.slider-controls { display: flex; flex: 0 0 auto; gap: 8px; }
.slider-button { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--green-dark); background: #fff; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.slider-button svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.slider-button:hover { color: #fff; background: var(--green); border-color: var(--green); }

.products { overflow: hidden; background: var(--paper); }
.product-scroller { display: grid; grid-auto-columns: minmax(300px, 33.333%); grid-auto-flow: column; gap: 18px; overflow-x: auto; padding: 2px 2px 25px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold) #dfe5e1; }
.product-scroller::-webkit-scrollbar { height: 6px; }
.product-scroller::-webkit-scrollbar-track { background: #dfe5e1; }
.product-scroller::-webkit-scrollbar-thumb { background: var(--gold); }
.product-card { min-width: 0; scroll-snap-align: start; }
.product-card__open { width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 4px; color: inherit; text-align: left; background: #fff; box-shadow: 0 12px 35px rgba(22,55,49,.08); cursor: pointer; }
.product-card__image { position: relative; height: 255px; overflow: hidden; background: #dce3df; }
.product-card__image::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 54%, rgba(7,32,29,.28)); }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.product-card:hover img { transform: scale(1.06); }
.product-card__body { position: relative; min-height: 205px; padding: 28px 30px 30px; }
.product-card__number { position: absolute; top: 23px; right: 25px; color: #dce5e1; font-size: 2.5rem; font-weight: 900; line-height: 1; }
.product-card__body p { margin: 0 50px 8px 0; color: var(--green-light); font-size: .76rem; font-weight: 780; text-transform: uppercase; letter-spacing: .08em; }
.product-card h3 { margin: 0 0 34px; color: var(--green-dark); font-size: 1.65rem; line-height: 1.2; }
.product-card__link { display: flex; align-items: center; justify-content: space-between; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: .87rem; font-weight: 730; }
.product-card__link b { color: var(--gold); font-size: 1.2rem; }

.about { background: #fff; }
.about__grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(45px, 7vw, 95px); }
.about__visual { position: relative; min-height: 540px; padding: 0 45px 48px 0; }
.about__visual::before { position: absolute; top: 42px; right: 0; bottom: 0; left: 45px; content: ""; background: var(--green); }
.about__visual img { position: relative; z-index: 1; width: 100%; height: 490px; object-fit: cover; box-shadow: var(--shadow); }
.about__badge { position: absolute; z-index: 2; right: 0; bottom: 0; display: grid; min-width: 190px; padding: 20px 25px; color: var(--green-dark); background: var(--gold-light); }
.about__badge strong { font-size: 1.35rem; }
.about__badge span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.about__content > p:not(.eyebrow) { margin: 24px 0 30px; color: var(--muted); font-size: 1.02rem; }
.about__points { display: grid; gap: 19px; }
.about__points > div { display: grid; grid-template-columns: 45px 1fr; gap: 16px; }
.about__points span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #cbd6d1; color: var(--green); font-size: .73rem; font-weight: 850; }
.about__points p { margin: 0; color: var(--muted); font-size: .92rem; }
.about__points strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 1rem; }

.applications { overflow: hidden; background: var(--paper); }
.application-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.application-grid article { position: relative; min-height: 230px; padding: 35px 32px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.application-grid article::after { position: absolute; right: -36px; bottom: -54px; width: 130px; height: 130px; border: 18px solid rgba(23,87,76,.05); border-radius: 50%; content: ""; }
.application-grid article:hover { z-index: 2; transform: translateY(-5px); background: #fcfdfb; box-shadow: var(--shadow); }
.application-grid span { color: var(--gold); font-size: .74rem; font-weight: 850; letter-spacing: .12em; }
.application-grid h3 { margin: 26px 0 10px; color: var(--green-dark); font-size: 1.35rem; }
.application-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

.process { color: #fff; background: linear-gradient(118deg, #0b302b 0%, #17574c 100%); }
.process__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.process h2 { color: #fff; }
.process__intro > p:not(.eyebrow) { max-width: 500px; margin: 22px 0 30px; color: #c7d8d4; }
.process__steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.17); }
.process__steps li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.process__steps li > span { color: var(--gold-light); font-size: .82rem; font-weight: 850; letter-spacing: .1em; }
.process__steps h3 { margin: -4px 0 4px; color: #fff; font-size: 1.15rem; }
.process__steps p { margin: 0; color: #b9cdc8; font-size: .9rem; }

.quality { color: #fff; background: var(--green-dark); }
.quality__grid { display: grid; grid-template-columns: 1.2fr .85fr auto; align-items: end; gap: 50px; }
.quality h2 { color: #fff; }
.quality__grid > p { margin: 0; color: #c9d8d4; }
.text-link { display: inline-flex; align-items: center; gap: 16px; padding-bottom: 7px; border-bottom: 1px solid var(--gold); color: var(--gold-light); font-weight: 780; white-space: nowrap; }
.text-link span { font-size: 1.25rem; }

.blog { background: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 16px 45px rgba(14,53,47,.07); transition: transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card__body { padding: 26px 27px 28px; }
.blog-card__body > span { color: var(--green-light); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.blog-card h3 { margin: 13px 0 12px; color: var(--green-dark); font-size: 1.35rem; line-height: 1.3; }
.blog-card p { margin: 0 0 22px; color: var(--muted); font-size: .91rem; }
.blog-card button { display: inline-flex; align-items: center; gap: 12px; padding: 0 0 5px; border: 0; border-bottom: 1px solid var(--gold); color: var(--green-dark); background: transparent; font-weight: 800; cursor: pointer; }
.blog-card button b { color: var(--gold); font-size: 1.1rem; }

.faq { background: #eef1ed; }
.faq__grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(45px, 8vw, 105px); align-items: start; }
.faq__grid > div:first-child > p:last-child { max-width: 430px; color: var(--muted); }
.faq__list { border-top: 1px solid #cad4cf; }
.faq details { border-bottom: 1px solid #cad4cf; }
.faq summary { position: relative; padding: 22px 46px 22px 0; color: var(--green-dark); font-size: 1.05rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; top: 22px; right: 4px; content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 650px; margin: -5px 0 23px; color: var(--muted); }

.contact { background: #eef1ed; }
.contact__panel { display: grid; grid-template-columns: .88fr 1.12fr; gap: 58px; padding: 58px; background: #fff; box-shadow: var(--shadow); }
.contact h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.contact__panel > div:first-child > p:last-child { max-width: 580px; margin: 20px 0 0; color: var(--muted); }
.contact__actions { display: grid; gap: 12px; align-content: center; margin-top: 34px; }
.contact-card { display: flex; align-items: center; gap: 17px; padding: 18px 20px; border: 1px solid var(--line); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.contact-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 10px 30px rgba(12,51,45,.08); }
.contact-card__icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; color: #fff; background: var(--green); }
.contact-card__icon--whatsapp { background: #1f9b5c; }
.contact-card small, .contact-card strong { display: block; }
.contact-card small { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-card strong { overflow-wrap: anywhere; color: var(--green-dark); }
.contact-form { padding: 34px; color: #fff; background: var(--green-dark); box-shadow: 0 20px 50px rgba(6,36,31,.2); }
.contact-form__heading { margin-bottom: 24px; }
.contact-form__heading > span { color: var(--gold-light); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; }
.contact-form__heading h3 { margin: 5px 0 0; color: #fff; font-size: 1.75rem; line-height: 1.2; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid label { display: grid; gap: 7px; min-width: 0; }
.form-grid label > span { color: #d7e4e0; font-size: .78rem; font-weight: 760; }
.form-grid__wide { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 2px; color: var(--ink); background: #fff; font: inherit; font-size: .9rem; outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { min-height: 112px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #88918f; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,154,90,.22); }
.contact-form input:user-invalid, .contact-form select:user-invalid, .contact-form textarea:user-invalid { border-color: #e4978d; }
.contact-form__submit { width: 100%; margin-top: 20px; }
.contact-form__submit span { margin-left: 12px; font-size: 1.15rem; }
.contact-form__note { margin: 13px 0 0; color: #a9bfba; font-size: .73rem; line-height: 1.5; }
.contact-form__status { min-height: 0; margin: 8px 0 0; color: var(--gold-light); font-size: .82rem; font-weight: 700; }

.site-footer { padding: 75px 0 22px; color: #cdd8d5; background: #092823; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .72fr .72fr .9fr; gap: 48px; }
.footer__brand img { width: min(340px, 100%); padding: 11px; background: #fff; }
.footer__brand p { max-width: 410px; margin: 22px 0 0; color: #9fb3ae; }
.site-footer h2 { margin: 0 0 18px; color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .13em; }
.site-footer button, .site-footer a { display: block; width: fit-content; margin: 9px 0; padding: 0; border: 0; color: #b8c8c4; background: none; text-align: left; cursor: pointer; transition: color .2s ease; }
.site-footer button:hover, .site-footer a:hover { color: var(--gold-light); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #829994; font-size: .82rem; }
.footer__bottom p { margin: 0; }

.mobile-actions { display: none; }

.product-dialog { width: min(1050px, calc(100% - 32px)); max-height: min(850px, calc(100dvh - 32px)); padding: 0; overflow: auto; border: 0; border-radius: 6px; color: var(--ink); background: #fff; box-shadow: 0 28px 100px rgba(3,24,21,.38); }
.product-dialog::backdrop { background: rgba(4,25,22,.76); backdrop-filter: blur(5px); }
.dialog-close { position: sticky; z-index: 4; top: 16px; float: right; display: grid; width: 42px; height: 42px; margin: 16px 16px -58px 0; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(8,42,37,.9); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.dialog-layout { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 650px; }
.dialog-gallery { padding: 25px; background: #eef2ef; }
.dialog-gallery > img { width: 100%; height: 490px; object-fit: cover; background: #dce3df; }
.dialog-thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }
.dialog-thumbs button { padding: 0; overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; }
.dialog-thumbs button.active { border-color: var(--gold); }
.dialog-thumbs img { width: 100%; height: 90px; object-fit: cover; }
.dialog-content { padding: 60px 48px 45px; }
.dialog-content h2 { margin: 0 0 13px; color: var(--green-dark); font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.06; letter-spacing: -.04em; }
.dialog-content > p:not(.eyebrow):not(.dialog-note) { margin: 0 0 25px; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .89rem; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: #fff; background: var(--green); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #f5f7f5; }
.dialog-note { margin: 14px 0 24px; color: var(--muted); font-size: .8rem; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.article-dialog { width: min(860px, calc(100% - 32px)); max-height: min(900px, calc(100dvh - 32px)); padding: 0; overflow: auto; border: 0; border-radius: 6px; color: var(--ink); background: #fff; box-shadow: 0 28px 100px rgba(3,24,21,.38); }
.article-dialog::backdrop { background: rgba(4,25,22,.76); backdrop-filter: blur(5px); }
.article-close { position: sticky; z-index: 4; top: 16px; float: right; display: grid; width: 42px; height: 42px; margin: 16px 16px -58px 0; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(8,42,37,.92); font-size: 1.75rem; line-height: 1; cursor: pointer; }
.article-dialog__media { height: 330px; background: #dce3df; }
.article-dialog__media img { width: 100%; height: 100%; object-fit: cover; }
.article-dialog__content { padding: 44px 54px 52px; }
.article-dialog__content h2 { margin: 0 0 25px; color: var(--green-dark); font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.08; letter-spacing: -.04em; }
.article-dialog__content h3 { margin: 28px 0 7px; color: var(--green-dark); font-size: 1.25rem; }
.article-dialog__content p { color: var(--muted); }
.article-dialog__content ul { padding-left: 20px; color: var(--muted); }
.article-dialog__content li { margin: 7px 0; }
.article-dialog__cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 34px; padding: 22px; background: var(--paper); }
.article-dialog__cta p { margin: 0; color: var(--green-dark); font-weight: 800; }

@media (max-width: 1080px) {
  .brand { flex-basis: 245px; }
  .main-nav { gap: 18px; }
  .main-nav a { font-size: .8rem; }
  .nav-quote { display: none; }
  .hero__rail { width: 80%; }
  .quality__grid { grid-template-columns: 1fr 1fr; }
  .quality__grid .text-link { grid-column: 2; }
  .product-scroller { grid-auto-columns: minmax(300px, 44%); }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 78px; }
  .container { width: min(720px, calc(100% - 28px)); }
  .topbar p { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__contacts a:first-child { display: none; }
  .nav-wrap { min-height: 76px; }
  .brand { flex-basis: 225px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 76px; right: 0; left: 0; display: grid; gap: 0; max-height: 0; margin: 0; overflow: hidden; background: #fff; box-shadow: 0 22px 40px rgba(11,48,42,.14); transition: max-height .3s ease; }
  .main-nav.open { max-height: 420px; border-top: 1px solid var(--line); }
  .main-nav a { padding: 15px 22px; border-bottom: 1px solid #edf0ee; }
  .main-nav a::after { display: none; }
  .menu-button.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button.open span:nth-child(2) { opacity: 0; }
  .menu-button.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 610px; }
  .hero__content { padding: 85px 0 150px; }
  .hero h1 { font-size: clamp(3.1rem, 12vw, 5.2rem); }
  .hero__rail { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .hero__rail span { padding: 14px 20px; }
  .quick-facts__grid { grid-template-columns: repeat(2, 1fr); }
  .quick-facts article:nth-child(3) { border-left: 1px solid rgba(255,255,255,.16); border-top: 1px solid rgba(255,255,255,.16); }
  .quick-facts article:nth-child(4) { border-top: 1px solid rgba(255,255,255,.16); }
  .section { padding: 80px 0; }
  .section-heading--row { align-items: flex-start; }
  .product-scroller { grid-auto-columns: minmax(290px, 72%); }
  .about__grid, .contact__panel, .process__grid, .faq__grid { grid-template-columns: 1fr; }
  .about__visual { min-height: 460px; }
  .about__visual img { height: 410px; }
  .quality__grid { grid-template-columns: 1fr; align-items: start; }
  .quality__grid .text-link { grid-column: 1; }
  .contact__panel { gap: 40px; padding: 45px 35px; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-gallery > img { height: min(430px, 52vh); }
  .dialog-content { padding: 40px 32px; }
  .article-dialog__media { height: 280px; }
}

@media (max-width: 560px) {
  body { padding-bottom: 70px; }
  .topbar { display: none; }
  .container { width: min(520px, calc(100% - 24px)); }
  .nav-wrap { min-height: 70px; }
  .brand { flex-basis: 205px; }
  .main-nav { top: 70px; }
  .hero { min-height: 610px; }
  .hero__shade { background: linear-gradient(90deg, rgba(5,27,24,.94), rgba(7,31,28,.63)); }
  .hero__content { padding: 72px 0 158px; }
  .hero h1 { font-size: clamp(2.85rem, 14vw, 4.1rem); }
  .hero__lead { margin: 22px 0 28px; font-size: 1rem; }
  .hero__actions .button { width: 100%; }
  .hero__rail span { padding: 12px 14px; font-size: .67rem; }
  .quick-facts { display: none; }
  .section { padding: 66px 0; }
  .section-heading--row { display: block; }
  .section-heading h2, .about h2, .quality h2, .contact h2, .process h2, .faq h2 { font-size: 2.25rem; }
  .slider-controls { margin-top: 24px; }
  .product-scroller { grid-auto-columns: 88%; gap: 12px; }
  .product-card__image { height: 225px; }
  .product-card__body { min-height: 185px; padding: 24px; }
  .about__visual { min-height: 380px; padding: 0 22px 32px 0; }
  .about__visual::before { top: 25px; left: 22px; }
  .about__visual img { height: 345px; }
  .about__badge { min-width: 155px; padding: 14px 18px; }
  .application-grid, .blog-grid { grid-template-columns: 1fr; }
  .application-grid article { min-height: 0; }
  .blog-card:last-child { grid-column: auto; }
  .process__steps li { grid-template-columns: 44px 1fr; gap: 12px; }
  .contact__panel { width: 100%; padding: 40px 22px; }
  .contact-card { align-items: flex-start; padding: 15px; }
  .contact-form { padding: 27px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid__wide { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 42px; }
  .footer__grid > div:first-child { grid-column: auto; }
  .footer__bottom { align-items: flex-start; flex-direction: column; }
  .mobile-actions { position: fixed; z-index: 80; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); min-height: 68px; border-top: 1px solid #dfe5e1; background: rgba(255,255,255,.97); box-shadow: 0 -10px 35px rgba(8,39,34,.13); backdrop-filter: blur(12px); }
  .mobile-actions a { display: grid; place-items: center; align-content: center; gap: 2px; color: var(--green-dark); font-size: .7rem; font-weight: 760; }
  .mobile-actions svg { width: 22px; height: 22px; }
  .mobile-actions__primary { margin: -11px 7px 7px; border-radius: 12px; color: #fff !important; background: #168b51; box-shadow: 0 10px 24px rgba(18,139,81,.25); }
  .product-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .dialog-gallery { padding: 12px; }
  .dialog-gallery > img { height: 300px; }
  .dialog-thumbs img { height: 72px; }
  .dialog-content { padding: 32px 18px 25px; }
  .dialog-content h2 { font-size: 2.25rem; }
  .dialog-actions .button { width: 100%; }
  .article-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .article-dialog__media { height: 220px; }
  .article-dialog__content { padding: 32px 20px; }
  .article-dialog__cta { align-items: stretch; flex-direction: column; }
  th, td { padding: 10px; font-size: .78rem; }
}

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