:root {
  color-scheme: light;
  --ink: #272323;
  --muted: #5d5552;
  --brick: #910904;
  --dark: #302c2b;
  --line: #e6ded9;
  --surface: #f8f4f1;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #a20e08; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -.052em; font-weight: 800; }
h3 { line-height: 1.25; }
p { line-height: 1.65; }
img { display: block; max-width: 100%; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 3; padding: 12px; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.header { position: relative; z-index: 1; background: white; }
.nav { min-height: 78px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; gap: 10px; align-items: center; flex: none; text-decoration: none; font-size: 1.16rem; font-weight: 800; letter-spacing: -.05em; }
.ng { color: #910904; }
nav, .nav-actions { display: flex; align-items: center; gap: 25px; }
nav { flex: 1; justify-content: center; }
nav a { text-decoration: none; font-size: .875rem; font-weight: 800; }
nav a:hover:not(.button), footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-actions { margin-left: auto; gap: 20px; }
.menu { display: none; }
.button { min-height: 48px; padding: 12px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font: inherit; font-size: .9rem; font-weight: 800; cursor: pointer; text-align: center; }
.dark { background: var(--dark); color: white; }
.dark:hover { background: #4b4140; }
.primary { background: var(--brick); color: #ffffff; }
.primary:hover { background: #710804; }
.outline { border-color: #b6a5a0; color: var(--dark); }
.outline:hover { background: var(--surface); }
.light-outline { border-color: #b9aaa6; color: white; }
.light-outline:hover { background: #574847; }
.hero { color: white; background: linear-gradient(90deg, rgba(35,25,25,.98), rgba(35,25,25,.79) 36%, rgba(35,25,25,.26) 100%), url('assets/hero-fallback.jpg') center 52% / cover, #2a2221; }
.hero.has-photo { background-image: linear-gradient(90deg, rgba(35,25,25,.96), rgba(35,25,25,.67) 44%, rgba(35,25,25,.19) 100%), url('assets/hero.webp'); }
.hero-inner { padding-block: 84px 76px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #ffddd5; font-weight: 800; font-size: .875rem; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 20px; height: 2px; background: #ffb9ab; }
h1 { font-size: clamp(3rem, 6.3vw, 6rem); letter-spacing: -.075em; line-height: .99; margin-top: 17px; font-weight: 800; }
.hero-copy { max-width: 540px; color: #f5ebea; font-size: clamp(1rem, 1.6vw, 1.17rem); margin-top: 24px; }
.search { width: min(100%, 940px); display: grid; grid-template-columns: 1.14fr 1fr 1fr auto; gap: 10px; align-items: center; margin-top: 34px; padding: 9px; border: 1px solid #fff; border-radius: 13px; background: white; color: var(--ink); box-shadow: 0 12px 36px #23171766; }
.field { display: grid; gap: 3px; min-width: 0; padding: 3px 10px; }
.field + .field { border-left: 1px solid var(--line); }
.field span { font-size: .875rem; font-weight: 800; }
.field small { color: var(--muted); font-size: .75rem; }
.field input, .field select { width: 100%; min-width: 0; border: 0; padding: 4px 0; background: transparent; color: var(--ink); font: inherit; font-size: 1rem; }
.field input::placeholder { color: #6a5d58; }
.search button { min-height: 54px; }
.search svg { width: 19px; height: 19px; }
.places { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-top: 18px; font-size: .875rem; font-weight: 700; }
.places span { margin-right: 4px; }
.places a { text-decoration: none; border: 1px solid #ffffff64; background: #291b1b90; border-radius: 32px; padding: 5px 12px; }
.places a:hover { background: white; color: var(--dark); }
.benefits { background: var(--surface); border-bottom: 1px solid var(--line); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 24px; }
.benefit-grid > div { display: flex; gap: 12px; align-items: center; }
.icon, .steps li > span { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 9px; background: #f3ded8; color: var(--dark); font-size: 1.25rem; font-weight: 800; }
.benefit-grid strong, .benefit-grid small { display: block; }
.benefit-grid small { color: var(--muted); font-size: .875rem; }
.section { padding-block: 64px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 27px; }
.kicker { color: #910904; margin-bottom: 9px; font-size: .875rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.grid, .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: white; }
.card > img { width: 100%; height: 192px; object-fit: cover; background: var(--surface); }
.card-body { padding: 21px; }
.card-body h3 { margin: 10px 0 6px; font-size: 1.17rem; }
.card-body p, .steps p { color: var(--muted); }
.card-body a { font-weight: 800; display: inline-block; margin-top: 13px; color: var(--dark); text-underline-offset: 4px; }
.tag { display: inline-block; background: #f7eae5; color: #81231a; padding: 4px 9px; border-radius: 5px; font-size: .875rem; font-weight: 700; }
.how { background: var(--surface); }
.steps { padding: 0; margin: 27px 0; list-style: none; }
.steps h3 { margin: 13px 0 6px; }
.supplier { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--dark); color: white; border-radius: 16px; overflow: hidden; }
.supplier > div { padding: clamp(26px, 5vw, 64px); }
.supplier .kicker { color: #ffb9ab; }
.supplier h2 + p { margin-top: 16px; color: #f1e5e1; max-width: 48ch; }
.supplier img { height: 100%; width: 100%; object-fit: cover; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.plan-area { margin-top: 42px; }
.plan-area h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
.plans { margin: 19px 0; }
.plans h3 { margin-top: 0; }
.plans .price { font-size: 1.8rem; font-weight: 800; color: var(--ink); }
footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer, .footer div { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer { justify-content: space-between; min-height: 95px; padding-block: 16px; }
.footer a { text-decoration: none; }
.footer small { color: var(--muted); }
@media (max-width: 1020px) {
  .wrap { width: calc(100% - 56px); }
  .nav, nav { gap: 16px; }
  .nav-actions { gap: 13px; }
}
@media (max-width: 820px) {
  .nav { justify-content: space-between; min-height: 66px; }
  .menu { display: block; padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font: inherit; font-weight: 800; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; align-items: start; flex-direction: column; gap: 18px; background: white; padding: 16px 28px 24px; box-shadow: 0 7px 16px #251b1829; }
  .menu[aria-expanded="true"] + nav { display: flex; }
  .nav-actions { margin-left: 0; flex-wrap: wrap; }
  .search { grid-template-columns: 1fr 1fr; }
  .field.keyword { border-left: 0; }
  .hero-inner { padding-block: 65px 54px; }
  .benefit-grid { gap: 14px; }
  .benefit-grid > div { align-items: start; }
  .card > img { height: 150px; }
}
@media (max-width: 610px) {
  .wrap { width: calc(100% - 36px); }
  .hero-inner { padding-block: 52px 40px; }
  .section { padding-block: 43px; }
  .search { grid-template-columns: 1fr; }
  .field + .field, .field.keyword { border-left: 0; border-top: 1px solid var(--line); padding-top: 7px; }
  .field { padding-inline: 5px; }
  .section-top { display: grid; justify-items: start; gap: 14px; }
  .grid, .steps, .benefit-grid, .supplier { grid-template-columns: 1fr; }
  .card > img { height: 185px; }
  .supplier img { max-height: 240px; }
}

.account-note { margin-top: 10px; color: var(--muted); font-size: .875rem; }

.brand-logo { width: 56px; height: 56px; object-fit: contain; flex: none; }
.hero .typed-line { display: inline-block; min-height: 1em; color: #ffb9ab; white-space: nowrap; }
.typing-cursor { display: none; width: .045em; height: .73em; vertical-align: .02em; margin-left: .085em; background: currentColor; }
.is-typing .typing-cursor { display: inline-block; animation: cursor-blink 1.15s step-end infinite; }
@keyframes cursor-blink { 50% { opacity: 0; } }
.motion-toggle { margin-top: 12px; padding: 0; color: #fff3f0; border: 0; background: transparent; font: inherit; font-size: .875rem; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.directory { padding-top: 0; }
.category-grid { margin-top: 24px; }
.category-grid .card a { margin-top: 0; }
.catalog-tile, .catalog-hero { --photo: url('assets/hero.webp'); background: linear-gradient(90deg, #282021f2, #28202191), var(--photo) center / cover, var(--dark); color: white; }
.materials { --photo: url('assets/materials.webp'); }
.machinery { --photo: url('assets/machinery.webp'); }
.interiors { --photo: url('assets/interiors.webp'); }
.catalog-tile { overflow: hidden; border-radius: 14px; }
.catalog-tile a { display: flex; height: 100%; min-height: 236px; padding: 23px; flex-direction: column; gap: 8px; text-decoration: none; }
.catalog-tile a:focus-visible { outline-offset: -5px; }
.catalog-tile a:hover { background: #421c194a; }
.catalog-tile h3 { font-size: 1.45rem; }
.catalog-tile p, .catalog-hero p { color: #fbefeb; }
.catalog-tile span { margin-top: auto; color: #ffb9ab; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.catalog-hero .wrap { padding-block: 45px 61px; }
.catalog-hero h1 { font-size: clamp(2.6rem, 6.5vw, 5.3rem); }
.catalog-hero p { margin-top: 17px; max-width: 63ch; }
.crumb { font-size: .9rem; }
.crumb a { text-underline-offset: 4px; }
.category-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.category-layout h2 { font-size: clamp(1.85rem, 4vw, 2.6rem); margin-bottom: 10px; }
.category-layout p { color: var(--muted); }
.catalog-form { display: grid; gap: 12px; margin-top: 17px; }
.catalog-form label { display: grid; align-content: start; gap: 5px; font-weight: 800; font-size: .9rem; min-width: 0; }
.catalog-form input, .catalog-form textarea, .catalog-form select { width: 100%; padding: 10px; border: 1px solid #b8aaa5; border-radius: 6px; color: var(--ink); background: white; font: inherit; font-size: 1rem; font-weight: 500; }
.catalog-form textarea { resize: vertical; }
.catalog-form output { font-size: .9rem; color: var(--dark); }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan-intro { margin-top: 10px; color: var(--muted); }
.plan { display: flex; flex-direction: column; gap: 6px; }
.plan:nth-child(2) { border-color: #910904; }
.plan .price { margin-top: 9px; }
.plan .plan-limit { font-weight: 800; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 15px; display: grid; gap: 8px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: #910904; font-weight: 800; }
.plan .button { margin-top: auto; text-decoration: none; }
@media (max-width: 960px) {
  .nav { justify-content: space-between; min-height: 66px; }
  .menu { display: block; padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font: inherit; font-weight: 800; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; align-items: start; flex-direction: column; gap: 18px; background: white; padding: 16px 28px 24px; box-shadow: 0 7px 16px #251b1829; }
  .menu[aria-expanded="true"] + nav { display: flex; }
  .nav-actions { margin-left: 0; flex-wrap: wrap; }
}
@media (max-width: 610px) {
  #hero-title { font-size: clamp(2.25rem, 11.5vw, 3.8rem); }
  .category-layout { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .typing-cursor { animation: none; }
}

.onboard .steps { margin-bottom: 0; }
.onboard .actions { margin-top: 27px; }
.onboard .steps li { padding: 22px; }
.onboard .kicker { margin-top: 28px; }

.market-footer { background: #2a2423; color: #fff3ed; }
.footer-grid { display:grid; grid-template-columns: 1.4fr repeat(3,1fr); gap:24px; padding-block:45px 34px; }
.market-footer .brand { color:#fff; }
.footer-grid h2 { font-size:1rem; letter-spacing:0; margin:10px 0 13px; }
.footer-grid p { margin:9px 0 0; color:#e8d9d2; font-size:.925rem; }
.footer-grid > div > a:not(.brand) { display:block; padding:4px 0; }
.market-footer a:hover { color:#ffb9ab; }
.social-links { display:flex; gap:12px; flex-wrap:wrap; margin-top:13px; }
.social-links a { display:inline-flex; align-items:center; gap:4px; font-size:.82rem; }
.footer-bottom { display:flex; flex-wrap:wrap; gap:18px; border-top:1px solid #67544e; padding-block:16px 30px; }
.site-help { position:fixed; right:18px; bottom:18px; z-index:30; max-width:calc(100vw - 36px); }
.site-help > summary { list-style:none; margin-left:auto; width:max-content; border-radius:28px; padding:12px 19px; background:#910904; color:white; cursor:pointer; font-weight:800; box-shadow:0 3px 14px #0003; }
.site-help > summary::-webkit-details-marker { display:none; }
.site-help-panel { width:min(348px,calc(100vw - 36px)); max-height:65vh; overflow:auto; padding:17px; border:1px solid var(--line); border-radius:13px; background:white; box-shadow:0 5px 24px #21191830; margin-top:8px; }
.site-help-panel p { margin:7px 0; }
.site-help-panel details { border-top:1px solid var(--line); padding:8px 0; }
.site-help-panel details summary { font-weight:700; cursor:pointer; }
.site-help-panel .button { width:100%; margin-top:8px; }
.contact-layout .card p + p { margin-top:14px; }
.contact-layout h2 { margin-bottom:14px; }
.category-photo { margin-block:24px 0; }
.category-photo img { width:100%; max-height:360px; object-fit:cover; border-radius:12px; }
.category-photo figcaption { margin-top:6px; font-size:.82rem; color:var(--muted); }
.machine-card > img { display:block; width:100%; height:158px; object-fit:cover; border-radius:8px; margin-bottom:14px; }
.photo-excavator { --photo: url("assets/excavator.webp"); }
.photo-mixer { --photo: url("assets/mixer.webp"); }
.photo-block-machine { --photo: url("assets/block-machine.webp"); }
.photo-lifting { --photo: url("assets/lifting.webp"); }
.photo-tools { --photo: url("assets/tools.webp"); }
.photo-joinery { --photo: url("assets/joinery.webp"); }
.photo-materials-detail { --photo: url("assets/materials-detail.webp"); }
.photo-paving { --photo: url("assets/paving.webp"); }
.photo-finish { --photo: url("assets/finish.webp"); }
@media(max-width:850px){.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.footer-grid{grid-template-columns:1fr}.site-help{right:12px;bottom:12px}.category-photo img{max-height:220px}}
