/* ============================================
   METCON inner pages (About, Contact, ...)
   Builds on homepage.css tokens and components
   ============================================ */

/* --- Page hero --- */
.pg-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: var(--ink) center/cover no-repeat;
  overflow: hidden;
}
.pg-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,20,18,0.88) 0%, rgba(20,20,18,0.62) 55%, rgba(20,20,18,0.35) 100%);
}
.pg-hero .mc-container { position: relative; z-index: 2; width: 100%; }
.pg-hero__content { padding: 64px 0 104px; max-width: 720px; }
.pg-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.pg-crumbs a { color: rgba(255,255,255,0.85); text-decoration: none; }
.pg-crumbs a:hover { color: var(--hivis); }
.pg-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 56px;
  line-height: 0.95;
  color: #FFFFFF;
  margin: 0 0 18px;
}
.pg-hero h1 em { font-style: normal; color: var(--hivis); }
.pg-hero__desc { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.88); margin: 0 0 26px; }
.pg-hero .mc-hero__btns { margin-bottom: 0; }

/* --- Two-column text + media --- */
.pg-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pg-split--top { align-items: start; }
.pg-text p { font-size: 16px; line-height: 1.7; color: var(--steel); margin: 0 0 14px; }
.pg-text p strong { color: var(--ink); }
.pg-media { position: relative; }
.pg-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pg-media--wide img { aspect-ratio: 4 / 3; }
.pg-media::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -14px;
  width: 42%;
  height: 42%;
  border-top: 4px solid var(--hivis);
  border-left: 4px solid var(--hivis);
  pointer-events: none;
}
.pg-media__badge {
  position: absolute;
  right: -18px;
  bottom: 32px;
  background: var(--hivis);
  color: #FFFFFF;
  padding: 18px 22px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.25);
}
.pg-media__badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 0.9;
}
.pg-media__badge span {
  display: block;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 5px;
}

/* --- Tick list --- */
.pg-ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 2px; }
.pg-ticks li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid #ECECEA;
}
.pg-ticks li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 16px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--hivis);
  border-bottom: 2.5px solid var(--hivis);
  transform: rotate(-45deg);
}
.mc-section--ink .pg-ticks li { color: #FFFFFF; border-bottom-color: rgba(255,255,255,0.12); }

/* --- Timeline (dark) --- */
.pg-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 48px 0 36px;
}
.pg-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
  background: rgba(255,255,255,0.18);
}
.pg-timeline__item { position: relative; padding-top: 30px; }
.pg-timeline__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--ink);
  border: 2px solid rgba(255,255,255,0.4);
}
.pg-timeline__item--key::before { background: var(--hivis); border-color: var(--hivis); }
.pg-timeline__year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: #FFFFFF;
  line-height: 1;
}
.pg-timeline__item--key .pg-timeline__year { color: var(--hivis); }
.pg-timeline__note { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; padding-right: 12px; }
.pg-lead { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.75); margin: 0; }
.mc-section--ink .mc-section-head p, .mc-section--ink .pg-lead { color: rgba(255,255,255,0.78); }

/* --- Principle / feature cards --- */
.pg-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pg-cards--3 { grid-template-columns: repeat(3, 1fr); }
.pg-card {
  background: #FFFFFF;
  border: 1px solid #E6E6E3;
  border-top: 4px solid var(--ink);
  padding: 26px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.pg-card:hover { border-top-color: var(--hivis); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,0.08); }
.pg-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #FFFFFF;
  margin-bottom: 18px;
  transition: background 0.2s ease;
}
.pg-card:hover .pg-card__icon { background: var(--hivis); }
.pg-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 8px;
  color: var(--ink);
}
.pg-card__desc { font-size: 14.5px; line-height: 1.6; color: var(--steel); margin: 0; flex: 1; }
.pg-card__big {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  margin: 2px 0 10px;
  word-break: break-word;
}
.pg-card .mc-service-card__link { color: var(--ink); margin-top: 18px; }
.pg-card:hover .mc-service-card__link { color: var(--hivis); }

/* --- Gallery + placeholders --- */
.pg-gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 260px; gap: 16px; }
.pg-gallery__item { position: relative; overflow: hidden; background: var(--alt); }
.pg-gallery__item--tall { grid-row: span 2; }
.pg-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pg-gallery__item:hover img { transform: scale(1.04); }
.pg-gallery__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
}
.pg-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed #CFCFCB;
  color: #9A9893;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}

