/* ==========================================================
   Shared styles for sub-pages (about, services, products, contact, detail)
   ========================================================== */

/* -------------------- Breadcrumb -------------------- */
.breadcrumb {
  font-size: 13px;
  color: var(--white-70);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.breadcrumb a { color: var(--white-70); transition: color 180ms ease; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: var(--white-50); }
.breadcrumb .current { color: var(--gold); }

.breadcrumb-light {
  font-size: 13px;
  color: var(--ink-55);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-weight: 500;
}
.breadcrumb-light a { color: var(--ink-55); transition: color 180ms ease; }
.breadcrumb-light a:hover { color: var(--ink); }
.breadcrumb-light .sep { color: var(--ink-40); }
.breadcrumb-light .current { color: var(--gold); font-weight: 600; }

/* -------------------- Story Split (about) -------------------- */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.story-text h2 { font-weight: 500; }
.story-text .lead-lg { margin-top: 28px; }
.story-text p {
  color: var(--ink-70);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 22px;
}
.story-visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-2xl);
  background-size: cover;
  background-position: center;
  position: sticky;
  top: 120px;
}

/* -------------------- Values grid -------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-lg);
  padding: 40px 36px;
}
.value-card .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin: 16px 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.value-card p {
  color: var(--ink-70);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* -------------------- Service detail layout -------------------- */
.svc-detail {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.svc-detail-text h2 { font-weight: 500; }
.svc-detail-text > p {
  color: var(--ink-70);
  font-size: 17px;
  line-height: 1.7;
  margin-top: 22px;
}
.svc-detail-text h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 56px;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.svc-detail-text ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 16px;
}
.svc-detail-text ul li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-08);
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.55;
}
.svc-detail-text ul li::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gold);
  margin-top: 12px;
}
.svc-detail-text ul li strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}

.svc-detail-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 40px;
  position: sticky;
  top: 120px;
}
.svc-detail-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  font-weight: 600;
  margin: 0 0 22px;
}
.svc-detail-card .spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--white-12);
  font-size: 14px;
}
.svc-detail-card .spec:last-child { border-bottom: none; }
.svc-detail-card .spec .k { color: var(--white-70); }
.svc-detail-card .spec .v { color: var(--white); font-weight: 600; font-family: var(--font-display); letter-spacing: -0.005em; }
.svc-detail-card .btn { margin-top: 28px; width: 100%; justify-content: center; }

/* -------------------- Process steps -------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
}
.process-step {
  padding: 32px;
  border-right: 1px solid var(--ink-12);
}
.process-step:last-child { border-right: none; }
.process-step .num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 12px;
  letter-spacing: -0.02em;
}
.process-step p {
  color: var(--ink-70);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* -------------------- Products page layout -------------------- */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
.catalog-sidebar {
  position: sticky;
  top: 120px;
}
.catalog-search {
  position: relative;
  margin-bottom: 32px;
}
.catalog-search input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-pill);
  padding: 13px 18px 13px 44px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--ink);
  outline: none;
}
.catalog-search input::placeholder { color: var(--ink-40); }
.catalog-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-55);
}

.filter-group {
  border-top: 1px solid var(--ink-12);
  padding: 22px 0;
}
.filter-group h5 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.005em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filter-group h5::after {
  content: "−";
  color: var(--ink-55);
  font-weight: 400;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-70);
  padding: 6px 0;
  cursor: pointer;
}
.filter-group label input {
  width: 16px; height: 16px;
  border: 1px solid var(--ink-22);
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.filter-group label input:checked {
  background: var(--ink);
  border-color: var(--ink);
}
.filter-group label input:checked::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border-right: 1.5px solid var(--white);
  border-bottom: 1.5px solid var(--white);
  transform: rotate(45deg);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink-08);
}
.catalog-toolbar .count {
  font-size: 14px;
  color: var(--ink-70);
}
.catalog-toolbar .count strong { color: var(--ink); font-weight: 600; }

.catalog-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-08);
}
.catalog-pagination .pages { display: flex; gap: 6px; }
.catalog-pagination .pages a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-70);
  border: 1px solid var(--ink-12);
}
.catalog-pagination .pages a.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  font-weight: 600;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.catalog-grid .product-card { background: var(--white); }

