/* silktechmaterials.ge — Blocksy site-kit (single CSS file) */

.stm-content {
  --stm-accent: #e85a24;
  --stm-accent-dark: #cf4f1f;
  --stm-dark: #1c1c1c;
  --stm-muted-bg: #f3f4f6;
  --stm-text: #222;
  --stm-muted: #666;
  --stm-border: #e5e7eb;
  color: var(--stm-text);
  line-height: 1.6;
  font-size: 15px;
}

.stm-content *, .stm-content *::before, .stm-content *::after { box-sizing: border-box; }
.stm-content img { max-width: 100%; height: auto; display: block; }
.stm-content a { color: inherit; text-decoration: none; }

.stm-content :is([class*="__icon"], [class*="__badge"], .stm-btn--catalog) > svg {
  display: block;
}

.stm-wrap { width: min(1180px, 94%); margin: 0 auto; }

.stm-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--stm-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stm-title {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--stm-dark);
}

.stm-title--sm { font-size: clamp(18px, 2vw, 22px); margin-bottom: 10px; }

.stm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.stm-btn__icon { width: 16px; height: 16px; flex-shrink: 0; }
.stm-btn--primary { background: var(--stm-accent); color: #fff; border-color: var(--stm-accent); }
.stm-btn--primary:hover { background: var(--stm-accent-dark); border-color: var(--stm-accent-dark); }
.stm-btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.stm-btn--outline-white:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.85); }
.stm-btn--outline { background: transparent; color: var(--stm-accent); border-color: var(--stm-accent); padding: 10px 22px; }
.stm-btn--outline:hover { background: rgba(232,90,36,.08); }

.stm-area-page .stm-btn--catalog {
  color: #fff;
  border-color: var(--stm-accent);
  background: transparent;
}

.stm-area-page .stm-btn--catalog:hover {
  background: rgba(232,90,36,.12);
  color: #fff;
}
.stm-btn--lg { padding: 14px 26px; font-size: 14px; }

.stm-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--stm-accent);
  font-size: 13px;
  font-weight: 600;
}
.stm-link-arrow::after { content: "→"; }

/* Blocksy full-bleed + hide duplicate page title on home */
.home .hero-section,
.home .entry-header,
.page-id-11 .hero-section,
.page-id-11 .entry-header { display: none !important; }

.home,
.page-id-11 { background: #0a0a0a; }

.entry-content > .stm-content,
[data-prefix="single_page"] .entry-content > .stm-content,
[data-prefix="blog"] .entry-content > .stm-content {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.ct-container-full[data-content] > .entry-content.is-layout-constrained,
.ct-container-full[data-content] > .entry-content {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ===== HOME — dark industrial theme ===== */
.stm-home {
  --stm-bg: #0a0a0a;
  --stm-surface: #141414;
  --stm-surface-2: #1a1a1a;
  --stm-dark: #fff;
  --stm-text: #e8e8e8;
  --stm-muted: #9a9a9a;
  --stm-border: rgba(255,255,255,.08);
  background: var(--stm-bg);
  color: var(--stm-text);
}

/* ===== HERO ===== */
.stm-home .stm-hero {
  position: relative;
  min-height: clamp(520px, 72vh, 680px);
  display: flex;
  align-items: stretch;
  color: #fff;
}

.stm-hero__bg { position: absolute; inset: 0; }
.stm-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.stm-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.35) 100%);
}

.stm-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-height: inherit;
  padding: 88px 0 0;
}

.stm-hero__content { padding-bottom: 32px; }

.stm-hero__title {
  margin: 0 0 18px;
  max-width: 720px;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  color: #fff;
}

.stm-hero__title span { color: var(--stm-accent); }

.stm-hero__text {
  margin: 0 0 28px;
  max-width: 560px;
  color: rgba(255,255,255,.88);
  font-size: 15px;
  line-height: 1.65;
}

.stm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.stm-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
}

.stm-home .stm-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.stm-home .stm-stat:last-child { border-right: 0; }

.stm-stat__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  color: var(--stm-accent);
}

.stm-stat__icon svg { width: 100%; height: 100%; }

.stm-home .stm-stat p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  line-height: 1.4;
}

.stm-home .stm-stat strong {
  display: block;
  font-size: 22px;
  color: #fff;
  font-weight: 700;
}

/* ===== ABOUT ===== */
.stm-home .stm-about-split {
  padding: 72px 0;
  background: var(--stm-bg);
}

.stm-home .stm-about-split__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 220px;
  gap: 36px;
  align-items: start;
}

.stm-home .stm-about-split__text p {
  margin: 0 0 14px;
  color: var(--stm-muted);
  font-size: 14px;
  line-height: 1.65;
}

.stm-home .stm-about-split__adv { padding-top: 28px; }

.stm-home .stm-about-split__photo {
  margin: 0;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
  border-radius: 2px;
}

.stm-home .stm-about-split__photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.stm-home .stm-checklist { margin: 0; padding: 0; list-style: none; }

.stm-home .stm-checklist li {
  position: relative;
  padding: 7px 0 7px 28px;
  font-size: 13px;
  color: var(--stm-text);
  line-height: 1.45;
}