/* --- Regions --- */
.pg-regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pg-region {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #FFFFFF;
  border: 1px solid #E6E6E3;
  padding: 18px;
  transition: border-color 0.2s ease;
}
.pg-region:hover { border-color: var(--hivis); }
.pg-region svg { color: var(--hivis); flex-shrink: 0; margin-top: 2px; }
.pg-region strong {
  display: block;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.25;
}
.pg-region span { display: block; font-size: 13px; color: var(--steel); margin-top: 3px; }
.pg-region--home { border-color: var(--hivis); background: #FFF8F4; }

/* --- Contact hero with form --- */
.ct2-hero { align-items: flex-start; }
.ct2-hero .pg-hero__content { padding: 56px 0 72px; max-width: none; }
.ct2-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: stretch;
}
.ct2-grid > div:first-child { display: flex; flex-direction: column; }
.ct2-grid > div:first-child > .pg-crumbs { margin-bottom: auto; padding-bottom: 20px; }
.ct2-grid > div:first-child > :last-child { margin-bottom: auto; }
.ct2-grid > div:first-child > .mc-hero__label,
.ct2-grid > div:first-child > .ct2-call { align-self: flex-start; }
.ct2-steps { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.ct2-step { display: flex; gap: 14px; align-items: flex-start; }
.ct2-step__num {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hivis);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
}
.ct2-step div > strong { display: block; font-family: var(--font-label); font-size: 17px; font-weight: 600; color: #FFFFFF; }
.ct2-step div > span { display: block; font-size: 14px; color: rgba(255,255,255,0.7); }
.ct2-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  text-decoration: none;
  color: #FFFFFF;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.ct2-call:hover { border-color: var(--hivis); background: rgba(232,93,26,0.1); }
.ct2-call__icon {
  width: 44px;
  height: 44px;
  background: var(--hivis);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct2-call small { display: block; font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.ct2-call strong { display: block; font-family: var(--font-heading); font-size: 26px; font-weight: 700; line-height: 1; }

/* Form card */
.ct2-form-card {
  background: #FFFFFF;
  box-shadow: 0 28px 70px rgba(0,0,0,0.35);
  border-top: 4px solid var(--hivis);
}
.ct2-form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid #ECECEA;
}
.ct2-form-head h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  color: var(--ink);
}
.ct2-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--steel);
  white-space: nowrap;
}
.ct2-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2E9E5B;
  box-shadow: 0 0 0 4px rgba(46,158,91,0.15);
}
.ct2-form { padding: 24px 28px 28px; display: grid; gap: 16px; }
.ct2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct2-field { display: flex; flex-direction: column; gap: 6px; }
.ct2-field label, .ct2-field .ct2-legend {
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.ct2-field label em, .ct2-field .ct2-legend em { font-style: normal; color: var(--hivis); }
.ct2-input, .ct2-select, .ct2-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: #FAFAF9;
  border: 1px solid #D9D9D5;
  border-radius: 2px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.ct2-input:focus, .ct2-select:focus, .ct2-textarea:focus {
  outline: none;
  border-color: var(--hivis);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(232,93,26,0.15);
}
.ct2-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231C1C1A' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.ct2-textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.ct2-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--steel); }
.ct2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct2-chip {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid #D9D9D5;
  border-radius: 2px;
  padding: 9px 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.ct2-chip:hover { border-color: var(--ink); }
.ct2-chip.is-active { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.ct2-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--alt);
  border-left: 3px solid var(--hivis);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--steel);
}
.ct2-note svg { color: var(--hivis); flex-shrink: 0; margin-top: 2px; }
.ct2-note a { color: var(--ink); font-weight: 500; }
.ct2-submit { width: 100%; font-size: 16px; padding: 16px 24px; }
.ct2-privacy { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--steel); }

/* Hours card */
.pg-hours { background: #FFFFFF; padding: 28px; }
.pg-hours h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--ink);
}
.pg-hours__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #ECECEA;
  font-size: 15px;
}
.pg-hours__row span:first-child { font-family: var(--font-label); font-weight: 600; color: var(--ink); }
.pg-hours__row span:last-child { color: var(--steel); }
.pg-hours__row--open span:last-child { color: #2E9E5B; font-weight: 500; }
.pg-hours p { font-size: 13.5px; color: var(--steel); margin: 14px 0 0; }

/* FAQ */
.pg-faq { display: grid; gap: 10px; }
.pg-faq details {
  background: #FFFFFF;
  border: 1px solid #E6E6E3;
  transition: border-color 0.2s ease;
}
.pg-faq details[open] { border-color: var(--hivis); }
.pg-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-label);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s ease;
}
.pg-faq details[open] summary::after { content: '\2212'; background: var(--hivis); }
.pg-faq details p { margin: 0; padding: 0 22px 20px; font-size: 15px; line-height: 1.65; color: var(--steel); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1099px) {
  .pg-split, .ct2-grid { grid-template-columns: 1fr; gap: 44px; }
  .pg-media { max-width: 560px; }
  .pg-cards { grid-template-columns: 1fr 1fr; }
  .pg-cards--3 { grid-template-columns: 1fr 1fr 1fr; }
  .pg-regions { grid-template-columns: repeat(3, 1fr); }
  .pg-timeline { grid-template-columns: repeat(4, 1fr); row-gap: 28px; }
  .pg-timeline::before { display: none; }
  .pg-gallery { grid-template-columns: 1fr 1fr; }
  .pg-gallery__item--tall { grid-row: span 1; }
}

