:root {
  --ink: #17201b;
  --muted: #677169;
  --paper: #f7f7f2;
  --white: #ffffff;
  --line: #dce0d9;
  --green: #1f5b43;
  --green-dark: #164331;
  --coral: #e76f51;
  --yellow: #f3c969;
  --shadow: 0 18px 48px rgba(23, 32, 27, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
body.drawer-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand { font-family: "Manrope", sans-serif; letter-spacing: 0; }
h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.04; }
.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 { max-width: 1240px; margin: 0 auto; padding: 96px 32px; }
.eyebrow { margin-bottom: 14px; color: var(--coral); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 0 5vw; color: white; border-bottom: 1px solid rgba(255,255,255,.28); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-size: 1.35rem; font-weight: 800; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 50%; }
nav { display: flex; gap: 32px; font-weight: 600; }
nav a { padding: 28px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a:focus-visible { border-color: var(--yellow); }
.quote-button { justify-self: end; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 15px; color: white; background: rgba(15,25,20,.3); border: 1px solid rgba(255,255,255,.55); border-radius: 6px; cursor: pointer; }
.quote-button svg { width: 18px; }
.quote-button span { display: grid; min-width: 22px; height: 22px; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 50%; font-size: .75rem; font-weight: 800; }

.hero { position: relative; min-height: min(720px, 88vh); display: flex; align-items: flex-end; overflow: hidden; color: white; background: #34483a url("/assets/hero.jpg") center 58%/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: rgba(10, 22, 15, .49); }
.hero-content { position: relative; z-index: 1; width: min(760px, 90vw); margin: 0 0 118px 8vw; }
.hero h1 { margin: 0 0 18px; font-size: clamp(4.8rem, 11vw, 9.5rem); line-height: .82; }
.hero-content > p:not(.eyebrow) { max-width: 680px; font-size: clamp(1.08rem, 2vw, 1.4rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }
.primary-button, .secondary-button, .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 6px; font-weight: 700; cursor: pointer; }
.primary-button { color: white; background: var(--green); border: 1px solid var(--green); }
.primary-button:hover { background: var(--green-dark); }
.secondary-button { color: var(--ink); background: white; border: 1px solid var(--line); }
.text-button { padding: 0; color: white; background: transparent; border: 0; }
.primary-button svg, .secondary-button svg, .text-button svg { width: 18px; }
.hero-proof { position: absolute; z-index: 2; right: 5vw; bottom: 28px; display: flex; gap: 32px; }
.hero-proof span { display: flex; align-items: baseline; gap: 7px; color: rgba(255,255,255,.78); font-size: .85rem; }
.hero-proof strong { color: white; font: 700 1.35rem "Manrope", sans-serif; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 42px; }
.section-heading > p { max-width: 430px; margin-bottom: 4px; color: var(--muted); line-height: 1.7; }
.section-heading.compact { margin-bottom: 32px; }
.catalog-toolbar { position: sticky; z-index: 5; top: 12px; display: flex; gap: 18px; align-items: center; margin-bottom: 34px; padding: 12px; background: rgba(247,247,242,.94); border: 1px solid var(--line); border-radius: 8px; backdrop-filter: blur(12px); }
.search-box { display: flex; align-items: center; gap: 10px; min-width: 250px; padding: 0 12px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.search-box svg { width: 18px; color: var(--muted); }
.search-box input { width: 100%; height: 42px; padding: 0; border: 0; outline: 0; }
.category-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.category-tab { min-height: 42px; flex: 0 0 auto; padding: 0 14px; color: var(--muted); background: transparent; border: 0; border-radius: 5px; font-weight: 600; cursor: pointer; }
.category-tab.active { color: white; background: var(--green); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px; }
.product-card { min-width: 0; }
.product-image-button { position: relative; width: 100%; padding: 0; overflow: hidden; background: #e7e9e4; border: 0; border-radius: 6px; aspect-ratio: 1; cursor: pointer; }
.product-image-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover img { transform: scale(1.045); }
.product-badge { position: absolute; top: 12px; left: 12px; padding: 6px 9px; color: var(--ink); background: var(--yellow); border-radius: 4px; font-size: .72rem; font-weight: 800; }
.product-info { padding: 15px 2px 0; }
.product-category { margin-bottom: 7px; color: var(--coral); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.product-info h3 { min-height: 48px; margin-bottom: 9px; font-size: 1.02rem; line-height: 1.45; }
.product-meta { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.product-price { margin: 0; font-weight: 700; }
.product-price small { display: block; color: var(--muted); font-weight: 400; }
.add-button { display: grid; width: 40px; height: 40px; place-items: center; color: white; background: var(--green); border: 0; border-radius: 6px; cursor: pointer; }
.add-button svg { width: 18px; }
.empty-state { padding: 60px 0; text-align: center; color: var(--muted); }
.service-catalog { max-width: none; padding-left: max(32px, calc((100vw - 1176px)/2)); padding-right: max(32px, calc((100vw - 1176px)/2)); background: #eef1eb; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 6px; }
.service-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card-copy { padding: 22px; }
.service-card-copy > svg { width: 26px; height: 26px; margin-bottom: 20px; color: var(--green); }
.service-card-copy h3 { min-height: 48px; margin-bottom: 10px; font-size: 1rem; line-height: 1.45; }
.service-card-copy p { min-height: 92px; margin-bottom: 20px; color: var(--muted); line-height: 1.6; }
.service-card-copy > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; }

.process { max-width: none; padding-left: max(32px, calc((100vw - 1176px)/2)); padding-right: max(32px, calc((100vw - 1176px)/2)); background: var(--ink); color: white; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #485049; }
.process article { position: relative; min-height: 250px; padding: 30px 26px 26px 0; border-right: 1px solid #485049; }
.process article:not(:first-child) { padding-left: 26px; }
.process article:last-child { border-right: 0; }
.process article span { color: #89938c; font-size: .8rem; }
.process article svg { display: block; width: 34px; height: 34px; margin: 34px 0 22px; color: var(--yellow); }
.process article h3 { margin-bottom: 10px; font-size: 1.05rem; }
.process article p { margin-bottom: 0; color: #b7beb9; line-height: 1.6; }
.order-paths { max-width: none; padding-left: max(32px, calc((100vw - 1176px)/2)); padding-right: max(32px, calc((100vw - 1176px)/2)); color: white; background: var(--ink); }
.order-paths .section-heading > p { color: #b7beb9; }
.order-path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.order-path { padding: 30px; border: 1px solid #485049; border-radius: 6px; }
.order-path-header { display: flex; align-items: flex-start; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid #485049; }
.order-path-header .eyebrow { margin-bottom: 7px; }
.order-path-header h3 { margin: 0; font-size: 1.35rem; }
.path-number { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 50%; font-weight: 800; }
.order-path ol { display: grid; gap: 18px; margin: 24px 0 0; padding-left: 22px; color: #b7beb9; line-height: 1.65; }
.order-path li::marker { color: var(--yellow); font-weight: 700; }
.order-path strong { color: white; }
.order-payment-note { margin: 20px 0 0; padding: 18px 20px; color: #d7dcd8; background: #263129; border-left: 3px solid var(--yellow); line-height: 1.65; }
.order-payment-note strong { color: white; }

.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.about-image { min-height: 540px; background: #dfe4dc url("/assets/reference/catcat-about.jpg") center/cover no-repeat; border-radius: 6px; }
.about-copy > p:not(.eyebrow) { margin: 24px 0; color: var(--muted); line-height: 1.8; }
.about-copy ul { display: grid; gap: 13px; padding: 0; list-style: none; }
.about-copy li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.about-copy li svg { width: 19px; color: var(--coral); }
.business-model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.business-model-grid article { padding: 30px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.business-model-grid svg { width: 30px; height: 30px; margin-bottom: 26px; color: var(--green); }
.business-model-grid h3 { margin-bottom: 12px; font-size: 1.1rem; }
.business-model-grid p { margin: 0; color: var(--muted); line-height: 1.75; }
.mission { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; background: var(--white); }
.mission-copy > p:not(.eyebrow) { margin: 24px 0; color: var(--muted); line-height: 1.8; }
.mission-copy ul { display: grid; gap: 13px; padding: 0; list-style: none; }
.mission-copy li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.mission-copy li svg { width: 19px; color: var(--coral); }
.mission-image { min-height: 460px; background: #dfe4dc url("/assets/reference/catcat-mission.jpg") center/cover no-repeat; border-radius: 6px; }
.advantages { max-width: none; padding-left: max(32px, calc((100vw - 1176px)/2)); padding-right: max(32px, calc((100vw - 1176px)/2)); background: var(--ink); color: white; }
.advantages .section-heading > p { color: #b7beb9; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #485049; border-left: 1px solid #485049; }
.advantages-grid article { min-height: 210px; padding: 28px; border-right: 1px solid #485049; border-bottom: 1px solid #485049; }
.advantages-grid svg { width: 28px; height: 28px; margin-bottom: 26px; color: var(--yellow); }
.advantages-grid h3 { margin-bottom: 10px; font-size: 1.05rem; }
.advantages-grid p { margin: 0; color: #b7beb9; line-height: 1.65; }
.standards { background: #eef1eb; }
.standards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.standards-grid article { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.standards-grid article svg { width: 28px; height: 28px; margin-bottom: 24px; color: var(--green); }
.standards-grid h3 { margin-bottom: 10px; font-size: 1.08rem; }
.standards-grid p { margin: 0; color: var(--muted); line-height: 1.7; }
.contact { max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-left: max(32px, calc((100vw - 1176px)/2)); padding-right: max(32px, calc((100vw - 1176px)/2)); background: var(--yellow); }
.contact .eyebrow { color: var(--green); }
.contact p:last-child { margin: 16px 0 0; }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 42px 5vw; color: #bcc3be; background: #111713; font-size: .85rem; }
footer p { margin: 0; }
footer p:last-child { justify-self: end; }
.footer-brand { color: white; }

.icon-button { display: grid; width: 42px; height: 42px; place-items: center; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.icon-button svg { width: 20px; }
.product-dialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: auto; border: 0; border-radius: 8px; box-shadow: var(--shadow); }
.product-dialog::backdrop { background: rgba(15,21,17,.68); }
.close-dialog { position: sticky; z-index: 2; top: 16px; float: right; margin: 16px 16px -58px 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; }
.detail-grid > img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.detail-copy { padding: 70px 46px 46px; }
.detail-copy h2 { font-size: 2.35rem; }
.detail-copy > p { margin: 20px 0; color: var(--muted); line-height: 1.7; }
.detail-list { display: grid; gap: 11px; margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-list span { display: flex; justify-content: space-between; gap: 18px; }
.detail-list strong { text-align: right; }
.quantity-row { display: flex; gap: 12px; margin-top: 25px; }
.quantity-row input { width: 105px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; }

.quote-drawer { position: fixed; z-index: 50; top: 0; right: 0; width: min(560px, 100vw); height: 100vh; padding: 28px; overflow-y: auto; background: var(--paper); box-shadow: -20px 0 60px rgba(0,0,0,.22); transform: translateX(105%); transition: transform .28s ease; }
.quote-drawer.open { transform: translateX(0); }
.drawer-backdrop { position: fixed; z-index: 40; inset: 0; width: 100%; height: 100%; padding: 0; background: rgba(11,17,13,.55); border: 0; }
.drawer-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { font-size: 2.2rem; }
.quote-items { display: grid; gap: 12px; padding: 22px 0; }
.empty-cart { padding: 38px 10px; color: var(--muted); text-align: center; }
.quote-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.quote-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 4px; }
.quote-item h3 { margin: 0 0 6px; font-size: .9rem; }
.quote-item-controls { display: flex; align-items: center; gap: 7px; }
.quote-item-controls input { width: 76px; height: 34px; padding: 0 7px; border: 1px solid var(--line); border-radius: 4px; }
.remove-item { display: grid; width: 34px; height: 34px; place-items: center; color: var(--coral); background: transparent; border: 0; cursor: pointer; }
.remove-item svg { width: 18px; }
.item-total { margin: 0; font-weight: 700; white-space: nowrap; }
.quote-summary { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary-row { display: flex; justify-content: space-between; gap: 20px; margin: 7px 0; }
.summary-row.total { margin-top: 13px; font: 700 1.18rem "Manrope", sans-serif; }
.quote-form { padding-top: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: grid; gap: 7px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.quote-form > label { margin-top: 14px; }
.quote-form input, .quote-form textarea { width: 100%; padding: 11px 12px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 5px; outline: 0; }
.quote-form input:focus, .quote-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,91,67,.12); }
.estimate-note { margin: 14px 0; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.checkout-path { margin: 18px 0 10px; padding: 13px; color: var(--ink); background: #fff5d8; border: 1px solid #ead394; border-radius: 5px; font-size: .8rem; line-height: 1.55; }
.payment-methods { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0; color: var(--muted); font-size: .74rem; line-height: 1.4; }
.payment-methods b { padding: 4px 7px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 4px; font-size: .68rem; }
.consent-label { display: flex !important; grid-template-columns: auto 1fr; align-items: flex-start; gap: 9px !important; margin: 15px 0; color: var(--ink) !important; line-height: 1.5; }
.consent-label input { width: 17px; height: 17px; margin: 2px 0 0; flex: 0 0 auto; }
.consent-label a { color: var(--green); text-decoration: underline; }
.summary-note { margin: 12px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.detail-disclosure { padding: 12px; background: #eef1eb; border-radius: 5px; font-size: .78rem; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.form-status { min-height: 22px; margin: 12px 0 0; color: var(--green); font-weight: 600; }
.policy-page { min-height: 100vh; background: var(--paper); }
.policy-wrap { max-width: 820px; margin: 0 auto; padding: 64px 24px 90px; }
.policy-brand { color: var(--ink); margin-bottom: 70px; }
.policy-wrap h1 { margin-bottom: 12px; font-size: clamp(2.4rem, 6vw, 4.5rem); }
.policy-wrap h2 { margin: 44px 0 12px; font-size: 1.5rem; }
.policy-wrap p { max-width: 720px; color: var(--muted); line-height: 1.8; }
.policy-wrap a:not(.primary-button) { color: var(--green); text-decoration: underline; }
.policy-wrap .primary-button { margin-top: 24px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { min-width: 0; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process article { border-bottom: 1px solid #485049; }
  .process article:nth-child(even) { border-right: 0; }
  .process article:last-child { border-bottom: 0; }
  .about { gap: 38px; }
  .order-path-grid { grid-template-columns: 1fr; }
  .business-model-grid { grid-template-columns: 1fr; }
  .mission { gap: 38px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr 1fr; }
  footer > p:first-of-type { display: none; }
}

@media (max-width: 680px) {
  .section { padding: 72px 18px; }
  .site-header { height: 68px; padding: 0 18px; }
  .quote-button { min-width: 44px; padding: 0 10px; font-size: 0; }
  .quote-button span { font-size: .72rem; }
  .hero { min-height: 660px; }
  .hero-content { margin: 0 18px 148px; }
  .hero h1 { font-size: 4.6rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-proof { left: 18px; right: 18px; bottom: 24px; gap: 14px; justify-content: space-between; }
  .hero-proof span { align-items: flex-start; flex-direction: column; gap: 1px; font-size: .7rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .catalog-toolbar { top: 6px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .service-catalog { padding-left: 18px; padding-right: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card-copy h3, .service-card-copy p { min-height: 0; }
  .product-info h3 { min-height: 58px; font-size: .92rem; }
  .product-price { font-size: .84rem; }
  .add-button { width: 36px; height: 36px; }
  .process { padding-left: 18px; padding-right: 18px; }
  .order-paths { padding-left: 18px; padding-right: 18px; }
  .process-grid { grid-template-columns: 1fr; }
  .process article, .process article:not(:first-child) { min-height: auto; padding: 26px 0; border-right: 0; border-bottom: 1px solid #485049; }
  .process article:last-child { border-bottom: 0; }
  .order-path { padding: 22px 18px; }
  .process article svg { margin: 22px 0 15px; }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 390px; }
  .mission { grid-template-columns: 1fr; }
  .mission-image { min-height: 330px; }
  .advantages { padding-left: 18px; padding-right: 18px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .standards-grid { grid-template-columns: 1fr; }
  .contact { align-items: flex-start; flex-direction: column; padding-left: 18px; padding-right: 18px; }
  footer { grid-template-columns: 1fr; padding: 34px 18px; }
  footer p:last-child { justify-self: start; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid > img { min-height: 340px; height: 42vh; }
  .detail-copy { padding: 34px 22px; }
  .detail-copy h2 { font-size: 1.9rem; }
  .quote-drawer { padding: 22px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-item { grid-template-columns: 60px 1fr auto; }
  .quote-item img { width: 60px; height: 60px; }
}

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