.stm-home .stm-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 14px;
  background: var(--stm-accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== SECTIONS ===== */
.stm-home .stm-section {
  padding: 72px 0;
  background: var(--stm-bg);
}

.stm-home .stm-section--alt { background: var(--stm-surface); }

.stm-section-head { margin-bottom: 32px; }
.stm-section-head--center { text-align: center; }
.stm-section-foot { margin: 32px 0 0; text-align: right; }

/* ===== SERVICES ===== */
.stm-grid { display: grid; gap: 16px; }
.stm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stm-grid--6 { grid-template-columns: repeat(6, 1fr); }

.stm-home .stm-service {
  display: block;
  padding: 28px 20px;
  background: var(--stm-surface-2);
  border: 1px solid var(--stm-border);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.stm-home .stm-service:hover {
  border-color: rgba(232,90,36,.45);
  transform: translateY(-2px);
}

.stm-service__icon {
  display: flex;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--stm-accent);
}

.stm-service__icon svg { width: 100%; height: 100%; }

.stm-home .stm-service h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.stm-home .stm-service p {
  margin: 0;
  font-size: 12px;
  color: var(--stm-muted);
  line-height: 1.55;
}

/* ===== PROJECTS ===== */
.stm-home .stm-project {
  display: block;
  background: var(--stm-surface-2);
  border: 1px solid var(--stm-border);
  overflow: hidden;
  transition: border-color 0.2s;
}

.stm-home .stm-project:hover { border-color: rgba(232,90,36,.4); }

.stm-project img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.stm-home .stm-project h3 {
  margin: 14px 12px 6px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.stm-home .stm-project p {
  margin: 0 12px 16px;
  font-size: 11px;
  color: var(--stm-muted);
  line-height: 1.5;
}

/* ===== PROCESS ===== */
.stm-process {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stm-process li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 6px;
}

.stm-process li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -6px;
  top: 42px;
  color: var(--stm-accent);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.stm-process__icon {
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  color: var(--stm-accent);
}

.stm-process__icon svg { width: 100%; height: 100%; }

.stm-process__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--stm-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.stm-home .stm-process__label {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--stm-text);
}

/* ===== GEO + PARTNERS ===== */
.stm-geo-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.stm-geo-center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.stm-home .stm-geo-center p {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--stm-muted);
  line-height: 1.6;
}

.stm-map { margin-top: 14px; }

.stm-map img,
.stm-map svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.stm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--stm-muted);
}

.stm-legend--center { justify-content: center; }

.stm-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--stm-accent);
  vertical-align: middle;
}

.stm-partners-block { width: 100%; }

.stm-partners-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.stm-partners-head__title {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stm-dark);
}

.stm-home .stm-partners-head .stm-link-arrow {
  font-size: 12px;
  font-weight: 600;
  color: var(--stm-accent);
}

.stm-home .stm-partners-head .stm-link-arrow:hover { color: #fff; }

.stm-partner-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.stm-partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 148px;
  padding: 14px 14px 12px;
  background: var(--stm-surface-2);
  border: 1px solid var(--stm-border);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.stm-partner-card:hover {
  border-color: rgba(232, 90, 36, 0.55);
  box-shadow: 0 0 0 1px rgba(232, 90, 36, 0.15);
}

.stm-partner-card__top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.stm-partner-card__logo {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  overflow: hidden;
}

.stm-partner-card__logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.stm-partner-card__top h3 {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--stm-dark);
}

.stm-partner-card__desc {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  color: var(--stm-muted);
}

.stm-partner-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.stm-partner-card__loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--stm-muted);
}

.stm-partner-card__loc svg {
  width: 12px;
  height: 12px;
  color: var(--stm-accent);
}

.stm-partner-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--stm-accent);
  color: #fff;
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 0.2s, transform 0.2s;
}

.stm-partner-card__arrow svg {
  width: 14px;
  height: 14px;
}

.stm-partner-card:hover .stm-partner-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.stm-partners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stm-home .stm-partners span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid var(--stm-border);
  background: var(--stm-surface-2);
  font-size: 9px;
  font-weight: 700;
  color: #777;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: center;
  line-height: 1.3;
}

.stm-partners__more { color: var(--stm-muted) !important; font-size: 10px !important; }

/* ===== CTA BANNER ===== */
.stm-cta-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.stm-cta-banner__bg { position: absolute; inset: 0; }

.stm-cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stm-cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.65) 50%, rgba(232,90,36,.35) 100%);
}

.stm-cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 220px;
  padding: 48px 0;
}

.stm-cta-banner__text h2 {
  margin: 0 0 10px;
  max-width: 560px;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.3;
  font-weight: 700;
}

.stm-cta-banner__text p {
  margin: 0;
  max-width: 520px;
  font-size: 14px;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
}

