/* Consultation page hero: isolated from other service pages. */
.b2b-page .consult-hero {
  --consult-ink: #282a2c;
  --consult-accent: #93461f;
  --consult-line: #dfcbb9;
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: 0;
  background: linear-gradient(135deg,#fbf8f4 0%,#fff 58%,#f4eee6 100%);
  color: var(--consult-ink);
}
.b2b-page .consult-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background:
    repeating-linear-gradient(155deg, transparent 0 110px, #bcae9e 111px, transparent 112px),
    repeating-linear-gradient(90deg, transparent 0 165px, #dacfc1 166px, transparent 167px);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.5), rgba(0,0,0,.08) 48%, rgba(0,0,0,.24));
}
.b2b-page .consult-hero .container {
  padding: 48px 0 60px;
}
.consult-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}
.consult-hero-media {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: stretch;
}
.consult-hero-media::after {
  content: "";
  position: absolute;
  inset: auto 14% 12px -9%;
  height: 42%;
  z-index: -1;
  border: 1px solid rgba(144,86,44,.25);
  border-radius: 22px;
  transform: rotate(-6deg);
}
.consult-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 410px;
  max-height: 650px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center 28%;
  border: 1px solid #e5d8ca;
  background: #efe9df;
  box-shadow: 0 20px 46px rgba(52,35,23,.11);
}
.consult-hero-copy { min-width: 0; }
.consult-person { margin: 0 0 15px; font-weight: 800; font-size: .98rem; }
.consult-person span {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 11px;
  border-radius: 100px;
  background: #efe5d9;
  color: #784023;
  font-size: .8rem;
  font-weight: 700;
}
.b2b-page .consult-hero h1 {
  max-width: none;
  margin: 0 0 19px;
  font-size: clamp(2rem, 3.65vw, 3.35rem);
  letter-spacing: -.035em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.consult-lead {
  margin: 0 0 18px;
  color: #4f4f50;
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
  line-height: 1.55;
}
.consult-price {
  display: inline-block;
  margin: 0 0 18px;
  padding: 11px 17px;
  border-radius: 12px;
  background: #f4e9dc;
  color: #70401d;
  font-weight: 650;
}
.consult-price strong { font-size: 1.18rem; white-space: nowrap; }
.consult-first-contact {
  max-width: 630px;
  margin: 0 0 12px;
  padding: 15px 18px;
  background: #fffaf4;
  border-left: 4px solid #ba7437;
  border-radius: 0 12px 12px 0;
  color: #403932;
  line-height: 1.55;
}
.consult-first-contact strong { color: #713b1c; }
.consult-geography { margin: 0 0 20px; color: #67605a; font-size: .92rem; }
.b2b-page .consult-hero .consult-contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.b2b-page .consult-hero .consult-btn {
  min-height: 54px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid #92461f;
  background: #92461f;
  box-shadow: none;
  color: #fff;
  text-align: center;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.b2b-page .consult-hero .consult-btn:hover { background: #713519; border-color: #713519; color: #fff; text-decoration: none; }
.b2b-page .consult-hero .consult-btn:focus-visible { outline: 3px solid #385a9c; outline-offset: 3px; }
.b2b-page .consult-hero .consult-btn.phone { display: flex; flex-direction: column; gap: 3px; }
.b2b-page .consult-hero .consult-btn .phone-label { font-size: .88rem; font-weight: 800; opacity: 1; }
.b2b-page .consult-hero .consult-btn .phone-number { font-size: .75rem; font-weight: 650; letter-spacing: 0; }
.consult-clarify { margin: 14px 0 0; color: #625e58; font-size: .81rem; line-height: 1.5; }
@media(max-width: 900px) {
  .consult-hero-grid { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 24px; }
  .consult-hero-media img { min-height: 350px; }
  .b2b-page .consult-hero .consult-contact-actions { grid-template-columns: 1fr; }
}
@media(max-width: 700px) {
  .b2b-page .consult-hero .container { padding: 22px 0 38px; }
  .consult-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .consult-hero-media { justify-content: center; align-self: auto; }
  .consult-hero-media img {
    width: min(100%, 330px);
    height: 195px;
    min-height: 0;
    object-position: center 24%;
    border-radius: 18px;
  }
  .consult-hero-media::after { display: none; }
  .consult-person { margin-bottom: 10px; }
  .b2b-page .consult-hero h1 { font-size: clamp(1.75rem, 7.2vw, 2.6rem); letter-spacing: -.025em; }
  .b2b-page .consult-hero .consult-contact-actions { grid-template-columns: 1fr; }
  .b2b-page .consult-hero .consult-btn { min-height: 48px; }
}
@media(max-width: 360px) {
  .consult-person span { margin: 6px 0 0; }
  .consult-first-contact { padding: 12px 14px; }
  .consult-hero-media img { height: 160px; }
  .b2b-page .consult-hero h1 { font-size: 1.72rem; }
}
