:root {
    --ink: #16232E;
    --bg: #F4F6F4;
    --panel: #FFFFFF;
    --primary: #0F5C6B;
    --primary-dark: #0B3E48;
    --primary-tint: #E6F1F1;
    --accent: #C98A2C;
    --line: #DFE3E0;
    --muted: #5B6B66;
    --radius: 10px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Public Sans', Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
  }
  h1, h2, h3, h4 { font-family: 'Archivo', Arial, sans-serif; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }
  .wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; font-weight: 700;
    color: var(--primary);
  }
  .eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); display: inline-block; }

  /* ---- Header ---- */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
  .logo { display: flex; align-items: center; gap: 10px; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 18px; color: var(--primary-dark); }
  .logo .mark {
    width: 34px; height: 34px; border-radius: 8px;
    background: linear-gradient(155deg, var(--primary), var(--primary-dark));
    display: flex; align-items: center; justify-content: center; color: white; font-size: 15px; font-weight: 800;
  }
  .logo small { display: block; font-family: 'Public Sans', sans-serif; font-weight: 500; font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; }
  nav { display: flex; align-items: center; gap: 28px; }
  nav a { font-size: 14px; font-weight: 600; color: var(--ink); }
  nav a:hover { color: var(--primary); }
  .header-phone { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 14px;
    background: var(--primary); color: white; border: none; cursor: pointer;
  }
  .btn:hover { background: var(--primary-dark); }
  .btn-outline { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
  .btn-outline:hover { border-color: var(--primary); color: var(--primary); }

  /* ---- Placeholder image slots ---- */
  .img-slot {
    position: relative;
    background: repeating-linear-gradient(135deg, #E3E8E6, #E3E8E6 10px, #DAE1DE 10px, #DAE1DE 20px);
    border: 1.5px dashed #B9C4C0;
    display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
    color: var(--muted); text-align: center; font-size: 12.5px; padding: 20px;
  }
  .img-slot .slot-icon { font-size: 22px; opacity: 0.6; }
  .img-slot .slot-label { font-weight: 700; }
  .img-slot .slot-hint { font-size: 11px; opacity: 0.8; max-width: 220px; }

  /* ---- Hero ---- */
  .hero { padding: 72px 0 0; overflow: hidden; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: 44px; line-height: 1.12; margin: 18px 0 20px; }
  .hero h1 .accent-word { color: var(--primary); }
  .hero p.lead { font-size: 16.5px; color: var(--muted); max-width: 480px; margin-bottom: 30px; }
  .hero-actions { display: flex; gap: 14px; margin-bottom: 40px; }
  .hero-stats { display: flex; gap: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
  .hero-stats .stat-num { font-family: 'Archivo', sans-serif; font-size: 26px; font-weight: 800; color: var(--primary-dark); }
  .hero-stats .stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
  .hero-visual .img-slot { height: 440px; border-radius: 16px; }

  /* ---- Section shared ---- */
  section { padding: 88px 0; }
  .section-head { max-width: 620px; margin-bottom: 44px; }
  .section-head h2 { font-size: 32px; margin-top: 12px; }
  .section-head p { color: var(--muted); margin-top: 12px; font-size: 15.5px; }

  /* ---- About ---- */
  .about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
  .about-grid .img-slot { height: 360px; border-radius: 14px; }
  .about-copy p { color: var(--muted); margin-bottom: 16px; font-size: 15px; }
  .about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
  .about-facts .fact { background: var(--primary-tint); border-radius: var(--radius); padding: 16px 18px; }
  .about-facts .fact .fact-num { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 22px; color: var(--primary-dark); }
  .about-facts .fact .fact-label { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

  /* ---- Products ---- */
  .products { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .product-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: white; transition: box-shadow .2s, transform .2s; }
  .product-card:hover { box-shadow: 0 12px 28px rgba(15,92,107,0.12); transform: translateY(-2px); }
  .product-card .img-slot { height: 128px; border-radius: 0; }
  .product-card .pc-body { padding: 16px 18px 20px; }
  .product-card h3 { font-size: 15px; margin-bottom: 6px; }
  .product-card p { font-size: 12.5px; color: var(--muted); }
  .product-card .pc-tag {
    display: inline-block; margin-top: 10px; font-size: 10.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent);
  }

  /* ---- Why us ---- */
  .why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .why-card { padding: 4px; }
  .why-card .why-icon {
    width: 46px; height: 46px; border-radius: 12px; background: var(--primary-tint);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
    color: var(--primary-dark); font-weight: 800; font-family: 'Archivo', sans-serif;
  }
  .why-card h3 { font-size: 16px; margin-bottom: 8px; }
  .why-card p { font-size: 13.5px; color: var(--muted); }

  /* ---- Quality strip ---- */
  .quality { background: linear-gradient(155deg, var(--primary-dark), var(--primary)); color: white; }
  .quality .section-head h2, .quality .section-head p { color: white; }
  .quality .section-head p { color: #CFE6E4; }
  .cert-row { display: flex; gap: 16px; flex-wrap: wrap; }
  .cert-chip {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px; padding: 10px 18px; font-size: 13px; font-weight: 600;
  }
  .cert-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

  /* ---- Contact ---- */
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
  .contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
  .contact-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .contact-row:last-child { border-bottom: none; }
  .contact-row .ci { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-tint); display: flex; align-items: center; justify-content: center; color: var(--primary-dark); font-weight: 800; flex-shrink: 0; }
  .contact-row .ct-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; }
  .contact-row .ct-value { font-size: 15px; font-weight: 600; margin-top: 2px; }
  .contact-form { display: flex; flex-direction: column; gap: 14px; }
  .contact-form input, .contact-form textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
    font-family: inherit; font-size: 14px; background: var(--panel);
  }
  .contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }
  .contact-form label { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: -6px; }
  .map-slot { height: 220px; border-radius: 14px; margin-top: 20px; }

  /* ---- Footer ---- */
  footer { background: var(--ink); color: #B7C2C0; padding: 56px 0 28px; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
  footer .logo { color: white; }
  footer .logo small { color: #8FA09D; }
  footer p.foot-desc { font-size: 13.5px; color: #93A19E; margin-top: 14px; max-width: 320px; }
  footer h4 { font-family: 'Archivo', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #DDE5E3; margin-bottom: 16px; }
  footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  footer ul a { font-size: 14px; color: #93A19E; }
  footer ul a:hover { color: white; }
  .footer-bottom { border-top: 1px solid #2A3A40; padding-top: 22px; font-size: 12.5px; color: #7C8B88; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

  @media (max-width: 900px) {
    nav, .header-phone { display: none; }
    .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
  }

/* ============ Catalog / Category / Product-detail pages ============ */
.page-hero { background: var(--panel); border-bottom: 1px solid var(--line); padding: 40px 0 36px; }
.page-hero h1 { font-size: 34px; margin: 10px 0 8px; }
.page-hero p { color: var(--muted); max-width: 640px; font-size: 15.5px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; display:flex; flex-wrap:wrap; gap:6px; align-items:center;}
.crumbs a { color: var(--primary); font-weight: 600; }
.crumbs span.sep { color: var(--line); }

/* category chips row */
.cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 4px; }
.cat-nav a {
  font-size: 13px; font-weight: 600; padding: 8px 15px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--ink); background: var(--panel);
}
.cat-nav a:hover, .cat-nav a.active { border-color: var(--primary); color: var(--primary); background: var(--primary-tint); }

/* product grid reuse .product-card; make image real */
.product-card a.pc-link { display:block; color:inherit; }
.product-card .pc-img { height: 190px; background:#fff; display:flex; align-items:center; justify-content:center; border-bottom:1px solid var(--line); overflow:hidden; }
.product-card .pc-img img { max-height:100%; max-width:100%; object-fit:contain; padding:12px; }
.product-card h3 { min-height: 40px; }
.product-card .pc-cat { display:inline-block; margin-top:10px; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:var(--accent);}

.catalog-block { margin-bottom: 56px; }
.catalog-block .cb-head { display:flex; align-items:baseline; justify-content:space-between; gap:16px; border-bottom:2px solid var(--primary-tint); padding-bottom:12px; margin-bottom:24px; }
.catalog-block .cb-head h2 { font-size:24px; }
.catalog-block .cb-head .cb-count { font-size:13px; color:var(--muted); font-weight:600; white-space:nowrap; }

/* product detail */
.pd-wrap { display:grid; grid-template-columns: 460px 1fr; gap: 48px; align-items:start; padding: 44px 0 20px; }
.pd-gallery { position: sticky; top: 96px; }
.pd-gallery .pd-main { background:#fff; border:1px solid var(--line); border-radius:16px; padding:28px; display:flex; align-items:center; justify-content:center; }
.pd-gallery .pd-main img { max-width:100%; max-height:420px; object-fit:contain; }
.pd-info h1 { font-size:27px; line-height:1.2; margin-bottom:14px; }
.pd-info .pd-tag { display:inline-block; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:var(--accent); margin-bottom:18px; }
.pd-actions { display:flex; gap:12px; flex-wrap:wrap; margin:22px 0 30px; }
.pd-desc { border-top:1px solid var(--line); padding-top:26px; }
.pd-desc h2.pd-desc-title { font-size:18px; margin-bottom:16px; }
.pd-desc-body { font-size:14.5px; color:#31424a; overflow-wrap:anywhere; }
.pd-desc-body p { margin: 0 0 12px; }
.pd-desc-body img { border-radius:8px; margin:14px 0; border:1px solid var(--line); max-width:100%; height:auto; }
.pd-desc-body table { border-collapse:collapse; width:100%; margin:14px 0; font-size:13px; display:block; overflow-x:auto; }
.pd-desc-body td, .pd-desc-body th { border:1px solid var(--line); padding:7px 10px; }
.pd-desc-body h1, .pd-desc-body h2, .pd-desc-body h3 { font-size:16px; margin:18px 0 8px; }
.related-strip { border-top:1px solid var(--line); padding:44px 0 10px; }
.related-strip h2 { font-size:20px; margin-bottom:22px; }

@media (max-width: 900px) {
  .pd-wrap { grid-template-columns: 1fr; gap: 24px; }
  .pd-gallery { position: static; }
  .page-hero h1 { font-size: 26px; }
}

/* ---- Real hero / about photos ---- */
.hero-visual .hero-photo { width: 100%; height: 440px; object-fit: cover; border-radius: 16px; display: block; box-shadow: 0 16px 40px rgba(15,92,107,0.16); }
.about-grid .about-photo { width: 100%; height: 360px; object-fit: cover; border-radius: 14px; display: block; }
@media (max-width: 900px) {
  .hero-visual .hero-photo { height: 300px; }
  .about-grid .about-photo { height: 280px; }
}

/* ============ Wordmark logo (letters, no acronym) ============ */
.logo { display: inline-flex; flex-direction: column; gap: 2px; padding-left: 13px; border-left: 3px solid var(--accent); text-decoration: none; }
.logo .wm-name { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--primary-dark); line-height: 1.05; }
.logo .wm-name em { font-style: normal; color: var(--primary); }
.logo .wm-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.logo-foot .wm-name { color: #fff; }
.logo-foot .wm-name em { color: var(--accent); }
.logo-foot .wm-sub { color: #8FA09D; }

/* ============ Inline line-icons (replace emoji) ============ */
.ic { width: 18px; height: 18px; flex-shrink: 0; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; }
.header-phone .ic { color: var(--primary); }
.contact-row .ci .ic { width: 20px; height: 20px; }

/* ============ Category card images (index) ============ */
.cat-card .pc-img { height: 175px; }
.cat-card .pc-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Category-page hero with photo ============ */
.page-hero-cat { padding-bottom: 44px; }
.cat-hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: 44px; align-items: center; }
.cat-hero-img { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(15,92,107,0.10); }
.cat-hero-img img { width: 100%; height: 250px; object-fit: cover; display: block; }
@media (max-width: 900px) { .cat-hero-grid { grid-template-columns: 1fr; } .cat-hero-img img { height: 200px; } }

/* ============ Catalog block header thumbnail ============ */
.cb-head h2 { display: flex; align-items: center; gap: 12px; }
.cb-thumb { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line); flex-shrink: 0; }

/* ============ Embedded map ============ */
.map-embed { width: 100%; height: 230px; border: 0; border-radius: 14px; margin-top: 20px; display: block; filter: saturate(0.9); }