/* ===== INNER PAGES (dark theme) ===== */
body:has(.stm-page),
body:has(.stm-home) { background: #0a0a0a; }

body:has(.stm-content) .entry-header,
body:has(.stm-content) .hero-section { display: none !important; }

.stm-page {
  --stm-bg: #0a0a0a;
  --stm-surface: #141414;
  --stm-surface-2: #1a1a1a;
  --stm-dark: #fff;
  --stm-text: #e8e8e8;
  --stm-muted: #9a9a9a;
  --stm-border: rgba(255,255,255,.08);
  background: var(--stm-bg);
  color: var(--stm-text);
}

.stm-page-hero {
  padding: 64px 0 48px;
  background: linear-gradient(135deg, #111 0%, #1a120e 55%, #0a0a0a 100%);
  border-bottom: 1px solid var(--stm-border);
}

.stm-page-hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.stm-page-hero__lead {
  margin: 0;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.78);
}

.stm-page-main { padding: 48px 0 64px; }

.stm-page .stm-block { margin-bottom: 48px; }
.stm-page .stm-block:last-child { margin-bottom: 0; }

.stm-prose p {
  margin: 0 0 14px;
  color: var(--stm-muted);
  font-size: 15px;
  line-height: 1.65;
}

.stm-prose p:last-child { margin-bottom: 0; }

.stm-page .stm-title { color: #fff; margin-bottom: 18px; }

.stm-title--center { text-align: center; margin-bottom: 32px; }

.stm-cards .stm-card {
  display: block;
  padding: 22px 18px;
  background: var(--stm-surface-2);
  border: 1px solid var(--stm-border);
  transition: border-color 0.2s, transform 0.2s;
}

.stm-cards a.stm-card:hover {
  border-color: rgba(232,90,36,.45);
  transform: translateY(-2px);
}

.stm-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 14px;
  border-radius: 2px;
}

.stm-card__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.stm-card__text {
  margin: 0;
  font-size: 13px;
  color: var(--stm-muted);
  line-height: 1.55;
}

.stm-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.stm-items li {
  padding: 16px 18px;
  background: var(--stm-surface-2);
  border: 1px solid var(--stm-border);
}

.stm-items strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 14px;
}

.stm-items span {
  display: block;
  color: var(--stm-muted);
  font-size: 13px;
  line-height: 1.55;
}

.stm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stm-tags li {
  padding: 8px 14px;
  border: 1px solid var(--stm-border);
  background: var(--stm-surface-2);
  font-size: 12px;
  font-weight: 600;
  color: var(--stm-text);
}

.stm-values .stm-value {
  padding: 22px 18px;
  background: var(--stm-surface-2);
  border: 1px solid var(--stm-border);
}

.stm-value h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--stm-accent);
}

.stm-value p {
  margin: 0;
  font-size: 13px;
  color: var(--stm-muted);
  line-height: 1.55;
}

.stm-spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stm-spec-list li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--stm-border);
  font-size: 14px;
  color: var(--stm-text);
}

.stm-spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stm-accent);
}

.stm-spec-list li:last-child { border-bottom: 0; }

.stm-project-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.stm-project-layout__photo {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--stm-border);
}

.stm-project-layout__photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.stm-project-meta {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--stm-surface-2);
  border: 1px solid var(--stm-border);
  font-size: 14px;
  color: var(--stm-muted);
}

.stm-project-meta strong { color: #fff; }

.stm-page-cta {
  border-top: 1px solid var(--stm-border);
  background: var(--stm-surface);
}

.stm-page-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 0;
}

.stm-page-cta__text h2 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 24px);
  color: #fff;
}

.stm-page-cta__text p {
  margin: 0;
  max-width: 560px;
  font-size: 14px;
  color: var(--stm-muted);
  line-height: 1.55;
}

.stm-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.stm-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stm-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stm-form__field--full { grid-column: 1 / -1; }

.stm-form__field span {
  font-size: 12px;
  font-weight: 600;
  color: var(--stm-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.stm-form input,
.stm-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--stm-border);
  border-radius: 3px;
  background: var(--stm-surface-2);
  color: #fff;
  font: inherit;
}

.stm-form input:focus,
.stm-form textarea:focus {
  outline: none;
  border-color: rgba(232,90,36,.55);
}

.stm-form button { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }

.stm-contact-grid__info {
  padding: 24px;
  background: var(--stm-surface-2);
  border: 1px solid var(--stm-border);
}

.stm-contact-email {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
}

.stm-contact-email a { color: var(--stm-accent); }

.stm-contact-note {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--stm-muted);
  line-height: 1.6;
}

/* ===== AREA PAGE (direction mockup) ===== */
.stm-area-page {
  --stm-bg: #0a0a0a;
  --stm-surface: #141414;
  --stm-surface-2: #1a1a1a;
  --stm-dark: #fff;
  --stm-text: #e8e8e8;
  --stm-muted: #9a9a9a;
  --stm-border: rgba(255,255,255,.08);
  background: var(--stm-bg);
  color: var(--stm-text);
}

.stm-area-page h1,
.stm-area-page h2,
.stm-area-page h3,
.stm-area-page .stm-area-hero__title {
  color: inherit;
}

.stm-area-hero {
  position: relative;
  min-height: clamp(520px, 68vh, 640px);
  color: #fff;
}

.stm-area-hero__bg { position: absolute; inset: 0; overflow: hidden; }

.stm-area-hero__bg img,
.stm-area-hero__bg .stm-img-ph {
  width: 100%;
  height: 100% !important;
  min-height: 100%;
  object-fit: cover;
}

.entry-content .stm-area-page .stm-area-hero__title,
[data-prefix="single_page"] .entry-content .stm-area-hero__title {
  color: #fff !important;
}

.stm-area-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.35) 100%);
}

.stm-area-hero__shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(520px, 68vh, 640px);
}

.stm-area-hero__intro {
  padding: clamp(72px, 10vw, 110px) 0 32px;
}