/* -------------------- Product detail -------------------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}
.pd-gallery {
  position: sticky;
  top: 120px;
}
.pd-main-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #DED6B2 0%, #F8F6E3 100%);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.pd-main-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, transparent 96%, rgba(46, 66, 70, 0.05) 96%),
    linear-gradient(90deg, transparent 96%, rgba(46, 66, 70, 0.05) 96%);
  background-size: 48px 48px;
}
.pd-main-img svg {
  position: absolute;
  inset: 0; margin: auto;
  width: 70%; height: 70%;
}
.pd-main-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}
/* Datasheet-image products (batteries): show the full page, no crop */
#pd-root.pd-docs .pd-main-img {
  background: var(--white);
}
#pd-root.pd-docs .pd-main-img::before { display: none; }
#pd-root.pd-docs .pd-main-img img {
  object-fit: contain;
  object-position: center;
  padding: 18px;
}
#pd-root.pd-docs .pd-thumb { background: var(--white); }
#pd-root.pd-docs .pd-thumb img {
  object-fit: contain;
  padding: 4px;
}

/* Image lightbox */
.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(12, 16, 18, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pd-lightbox.is-open { display: flex; animation: pd-lb-fade 180ms ease; }
@keyframes pd-lb-fade { from { opacity: 0; } to { opacity: 1; } }
#pd-lb-img {
  position: relative;
  z-index: 1;
  max-width: min(1200px, 94vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
  transition: transform 220ms ease;
  will-change: transform;
}
#pd-lb-img.is-zoomed {
  transform: scale(2.4);
  cursor: zoom-out;
}
/* keep controls clickable above the zoomed (overflowing) image */
.pd-lb-close, .pd-lb-nav, .pd-lb-counter { z-index: 5; }
.pd-lb-close {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.pd-lb-close:hover { background: rgba(255, 255, 255, 0.24); transform: rotate(90deg); }
.pd-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.pd-lb-nav:hover { background: rgba(255, 255, 255, 0.24); }
.pd-lb-prev { left: clamp(10px, 3vw, 32px); }
.pd-lb-next { right: clamp(10px, 3vw, 32px); }
.pd-lb-prev:hover { transform: translateY(-50%) scale(1.08); }
.pd-lb-next:hover { transform: translateY(-50%) scale(1.08); }
.pd-lb-counter {
  position: absolute;
  bottom: clamp(14px, 3vw, 28px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 28, 30, 0.7);
  color: var(--white);
  padding: 7px 15px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
[dir="rtl"] .pd-lb-close { right: auto; left: clamp(14px, 3vw, 28px); }
@media (max-width: 640px) {
  .pd-lb-nav { width: 42px; height: 42px; }
}

/* Carousel nav buttons */
.pd-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ink-12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  z-index: 3;
  box-shadow: 0 6px 18px rgba(20, 28, 30, 0.18);
  transition: background 180ms ease, transform 180ms ease;
}
.pd-nav:hover { background: var(--ink); color: var(--white); transform: translateY(-50%) scale(1.08); }
.pd-nav-prev { left: 14px; }
.pd-nav-next { right: 14px; }
.pd-counter {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(20, 28, 30, 0.78);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  z-index: 3;
  backdrop-filter: blur(8px);
}

/* Thumbnail strip */
.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.pd-thumb {
  aspect-ratio: 1;
  background: var(--ivory);
  border: 2px solid transparent;
  border-radius: var(--r-md);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: border-color 180ms ease;
}
.pd-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pd-thumb:hover { border-color: var(--gold-30); }
.pd-thumb.is-active { border-color: var(--ink); }
@media (max-width: 600px) {
  .pd-thumbs { grid-template-columns: repeat(4, 1fr); }
  .pd-nav { width: 38px; height: 38px; }
  .pd-nav-prev { left: 10px; }
  .pd-nav-next { right: 10px; }
}

/* Why-we-recommend (key features) */
.pd-feature-list--rec {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 36px;
}
.pd-feature-list--rec li {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  padding-left: 32px;
  position: relative;
  font-weight: 500;
}
.pd-feature-list--rec li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 22px; height: 22px;
  background: var(--gold);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E4246' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 880px) {
  .pd-feature-list--rec { grid-template-columns: 1fr; gap: 14px; }
}

/* Model series line */
.pd-model {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--ivory);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-md);
  margin: 24px 0 28px;
  font-size: 13px;
}
.pd-model .pd-model-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-55);
  font-weight: 600;
}
.pd-model strong {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  margin-left: 6px;
}

