
/* Scoped intercity page; shared header, footer and menu are preserved. */
.mezhgorod-page { --mg-line:#e2d0bd; --mg-paper:#fffdf9; --mg-soft:#faf0e2; --mg-dark:#352a22; }
.mezhgorod-page h2 { font-size:clamp(30px,3.4vw,45px); line-height:1.08; max-width:25ch; }
.mezhgorod-page h3 { font-size:clamp(21px,2vw,26px); line-height:1.15; }
.mezhgorod-page p { line-height:1.55; }
.mezhgorod-page [id] { scroll-margin-top:120px; }
.mezhgorod-page .mg-hero { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:clamp(28px,5.4vw,73px); align-items:center; padding-block:34px 48px; }
.mezhgorod-page .mg-hero h1 { max-width:18ch; font-size:clamp(43px,4.9vw,65px); letter-spacing:-.055em; line-height:1.025; }
.mezhgorod-page .mg-hero h1 span { display:block; color:#a54913; font-size:.68em; margin-top:16px; line-height:1.08; max-width:17ch; }
.mezhgorod-page .mg-lead { margin-top:23px; font-size:clamp(18px,1.6vw,21px); max-width:48ch; }
.mezhgorod-page .mg-hero-note { border-top:1px solid var(--mg-line); margin-top:24px; padding-top:18px; max-width:55ch; font-size:14px; }
.mezhgorod-page .mg-hero-photo { margin:0; position:relative; min-width:0; overflow:hidden; border-radius:24px; background:var(--mg-dark); aspect-ratio:.9; }
.mezhgorod-page .mg-hero-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 48%; }
.mezhgorod-page .mg-hero-photo figcaption { position:absolute; inset:auto 0 0; background:linear-gradient(transparent,#251c14ed 45%); padding:70px 28px 27px; color:#fff2de; }
.mezhgorod-page .mg-hero-photo figcaption span { display:block; color:#f4c393; font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; margin-bottom:10px; }
.mezhgorod-page .mg-hero-photo figcaption strong { font-size:26px; line-height:1.13; letter-spacing:-.035em; font-weight:750; }
.mezhgorod-page .mg-section { padding-block:clamp(35px,4.4vw,61px); border-top:1px solid var(--mg-line); }
.mezhgorod-page .mg-soft { background:var(--mg-soft); }
.mezhgorod-page .mg-heading { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); align-items:end; gap:34px; margin-bottom:29px; }
.mezhgorod-page .mg-heading>p { font-size:16px; max-width:46ch; }
.mezhgorod-page .mg-route { position:relative; margin:0; background:var(--mg-paper); border:1px solid #dfc6aa; border-radius:22px; padding:29px 30px 22px; }
.mezhgorod-page .mg-route-line { position:absolute; top:30px; left:4%; width:66%; height:44px; pointer-events:none; }
.mezhgorod-page .mg-route-line svg { display:block; width:100%; height:100%; }
.mezhgorod-page .mg-route-steps { position:relative; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; margin:0; padding:0; list-style:none; }
.mezhgorod-page .mg-route-steps li { margin:0; }
.mezhgorod-page .mg-route-num { position:relative; display:grid; place-items:center; width:42px; height:42px; border:1px solid #bf8450; border-radius:50%; background:#fff4e4; color:#995122; font-size:14px; font-weight:850; margin-bottom:21px; box-shadow:0 0 0 7px var(--mg-paper); }
.mezhgorod-page .mg-route-steps h3 { margin-bottom:11px; font-size:25px; }
.mezhgorod-page .mg-route-steps p { font-size:15px; }
.mezhgorod-page .mg-route figcaption { margin-top:26px; padding-top:17px; border-top:1px solid #e5d2bb; font-size:13px; line-height:1.5; color:#8c6b4d; }
.mezhgorod-page .mg-route-link { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:18px; padding:21px 27px; background:#f0dfcb; border-radius:15px; color:#75441f; text-decoration:none; border:1px solid #e0c4a5; }
.mezhgorod-page .mg-route-link small { display:block; color:#92683f; font-size:10px; letter-spacing:.06em; text-transform:uppercase; font-weight:800; margin-bottom:7px; }
.mezhgorod-page .mg-route-link strong { font-size:22px; line-height:1.2; letter-spacing:-.025em; }
.mezhgorod-page .mg-route-link>span:last-child { font-size:28px; }
.mezhgorod-page .mg-route-link:hover { background:#ecd4b9; }
.mezhgorod-page .mg-scope { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(30px,6vw,85px); align-items:start; }
.mezhgorod-page .mg-scope-intro { margin-top:20px; font-size:16px; max-width:44ch; }
.mezhgorod-page .mg-scope-rows article { display:grid; grid-template-columns:32px minmax(0,1fr); gap:18px; border-top:1px solid var(--mg-line); padding-top:24px; margin-top:25px; }
.mezhgorod-page .mg-scope-rows article:first-child { border:0; margin:0; padding:0; }
.mezhgorod-page .mg-scope-rows article>span { color:#a2511d; font-size:12px; font-weight:850; padding-top:5px; }
.mezhgorod-page .mg-scope-rows h3 { font-size:25px; margin-bottom:12px; }
.mezhgorod-page .mg-scope-rows p { font-size:16px; }
.mezhgorod-page .mg-price-table { border:1px solid #dec5a9; border-radius:18px; overflow:hidden; background:var(--mg-paper); }
.mezhgorod-page .mg-price-table table { width:100%; table-layout:fixed; border-collapse:collapse; text-align:left; font-size:16px; }
.mezhgorod-page .mg-price-table th,.mezhgorod-page .mg-price-table td { padding:17px 23px; border-bottom:1px solid #e7d7c4; vertical-align:top; overflow-wrap:anywhere; hyphens:auto; }
.mezhgorod-page .mg-price-table thead th:first-child { width:28%; }
.mezhgorod-page .mg-price-table thead { background:#f2e0ca; font-size:10px; text-transform:uppercase; letter-spacing:.06em; color:#87562d; }
.mezhgorod-page .mg-price-table tbody th { color:#63452d; width:25%; font-weight:750; }
.mezhgorod-page .mg-price-table tbody td { color:#745b43; }
.mezhgorod-page .mg-price-table tbody tr:last-child>* { border-bottom:0; }
.mezhgorod-page .mg-price-footer { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:24px 28px; margin-top:24px; border-radius:18px; background:var(--mg-dark); }
.mezhgorod-page .mg-price-footer p { font-size:15px; color:#eadcca; max-width:68ch; }
.mezhgorod-page .mg-price-footer .fs-btn { flex-shrink:0; background:#fff0de; border-color:#fff0de; color:#653316; }
.mezhgorod-page .mg-handover { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(30px,6vw,85px); align-items:start; }
.mezhgorod-page .mg-handover>div:first-child>p:not(.fs-k) { font-size:16px; margin-top:20px; max-width:49ch; }
.mezhgorod-page .mg-text-links { display:flex; flex-wrap:wrap; gap:11px 21px; margin-top:24px; }
.mezhgorod-page .mg-text-links a { font-size:14px; color:#9e4a18; text-underline-offset:.2em; }
.mezhgorod-page .mg-receipt { padding:29px 28px 25px; background:#f4e7d7; border:1px solid #dec4a8; border-radius:21px; }
.mezhgorod-page .mg-overline { color:#997049; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; margin-bottom:11px; }
.mezhgorod-page .mg-receipt h3 { font-size:30px; color:#674527; letter-spacing:-.035em; }
.mezhgorod-page .mg-checklist { margin:20px 0 0; padding:0; border:0; min-width:0; }
.mezhgorod-page .mg-checklist legend { color:#9a7552; font-size:11px; margin-bottom:10px; padding:0; }
.mezhgorod-page .mg-checklist label { display:flex; align-items:flex-start; gap:12px; padding:13px 0; border-bottom:1px solid #dec5ab; color:#6b4f35; font-size:15px; line-height:1.45; cursor:pointer; }
.mezhgorod-page .mg-checklist input { width:18px; height:18px; flex:0 0 18px; accent-color:#a84e18; margin:2px 0 0; }
.mezhgorod-page .mg-checklist input:checked+span { color:#9b7b5c; text-decoration:line-through; text-decoration-color:#bea07f; }
.mezhgorod-page .mg-receipt-note { margin-top:18px; font-size:12px; color:#8d6a49; }
.mezhgorod-page .mg-faq-grid { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(30px,6vw,85px); align-items:start; }
.mezhgorod-page .mg-faq details { border:1px solid #dfc8ae; border-radius:15px; background:var(--mg-paper); margin-bottom:12px; }
.mezhgorod-page .mg-faq summary { padding:19px 21px; font-size:16px; line-height:1.4; }
.mezhgorod-page .mg-faq details p { margin:0; padding:0 21px 21px; font-size:15px; line-height:1.55; }
.mezhgorod-page .mg-last { border:0; }
.mezhgorod-page .fs-final { background:var(--mg-dark); }
.mezhgorod-page .fs-final h2 { font-size:clamp(30px,3.3vw,44px); }
.mezhgorod-page .fs-final p { font-size:16px; }
.mezhgorod-page .mg-phone { display:inline-block; margin-top:13px; font-size:18px; color:#ffe4c6; font-weight:750; text-decoration:underline; text-decoration-color:#b68e67; text-underline-offset:.22em; }
@media (max-width:980px) {
 .mezhgorod-page .mg-hero { gap:29px; }
 .mezhgorod-page .mg-hero h1 { font-size:49px; }
 .mezhgorod-page .mg-hero-photo { align-self:stretch; }
 .mezhgorod-page .mg-hero-photo img { position:absolute; inset:0; }
 .mezhgorod-page .mg-route-steps { gap:26px; }
 .mezhgorod-page .mg-route-steps h3 { font-size:23px; }
}
@media (max-width:760px) {
 .mezhgorod-page .mg-hero { grid-template-columns:1fr; padding-block:27px 34px; gap:26px; }
 .mezhgorod-page .mg-hero h1 { font-size:clamp(39px,7.4vw,56px); max-width:17ch; }
 .mezhgorod-page .mg-hero h1 span { font-size:.7em; max-width:27ch; margin-top:13px; }
 .mezhgorod-page .mg-lead { margin-top:20px; max-width:100%; }
 .mezhgorod-page .mg-hero-note { max-width:100%; }
 .mezhgorod-page .mg-hero-photo { aspect-ratio:1.65; width:100%; max-height:400px; }
 .mezhgorod-page .mg-hero-photo img { object-position:50% 47%; }
 .mezhgorod-page .mg-hero-photo figcaption { padding:60px 25px 24px; }
 .mezhgorod-page .mg-hero-photo figcaption strong br { display:none; }
 .mezhgorod-page .mg-heading { grid-template-columns:1fr; gap:17px; margin-bottom:24px; }
 .mezhgorod-page .mg-heading>p { max-width:100%; }
 .mezhgorod-page .mg-route { padding:26px 25px 21px; }
 .mezhgorod-page .mg-route-steps { gap:21px; }
 .mezhgorod-page .mg-route-steps p { font-size:14px; }
 .mezhgorod-page .mg-route-line { top:27px; }
 .mezhgorod-page .mg-route-link { padding:20px 24px; }
 .mezhgorod-page .mg-scope { grid-template-columns:1fr; gap:27px; }
 .mezhgorod-page .mg-scope-intro { max-width:100%; }
 .mezhgorod-page .mg-price-footer { align-items:flex-start; flex-direction:column; gap:20px; }
 .mezhgorod-page .mg-handover { grid-template-columns:1fr; gap:29px; }
 .mezhgorod-page .mg-handover>div:first-child>p:not(.fs-k) { max-width:100%; }
 .mezhgorod-page .mg-receipt { max-width:620px; width:100%; }
 .mezhgorod-page .mg-faq-grid { grid-template-columns:1fr; gap:27px; }
}
@media (max-width:560px) {
 .mezhgorod-page .mg-hero h1 { font-size:clamp(34px,8.4vw,46px); letter-spacing:-.05em; }
 .mezhgorod-page .mg-hero h1 span { font-size:.72em; max-width:22ch; }
 .mezhgorod-page .mg-lead { font-size:17px; }
 .mezhgorod-page .mg-hero-note { font-size:13px; }
 .mezhgorod-page .mg-hero-photo { aspect-ratio:1.24; max-height:360px; }
 .mezhgorod-page .mg-hero-photo figcaption strong { font-size:24px; }
 .mezhgorod-page .mg-section { padding-block:32px; }
 .mezhgorod-page h2 { font-size:clamp(29px,7.6vw,37px); }
 .mezhgorod-page .mg-route-steps { grid-template-columns:1fr; gap:25px; }
 .mezhgorod-page .mg-route-steps li { display:grid; grid-template-columns:33px minmax(0,1fr); gap:0 15px; }
 .mezhgorod-page .mg-route-steps li:not(:last-child)::after { content:""; position:absolute; left:16px; top:36px; bottom:-23px; border-left:1px dashed #c29163; z-index:0; }
 .mezhgorod-page .mg-route-steps li { position:relative; }
 .mezhgorod-page .mg-route-num { grid-column:1; grid-row:1/3; width:33px; height:33px; margin:0; font-size:12px; box-shadow:0 0 0 3px var(--mg-paper); z-index:1; }
 .mezhgorod-page .mg-route-steps h3 { grid-column:2; font-size:23px; margin-bottom:9px; padding-top:4px; }
 .mezhgorod-page .mg-route-steps p { grid-column:2; font-size:15px; }
 .mezhgorod-page .mg-route-line { display:none; }
 .mezhgorod-page .mg-route figcaption { font-size:12px; }
 .mezhgorod-page .mg-route-link strong { font-size:20px; }
 .mezhgorod-page .mg-route-link small { font-size:9px; }
 .mezhgorod-page .mg-scope-rows article { gap:13px; grid-template-columns:27px minmax(0,1fr); }
 .mezhgorod-page .mg-scope-rows h3 { font-size:23px; }
 .mezhgorod-page .mg-scope-rows p { font-size:15px; }
 .mezhgorod-page .mg-price-table table { font-size:14px; }
 .mezhgorod-page .mg-price-table th,.mezhgorod-page .mg-price-table td { padding:14px; }
 .mezhgorod-page .mg-price-table tbody th { width:31%; }
 .mezhgorod-page .mg-price-table thead th:first-child { width:37%; }
 .mezhgorod-page .mg-price-table thead { font-size:9px; }
 .mezhgorod-page .mg-price-footer { padding:23px; }
 .mezhgorod-page .mg-price-footer p { font-size:14px; }
 .mezhgorod-page .mg-receipt { padding:25px 22px 22px; }
 .mezhgorod-page .mg-receipt h3 { font-size:28px; }
 .mezhgorod-page .mg-checklist label { font-size:14px; }
 .mezhgorod-page .mg-faq summary { padding:17px 18px; font-size:15px; }
 .mezhgorod-page .mg-faq details p { padding:0 18px 19px; font-size:14px; }
 .mezhgorod-page .fs-final h2 { font-size:31px; }
 .mezhgorod-page .fs-final p { font-size:15px; }
}
@media (max-width:360px) {
 .mezhgorod-page .fs-btns>a { width:100%; }
 .mezhgorod-page .mg-route { padding:23px 19px 19px; }
 .mezhgorod-page .mg-route-link { padding:19px; }
 .mezhgorod-page .mg-price-table th,.mezhgorod-page .mg-price-table td { padding-inline:11px; }
}