@media (max-width: 767px) {
  .pg-hero { min-height: 0; }
  .pg-hero__content { padding: 44px 0 80px; }
  .pg-hero h1 { font-size: 40px; }
  .pg-hero__desc { font-size: 16px; }
  .pg-hero .mc-hero__btns .mc-btn { flex: 1 1 100%; }
  .pg-media::before { top: -8px; left: -8px; }
  .pg-media__badge { right: 10px; bottom: 14px; padding: 14px 16px; }
  .pg-media__badge strong { font-size: 32px; }
  .pg-cards, .pg-cards--3 { grid-template-columns: 1fr; }
  .pg-regions { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pg-region { padding: 14px; gap: 10px; }
  .pg-timeline { grid-template-columns: 1fr 1fr; }
  .pg-gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }

  .ct2-hero .pg-hero__content { padding: 40px 0 48px; }
  .ct2-row { grid-template-columns: 1fr; }
  .ct2-form-head { padding: 18px 20px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .ct2-form-head h2 { font-size: 24px; }
  .ct2-form { padding: 20px; }
  .ct2-call strong { font-size: 22px; }
  .pg-faq summary { font-size: 16px; padding: 16px 18px; }
  .pg-faq details p { padding: 0 18px 18px; }
}

#form { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ============================================
   FAQ page
   ============================================ */
.fq2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fq2-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  background: #FFFFFF;
  padding: 6px 6px 6px 18px;
  border-bottom: 3px solid var(--hivis);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.fq2-search svg { color: var(--hivis); flex-shrink: 0; }
.fq2-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  padding: 12px 0;
  background: transparent;
}
.fq2-search input::-webkit-search-cancel-button { display: none; }
.fq2-search button {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink);
  color: #FFFFFF;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
}

.fq2-layout { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.fq2-rail { align-self: stretch; }
.fq2-rail__sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.fq2-rail__nav { display: grid; gap: 4px; margin-bottom: 24px; }
.fq2-rail__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-left: 3px solid transparent;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.fq2-rail__link:hover { background: var(--alt); }
.fq2-rail__link.is-active { background: var(--alt); border-left-color: var(--hivis); }
.fq2-rail__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #FFFFFF;
}
.fq2-rail__link.is-active .fq2-rail__icon { background: var(--hivis); }
.fq2-rail__name { flex: 1; font-family: var(--font-label); font-weight: 600; font-size: 15px; }
.fq2-rail__count { font-size: 13px; color: var(--steel); background: #FFFFFF; border: 1px solid #E6E6E3; padding: 1px 8px; }
.fq2-rail__link.is-empty { opacity: 0.4; }
.fq2-help {
  display: grid;
  gap: 10px;
  background: var(--ink);
  color: #FFFFFF;
  padding: 22px;
  border-top: 4px solid var(--hivis);
}
.fq2-help strong { font-family: var(--font-heading); font-size: 22px; text-transform: uppercase; line-height: 1; }
.fq2-help span { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.fq2-help .mc-btn { width: 100%; }
.fq2-help .mc-link-arrow { color: #FFFFFF; justify-self: start; }

.fq2-content { display: grid; gap: 56px; }
.fq2-section { scroll-margin-top: calc(var(--header-h) + 24px); }
.fq2-section__head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.fq2-section__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hivis);
  color: #FFFFFF;
}
.fq2-section__head h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 4px;
  color: var(--ink);
}
.fq2-section__head p { margin: 0; font-size: 15px; color: var(--steel); }
.fq2-empty { background: var(--alt); border-left: 3px solid var(--hivis); padding: 18px 20px; font-size: 16px; margin: 0; }
.fq2-empty a { color: var(--hivis); font-weight: 500; }

