/*
Theme Name: НИСА
Theme URI: https://atc52.ru/
Author: НИСА
Description: Сайт мониторинга транспорта по визуальному варианту 03.
Version: 0.1.1
Requires at least: 6.7
Requires PHP: 8.3
Text Domain: nisa
*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #091422;
  --ink: #122032;
  --text: #26384b;
  --muted: #526479;
  --blue: #007bff;
  --action: #005fcb;
  --action-hover: #004da8;
  --cta: #173b5b;
  --cta-hover: #0e2e49;
  --ice: #f5f8fc;
  --mist: #e9f1f9;
  --line: #d8e2ec;
  --white: #fff;
  font-family: Manrope, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { min-width: 320px; margin: 0; overflow-wrap: break-word; -webkit-tap-highlight-color: rgba(0,123,255,.18); }
body, button, input { font-family: Manrope, 'Segoe UI', Arial, sans-serif; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a, button, summary { touch-action: manipulation; }
main [id] { scroll-margin-top: 100px; }
p { margin: 0; line-height: 1.7; }
h1, h2, h3 { margin: 0; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 4.5vw, 4.5rem); line-height: 1.08; letter-spacing: -.035em; }
h2 { font-size: clamp(2.2rem, 3.7vw, 3.8rem); line-height: 1.1; letter-spacing: -.035em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -.025em; }
::selection { background: #b9d9ff; color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 100; top: -100px; left: 16px; padding: 12px 18px; background: var(--white); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(100% - 64px, 1280px); margin-inline: auto; }
.eyebrow { color: var(--action); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.body-lead { max-width: 62ch; color: var(--text); font-size: clamp(1.03rem, 1.55vw, 1.24rem); line-height: 1.65; }
.muted { color: var(--muted); }
.rule { width: 100%; height: 1px; background: var(--line); }

.utility { background: #07111d; color: #d6e4f2; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 34px; font-size: .75rem; font-weight: 700; }
.utility a { display: inline-flex; align-items: center; min-height: 34px; text-decoration: underline; text-underline-offset: 3px; }
.utility a:hover { color: var(--white); }
.header-wrap { position: sticky; top: 0; z-index: 30; background: var(--navy); border-bottom: 1px solid #30465c; }
.header { display: flex; align-items: center; gap: 30px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; color: var(--white); font-size: 1.35rem; font-weight: 800; line-height: .95; letter-spacing: -.035em; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand small { display: block; margin-top: 5px; color: #bfd2e6; font-size: .72rem; line-height: 1; letter-spacing: .1em; }
.nav { display: flex; align-items: center; gap: clamp(16px,2vw,31px); margin-left: auto; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: #d0dfec; font-size: .83rem; font-weight: 700; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; right: 0; bottom: 7px; left: 0; height: 2px; background: #7bb8ff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid #6e8499; border-radius: 8px; background: #122b44; color: var(--white); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: relative; display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; content: ''; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 51px; padding: 13px 20px; border: 1px solid transparent; border-radius: 8px; font-size: .84rem; font-weight: 800; line-height: 1.25; text-align: center; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--cta); color: var(--white); }
.btn-primary:hover { background: var(--cta-hover); }
.btn-header { min-height: 43px; background: var(--white); color: var(--navy); }
.btn-header:hover { background: #dcecff; }
.btn-outline { border-color: #8faac4; background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--action); background: var(--white); color: var(--action); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #dcecff; }
.btn svg, .text-link svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--action); font-size: .88rem; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { color: var(--action-hover); }
.action-row { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 33px; }
.action-note { flex-basis: 100%; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.dark-note { color: #c7d8e9; }

.hero { position: relative; overflow: hidden; background: var(--ice); }
.hero::after { content: ''; position: absolute; right: -1px; bottom: 0; left: 0; height: 1px; background: var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.88fr); gap: clamp(40px,5vw,90px); align-items: center; min-height: 660px; padding-block: 94px 104px; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { max-width: 12ch; }
.hero-copy .body-lead { max-width: 48ch; margin-top: 27px; }
.hero-stripe { display: flex; align-items: center; gap: 14px; margin-top: 60px; padding-top: 18px; border-top: 1px solid #b7cbdd; color: var(--muted); font-size: .79rem; font-weight: 700; }
.hero-stripe i { width: 26px; height: 3px; flex: none; background: var(--blue); }
.hero-stripe span { max-width: 53ch; }

/* Purpose-built service-chain visual, not a model of any third-party platform. */
.service-board { position: relative; overflow: hidden; padding: 27px; border-radius: 15px; background: var(--navy); color: var(--white); box-shadow: 0 30px 50px rgba(9,20,34,.18); }
.service-board::before { content: ''; position: absolute; top: 0; bottom: 0; left: 46px; width: 1px; background: #35648f; }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 23px; border-bottom: 1px solid #2e4962; }
.board-head strong { font-size: .88rem; }
.board-head span { color: #a9c7e2; font-size: .78rem; }
.board-flow { position: relative; display: grid; gap: 0; margin-top: 12px; }
.flow-node { display: grid; grid-template-columns: 38px 1fr auto; gap: 18px; align-items: center; min-height: 88px; border-bottom: 1px solid #2b465e; }
.flow-node:last-child { border: 0; }
.flow-node .dot { position: relative; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #84b8e9; border-radius: 50%; background: #0c2741; color: #e3f2ff; }
.flow-node .dot svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow-node strong { display: block; font-size: 1rem; }
.flow-node p { margin-top: 5px; color: #b8d0e4; font-size: .76rem; line-height: 1.45; }
.flow-node em { color: #90b4d5; font-size: .75rem; font-style: normal; font-weight: 800; }
.board-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; color: #b8d0e4; font-size: .78rem; }
.board-foot b { color: var(--white); font-weight: 800; }
.board-accent { position: absolute; top: 0; right: 0; width: 25%; height: 4px; background: var(--blue); }

.section { padding-block: 104px; }
.section.soft { background: var(--ice); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-heading h2 { max-width: 17ch; }
.section-heading p { max-width: 49ch; color: var(--muted); font-size: .98rem; }
.path-list { border-top: 1px solid #bbcede; }
.path-item { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.18fr) auto; gap: 24px; align-items: center; min-height: 151px; padding: 24px 0; border-bottom: 1px solid #bbcede; }
.path-item h3 { max-width: 17ch; }
.path-item p { max-width: 51ch; color: var(--muted); font-size: .92rem; }
.path-item .go { display: grid; place-items: center; width: 51px; height: 51px; border: 1px solid #a7bed4; border-radius: 8px; color: var(--action); transition: background .2s, color .2s; }
.path-item:hover .go { background: var(--action); color: var(--white); }
.path-item .go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.path-item:focus-visible { outline-offset: -3px; }
.era-section { padding-block: 90px; background: #10263d; color: var(--white); }
.era-layout { display: grid; grid-template-columns: minmax(0,1.07fr) minmax(0,.93fr); gap: clamp(42px,7vw,110px); align-items: start; }
.era-copy h2 { max-width: 17ch; font-size: clamp(2.35rem,4.1vw,4.25rem); }
.era-copy p { max-width: 54ch; margin-top: 22px; color: #d3e2f0; font-size: 1rem; }
.era-hero-link { margin-top: 17px; font-size: .9rem; font-weight: 800; }
.era-hero-link a { color: var(--cta); text-decoration: underline; text-underline-offset: 4px; }
.era-hero-link a:hover { color: var(--action); }
.era-copy .btn { margin-top: 30px; }
.era-copy .era-action-note { margin-top: 11px; color: #c4d7e8; font-size: .875rem; }
.era-details { border-top: 1px solid #65809b; }
.era-detail { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 20px; padding: 25px 0 27px; border-bottom: 1px solid #46617b; }
.era-detail > span { padding-top: 4px; color: #a6cef3; font-size: .82rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.era-detail h3 { font-size: 1.35rem; }
.era-detail p { max-width: 44ch; margin-top: 10px; color: #c4d7e8; font-size: .9rem; }
.era-note { max-width: 51ch; margin-top: 23px; color: #a6c4dd; font-size: .875rem; }
.era-proof { margin-top: 26px; padding-top: 20px; border-top: 1px solid #46617b; }
.era-proof strong { display: block; font-size: .87rem; }
.era-proof p { margin-top: 8px; color: #c4d7e8; font-size: .875rem; }
.era-proof a { color: var(--white); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.era-proof a:hover { color: #c9e3fa; }
.section-split { display: grid; grid-template-columns: minmax(0,.77fr) minmax(0,1.23fr); gap: clamp(35px,7vw,100px); align-items: start; }
.section-split h2 { max-width: 17ch; }
.section-split .body-lead { margin-top: 24px; }
.inline-facts { display: grid; border-top: 1px solid var(--line); }
.inline-facts > div { display: grid; grid-template-columns: 185px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.inline-facts strong { font-size: .95rem; }
.inline-facts p { color: var(--muted); font-size: .87rem; }
.step-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid #b9ccdf; border-bottom: 1px solid #b9ccdf; }
.step { padding: 24px 24px 33px; border-right: 1px solid #b9ccdf; }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; }
.step small { display: block; margin-bottom: 45px; color: var(--action); font-size: .8rem; font-weight: 800; }
.step h3 { max-width: 16ch; }
.step p { margin-top: 12px; color: var(--muted); font-size: .88rem; }
.surface-cta { padding-block: 71px; background: var(--navy); color: var(--white); }
.surface-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.surface-cta h2 { max-width: 17ch; }
.surface-cta p { max-width: 56ch; margin-top: 14px; color: #bed1e4; font-size: .96rem; }
.surface-cta .btn { flex: none; }

.page-hero { background: var(--ice); border-bottom: 1px solid var(--line); }
.page-hero .hero-grid { min-height: 550px; padding-block: 76px 88px; }
.page-hero h1 { max-width: 13ch; font-size: clamp(2.65rem,4.1vw,4rem); }
.page-hero .body-lead { max-width: 53ch; }
.hero-focus { padding: 33px; border-radius: 14px; background: var(--navy); color: var(--white); box-shadow: 0 24px 44px rgba(9,20,34,.16); }
.hero-focus h2 { max-width: 16ch; margin-bottom: 26px; font-size: clamp(1.7rem,2.25vw,2.35rem); line-height: 1.19; }
.focus-line { display: grid; grid-template-columns: 22px 1fr; gap: 13px; padding: 14px 0; border-top: 1px solid #35516b; }
.focus-line b { color: #8fc3f6; font-size: .8rem; }
.focus-line p { color: #d2e2f0; font-size: .86rem; }
.hero-focus .focus-footer { margin-top: 18px; padding-top: 17px; border-top: 1px solid #35516b; color: #a9c7e2; font-size: .75rem; }
.subject-band { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 35px; }
.subject-band span { padding: 8px 11px; border: 1px solid #c0d2e3; border-radius: 5px; color: #36526d; background: var(--white); font-size: .75rem; font-weight: 800; }
.price-rows { border-top: 1px solid var(--line); }
.price-row { display: grid; grid-template-columns: minmax(0,.48fr) minmax(0,1fr); gap: 30px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.price-row strong { font-size: 1.06rem; }
.price-row p { color: var(--muted); font-size: .92rem; }
.route-panel { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #c6d8e9; border-radius: 13px; overflow: hidden; background: var(--white); }
.route-option { display: flex; flex-direction: column; align-items: start; min-height: 294px; padding: 33px; }
.route-option + .route-option { border-left: 1px solid #c6d8e9; }
.route-option h3 { margin-bottom: 16px; }
.route-option p { max-width: 48ch; color: var(--muted); font-size: .91rem; }
.route-option .btn { margin-top: auto; }
.route-option .action-note { margin-top: 10px; }
.route-option.dark { background: var(--navy); color: var(--white); }
.route-option.dark p, .route-option.dark .action-note { color: #c5d7e8; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 42px 23px 0; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 10px; top: 17px; color: var(--action); font-size: 1.8rem; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { max-width: 68ch; padding: 0 35px 24px 0; color: var(--muted); font-size: .92rem; }
.footer { padding-block: 61px 25px; background: #07111d; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .75fr .75fr; gap: 60px; padding-bottom: 58px; }
.footer-brand p { max-width: 38ch; margin-top: 25px; color: #b3c8dc; font-size: .86rem; }
.footer-col { display: grid; align-content: start; gap: 14px; }
.footer-col strong { margin-bottom: 7px; font-size: .85rem; }
.footer-col a { color: #bdd0e2; font-size: .83rem; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 19px; border-top: 1px solid #30465c; color: #9eb6cc; font-size: .75rem; }

@media (max-width: 1100px) {
  .header { gap: 17px; }
  .nav { gap: 14px; }
  .header-actions .btn { padding-inline: 13px; }
  .hero-grid { gap: 35px; }
  .flow-node { grid-template-columns: 38px 1fr; }
  .flow-node em { display: none; }
}
@media (max-width: 880px) {
  .container { width: min(100% - 40px,1280px); }
  .header { flex-wrap: wrap; padding-block: 12px; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; }
  .has-js .nav { display: none; }
  .has-js .nav.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 20px; padding-top: 13px; border-top: 1px solid #30465c; }
  .nav a[aria-current="page"]::after { bottom: 0; }
  .hero-grid, .page-hero .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 74px; }
  .hero-copy h1 { max-width: 13ch; }
  .hero-stripe { margin-top: 42px; }
  .service-board, .hero-focus { max-width: 650px; }
  .section-split { grid-template-columns: 1fr; }
  .era-layout { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 18px; }
  .step-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid #b9ccdf; }
  .step:nth-child(3) { padding-left: 0; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 32px,1280px); }
  .utility-inner { justify-content: flex-end; }
  .utility-region { display: none; }
  .header { min-height: 68px; }
  .brand { font-size: 1.14rem; }
  .brand img { width: 37px; height: 37px; }
  .header-actions .btn { display: none; }
  .has-js .nav.is-open { grid-template-columns: 1fr; }
  .hero-grid, .page-hero .hero-grid { padding-block: 56px 66px; }
  h1, .page-hero h1 { font-size: clamp(2.05rem,8.5vw,2.75rem); }
  h2 { font-size: clamp(2rem,8.4vw,2.75rem); }
  .body-lead { font-size: 1rem; }
  .action-row { align-items: stretch; }
  .action-row .btn { width: 100%; }
  .service-board { padding: 21px; }
  .service-board::before { left: 40px; }
  .flow-node { gap: 12px; min-height: 84px; }
  .board-foot { display: block; }
  .board-foot b { display: block; margin-top: 6px; }
  .section { padding-block: 72px; }
  .era-section { padding-block: 72px; }
  .era-copy .btn { width: 100%; }
  .path-item { grid-template-columns: 1fr 51px; gap: 11px; min-height: 0; }
  .path-item h3 { grid-column: 1; }
  .path-item p { grid-column: 1; }
  .path-item .go { grid-column: 2; grid-row: 1 / span 2; }
  .inline-facts > div, .price-row { grid-template-columns: 1fr; gap: 7px; }
  .step-list { grid-template-columns: 1fr; }
  .step { padding: 22px 0 24px; border-right: 0; border-bottom: 1px solid #b9ccdf; }
  .step small { margin-bottom: 16px; }
  .step:last-child { border-bottom: 0; }
  .surface-cta .container { align-items: start; flex-direction: column; }
  .surface-cta .btn { width: 100%; }
  .route-panel { grid-template-columns: 1fr; }
  .route-option { min-height: 0; gap: 20px; padding: 24px; }
  .route-option + .route-option { border-left: 0; border-top: 1px solid #c6d8e9; }
  .route-option .btn { width: 100%; margin-top: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px 26px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 390px) {
  .flow-node strong { font-size: .9rem; }
  .flow-node p { font-size: .78rem; }
  .subject-band span { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* WordPress navigation and global contact adjustments. */
.nav-list { display: flex; align-items: center; gap: clamp(16px,2vw,31px); list-style: none; margin: 0; padding: 0; }
.utility-links { display: flex; align-items: center; gap: 20px; }
.footer-brand > a:last-child { display: inline-block; margin-top: 15px; color: #d6e4f2; text-decoration: underline; text-underline-offset: 3px; }
.contact-band a[href^="tel:"] { color: var(--action); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
body.admin-bar .header-wrap { top: 32px; }
@media (max-width: 880px) { .nav-list { flex-wrap: wrap; } .has-js .nav.is-open .nav-list { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 20px; } }
@media (max-width: 782px) { body.admin-bar .header-wrap { top: 46px; } }
@media (max-width: 620px) { .utility-links { gap: 12px; font-size: .68rem; } .has-js .nav.is-open .nav-list { grid-template-columns: 1fr; } }
