:root {
  color-scheme: dark;
  --ink: #1c1919;
  --orange: #f47301;
  --paper: #f4f2ee;
  --muted: #c7c0b9;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--paper); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
.page { width: min(100% - 5rem, 1240px); margin-inline: auto; }
.masthead, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.masthead { min-height: 90px; border-bottom: 1px solid #ffffff26; }
.masthead img { display: block; width: clamp(140px, 18vw, 186px); height: auto; }
.masthead p { color: var(--muted); font-size: .82rem; }
.masthead p::before { content: ""; display: inline-block; width: .43rem; height: .43rem; margin-right: .5rem; border-radius: 50%; background: var(--orange); vertical-align: .13rem; }
.layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 2rem; margin: 2rem 0; }
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; overflow: hidden; border-radius: 1rem; min-height: 550px; background: #37302d; }
.hero-image { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(0deg, #171414 5%, #171414ed 24%, #1714149a 48%, #17141405 77%); }
.hero::after { content: ""; position: absolute; z-index: -1; right: -40px; top: 2rem; width: 180px; height: 179px; opacity: .86; background: var(--orange); clip-path: polygon(50% 0, 100% 44%, 100% 54%, 50% 10%, 0 54%, 0 44%); }
.hero-text { position: relative; padding: 2rem; }
.hero h1 { max-width: 13ch; font: 800 clamp(2.75rem, 5vw, 4.6rem)/.98 "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif; letter-spacing: -.055em; }
.hero h1 em { display: block; color: #ff9b4d; font: italic 400 .81em/1.02 "Instrument Serif", Georgia, serif; text-transform: none; letter-spacing: -.075em; }
.hero p { margin-top: 1.3rem; max-width: 26rem; color: #f2eeea; font-size: 1.02rem; line-height: 1.55; }
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: max-content; align-items: start; gap: .85rem; }
.contacts h2 { grid-column: 1 / -1; font-size: clamp(1.45rem, 2.35vw, 2rem); letter-spacing: -.045em; font-weight: 750; margin: 0 0 .1rem .05rem; }
.card { min-width: 0; background: var(--paper); color: var(--ink); border: 1px solid transparent; border-radius: 1rem; padding: clamp(.65rem, 1.65vw, 1.4rem); }
.card.office { background: #272323; color: var(--paper); border: 1px solid #ffffff27; }
.card-mark { width: 2.45rem; height: 2.45rem; display: grid; place-items: center; border-radius: .68rem; background: var(--orange); color: var(--ink); margin-bottom: .8rem; }
.office .card-mark { background: #f473011a; color: #ff9b4d; }
.channel-icon { display: block; position: relative; width: 20px; height: 16px; border: 1.7px solid currentColor; border-radius: 6px; }
.channel-icon::before, .channel-icon::after { content: ""; display: block; position: absolute; }
.channel-icon.chat::before { bottom: -4px; left: 2px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; width: 5px; height: 5px; transform: skewY(-36deg); background: var(--orange); }
.channel-icon.chat::after { left: 4px; right: 4px; top: 6px; border-top: 1.5px solid currentColor; }
.channel-icon.document { width: 15px; height: 20px; border-radius: 3px; }
.channel-icon.document::after { left: 2px; right: 2px; top: 6px; height: 4px; border-block: 1.5px solid currentColor; }
.card-head { display: grid; gap: .3rem; }
.card h3 { font-size: clamp(1.08rem, 2vw, 1.6rem); letter-spacing: -.04em; line-height: 1.12; }
.phone { font-size: .82rem; color: #514943; font-variant-numeric: tabular-nums; white-space: nowrap; }
.office .phone { color: var(--muted); }
.card > p { font-size: .94rem; line-height: 1.42; min-height: 3em; margin-top: .65rem; }
details { margin-top: .45rem; }
.office details { border-color: #ffffff25; }
summary { display: flex; cursor: pointer; align-items: center; justify-content: space-between; gap: .75rem; min-height: 44px; font-weight: 650; font-size: .88rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.28rem; font-weight: 450; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 .5rem; font-size: .86rem; line-height: 1.48; overflow-wrap: anywhere; }
.button { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 48px; margin-top: .85rem; padding: .67rem .9rem; text-decoration: none; border-radius: .5rem; font-weight: 750; font-size: .92rem; transition: background .2s ease, color .2s ease, transform .2s ease; }
.sales .button { background: var(--orange); color: var(--ink); }
.office .button { background: transparent; border: 1px solid #f47301a8; color: var(--paper); }
.button span { font-size: 1.23em; }
@media (hover: hover) {
  .sales .button:hover { background: #ff9a45; transform: translateY(-2px); }
  .office .button:hover { background: var(--orange); color: var(--ink); transform: translateY(-2px); }
}
:focus-visible { outline: 3px solid #256fc2; outline-offset: 4px; }
.office :focus-visible, .footer :focus-visible { outline-color: #ff9b4d; }
.footer { padding: 1rem 0 1.6rem; border-top: 1px solid #ffffff26; font-size: .85rem; color: var(--muted); }
.footer p { font-weight: 700; }
.footer a { text-underline-offset: 4px; }
@media (max-width: 820px) {
  .page { width: min(100% - 2rem, 610px); }
  .masthead { min-height: 62px; }
  .layout { grid-template-columns: 1fr; gap: 1.1rem; margin: .8rem 0 1.15rem; }
  .hero { min-height: clamp(184px, 45vw, 255px); }
  .hero-image { object-position: 65% center; }
  .hero::before { background: linear-gradient(90deg,#171414ef 5%,#171414a6 58%,#17141442),linear-gradient(0deg,#171414aa,transparent 87%); }
  .hero-text { padding: 1rem; }
  .hero h1 { font-size: clamp(2rem, 8.6vw, 3.1rem); max-width: 15ch; }
  .hero p { margin-top: .5rem; max-width: 32ch; font-size: .86rem; line-height: 1.4; }
  .hero::after { top: .65rem; width: 78px; height: 70px; right: -9px; }
  .contacts { gap: .65rem; }
  .contacts h2 { font-size: 1.3rem; }
  .card { padding: .8rem .65rem .3rem; }
  .card-mark { margin-bottom: .72rem; }
  .card > p { margin-top: .55rem; font-size: .82rem; min-height: 3em; }
  .button { margin-top: .65rem; }
}
@media (max-width: 360px) {
  .page { width: calc(100% - 1.5rem); }
  .contacts { column-gap: .5rem; }
  .card h3 { font-size: 1.035rem; }
  .card .button { padding-inline: .58rem; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