.pg-faq .fq2-answer { padding: 0 22px 20px; font-size: 15px; line-height: 1.65; color: var(--steel); }
.pg-faq .fq2-answer p { padding: 0; margin: 0 0 12px; }
.pg-faq .fq2-answer p:last-child { margin-bottom: 0; }
.fq2-answer strong { color: var(--ink); }
.fq2-answer a { color: var(--hivis); }
.fq2-answer ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; }
.fq2-answer ul li { position: relative; padding-left: 22px; }
.fq2-answer ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--hivis);
  border-bottom: 2px solid var(--hivis);
  transform: rotate(-45deg);
}
.pg-table { border: 1px solid #E6E6E3; margin: 0 0 12px; }
.pg-table__row { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid #E6E6E3; }
.pg-table__row:last-child { border-bottom: none; }
.pg-table__row span { padding: 10px 14px; }
.pg-table__row span:first-child { background: var(--alt); font-family: var(--font-label); font-weight: 600; color: var(--ink); }
.pg-table__row span:last-child { color: var(--ink); }

@media (max-width: 1099px) {
  .fq2-layout { grid-template-columns: 1fr; gap: 32px; }
  .fq2-rail__sticky { position: static; }
  .fq2-rail__nav { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .fq2-help { display: none; }
}
@media (max-width: 767px) {
  .fq2-rail__nav { grid-template-columns: 1fr; }
  .fq2-section__head h2 { font-size: 26px; }
  .fq2-section__icon { width: 44px; height: 44px; }
  .pg-table__row { grid-template-columns: 1fr; }
  .pg-table__row span:first-child { padding-bottom: 4px; }
  .pg-faq .fq2-answer { padding: 0 18px 18px; }
  .fq2-search { padding-left: 14px; }
}

/* ============================================
   Service page (retaining walls template)
   ============================================ */
.rw-hero-ticks { list-style: none; margin: 4px 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.rw-hero-ticks li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 500; color: #FFFFFF; line-height: 1.35; }
.rw-hero-ticks svg { color: var(--hivis); flex-shrink: 0; margin-top: 1px; }

.rw-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rw-type {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #E6E6E3;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.rw-type:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.1); border-color: var(--hivis); }
.rw-type__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.rw-type__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.rw-type:hover .rw-type__img img { transform: scale(1.05); }
.rw-type__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--hivis);
  color: #FFFFFF;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.rw-type__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.rw-type__body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 10px;
}
.rw-type__body p { font-size: 15px; line-height: 1.6; color: var(--steel); margin: 0 0 14px; }
.rw-type__body ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; flex: 1; }
.rw-type__body li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink); }
.rw-type__body li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 7px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--hivis);
  border-bottom: 2px solid var(--hivis);
  transform: rotate(-45deg);
}
.rw-type .mc-service-card__link { color: var(--ink); }
.rw-type:hover .mc-service-card__link { color: var(--hivis); }

.rw-process { grid-template-columns: repeat(4, 1fr); }