.stm-area-page .stm-area-hero__title {
  margin: 0 0 18px;
  max-width: 780px;
  font-size: clamp(32px, 4.8vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff !important;
}

.stm-area-hero__lead {
  margin: 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
}

.stm-area-hero__bar {
  width: 100%;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.1);
}

.stm-area-hero__bar .stm-wrap { padding: 22px 0 26px; }

.stm-area-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0;
  border: 0;
}

.stm-area-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stm-area-feature__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 40px;
  height: 40px;
  color: var(--stm-accent);
}

.stm-area-feature__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--stm-accent);
  fill: none;
}

.stm-area-feature h3 {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
}

.stm-area-feature p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,.7);
}

.stm-img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: rgba(255,255,255,.25);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.stm-area-hero__bg .stm-img-ph { min-height: 100%; }

.stm-area-cat__img,
.stm-area-cat .stm-img-ph {
  width: 100%;
  aspect-ratio: 16/10;
}

.stm-area-catalog {
  padding: 56px 0 64px;
  background: var(--stm-bg);
}

.stm-area-catalog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.stm-area-catalog__head .stm-title {
  margin: 0;
  color: #fff !important;
}

.stm-area-page .stm-link-arrow {
  color: #fff;
  font-weight: 600;
}

.stm-area-page .stm-link-arrow:hover { color: var(--stm-accent); }

.stm-btn--catalog {
  gap: 8px;
  padding: 10px 18px;
  white-space: nowrap;
}

.stm-btn--catalog svg { width: 16px; height: 16px; flex-shrink: 0; }

.stm-area-cat {
  display: flex;
  flex-direction: column;
  background: #121212;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  transition: border-color 0.2s;
}

.stm-area-cat:hover { border-color: rgba(232,90,36,.35); }

.stm-area-cat__img { display: block; object-fit: cover; }

.stm-area-cat__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 20px 20px;
}

.stm-area-cat__body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.stm-area-cat__body > p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--stm-muted);
}

.stm-area-cat__list { margin-bottom: 18px; }

.stm-area-cat .stm-link-arrow { margin-top: auto; }

.stm-area-intro {
  padding: 40px 0 8px;
  background: var(--stm-bg);
}

.stm-area-intro .stm-prose {
  max-width: 820px;
}

.stm-area-intro .stm-prose p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--stm-muted);
}

.stm-area-catalog .stm-prose {
  max-width: 820px;
  margin-bottom: 28px;
}

.stm-area-catalog .stm-prose p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--stm-muted);
}

.stm-area-band {
  padding: 48px 0;
  background: var(--stm-bg);
}

.stm-area-band--alt { background: var(--stm-surface); }

.stm-area-band--stats-head {
  padding-bottom: 24px;
}

.stm-area-band--stats-head .stm-prose {
  max-width: 820px;
  margin-top: 12px;
}

.stm-area-band--stats-head .stm-prose p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--stm-muted);
}

.stm-area-page .stm-area-band--stats-head + .stm-log-stats {
  margin-top: 0;
}

.stm-area-process .stm-items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stm-area-process .stm-block .stm-title { margin-bottom: 24px; }

.stm-area-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 0;
}

.stm-area-why .stm-block .stm-title { margin-bottom: 20px; }

.stm-area-page .stm-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stm-area-page .stm-checklist li {
  position: relative;
  padding: 5px 0 5px 24px;
  font-size: 13px;
  color: var(--stm-text);
  line-height: 1.45;
}

.stm-area-page .stm-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 13px;
  height: 13px;
  background: var(--stm-accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.stm-page-cta--area {
  padding: 0 0 56px;
  background: var(--stm-bg);
}

.stm-page-cta--area .stm-page-cta__inner {
  padding: 28px 32px;
  border: 1px solid var(--stm-border);
  background: var(--stm-surface-2);
  border-radius: 2px;
}

.stm-page-cta--area .stm-page-cta__text h2 {
  color: #fff;
  font-size: clamp(17px, 2vw, 22px);
}

.stm-page-cta__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: var(--stm-accent);
}

.stm-page-cta__icon svg { width: 100%; height: 100%; }

.stm-link-arrow--static { cursor: default; }

/* ===== CONTACT PAGE ===== */
.stm-contact-page { background: var(--stm-bg); }

.stm-contact-main {
  padding: 48px 0 56px;
  background: var(--stm-bg);
}

.stm-contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.stm-cform-card {
  padding: 28px 28px 24px;
  background: var(--stm-surface-2);
  border: 1px solid var(--stm-border);
  border-radius: 4px;
}

.stm-cform-card__title {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.stm-cform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.stm-cform__field { display: block; }

.stm-cform__field--full { margin-bottom: 14px; }

.stm-cform__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--stm-muted);
}

.stm-cform__opt { font-weight: 400; opacity: .75; }

.stm-cform__input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: #111;
  border: 1px solid var(--stm-border);
  border-radius: 3px;
  min-height: 46px;
}

.stm-cform__input-wrap svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--stm-muted);
}

.stm-cform__input-wrap--area {
  align-items: flex-start;
  padding-top: 12px;
  min-height: 130px;
}

.stm-cform__input-wrap--area svg { margin-top: 2px; }

