/* Tehosmotr Lipetsk: isolated styles, served through site-assets.php. */
.to-site { --to-blue: #1000ff; --to-ink: #202834; --to-muted: #5c6574; --to-line: #e3e7ee; margin: 0; background: #fff; color: var(--to-ink); font: 16px/1.6 Arial, sans-serif; -webkit-text-size-adjust: 100%; }
.to-site *, .to-site *::before, .to-site *::after { box-sizing: border-box; }
.to-site a { color: inherit; text-decoration: none; }
.to-site a:focus-visible { outline: 3px solid var(--to-blue); outline-offset: 5px; }
.to-site p, .to-site h1, .to-site h2, .to-site h3, .to-site dl, .to-site dd { margin: 0; }
.to-site h1, .to-site h2, .to-site h3 { line-height: 1.15; letter-spacing: -.035em; }
.to-site .to-container { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.to-site .to-skip { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: #fff; z-index: 20; }
.to-site .to-skip:focus { top: 12px; }
.to-site .to-header { border-bottom: 1px solid var(--to-line); }
.to-site .to-header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.to-site .to-brand { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.to-site .to-brand-symbol { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; background: var(--to-blue); color: #fff; font-size: 23px; letter-spacing: -.07em; }
.to-site .to-brand small { display: block; margin-top: 6px; color: var(--to-muted); font-size: 10px; font-weight: 500; letter-spacing: .06em; }
.to-site .to-nav { display: flex; gap: 24px; color: var(--to-muted); font-size: 14px; }
.to-site .to-nav a { padding-block: 10px; }
.to-site .to-nav a:hover, .to-site .to-header-phone:hover { color: var(--to-blue); }
.to-site .to-header-phone { font-size: 17px; font-weight: 700; white-space: nowrap; }
.to-site .to-hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 72px; padding: 76px 0 72px; }
.to-site .to-eyebrow { color: var(--to-muted); font-size: 11px; font-weight: 700; letter-spacing: .13em; line-height: 1.6; }
.to-site h1 { margin-top: 20px; font-size: clamp(46px, 5.4vw, 72px); font-weight: 700; line-height: 1.04; }
.to-site h1 span { color: var(--to-blue); }
.to-site .to-lead { margin-top: 26px; color: var(--to-muted); font-size: 18px; line-height: 1.65; }
.to-site .to-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.to-site .to-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 12px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; transition: background-color .15s, color .15s; }
.to-site .to-button-primary { color: #fff; background: var(--to-blue); }
.to-site .to-button-primary:hover { background: #0c00c7; }
.to-site .to-button-secondary { background: #eff1f5; color: var(--to-ink); }
.to-site .to-button-secondary:hover { background: #e2e6ed; }
.to-site .to-hint { margin-top: 16px; color: var(--to-muted); font-size: 12px; }
.to-site .to-visit { min-width: 0; padding: 30px; border-radius: 18px; background: #f4f5f9; }
.to-site .to-capacity { display: flex; align-items: center; gap: 20px; padding-bottom: 22px; }
.to-site .to-capacity strong { color: var(--to-blue); font-size: 76px; line-height: 1; font-weight: 700; letter-spacing: -.07em; }
.to-site .to-capacity span { color: var(--to-muted); font-size: 13px; line-height: 1.6; }
.to-site .to-visit-row { padding-top: 20px; border-top: 1px solid #dde1eb; }
.to-site .to-visit-row + .to-visit-row { margin-top: 20px; }
.to-site .to-label { display: block; margin-bottom: 8px; color: var(--to-muted); font-size: 12px; }
.to-site .to-visit-row p { font-size: 15px; }
.to-site .to-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--to-blue); font-size: 14px; font-weight: 600; }
.to-site .to-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.to-site .to-section { padding: 52px 0; border-top: 1px solid var(--to-line); scroll-margin-top: 24px; }
.to-site .to-section-heading { margin-bottom: 28px; }
.to-site h2 { margin-top: 10px; font-size: 34px; }
.to-site h3 { font-size: 20px; }
.to-site .to-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 0; padding: 0; list-style: none; }
.to-site .to-checklist li { display: flex; gap: 18px; min-width: 0; }
.to-site .to-step { padding-top: 2px; color: var(--to-blue); font-size: 14px; font-weight: 700; }
.to-site .to-checklist h3 { font-size: 18px; letter-spacing: -.02em; line-height: 1.4; }
.to-site .to-checklist p { margin-top: 10px; color: var(--to-muted); font-size: 15px; }
.to-site .to-document-list { border-top: 1px solid var(--to-line); }
.to-site .to-document { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--to-line); }
.to-site .to-document:hover { color: var(--to-blue); background: #fafbfe; }
.to-site .to-document strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.5; }
.to-site .to-document small { display: block; margin-top: 5px; color: var(--to-muted); font-size: 13px; line-height: 1.6; }
.to-site .to-document > span:last-child { color: var(--to-blue); font-size: 22px; }
.to-site .to-requisites { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; }
.to-site .to-company h3 { font-size: 27px; line-height: 1.25; }
.to-site .to-company p { margin-top: 18px; color: var(--to-muted); font-size: 15px; }
.to-site .to-company .to-button { margin-top: 24px; }
.to-site .to-details { min-width: 0; }
.to-site .to-details > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--to-line); font-size: 14px; }
.to-site .to-details > div:first-child { padding-top: 0; }
.to-site .to-details dt { color: var(--to-muted); }
.to-site .to-details dd { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; font-weight: 500; }
.to-site .to-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-bottom: 64px; }
.to-site .to-contact-phone { display: inline-block; margin: 24px 0 14px; color: var(--to-blue); font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: -.035em; }
.to-site .to-contacts p:not(.to-eyebrow) { color: var(--to-muted); font-size: 15px; }
.to-site .to-map-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 12px; }
.to-site .to-hours { align-self: center; padding: 28px; background: #f4f5f9; border-radius: 14px; }
.to-site .to-hours h3 { margin-bottom: 18px; font-size: 20px; }
.to-site .to-hours dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: 14px; }
.to-site .to-hours dt { color: var(--to-muted); }
.to-site .to-hours dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.to-site .to-footer { padding: 26px 0; border-top: 1px solid var(--to-line); background: #fafbfc; color: var(--to-muted); font-size: 12px; }
.to-site .to-footer .to-container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 1000px) {
  .to-site .to-nav { gap: 14px; }
  .to-site .to-hero { gap: 32px; }
  .to-site .to-requisites, .to-site .to-contacts { gap: 32px; }
  .to-site .to-details > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 800px) {
  .to-site .to-container { width: calc(100% - 48px); }
  .to-site .to-header-inner { flex-wrap: wrap; gap: 12px 20px; padding: 18px 0 12px; }
  .to-site .to-nav { order: 3; width: 100%; justify-content: flex-start; gap: 28px; }
  .to-site .to-hero { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
  .to-site h1 { font-size: 60px; }
  .to-site .to-visit { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px 30px; }
  .to-site .to-capacity { grid-row: span 2; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0; }
  .to-site .to-visit-row { padding: 0; border: 0; }
  .to-site .to-visit-row + .to-visit-row { margin: 0; }
  .to-site .to-contacts { grid-template-columns: 1fr; }
  .to-site .to-hours { max-width: 520px; width: 100%; }
  .to-site .to-checklist { gap: 24px; }
  .to-site h2 { font-size: 30px; }
}
@media (max-width: 540px) {
  .to-site .to-container { width: calc(100% - 40px); }
  .to-site .to-header-inner { gap: 10px 14px; }
  .to-site .to-brand { font-size: 15px; gap: 9px; }
  .to-site .to-brand-symbol { width: 38px; height: 38px; flex-basis: 38px; font-size: 20px; border-radius: 9px; }
  .to-site .to-brand small { font-size: 8px; }
  .to-site .to-header-phone { font-size: 13px; }
  .to-site .to-nav { justify-content: space-between; gap: 12px; font-size: 13px; }
  .to-site .to-hero { padding: 36px 0; gap: 28px; }
  .to-site .to-eyebrow { font-size: 10px; letter-spacing: .09em; }
  .to-site h1 { margin-top: 18px; font-size: 52px; }
  .to-site .to-lead { margin-top: 20px; font-size: 16px; }
  .to-site .to-actions { display: grid; grid-template-columns: 1fr; margin-top: 24px; gap: 10px; }
  .to-site .to-button { min-height: 48px; font-size: 14px; }
  .to-site .to-hint { font-size: 12px; line-height: 1.6; }
  .to-site .to-visit { display: block; padding: 24px; border-radius: 14px; }
  .to-site .to-capacity { flex-direction: row; align-items: center; justify-content: flex-start; padding-bottom: 20px; }
  .to-site .to-capacity strong { font-size: 66px; }
  .to-site .to-capacity span { font-size: 12px; }
  .to-site .to-visit-row { padding-top: 18px; border-top: 1px solid #dde1eb; }
  .to-site .to-visit-row + .to-visit-row { margin-top: 18px; }
  .to-site .to-section { padding: 36px 0; }
  .to-site .to-section-heading { margin-bottom: 24px; }
  .to-site h2 { font-size: 29px; }
  .to-site .to-checklist { grid-template-columns: 1fr; gap: 26px; }
  .to-site .to-checklist li { gap: 14px; }
  .to-site .to-document { gap: 16px; padding: 18px 0; }
  .to-site .to-document strong { font-size: 15px; }
  .to-site .to-requisites { grid-template-columns: 1fr; gap: 28px; }
  .to-site .to-company h3 { font-size: 26px; }
  .to-site .to-details > div { padding: 12px 0; }
  .to-site .to-contact-phone { font-size: 27px; }
  .to-site .to-hours { padding: 22px; }
  .to-site .to-hours dl > div { flex-wrap: wrap; gap: 4px 12px; }
  .to-site .to-hours dt, .to-site .to-hours dd { font-size: 13px; }
  .to-site .to-footer .to-container { flex-direction: column; gap: 6px; }
}