.rw-guides { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 20px; align-items: stretch; }
.rw-guide { background: #FFFFFF; border: 1px solid #E6E6E3; border-top: 4px solid var(--ink); padding: 24px; }
.rw-guide h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--ink);
}
.rw-guide .pg-table__row { grid-template-columns: 1fr 1fr; font-size: 14.5px; }
.rw-guide p { font-size: 13.5px; line-height: 1.55; color: var(--steel); margin: 12px 0 0; }
.rw-guide--cta { background: var(--ink); border-top-color: var(--hivis); display: flex; flex-direction: column; gap: 12px; }
.rw-guide--cta h3 { color: #FFFFFF; margin-bottom: 0; }
.rw-guide--cta p { color: rgba(255,255,255,0.75); font-size: 15px; margin: 0 0 8px; }
.rw-guide--cta .mc-btn { width: 100%; }

.rw-projects { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.rw-proj { position: relative; margin: 0; overflow: hidden; background: var(--ink); }
.rw-proj--big { grid-column: span 2; grid-row: span 2; }
.rw-proj:nth-child(6), .rw-proj:nth-child(7) { grid-column: span 2; }
.rw-proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.rw-proj:hover img { transform: scale(1.05); }
.rw-proj figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 16px 14px;
  background: linear-gradient(180deg, rgba(20,20,18,0) 0%, rgba(20,20,18,0.85) 100%);
  color: #FFFFFF;
}
.rw-proj figcaption strong { display: block; font-family: var(--font-label); font-size: 16px; font-weight: 600; }
.rw-proj figcaption span { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: rgba(255,255,255,0.8); }
.rw-proj figcaption svg { color: var(--hivis); width: 14px; height: 14px; }

.rw-suburbs { display: flex; flex-wrap: wrap; gap: 8px; }
.rw-suburb {
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.22);
  padding: 9px 14px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.rw-suburb:hover { background: var(--hivis); border-color: var(--hivis); }

@media (max-width: 1099px) {
  .rw-types { grid-template-columns: 1fr 1fr; }
  .rw-process { grid-template-columns: 1fr 1fr; }
  .rw-guides { grid-template-columns: 1fr 1fr; }
  .rw-guide--cta { grid-column: span 2; }
  .rw-projects { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
}
@media (max-width: 767px) {
  .rw-hero-ticks { grid-template-columns: 1fr; }
  .rw-types, .rw-process, .rw-guides { grid-template-columns: 1fr; }
  .rw-guide--cta { grid-column: auto; }
  .rw-projects { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .rw-proj--big, .rw-proj:nth-child(6), .rw-proj:nth-child(7) { grid-column: auto; grid-row: span 1; }
  .rw-suburb { font-size: 14px; padding: 8px 12px; }
}

/* Reviews */
.rv-stars { display: inline-flex; gap: 2px; color: #F5A623; }
.rv-summary { display: flex; align-items: center; gap: 18px; }
.rv-summary__score { font-family: var(--font-heading); font-weight: 700; font-size: 64px; line-height: 1; color: var(--ink); }
.rv-summary .rv-stars svg { width: 22px; height: 22px; }
.mc-section-head .rv-summary p { margin: 4px 0 0; font-size: 15px; }
.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rv-card {
  margin: 0;
  background: #FFFFFF;
  border: 1px solid #E6E6E3;
  border-top: 4px solid var(--hivis);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rv-card blockquote { margin: 0; flex: 1; font-size: 16px; line-height: 1.6; color: var(--ink); }
.rv-card blockquote::before { content: '\201C'; }
.rv-card blockquote::after { content: '\201D'; }
.rv-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid #EFEFEC; }
.rv-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
}
.rv-card figcaption strong { display: block; font-family: var(--font-label); font-size: 15px; font-weight: 600; color: var(--ink); }
.rv-card figcaption small { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--steel); }
.rv-card figcaption small svg { width: 13px; height: 13px; color: var(--hivis); }
.rv-card blockquote.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.rv-readmore { align-self: flex-start; margin-top: -6px; padding: 0; background: none; border: 0; cursor: pointer; font-family: var(--font-label); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hivis); }
.rv-readmore:hover { color: var(--hivis-hover); text-decoration: underline; }
.rv-card--more { display: none; }
.rv-grid.is-expanded .rv-card--more { display: flex; }
.rv-more { text-align: center; margin-top: 28px; }
@media (max-width: 1099px) { .rv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .rv-grid { grid-template-columns: 1fr; }
  .rv-card:nth-child(n+4) { display: none; }
  .rv-grid.is-expanded .rv-card { display: flex; }
  .rv-summary__score { font-size: 48px; }
}

/* ============================================
   Service sub-pages
   ============================================ */
.sb-signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sb-sign {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #FFFFFF;
  border: 1px solid #E6E6E3;
  border-left: 4px solid var(--hivis);
  padding: 20px;
}
.sb-sign__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232,93,26,0.1);
  color: var(--hivis);
}
.sb-sign h3 { font-family: var(--font-label); font-size: 17px; font-weight: 600; line-height: 1.25; margin: 0 0 6px; color: var(--ink); }
.sb-sign p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--steel); }
.sb-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  background: var(--ink);
  border-left: 4px solid var(--hivis);
  padding: 22px 26px;
}
.sb-callout p { margin: 0; font-size: 17px; color: #FFFFFF; font-weight: 500; }
.sb-callout__btns { display: flex; gap: 10px; flex-shrink: 0; }

.sb-builds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sb-build { position: relative; }
.sb-build__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--hivis);
  margin-bottom: 12px;
}
.sb-gallery.rw-projects .rw-proj:nth-child(6), .sb-gallery.rw-projects .rw-proj:nth-child(7) { grid-column: span 2; }
.sb-reasons { grid-template-columns: repeat(3, 1fr); }
.rw-suburb--plain { cursor: default; }
.rw-suburb--plain:hover { background: transparent; border-color: rgba(255,255,255,0.22); }

.sb-sibs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.sb-sib {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #E6E6E3;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.sb-sib:hover { border-color: var(--hivis); transform: translateY(-3px); }
.sb-sib__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--alt); }
.sb-sib__img img { width: 100%; height: 100%; object-fit: cover; }
.sb-sib span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 600;
}
.sb-sib span svg { color: var(--hivis); flex-shrink: 0; }