.stm-cform input,
.stm-cform textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.stm-cform input::placeholder,
.stm-cform textarea::placeholder { color: rgba(255,255,255,.28); }

.stm-cform textarea { resize: vertical; min-height: 96px; }

.stm-cform__submit {
  width: 100%;
  margin-top: 6px;
  justify-content: center;
}

.stm-cform__submit svg { width: 18px; height: 18px; }

.stm-cform__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--stm-muted);
}

.stm-cform__privacy svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--stm-accent);
}

.stm-contact-side {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stm-border);
  border-radius: 4px;
  min-height: 100%;
}

.stm-contact-side__bg {
  position: absolute;
  inset: 0;
}

.stm-contact-side__bg .stm-img-ph,
.stm-contact-side__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stm-contact-side__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(2px);
}

.stm-contact-side__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px 24px;
}

.stm-contact-side__title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.stm-contact-side__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.stm-contact-side__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.stm-contact-side__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stm-accent);
}

.stm-contact-side__icon svg { width: 22px; height: 22px; }

.stm-contact-side__list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #fff;
}

.stm-contact-side__list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,.72);
}

.stm-contact-side__list a { color: var(--stm-accent); }

.stm-contact-catalog {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(232,90,36,.45);
  border-radius: 3px;
  background: rgba(0,0,0,.35);
}

.stm-contact-catalog__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--stm-accent);
}

.stm-contact-catalog__icon svg { width: 100%; height: 100%; }

.stm-contact-catalog__text {
  flex: 1;
  min-width: 0;
}

.stm-contact-catalog__text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: #fff;
}

.stm-contact-catalog__text p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,.68);
}

.stm-contact-catalog .stm-btn--catalog {
  flex-shrink: 0;
  padding: 9px 14px;
  font-size: 12px;
}

.stm-contact-values {
  padding: 0 0 56px;
  background: var(--stm-bg);
}

.stm-contact-values__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 24px 0 0;
  border-top: 1px solid var(--stm-border);
}

.stm-contact-value {
  text-align: center;
  padding: 8px 10px;
}

.stm-contact-value__icon {
  display: flex;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  color: var(--stm-accent);
}

.stm-contact-value__icon svg { width: 100%; height: 100%; }

.stm-contact-value h3 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.stm-contact-value p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--stm-muted);
}

/* ===== LOGISTICS PAGE ===== */
.stm-logistics-page {
  --stm-bg: #0a0a0a;
  --stm-surface: #111111;
  --stm-surface-2: #1a1a1a;
  --stm-dark: #ffffff;
  --stm-text: #e8e8e8;
  --stm-muted: #9a9a9a;
  --stm-border: rgba(255,255,255,.08);
  background: var(--stm-bg);
  color: var(--stm-text);
}

.stm-logistics-page .stm-title,
.stm-logistics-page h1,
.stm-logistics-page h2,
.stm-logistics-page h3 {
  color: #fff;
}

.stm-logistics-page .stm-title--center::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin: 12px auto 0;
  background: var(--stm-accent);
}

.stm-log-hero .stm-area-hero__shell { min-height: clamp(480px, 62vh, 600px); }

.stm-log-hero .stm-area-hero__intro { padding-bottom: 24px; }

.stm-log-hero .stm-area-hero__bar .stm-wrap { padding-top: 20px; padding-bottom: 20px; }

.stm-log-hero__action { margin: 24px 0 0; }

.stm-log-hero__action { margin: 24px 0 0; }

.stm-log-stats {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  padding-bottom: 8px;
}

.stm-log-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--stm-border);
  background: var(--stm-surface-2);
}

.stm-log-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--stm-border);
}

.stm-log-stat:last-child { border-right: 0; }

.stm-log-stat__icon {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  color: var(--stm-accent);
}

.stm-log-stat__icon svg { width: 100%; height: 100%; }

.stm-log-stat__num {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.stm-log-stat__label {
  margin: 0;
  font-size: 12px;
  color: var(--stm-muted);
  line-height: 1.4;
}

.stm-log-section {
  padding: 56px 0;
  background: var(--stm-bg);
}

.stm-log-section--alt { background: var(--stm-surface); }

.stm-log-services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.stm-log-svc {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--stm-surface-2);
  border: 1px solid var(--stm-border);
  overflow: visible;
}

.stm-log-svc__img {
  position: relative;
}

.stm-log-svc__img .stm-img-ph,
.stm-log-svc__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.stm-log-svc__badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f06a30 0%, #e85a24 55%, #cf4f1f 100%);
  color: #fff;
  box-shadow: 0 0 0 4px var(--stm-surface-2), 0 8px 18px rgba(232, 90, 36, 0.35);
}

.stm-log-svc__badge svg {
  display: block;
  width: 26px;
  height: 26px;
  stroke: #fff;
  color: #fff;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

.stm-log-svc__body {
  flex: 1;
  padding: 38px 14px 18px;
}

.stm-log-svc__body h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.stm-log-svc__body .stm-checklist li {
  font-size: 11px;
  padding: 4px 0 4px 20px;
}

.stm-log-process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.stm-log-process::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  border-top: 2px dotted rgba(232,90,36,.45);
  z-index: 0;
}

.stm-log-process li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 4px;
}

.stm-log-process__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 50%;
  border: 2px solid var(--stm-accent);
  background: var(--stm-surface);
  color: var(--stm-accent);
}

