:root {
  --ink: #142c2c;
  --muted: #6d7d7a;
  --green: #14796d;
  --green-dark: #105f57;
  --mint: #e5f2ed;
  --paper: #f5f8f7;
  --line: #e2eae7;
  --white: #fff;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input { font: inherit; }
button { cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #78b7a5; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: auto; }
section[id], footer[id] { scroll-margin-top: 96px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 20px; top: 12px; z-index: 20;
  padding: 12px 18px; color: white; background: var(--green-dark);
  border-radius: 12px; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 76px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 11px; color: var(--ink);
  text-decoration: none; font-size: 21px; font-weight: 800; letter-spacing: -.6px;
}
.brand-mark {
  width: 39px; height: 39px; border-radius: 13px;
  display: grid; place-items: center; background: var(--green);
  color: white; font-size: 23px; font-weight: 500;
}
nav { display: flex; gap: 28px; }
nav a { color: #4e625e; text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--green); }
.header-note { color: var(--muted); font-size: 13px; }
.hero { padding: 66px 0 42px; }
.hero-box {
  position: relative; overflow: hidden;
  min-height: 330px; padding: 54px 58px;
  display: flex; align-items: center; border-radius: 30px; color: white;
  background:
    radial-gradient(circle at 83% 35%, rgba(255,255,255,.15) 0 110px, transparent 111px),
    radial-gradient(circle at 88% 80%, rgba(255,255,255,.08) 0 190px, transparent 191px),
    linear-gradient(115deg, #124e49, #178878);
}
.hero-copy { max-width: 670px; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  color: #c9e8dc; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: #a9e0c6; border-radius: 50%; }
h1 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.04; letter-spacing: -2px; }
.hero p { max-width: 530px; margin: 19px 0 26px; color: #e0f0eb; font-size: 17px; }
.hero-button {
  display: inline-block; padding: 13px 20px; border-radius: 12px;
  background: white; color: var(--green-dark); text-decoration: none; font-weight: 700;
}
.hero-button:hover { background: #e5f2ed; }
.hero-graphic {
  position: absolute; right: 9%; top: 50%; transform: translateY(-50%);
  width: 205px; height: 205px; border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%; display: grid; place-items: center;
  color: rgba(255,255,255,.88); font-size: 86px; pointer-events: none;
}
.hero-graphic::before, .hero-graphic::after {
  content: ""; position: absolute; border: 1px solid rgba(255,255,255,.17); border-radius: 50%;
}
.hero-graphic::before { inset: 18px; }
.hero-graphic::after { inset: 39px; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0 56px; }
.trust-item {
  display: flex; align-items: center; gap: 13px; padding: 17px 19px;
  background: white; border: 1px solid var(--line); border-radius: 16px;
}
.trust-icon {
  width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center;
  color: var(--green); background: var(--mint); border-radius: 12px; font-size: 18px;
}
.trust-item strong { display: block; font-size: 15px; }
.trust-item span { display: block; color: var(--muted); font-size: 12px; }
.catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-kicker { margin: 0 0 7px; color: var(--green); font-size: 13px; font-weight: 700; }
h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -1.2px; }
.catalog-sub { margin: 10px 0 0; color: var(--muted); }
.search {
  width: min(310px, 100%); padding: 13px 16px; border: 1px solid var(--line);
  border-radius: 12px; background: white; outline: none;
}
.search:focus { border-color: #78b7a5; box-shadow: 0 0 0 3px #dcefe8; }
.catalog-directions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.catalog-direction {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  text-align: left; color: var(--ink); background: var(--white);
}
.catalog-direction:hover { border-color: #78b7a5; }
.catalog-direction.active { border-color: var(--green); background: var(--mint); }
.direction-name { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.direction-count { color: var(--muted); font-size: 13px; }
.direction-link { display: flex; justify-content: space-between; gap: 10px; width: 100%; margin-top: auto; padding-top: 12px; color: var(--green-dark); font-size: 13px; font-weight: 700; }
.filters { display: flex; gap: 9px; flex-wrap: wrap; margin: 0 0 26px; }
.filter {
  padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  color: #526460; background: white; font-size: 13px;
}
.filter:hover { border-color: #78b7a5; }
.filter.active { color: white; background: var(--green); border-color: var(--green); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(19,54,48,.09); }
.photo-placeholder {
  height: 185px; display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #eaf3ef, #f3f6f4); color: var(--green);
}
.photo-placeholder::before, .photo-placeholder::after {
  content: ""; position: absolute; border: 1px solid rgba(20,121,109,.10); border-radius: 50%;
}
.photo-placeholder::before { width: 170px; height: 170px; }
.photo-placeholder::after { width: 126px; height: 126px; }
.photo-icon { position: relative; z-index: 1; font-size: 50px; }
.photo-label {
  position: absolute; bottom: 12px; left: 14px; z-index: 1; padding: 5px 9px;
  border-radius: 7px; color: #60736e; background: rgba(255,255,255,.82); font-size: 11px;
}
.card-body { padding: 17px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.category-label { color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.card h3 { min-height: 48px; margin: 8px 0 15px; font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.price { font-size: 20px; font-weight: 800; letter-spacing: -.4px; white-space: nowrap; }
.ask { padding: 9px 12px; border: 0; border-radius: 10px; background: var(--mint); color: var(--green-dark); font-size: 12px; font-weight: 700; }
.ask:hover { background: #d4eae1; }
.empty { grid-column: 1/-1; padding: 36px; text-align: center; color: var(--muted); }
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 70px auto;
  padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: white;
}
.about p { margin: 0; color: var(--muted); }
.about .section-kicker { color: var(--green); margin-bottom: 7px; }
.about-note { margin-top: 16px; padding: 20px; border-radius: 16px; background: #f0f6f3; }
.about-note strong { display: block; margin-bottom: 6px; }
.about-note span { color: var(--muted); font-size: 13px; }
footer { margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.footer-inner strong { color: var(--ink); }
.contact-phones { display: grid; gap: 6px; }
.contact-phones a { color: var(--green); white-space: nowrap; text-underline-offset: 3px; }
.contact-phones a:hover { color: var(--green-dark); }
.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 10;
  padding: 20px; place-items: center; background: rgba(13,35,32,.48); overflow-y: auto;
}
.modal-backdrop.open { display: grid; }
.modal {
  width: min(440px, 100%); padding: 26px; position: relative;
  border-radius: 20px; background: white; box-shadow: 0 20px 70px #0b292455;
}
.modal h3 { margin: 0 34px 12px 0; font-size: 23px; overflow-wrap: anywhere; }
.modal p { color: var(--muted); }
.close { position: absolute; right: 17px; top: 14px; border: 0; background: transparent; color: var(--muted); font-size: 26px; }
.modal-note { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: #f0f6f3; color: #536761; font-size: 13px; }
body.modal-open { overflow: hidden; }
@media (max-width: 820px) {
  .catalog-directions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav { gap: 14px; }
  .header-note { display: none; }
  .hero-graphic { right: 4%; opacity: .3; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .catalog-directions { grid-template-columns: 1fr; }
  .wrap { width: min(calc(100% - 28px), 1160px); }
  .header-inner { min-height: 64px; }
  nav { display: none; }
  .hero { padding-top: 28px; }
  .hero-box { min-height: 330px; padding: 34px 25px; }
  .hero-graphic { width: 145px; height: 145px; right: -15px; top: 78%; font-size: 60px; }
  .hero p { font-size: 15px; }
  .catalog-head { align-items: stretch; flex-direction: column; }
  .search { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; padding: 23px; margin: 48px auto; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .card:hover { transform: none; }
}