/* Two-col features/applications */
.pd-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.pd-feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.pd-feature-list li {
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
}
.pd-feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 1px;
  background: var(--gold);
}
@media (max-width: 880px) {
  .pd-two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* Model variant chips */
.pd-models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.pd-model-chip {
  background: var(--white);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.pd-thumb {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--ink-08), var(--ivory));
  border-radius: var(--r-md);
  border: 1px solid var(--ink-08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 180ms ease;
}
.pd-thumb:hover { border-color: var(--gold); }
.pd-thumb.active { border-color: var(--ink); }
.pd-thumb svg {
  position: absolute;
  inset: 0; margin: auto;
  width: 60%; height: 60%;
}

.pd-info .cat {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
}
.pd-info h1 {
  font-size: clamp(40px, 4.4vw, 60px);
  margin: 16px 0 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.pd-info .pd-lead {
  color: var(--ink-70);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 32px;
}

.pd-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 32px 0;
}
.pd-highlight {
  background: var(--ivory);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.pd-highlight .v {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pd-highlight .l {
  font-size: 11px;
  color: var(--ink-70);
  margin-top: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.pd-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.pd-specs {
  margin-top: 56px;
}
.pd-specs h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.pd-specs table {
  width: 100%;
  border-collapse: collapse;
}
.pd-specs td {
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-08);
  font-size: 14px;
  color: var(--ink-70);
}
.pd-specs td:first-child { font-weight: 500; color: var(--ink); width: 40%; }
.pd-specs td:last-child { text-align: right; font-family: var(--font-display); color: var(--ink); font-weight: 500; letter-spacing: -0.005em; }

/* -------------------- Contact page -------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 14px;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-md);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: center;
}
.contact-info-card .ico {
  width: 44px; height: 44px;
  background: var(--ink);
  color: var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-info-card .lbl {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.contact-info-card .val {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-xl);
  padding: 48px;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.contact-form p {
  color: var(--ink-70);
  font-size: 15px;
  margin: 0 0 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row.single { grid-template-columns: 1fr; }
.field label {
  display: block;
  font-size: 12px;
  color: var(--ink-70);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.field label .req { color: var(--gold); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--ivory);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-body);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-40); }
.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag-chip {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-70);
  background: var(--ivory);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  cursor: pointer;
  transition: all 180ms ease;
  line-height: 1;
}
.tag-chip:hover, .tag-chip.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}
.form-note { font-size: 13px; color: var(--ink-55); }

/* -------------------- Map block -------------------- */
.map-block {
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: 56px;
  background: var(--ink);
  position: relative;
  aspect-ratio: 21 / 9;
}
.map-block .map-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 60%, rgba(191,170,130,0.2) 0%, transparent 30%),
    var(--ink);
  background-size: cover;
  opacity: 0.95;
}
.map-block .map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.18;
}
.map-block .pin {
  position: absolute;
  top: 45%;
  left: 56%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.map-block .pin .label {
  background: var(--ivory);
  color: var(--ink);
  border-radius: var(--r-md);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.map-block .pin .dot {
  width: 14px; height: 14px;
  background: var(--gold);
  border: 3px solid var(--ivory);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(191, 170, 130, 0.18);
  animation: pulse-pin 2s ease-in-out infinite;
}
@keyframes pulse-pin {
  0%, 100% { box-shadow: 0 0 0 8px rgba(191, 170, 130, 0.18); }
  50% { box-shadow: 0 0 0 14px rgba(191, 170, 130, 0.08); }
}

/* Live Google Maps embed */
.map-block--live {
  aspect-ratio: 21 / 9;
  border: 1px solid var(--ink-12);
}
.map-block--live iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.92);
  pointer-events: none;
}
.map-block--live .map-open {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(20, 28, 30, 0.2);
  transition: background 200ms ease, transform 200ms ease;
  z-index: 2;
}
.map-block--live .map-open:hover { background: #1c282b; transform: translateY(-1px); }
[dir="rtl"] .map-block--live .map-open { right: auto; left: 16px; }
@media (max-width: 720px) {
  .map-block--live { aspect-ratio: 4 / 3; }
}

/* -------------------- Inline tile CTA -------------------- */
.tile-cta {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-2xl);
  padding: 80px 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.tile-cta h2 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.tile-cta h2 .italic { color: var(--gold); }
.tile-cta p {
  color: var(--white-70);
  margin: 18px 0 0;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.6;
}
.tile-cta .actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* -------------------- Brand Partners (products + home) -------------------- */
.partners-section { background: var(--ivory); }
.partner-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 56px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-2xl);
  padding: 48px;
  margin-bottom: 56px;
}
.partner-feature-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ink);
}
.partner-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.partner-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(46, 66, 70, 0.92);
  color: var(--gold);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.partner-feature-body h3 .italic { color: var(--gold); }