.stm-log-process__icon svg { width: 22px; height: 22px; }

.stm-log-process__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--stm-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.stm-log-process__label {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--stm-text);
}

.stm-log-geo {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.stm-log-geo__text p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--stm-muted);
}

.stm-log-regions {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.stm-log-regions li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--stm-text);
}

.stm-log-regions svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--stm-accent);
}

.stm-log-map img,
.stm-log-map svg { width: 100%; height: auto; border-radius: 4px; display: block; }

.stm-log-why .stm-log-why-item {
  padding: 22px 16px;
  background: var(--stm-surface-2);
  border: 1px solid var(--stm-border);
  text-align: center;
}

.stm-log-why-item__icon {
  display: flex;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  color: var(--stm-accent);
}

.stm-log-why-item__icon svg { width: 100%; height: 100%; }

.stm-log-why-item h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.stm-log-why-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--stm-muted);
}

.stm-log-projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stm-log-project {
  display: flex;
  flex-direction: column;
  background: var(--stm-surface-2);
  border: 1px solid var(--stm-border);
  overflow: hidden;
  transition: border-color 0.2s;
}

.stm-log-project:hover { border-color: rgba(232,90,36,.4); }

.stm-log-project .stm-img-ph,
.stm-log-project img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.stm-log-project h3 {
  margin: 14px 14px 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.stm-log-project p {
  margin: 0 14px 12px;
  flex: 1;
  font-size: 12px;
  line-height: 1.5;
  color: var(--stm-muted);
}

.stm-log-project .stm-link-arrow { margin: 0 14px 16px; }

.stm-log-projects__more { margin: 24px 0 0; text-align: center; }

.stm-log-cta {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.stm-log-cta__bg { position: absolute; inset: 0; }

.stm-log-cta__bg .stm-img-ph,
.stm-log-cta__bg img {
  width: 100%;
  height: 100% !important;
  min-height: 100%;
  object-fit: cover;
}

.stm-log-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 55%, rgba(232,90,36,.25) 100%);
}

.stm-log-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 200px;
  padding: 48px 0;
}

.stm-log-cta__text h2 {
  margin: 0 0 10px;
  max-width: 520px;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}

.stm-log-cta__text p {
  margin: 0;
  max-width: 480px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.8);
}

.stm-logistics-page .stm-checklist li::before { top: 9px; width: 12px; height: 12px; }

/* ===== VISUAL PAGE HERO (hub, projects, partners) ===== */
.stm-page-hero--visual {
  position: relative;
  min-height: clamp(300px, 42vh, 420px);
  padding: 0;
  border-bottom: 0;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.stm-page-hero--visual .stm-page-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.stm-page-hero--visual .stm-page-hero__bg img {
  width: 100%;
  height: 100% !important;
  min-height: 100%;
  object-fit: cover;
}

.stm-page-hero--visual .stm-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.35) 100%);
}

.stm-page-hero--visual .stm-page-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 9vw, 96px) 0 clamp(40px, 6vw, 56px);
}

/* ===== ABOUT PAGE ===== */
.stm-about-page .stm-log-stats { margin-top: -24px; }

.stm-about-intro {
  padding: 56px 0;
  background: var(--stm-bg);
}

.stm-about-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.stm-about-intro__photo {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--stm-border);
}

.stm-about-intro__photo img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.stm-about-band {
  padding: 48px 0;
  background: var(--stm-bg);
}

.stm-about-band--alt { background: var(--stm-surface); }

.stm-about-page .stm-log-process {
  grid-template-columns: repeat(5, 1fr);
}

.stm-about-page .stm-tags li {
  border-color: rgba(232,90,36,.25);
  color: #fff;
}

/* ===== HUB PAGE ===== */
.stm-hub-page .stm-page-main { padding-top: 56px; }

.stm-hub-page .stm-cards a.stm-card {
  padding: 0;
  overflow: hidden;
}

.stm-hub-page .stm-card__img {
  margin-bottom: 0;
  border-radius: 0;
  aspect-ratio: 16/9;
}

.stm-hub-page .stm-card__title,
.stm-hub-page .stm-card__text {
  padding-left: 18px;
  padding-right: 18px;
}

.stm-hub-page .stm-card__title { padding-top: 16px; }
.stm-hub-page .stm-card__text { padding-bottom: 18px; }

/* ===== PROJECTS LIST PAGE ===== */
.stm-projects-page .stm-projects-body {
  padding: 56px 0 64px;
  background: var(--stm-bg);
}

.stm-projects-page .stm-prose { margin-bottom: 32px; }

.stm-projects-page .stm-log-projects__grid {
  grid-template-columns: repeat(4, 1fr);
}

/* ===== PARTNERS PAGE ===== */
.stm-partners-page .stm-area-hero__title {
  margin: 0 0 18px;
  max-width: 780px;
  font-size: clamp(32px, 4.8vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff !important;
}

.stm-partners-page .stm-area-hero__title span { color: var(--stm-accent); }

.stm-partners-hero .stm-area-hero__shell {
  min-height: clamp(360px, 48vh, 480px);
}

.stm-partners-page .stm-log-stats { margin-top: -28px; }

.stm-log-stat__label--solo {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--stm-text);
}

.stm-partners-body {
  padding: 56px 0 64px;
  background: var(--stm-bg);
}