@media (max-width: 1099px) {
  .sb-signs, .sb-builds, .sb-reasons { grid-template-columns: 1fr 1fr; }
  .sb-sibs { grid-template-columns: repeat(3, 1fr); }
  .sb-callout { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .sb-signs, .sb-builds, .sb-reasons { grid-template-columns: 1fr; }
  .sb-sibs { grid-template-columns: 1fr 1fr; }
  .sb-callout__btns { flex-direction: column; width: 100%; }
  .sb-callout__btns .mc-btn { width: 100%; }
  .sb-gallery.rw-projects .rw-proj:nth-child(6), .sb-gallery.rw-projects .rw-proj:nth-child(7) { grid-column: auto; }
}

.rw-proj.pg-placeholder { background: var(--alt); }

@media (min-width: 1100px) {
  .ct2-grid > div:first-child { padding-bottom: 64px; }
  .ct2-grid > div:first-child > .pg-crumbs { padding-top: 30px; }
}

.rw-type--cta { background: var(--hivis); border-color: var(--hivis); color: #FFFFFF; }
.rw-type--cta:hover { background: var(--hivis-hover); border-color: var(--hivis-hover); }
.rw-type--cta .rw-type__body { justify-content: center; }
.rw-type--cta h3, .rw-type--cta p, .rw-type--cta .mc-service-card__link, .rw-type--cta .mc-service-card__link svg { color: #FFFFFF; }
.rw-type__img .pg-placeholder { background: var(--alt); }

/* ============================================
   Suburb (area) pages
   ============================================ */
.ar-facts { background: var(--alt); padding: 22px; margin-top: 20px; }
.ar-facts h3 { font-family: var(--font-heading); font-weight: 700; font-size: 22px; text-transform: uppercase; margin: 0 0 12px; color: var(--ink); }
.ar-facts .pg-table { background: #FFFFFF; margin: 0; }
.ar-facts .pg-table__row { grid-template-columns: 110px 1fr; font-size: 14.5px; }
.ar-facts .pg-table__row a { color: var(--hivis); }
.ar-facts p { font-size: 13.5px; color: var(--steel); margin: 12px 0 0; }
.ar-why-text p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.78); margin: 0 0 14px; }
.ar-why-text strong { color: #FFFFFF; }
.ar-why-text a { color: var(--hivis); }
.pg-text a:not(.mc-btn) { color: var(--hivis); }
.ar-region { margin-bottom: 36px; }
.ar-region h2 {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--font-heading); font-weight: 700; font-size: 28px; text-transform: uppercase;
  margin: 0 0 14px; padding-bottom: 10px; border-bottom: 3px solid var(--ink); color: var(--ink);
}
.ar-region h2 span { font-family: var(--font-body); font-size: 14px; font-weight: 500; text-transform: none; color: var(--steel); }
.ar-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ar-link {
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px;
  border: 1px solid #E6E6E3; border-left: 3px solid var(--hivis); text-decoration: none; color: var(--ink);
  transition: background 0.15s ease, transform 0.15s ease;
}
.ar-link:hover { background: var(--alt); transform: translateY(-2px); }
.ar-link strong { font-family: var(--font-label); font-size: 16px; font-weight: 600; }
.ar-link span { font-size: 13px; color: var(--steel); }

/* ============================================
   Blog
   ============================================ */
.bg-hero { min-height: 400px; }
.bg-hero .pg-hero__content { max-width: 860px; }
.bg-title { font-size: 50px !important; }
.bg-meta { font-size: 15px; color: rgba(255,255,255,0.8); }
.bg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.bg-side { align-self: stretch; }
.bg-side__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.bg-toc { border-left: 3px solid var(--ink); padding: 4px 0 4px 18px; display: grid; gap: 8px; }
.bg-toc a { font-size: 14px; line-height: 1.4; color: var(--steel); text-decoration: none; }
.bg-toc a:hover { color: var(--hivis); }
.bg-quote { display: grid; gap: 10px; background: var(--ink); color: #FFFFFF; padding: 22px; border-top: 4px solid var(--hivis); }
.bg-quote strong { font-family: var(--font-heading); font-size: 24px; text-transform: uppercase; line-height: 1; }
.bg-quote span { font-size: 14px; color: rgba(255,255,255,0.72); margin-bottom: 4px; }
.bg-quote .mc-btn { width: 100%; }

.bg-prose { max-width: 760px; font-size: 17px; line-height: 1.75; color: #33322F; }
.bg-prose p { margin: 0 0 18px; }
.bg-prose .bg-lead { font-size: 20px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.bg-prose h2 {
  font-family: var(--font-heading); font-weight: 700; font-size: 32px; line-height: 1.05; text-transform: uppercase;
  color: var(--ink); margin: 44px 0 14px; scroll-margin-top: calc(var(--header-h) + 20px);
}
.bg-prose h2::before { content: ''; display: block; width: 36px; height: 3px; background: var(--hivis); margin-bottom: 12px; }
.bg-prose h3 { font-family: var(--font-label); font-weight: 600; font-size: 21px; color: var(--ink); margin: 28px 0 10px; }
.bg-prose a { color: var(--hivis); text-decoration: underline; text-underline-offset: 3px; }
.bg-prose strong { color: var(--ink); }
.bg-prose ul, .bg-prose ol { margin: 0 0 18px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.bg-prose ul li { position: relative; padding-left: 26px; }
.bg-prose ul li::before {
  content: ''; position: absolute; left: 3px; top: 10px; width: 11px; height: 6px;
  border-left: 2.5px solid var(--hivis); border-bottom: 2.5px solid var(--hivis); transform: rotate(-45deg);
}
.bg-prose ol { counter-reset: ol; }
.bg-prose ol li { position: relative; padding-left: 34px; counter-increment: ol; }
.bg-prose ol li::before {
  content: counter(ol); position: absolute; left: 0; top: 2px; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center; background: var(--ink); color: #FFFFFF;
  font-family: var(--font-heading); font-size: 14px; font-weight: 700;
}
.bg-prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.bg-prose th, .bg-prose td { border: 1px solid #E6E6E3; padding: 10px 12px; text-align: left; }
.bg-prose th { background: var(--alt); font-family: var(--font-label); }
.bg-prose blockquote { margin: 0 0 20px; padding: 14px 20px; border-left: 4px solid var(--hivis); background: var(--alt); }
.bg-inline-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--ink); color: #FFFFFF; border-left: 4px solid var(--hivis); padding: 22px 24px; margin: 36px 0;
}
.bg-inline-cta strong { display: block; font-family: var(--font-heading); font-size: 22px; text-transform: uppercase; line-height: 1.1; margin-bottom: 4px; }
.bg-inline-cta span { font-size: 14.5px; color: rgba(255,255,255,0.75); }
.bg-inline-cta__btns { display: flex; gap: 10px; flex-shrink: 0; }
.bg-prose .bg-inline-cta a { text-decoration: none; }
.bg-prose .bg-inline-cta .mc-btn--primary { color: #FFFFFF; }
.bg-prose .bg-inline-cta .mc-btn--secondary { color: #FFFFFF; border-color: rgba(255,255,255,0.7); }
.bg-author { display: flex; gap: 16px; align-items: center; margin-top: 40px; padding: 20px; border: 1px solid #E6E6E3; border-top: 4px solid var(--ink); }
.bg-author__logo { flex-shrink: 0; width: 110px; }
.bg-author strong { display: block; font-family: var(--font-label); font-size: 17px; color: var(--ink); }
.bg-author span { font-size: 14px; color: var(--steel); line-height: 1.5; }

.bg-rels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bg-rel {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px;
  border: 1px solid rgba(255,255,255,0.2); color: #FFFFFF; text-decoration: none;
  font-family: var(--font-label); font-weight: 600; font-size: 16px; transition: background 0.15s ease, border-color 0.15s ease;
}
.bg-rel:hover { background: var(--hivis); border-color: var(--hivis); }
.bg-rel svg { color: var(--hivis); flex-shrink: 0; }
.bg-rel:hover svg { color: #FFFFFF; }

.bg-filters { margin-bottom: 28px; }
.bg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bg-card {
  display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #E6E6E3; text-decoration: none; color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bg-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,0.1); border-color: var(--hivis); }
.bg-card__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.bg-card__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.5s ease; }
.bg-card:hover .bg-card__img img { transform: scale(1.05); }
.bg-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.bg-card__meta { font-size: 13px; color: var(--steel); margin-bottom: 8px; }
.bg-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: 22px; line-height: 1.1; text-transform: uppercase; margin: 0 0 10px; }
.bg-card p { font-size: 14.5px; line-height: 1.55; color: var(--steel); margin: 0 0 16px; flex: 1; }
.bg-card[hidden] { display: none; }

@media (max-width: 1099px) {
  .bg-layout { grid-template-columns: 1fr; gap: 40px; }
  .bg-side__sticky { position: static; }
  .bg-toc { display: none; }
  .bg-grid, .ar-links { grid-template-columns: 1fr 1fr; }
  .bg-rels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .bg-title { font-size: 34px !important; }
  .bg-prose { font-size: 16px; }
  .bg-prose .bg-lead { font-size: 18px; }
  .bg-prose h2 { font-size: 26px; }
  .bg-inline-cta { flex-direction: column; align-items: flex-start; }
  .bg-inline-cta__btns { width: 100%; flex-direction: column; }
  .bg-grid, .ar-links, .bg-rels { grid-template-columns: 1fr; }
}

.bg-card .mc-service-card__link { color: var(--ink); }
.bg-card:hover .mc-service-card__link { color: var(--hivis); }

/* Services overview */
.sv2-jump { margin-bottom: 40px; }
.sv2-jump .ct2-chip { text-decoration: none; }
.sv2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid #ECECEA; scroll-margin-top: calc(var(--header-h) + 20px); }
.sv2-row:first-of-type { border-top: none; padding-top: 0; }
.sv2-row--rev .sv2-row__img { order: 2; }
.sv2-row__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.sv2-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.sv2-row__img:hover img { transform: scale(1.04); }
.sv2-row__body .mc-h2 { margin-bottom: 14px; }
.sv2-row__body p { font-size: 16px; line-height: 1.7; color: var(--steel); margin: 0 0 12px; }
.sv2-row__body .sv2-row__lead { font-size: 18px; color: var(--ink); font-weight: 500; }
.sv2-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 18px 0 24px; }
.sv2-subs a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid #ECECEA; font-family: var(--font-label); font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.sv2-subs a:hover { color: var(--hivis); }
.sv2-subs a svg { color: var(--hivis); }

/* Projects */
.pj2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pj2-card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #E6E6E3; border-top: 4px solid var(--ink); transition: border-color 0.2s ease, transform 0.2s ease; }
.pj2-card:hover { border-top-color: var(--hivis); transform: translateY(-3px); }
.pj2-card[hidden] { display: none; }
.pj2-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.pj2-card__top .rw-type__tag { position: static; }
.pj2-card__num { font-family: var(--font-heading); font-weight: 700; font-size: 28px; color: #D8D8D4; padding: 6px 14px; }
.pj2-card__body { padding: 14px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pj2-card__loc { display: flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.pj2-card__loc svg { color: var(--hivis); flex-shrink: 0; }
.pj2-card__cls { font-family: var(--font-label); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hivis); margin: 4px 0 10px; }
.pj2-card p { font-size: 14.5px; line-height: 1.55; color: var(--steel); margin: 0 0 12px; flex: 1; }
.pj2-card p strong { color: var(--ink); }
.pj2-card__refs { display: flex; flex-wrap: wrap; gap: 6px; }
.pj2-card__refs span { font-size: 12px; font-weight: 500; background: var(--alt); border: 1px solid #E3E3E0; padding: 3px 8px; color: var(--ink); }
.pj2-test h3 { font-family: var(--font-heading); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1.15; margin: 0; color: var(--ink); }
.pj2-test blockquote { font-size: 15px; }

/* Thank you / 404 */
.ty-hero { min-height: 520px; }
.ty-content { text-align: left; max-width: 760px; }
.ty-check { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; background: var(--hivis); color: #FFFFFF; margin-bottom: 22px; }
.nf-code { font-family: var(--font-heading); font-weight: 700; font-size: 120px; line-height: 0.9; color: var(--hivis); margin-bottom: 10px; }
.nf-links .bg-rel { color: var(--ink); border-color: #E6E6E3; }
.nf-links .bg-rel:hover { color: #FFFFFF; }
.ty-steps { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1099px) {
  .sv2-row { grid-template-columns: 1fr; gap: 28px; }
  .sv2-row--rev .sv2-row__img { order: 0; }
  .pj2-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .sv2-subs { grid-template-columns: 1fr; }
  .pj2-grid { grid-template-columns: 1fr; }
  .nf-code { font-size: 84px; }
}

/* --- Image slots awaiting photos ---
   Empty .pg-placeholder slots stay in the HTML as markers for where photos go
   (see IMAGE-GUIDE), but are never shown. Layouts collapse around them. */
.pg-placeholder { display: none !important; }
.pg-media:has(> .pg-placeholder) { display: none; }
.pg-split:has(> .pg-media > .pg-placeholder) { grid-template-columns: 1fr; }
.pg-split:has(> .pg-media > .pg-placeholder) > :not(.pg-media) { max-width: 880px; }
/* Galleries with no real photos at all are removed entirely */
.mc-section:has(.rw-projects):not(:has(.rw-projects img)) { display: none; }
.mc-section:has(.pg-gallery):not(:has(.pg-gallery img)) { display: none; }
/* Part-filled galleries re-flow so the real photos fill the rows */
.rw-projects:has(> .pg-placeholder) { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); grid-auto-rows: 300px; }
.rw-projects:has(> .pg-placeholder) > .rw-proj { grid-column: auto !important; grid-row: auto !important; }
.pg-gallery:has(> .pg-placeholder) { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pg-gallery:has(> .pg-placeholder) > .pg-gallery__item { grid-column: auto !important; grid-row: auto !important; }

/* Visually hidden, still read by search engines and screen readers */
.mc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Hero label folded into the H1 (keyword first), keeps its badge look */
h1 > .mc-hero__label { display: flex; width: fit-content; line-height: normal; }

/* Diagrams and figures inside blog articles */
.bg-prose figure { margin: 8px 0 26px; }
.bg-prose figure img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; border: 1px solid #E6E6E3; }
.bg-prose figcaption { margin-top: 10px; font-size: 14px; color: var(--steel); text-align: center; }
.bg-prose .bg-table-wrap { overflow-x: auto; margin: 0 0 20px; }
.bg-prose .bg-table-wrap table { margin: 0; min-width: 560px; }

/* Helpful guides: related articles on service pages */
.mc-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mc-guide { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; background: #FFFFFF; border: 1px solid #E6E6E3; border-top: 3px solid var(--hivis); text-decoration: none; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.mc-guide:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.08); transform: translateY(-2px); }
.mc-guide__tag { font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hivis); }
.mc-guide__title { font-family: var(--font-label); font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.mc-guide__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-label); font-size: 14px; font-weight: 600; color: var(--ink); }
@media (max-width: 899px) { .mc-guides { grid-template-columns: 1fr; } }
