/* 2026-09 visual refinements shared across all pages */

/* Make the centered desktop brand clearly visible despite the source image's
   transparent vertical margins. Mobile keeps its compact header proportions. */
@media (min-width: 701px) {
  .site-header { height: 98px; }
  .site-header .logo,
  .detail-page .site-header .logo,
  .regional-page .site-header .logo,
  .custom-machine-page .site-header .logo {
    width: 330px;
    height: 92px;
    overflow: visible;
  }
  .site-header .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none;
    transform-origin: center;
  }
}

/* Give the activity label its own high-contrast visual position. */
.services-head > div > .eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  padding: 10px 16px 11px;
  border-left: 6px solid var(--green-bright);
  background: #080d0a;
  color: var(--white);
  font: 600 clamp(2.35rem, 4.6vw, 5.2rem)/1 Oswald, sans-serif;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

/* All Termoblok choices have equal visual weight. */
.model-grid .model,
.model-grid .model.active {
  border: 2px solid var(--green);
  box-shadow: inset 0 0 0 1px rgba(120, 219, 80, .12);
}

/* Hero product link on the stove visual. The existing relative visual column
   remains in normal layout so it never overlaps the hero copy. */
.hero-product-link {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 42px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--green-bright);
  background: rgba(9, 13, 11, .56);
  color: var(--white);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-product-link:hover { background: var(--green); color: #0d150a; }

/* Prevent punctuation and Turkish letter dots from colliding in the machine title. */
.machine-copy h1 {
  line-height: 1.08;
  letter-spacing: -.018em;
}
.machine-copy h1 em { display: inline-block; padding-right: .08em; }

/* One contact/footer system for every page. */
footer.site-footer,
.detail-page footer.site-footer,
.regional-page footer.site-footer,
.custom-machine-page footer.site-footer {
  display: grid;
  grid-template-columns: minmax(210px, .82fr) 1fr 1.25fr auto;
  align-items: center;
  gap: clamp(28px, 4vw, 62px);
  padding: 46px clamp(22px, 4vw, 68px);
  background: #090d0b;
  color: #8f9a93;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 240px;
  color: var(--white);
}
.footer-brand-mark {
  display: flex;
  width: 76px;
  height: 104px;
  align-items: center;
  justify-content: center;
}
.footer-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  background: transparent;
}
.footer-brand-name {
  display: flex;
  gap: .22em;
  font: 600 1.72rem/1 Oswald, sans-serif;
  letter-spacing: .015em;
}
.footer-brand-name .brand-green { color: var(--green-bright); }
.site-footer .footer-brand-wordmark {
  display: block;
  width: 240px;
  height: auto;
  max-width: 100%;
  margin-top: 4px;
  padding: 0;
  background: transparent;
  object-fit: contain;
  transform: none;
}
.footer-brand-subtitle {
  margin-top: 8px;
  font: 600 .76rem/1 Manrope, sans-serif;
  letter-spacing: .19em;
  color: #cbd4ce;
}
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-contact strong {
  margin-bottom: 6px;
  color: var(--white);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-contact span { color: #8f9a93; }
.footer-map-link {
  margin-top: 7px;
  color: var(--green-bright);
  font-weight: 800;
}
.footer-map-link:hover { text-decoration: underline; }
.footer-end { text-align: right; }

@media (max-width: 960px) {
  footer.site-footer,
  .detail-page footer.site-footer,
  .regional-page footer.site-footer,
  .custom-machine-page footer.site-footer {
    grid-template-columns: 220px 1fr;
  }
  .footer-end { text-align: left; }
}

@media (max-width: 700px) {
  .site-header .logo img { transform: none; }
  .services-head > div > .eyebrow {
    font-size: 2.25rem;
    padding: 9px 13px 10px;
  }
  .hero-product-link {
    left: 50%;
    right: auto;
    bottom: 20px;
    min-height: 38px;
    padding: 8px 13px;
    font-size: .64rem;
  }
  .machine-copy h1 { line-height: 1.13; letter-spacing: -.01em; }
  footer.site-footer,
  .detail-page footer.site-footer,
  .regional-page footer.site-footer,
  .custom-machine-page footer.site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .footer-brand { align-items: flex-start; }
}