.stm-partners-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.stm-partners-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.stm-partners-section-title::before {
  content: "";
  flex: 0 0 28px;
  width: 28px;
  height: 2px;
  background: var(--stm-accent);
}

.stm-partner-cards--page {
  grid-template-columns: repeat(2, 1fr);
}

.stm-partners-more {
  margin: 16px 0 0;
  text-align: center;
}

.stm-partners-more .stm-link-arrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--stm-accent);
}

.stm-partners-geo__text {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--stm-muted);
}

.stm-partners-map {
  overflow: hidden;
  border: 1px solid var(--stm-border);
  border-radius: 4px;
  background: #111;
}

.stm-partners-map img {
  width: 100%;
  height: auto;
  display: block;
}

.stm-partners-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.stm-partners-tabs__btn {
  padding: 8px 14px;
  border: 1px solid var(--stm-border);
  border-radius: 999px;
  background: var(--stm-surface-2);
  color: var(--stm-muted);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: default;
}

.stm-partners-tabs__btn.is-active {
  border-color: var(--stm-accent);
  background: rgba(232, 90, 36, 0.12);
  color: #fff;
}

.stm-partners-cta {
  padding: 0 0 56px;
  background: var(--stm-bg);
}

.stm-partners-cta__inner {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border: 1px solid var(--stm-border);
  border-radius: 12px;
  background: var(--stm-surface-2);
}

.stm-partners-cta__lead {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stm-partners-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(232, 90, 36, 0.15);
  color: var(--stm-accent);
}

.stm-partners-cta__icon svg {
  width: 26px;
  height: 26px;
}

.stm-partners-cta__text h2 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.stm-partners-cta__text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--stm-muted);
}

.stm-partners-cta__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stm-partners-cta__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--stm-muted);
}

.stm-partners-cta__feat-icon {
  flex: 0 0 18px;
  color: var(--stm-accent);
}

.stm-partners-cta__feat-icon svg {
  width: 18px;
  height: 18px;
}

.stm-partners-cta .stm-btn { white-space: nowrap; }

.stm-partners-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stm-partners-wall span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid var(--stm-border);
  background: var(--stm-surface-2);
  font-size: 11px;
  font-weight: 700;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
  line-height: 1.35;
  transition: border-color 0.2s, color 0.2s;
}

.stm-partners-wall span:hover {
  border-color: rgba(232,90,36,.4);
  color: #fff;
}

/* ===== PROJECT DETAIL PAGE ===== */
.stm-project-hero {
  position: relative;
  min-height: clamp(320px, 46vh, 460px);
  color: #fff;
}

.stm-project-hero__bg { position: absolute; inset: 0; overflow: hidden; }

.stm-project-hero__bg img {
  width: 100%;
  height: 100% !important;
  min-height: 100%;
  object-fit: cover;
}

.stm-project-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.82) 100%);
}

.stm-project-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(320px, 46vh, 460px);
  padding: 0 0 40px;
}

.stm-project-hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  color: #fff !important;
}

.stm-project-hero__lead {
  margin: 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
}

.stm-project-detail { padding: 48px 0 64px; }

.stm-project-detail__meta {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin: 24px 0 0;
  padding: 14px 18px;
  border: 1px solid rgba(232,90,36,.35);
  background: rgba(232,90,36,.08);
}

.stm-project-detail__meta span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stm-accent);
}

.stm-project-detail__meta strong {
  font-size: 15px;
  color: #fff;
}

.stm-project-gallery {
  margin: 32px 0 40px;
}

.stm-project-gallery .stm-title {
  margin-bottom: 16px;
}

.stm-carousel {
  position: relative;
  border: 1px solid var(--stm-border);
  background: var(--stm-surface-2);
  border-radius: 4px;
  overflow: hidden;
}

.stm-carousel__viewport {
  overflow: hidden;
}

.stm-carousel__track {
  display: flex;
  transition: transform 0.35s ease;
}

.stm-carousel__slide {
  flex: 0 0 100%;
  margin: 0;
}

.stm-carousel__slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.stm-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s, border-color .2s;
}

.stm-carousel__nav:hover {
  background: rgba(232,90,36,.85);
  border-color: rgba(232,90,36,.85);
}

.stm-carousel__nav svg {
  width: 18px;
  height: 18px;
}

.stm-carousel__nav--prev {
  left: 12px;
  transform: translateY(-50%) rotate(180deg);
}

.stm-carousel__nav--next { right: 12px; }

.stm-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(0,0,0,.35);
}

.stm-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
}

.stm-carousel__dot.is-active { background: var(--stm-accent); }

.stm-carousel--single .stm-carousel__nav,
.stm-carousel--single .stm-carousel__dots { display: none; }

.stm-project-detail__specs {
  margin-top: 36px;
  padding: 24px 22px;
  background: var(--stm-surface-2);
  border: 1px solid var(--stm-border);
}

.stm-project-detail__products {
  margin-top: 36px;
}

.stm-project-detail__products .stm-title {
  margin-bottom: 18px;
}

.stm-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--stm-border);
  background: var(--stm-surface-2);
}

.stm-product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.55;
}

.stm-product-table thead th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--stm-border);
  background: rgba(232, 90, 36, 0.08);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.stm-product-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--stm-border);
  color: var(--stm-text);
  vertical-align: top;
}