.partner-feature-body .lead { margin-top: 18px; }
.partner-bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: grid;
  gap: 14px;
}
.partner-bullets li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink-08);
}
.partner-bullets li:last-child { border-bottom: none; }
.partner-bullets .num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
}
.partner-bullets strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.partner-bullets span > span {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.55;
}
.partner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
[dir="rtl"] .partner-bullets .num { text-align: right; }
[dir="rtl"] .partner-badge { left: auto; right: 18px; }

.partner-strip,
.partner-strip-home {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.partner-chip {
  background: var(--white);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 200ms ease, transform 200ms ease;
}
.partner-chip:hover { border-color: var(--gold-30); transform: translateY(-2px); }
.partner-chip span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.partner-chip small {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-55);
  font-weight: 600;
}
.partner-chip.is-featured {
  background: var(--ink);
  border-color: var(--ink);
}
.partner-chip.is-featured span { color: var(--white); }
.partner-chip.is-featured small { color: var(--gold); }

.partners-preview { padding: var(--pad-section) 0; background: var(--ivory); }
.partner-cta { margin-top: 36px; }

/* -------------------- Responsive -------------------- */
@media (max-width: 1100px) {
  .partner-strip, .partner-strip-home { grid-template-columns: repeat(3, 1fr); }
  .partner-feature { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .partner-feature-media { aspect-ratio: 16/10; }
  .story-split { grid-template-columns: 1fr; gap: 48px; }
  .story-visual { position: relative; top: auto; aspect-ratio: 16/10; }
  .values-grid { grid-template-columns: 1fr; }
  .svc-detail { grid-template-columns: 1fr; gap: 48px; }
  .svc-detail-card { position: relative; top: auto; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--ink-12); }
  .process-step:nth-child(odd) { border-right: 1px solid var(--ink-12); }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: relative; top: auto; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; gap: 48px; }
  .pd-gallery { position: relative; top: auto; }
  .pd-main-img { aspect-ratio: 4/3; }
  .contact-layout { grid-template-columns: 1fr; }
  .tile-cta { grid-template-columns: 1fr; padding: 48px 36px; }
  .tile-cta .actions { justify-content: flex-start; }
}
@media (max-width: 880px) {
  .partner-strip, .partner-strip-home { grid-template-columns: repeat(2, 1fr); }
  .partner-feature { padding: 24px; }
  /* Catalog mobile: 2-col cards + condensed sidebar */
  .catalog-layout { gap: 24px; }
  /* Products first, filters/search below on mobile */
  .catalog-layout > .catalog-sidebar { order: 2; }
  .catalog-layout > div { order: 1; }
  /* Line switcher: full-width, prominent, sticky under the nav */
  .cat-toggle { display: flex; width: 100%; margin-bottom: 18px; }
  .cat-toggle-btn { flex: 1; text-align: center; padding: 11px 12px; }
  .catalog-sidebar { background: var(--white); border: 1px solid var(--ink-08); border-radius: var(--r-lg); padding: 18px 18px 4px; margin-bottom: 8px; }
  .catalog-sidebar .filter-group { border-bottom: 1px solid var(--ink-08) !important; padding-bottom: 16px !important; margin-bottom: 14px; }
  .catalog-sidebar .filter-group:last-of-type { border-bottom: none !important; padding-bottom: 0 !important; margin-bottom: 0; }
  .catalog-sidebar .filter-group h5 { cursor: pointer; display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 8px 0; user-select: none; }
  .catalog-sidebar .filter-group h5::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--ink-55); transition: transform 200ms ease; }
  .catalog-sidebar .filter-group.is-open h5::after { content: "−"; }
  .catalog-sidebar .filter-group label { display: none; }
  .catalog-sidebar .filter-group.is-open label { display: flex; }
  .catalog-toolbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .catalog-section { margin-top: 28px; padding-top: 0; }
  .catalog-section-title { font-size: 18px; margin-bottom: 16px; }
  .product-card .body { padding: 18px 18px 20px; }
  .product-card h4 { font-size: 17px; }
  .product-card .spec { font-size: 12px; }
  .product-card--photo .product-img--photo { aspect-ratio: 16 / 11; }
  .pd-two-col { gap: 36px; }
}
@media (max-width: 600px) {
  .partner-strip, .partner-strip-home { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step:nth-child(odd) { border-right: none; }
  .catalog-grid { grid-template-columns: 1fr; gap: 14px; }
  .catalog-section-title { font-size: 17px; }
  .catalog-section-title .count-pill { margin-left: 8px; }
  .contact-form { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .pd-highlights { grid-template-columns: 1fr; }
  .pd-model { font-size: 12px; padding: 12px 14px; }
  .pd-model-chip { font-size: 11.5px; padding: 6px 11px; }
  .pd-feature-list li { font-size: 14px; }
  .map-block--live { aspect-ratio: 4 / 5; }
  .map-block--live .map-open { top: 12px; right: 12px; padding: 8px 12px; font-size: 12px; }
}

/* ============ PRODUCT CATEGORY CHOOSER ============ */
#group-chooser { padding-top: 8px; }
.group-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) { .group-cards { grid-template-columns: 1fr; } }
.group-card {
  text-align: left;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-xl);
  padding: 34px 32px 30px;
  font-family: inherit;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.group-card:hover {
  border-color: var(--gold-30);
  box-shadow: 0 18px 44px rgba(20, 28, 30, 0.10);
  transform: translateY(-2px);
}
.group-card.is-active {
  border-color: var(--gold);
  box-shadow: 0 18px 44px rgba(20, 28, 30, 0.12);
}
.group-card .gc-num { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); }
.group-card h3 { font-family: var(--font-display); font-size: 25px; line-height: 1.15; margin: 6px 0 2px; letter-spacing: -0.01em; }
.group-card .gc-sub { text-transform: uppercase; letter-spacing: 0.1em; font-size: 11.5px; font-weight: 600; color: var(--ink-55); }
.group-card p { font-size: 15px; color: var(--ink-70); line-height: 1.6; margin: 12px 0 10px; }
.group-card .gc-link { font-size: 14px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; margin-top: auto; }
.group-card .gc-arrow { display: inline-flex; transition: transform 180ms ease; }
.group-card:hover .gc-link, .group-card.is-active .gc-link { color: var(--gold); }
.group-card:hover .gc-arrow { transform: translate(3px, -3px); }