.stm-product-table tbody tr:last-child td { border-bottom: 0; }

.stm-product-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.stm-product-table td:first-child {
  font-weight: 600;
  color: #fff;
  min-width: 140px;
}

.stm-project-detail__back { margin: 32px 0 0; }

/* ===== STUB PAGES ===== */
.stm-stub__inner {
  padding: 56px 0 72px;
  text-align: center;
}

.stm-stub__note {
  margin: 0;
  color: var(--stm-muted);
  font-size: 15px;
}

/* Blocksy header accent hint */
:root {
  --theme-button-background-initial-color: #e85a24;
  --theme-button-background-hover-color: #cf4f1f;
}

@media (max-width: 1100px) {
  .stm-grid--6 { grid-template-columns: repeat(3, 1fr); }
  .stm-partner-cards { grid-template-columns: repeat(3, 1fr); }
  .stm-partners-layout { grid-template-columns: 1fr; }
  .stm-partners-cta__inner { grid-template-columns: 1fr; }
  .stm-partners-cta__features { grid-template-columns: repeat(3, 1fr); }
  .stm-home .stm-about-split__grid { grid-template-columns: 1fr 1fr; }
  .stm-home .stm-about-split__photo { grid-column: 1 / -1; min-height: 260px; }
  .stm-home .stm-about-split__photo img { min-height: 260px; }
  .stm-area-features { grid-template-columns: repeat(2, 1fr); }
  .stm-contact-values__grid { grid-template-columns: repeat(3, 1fr); }
  .stm-log-services__grid { grid-template-columns: repeat(3, 1fr); }
  .stm-log-projects__grid { grid-template-columns: repeat(2, 1fr); }
  .stm-log-process { grid-template-columns: repeat(3, 1fr); }
  .stm-log-process::before { display: none; }
}

@media (max-width: 768px) {
  .stm-hero__inner { padding-top: 64px; }
  .stm-hero__stats { grid-template-columns: 1fr; }
  .stm-home .stm-stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stm-home .stm-stat:last-child { border-bottom: 0; }
  .stm-home .stm-about-split__grid { grid-template-columns: 1fr; }
  .stm-home .stm-about-split__adv { padding-top: 0; }
  .stm-grid--3, .stm-grid--6 { grid-template-columns: 1fr; }
  .stm-process { grid-template-columns: repeat(2, 1fr); }
  .stm-process li:not(:last-child)::after { display: none; }
  .stm-bottom__grid { grid-template-columns: 1fr; }
  .stm-partner-cards { grid-template-columns: repeat(2, 1fr); }
  .stm-cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .stm-section-foot { text-align: center; }
  .stm-project-layout { grid-template-columns: 1fr; }
  .stm-contact-grid { grid-template-columns: 1fr; }
  .stm-form { grid-template-columns: 1fr; }
  .stm-page-cta__inner { flex-direction: column; align-items: flex-start; }
  .stm-page-hero { padding: 48px 0 36px; }
  .stm-area-features { grid-template-columns: repeat(2, 1fr); }
  .stm-area-catalog__head { flex-direction: column; align-items: flex-start; }
  .stm-page-cta--area .stm-page-cta__inner { flex-direction: column; align-items: flex-start; }
  .stm-contact-layout { grid-template-columns: 1fr; }
  .stm-cform__row { grid-template-columns: 1fr; }
  .stm-contact-catalog { flex-direction: column; align-items: flex-start; }
  .stm-contact-values__grid { grid-template-columns: repeat(2, 1fr); }
  .stm-log-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stm-about-intro__grid { grid-template-columns: 1fr; }
  .stm-about-intro__photo img { min-height: 280px; }
  .stm-about-page .stm-log-process { grid-template-columns: repeat(2, 1fr); }
  .stm-area-process .stm-items { grid-template-columns: 1fr; }
  .stm-area-checklist { grid-template-columns: 1fr; }
  .stm-projects-page .stm-log-projects__grid { grid-template-columns: 1fr; }
  .stm-partners-layout { grid-template-columns: 1fr; }
  .stm-partner-cards--page { grid-template-columns: 1fr; }
  .stm-partners-cta__inner {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .stm-partners-cta__features { grid-template-columns: 1fr; }
  .stm-product-table thead { display: none; }
  .stm-product-table,
  .stm-product-table tbody,
  .stm-product-table tr,
  .stm-product-table td { display: block; width: 100%; }
  .stm-product-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--stm-border);
  }
  .stm-product-table tr:last-child { border-bottom: 0; }
  .stm-product-table td {
    padding: 0 0 10px;
    border: 0;
  }
  .stm-product-table td:last-child { padding-bottom: 0; }
  .stm-product-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stm-accent);
  }
  .stm-partners-wall { grid-template-columns: 1fr; }
  .stm-log-stat { border-bottom: 1px solid var(--stm-border); }
  .stm-log-stat:nth-child(2n) { border-right: 0; }
  .stm-log-services__grid { grid-template-columns: 1fr; }
  .stm-log-process { grid-template-columns: repeat(2, 1fr); }
  .stm-log-geo { grid-template-columns: 1fr; }
  .stm-log-projects__grid { grid-template-columns: 1fr; }
  .stm-log-cta__inner { flex-direction: column; align-items: flex-start; }
}