/* ============ PRODUCTS SPLIT HERO ============ */
.split-hero { display: flex; min-height: 86vh; }
@media (max-width: 820px) { .split-hero { flex-direction: column; min-height: 0; } }
.split-panel {
  position: relative;
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  padding: 120px clamp(28px, 5vw, 88px) 80px;
  cursor: pointer;
  overflow: hidden;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  min-height: 62vh;
  transition: flex-grow 500ms cubic-bezier(.4,0,.2,1);
}
@media (max-width: 820px) { .split-panel { min-height: 44vh; padding: 88px 26px 52px; } }
@media (max-width: 820px) { .split-panel h2 { font-size: clamp(26px, 7vw, 34px); } .split-panel p { font-size: 15px; margin: 16px 0 24px; } }
.split-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,26,28,0.42) 0%, rgba(18,26,28,0.82) 100%);
  transition: filter 400ms ease;
}
.split-panel--dark::before { background: linear-gradient(180deg, rgba(12,16,18,0.52) 0%, rgba(12,16,18,0.86) 100%); }
@media (min-width: 821px) and (hover: hover) {
  .split-hero:hover .split-panel { flex-grow: 0.82; }
  .split-hero .split-panel:hover { flex-grow: 1.35; }
  .split-panel:hover::before { filter: brightness(1.12); }
}
.split-panel.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--gold);
}
.split-inner { position: relative; z-index: 1; max-width: 480px; color: var(--white); }
.split-eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 700; color: var(--gold); margin-bottom: 18px; }
.split-panel h2 { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.02em; color: var(--white); margin: 0; }
.split-panel p { color: rgba(255,255,255,0.84); font-size: 16px; line-height: 1.62; margin: 20px 0 30px; }
.split-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--ink); border: none;
  border-radius: var(--r-pill); padding: 14px 26px;
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}
.split-cta:hover { background: var(--gold); transform: translateY(-2px); }
.split-cta .btn-arrow { display: inline-flex; transition: transform 160ms ease; }
.split-cta:hover .btn-arrow { transform: translateX(3px); }

/* Catalog line toggle */
.cat-toggle { display: inline-flex; gap: 4px; background: var(--ink-08); padding: 5px; border-radius: var(--r-pill); margin-bottom: 26px; }
.cat-toggle-btn {
  border: none; background: transparent; padding: 9px 20px; border-radius: var(--r-pill);
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--ink-70); cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.cat-toggle-btn.is-active { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(20,28,30,0.10); }
