*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;color:#071d3b;background:#f4f7fb;padding-bottom:82px}a{color:inherit}.wrap{max-width:1180px;margin:auto;padding:0 20px}.top{background:#fff;border-bottom:1px solid #dbe5f0;position:sticky;top:0;z-index:20}.nav{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:800;font-size:20px}.brand img{width:44px;height:44px;border:2px solid #168eea;border-radius:10px}.menu{display:flex;gap:22px}.menu a{text-decoration:none;font-weight:700}.hero{background:linear-gradient(90deg,rgba(4,30,61,.94),rgba(4,30,61,.60)),url(https://commons.wikimedia.org/wiki/Special:Redirect/file/Grozny,_Russia,_Panoramic_view_of_Grozny.jpg?width=900) center/cover;min-height:330px;color:#fff;display:flex;align-items:center}.hero h1{font-size:46px;margin:0 0 12px}.hero p{font-size:19px;max-width:720px;line-height:1.55}.btn{display:inline-block;background:#ffd32f;padding:15px 25px;border-radius:13px;text-decoration:none;font-weight:800;color:#061a35;border:0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.city{min-height:190px;border-radius:18px;overflow:hidden;position:relative;background:#123}.city img{width:100%;height:190px;object-fit:cover}.city span{position:absolute;left:0;right:0;bottom:0;padding:35px 18px 16px;background:linear-gradient(transparent,rgba(0,0,0,.82));color:#fff;font-size:21px;font-weight:800}.section{padding:38px 0}.section h2{font-size:30px;margin:0 0 20px}.card{background:#fff;border:1px solid #dbe5f0;border-radius:20px;padding:24px;margin-bottom:22px;box-shadow:0 8px 24px rgba(20,45,80,.04)}.layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;padding-top:28px}.widget{overflow:hidden}.fresh{display:inline-flex;background:#eaffef;border:1px solid #65d98b;color:#08742d;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:800}.schedule-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #dbe5f0;border-radius:16px;overflow:hidden}.table th{background:#eaf6ff;text-align:left;font-size:12px;text-transform:uppercase;padding:13px}.table td{padding:13px;border-top:1px solid #dbe5f0}.time{font-weight:800}.buy{background:#ffd32f;border-radius:11px;padding:11px 15px;text-decoration:none;font-weight:800;display:inline-block}.side .card{position:sticky;top:96px}.sticky-buy{position:fixed;bottom:0;left:0;right:0;background:rgba(255,255,255,.96);border-top:1px solid #dbe5f0;padding:12px;text-align:center;z-index:50}.sticky-buy .btn{min-width:275px}.footer{background:#071d3b;color:#dbe6f4;padding:38px 0}.routes{columns:3;column-gap:30px}.routes a{display:block;padding:7px 0;text-decoration:none}.note{color:#60738b;line-height:1.6}.monet{overflow:hidden} @media(max-width:760px){.menu{display:none}.hero{min-height:280px}.hero h1{font-size:34px}.grid{grid-template-columns:1fr 1fr}.layout{display:block}.side{display:none}.schedule-head{align-items:flex-start;flex-direction:column}.table,.table tbody{display:block;border:0}.table thead{display:none}.table tr{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid #dbe5f0;border-radius:18px;padding:16px;margin-bottom:16px}.table td{border:0;padding:8px}.table td:nth-child(3),.table td:nth-child(4),.table td:nth-child(5){grid-column:1/-1;border-top:1px solid #e3ebf3}.table td:nth-child(5) .buy{display:block;text-align:center;padding:15px}.grid{grid-template-columns:1fr}.routes{columns:1}.wrap{padding:0 14px}.card{padding:16px}.widget{margin-left:-6px;margin-right:-6px}}/* Home hero matching the current marathon reference sites */
.top{position:relative}.nav{height:94px}.brand{font-size:22px}.brand img{width:52px;height:52px;border-radius:8px}.brand span{display:flex;flex-direction:column;line-height:1.15}.brand small{font-size:14px;font-weight:400;color:#60738b;margin-top:5px}.menu{align-items:center;gap:24px}.header-buy{background:#ffd32f;padding:20px 26px;border-radius:18px}.hero{background:#eef7fc;color:#071d3b;min-height:0;padding:32px 0 40px}.hero-card{max-width:1240px;display:grid;grid-template-columns:1fr 1.05fr;gap:34px;background:#fff;border:1px solid #dbe5f0;border-radius:34px;padding:34px;box-shadow:0 16px 38px rgba(35,76,115,.08)}.hero-info{padding:8px 0}.region{display:inline-block;background:#e6f5fc;color:#0877b8;font-size:14px;letter-spacing:1.3px;font-weight:900;padding:10px 15px;border-radius:999px}.hero h1{font-size:54px;line-height:1.03;margin:24px 0 16px;letter-spacing:-1.5px}.hero p{color:#60738b;font-size:19px;line-height:1.65;margin:0;max-width:620px}.hero-actions{display:flex;gap:12px;margin:25px 0 22px}.hero-actions .btn{font-size:17px;padding:17px 24px;border-radius:15px}.hero-actions .secondary{background:#e4f2fb;color:#0877b8}.contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.contact-cards>div{background:#f5f9fc;border:1px solid #dbe5f0;border-radius:17px;padding:16px;min-height:105px}.contact-cards span{display:block;color:#718299;font-size:14px;font-weight:700;margin-bottom:9px}.contact-cards strong{font-size:16px;line-height:1.35}.hero-visual{border-radius:25px;overflow:hidden;min-height:460px}.hero-visual img{display:block;width:100%;height:100%;min-height:460px;object-fit:cover;object-position:center}.section:first-of-type{padding-top:38px}
@media(max-width:980px){.menu a:not(.header-buy){display:none}.hero-card{grid-template-columns:1fr}.hero-visual{min-height:360px}.hero-visual img{min-height:360px}.contact-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.nav{height:78px}.brand{font-size:18px}.brand img{width:44px;height:44px}.brand small{font-size:11px}.header-buy{padding:13px 15px;border-radius:13px;font-size:14px}.hero{padding:18px 0 28px}.hero-card{padding:18px;border-radius:24px;gap:20px}.hero h1{font-size:40px;margin:18px 0 12px}.hero p{font-size:16px}.hero-actions{display:grid;grid-template-columns:1fr;margin:20px 0}.hero-actions .btn{text-align:center}.contact-cards{grid-template-columns:1fr}.contact-cards>div{min-height:auto}.hero-visual{min-height:280px}.hero-visual img{min-height:280px}.menu{display:flex}.menu .header-buy{display:block}}

/* Hero aligns with the same content width as all homepage sections */
.hero-card{max-width:1180px;}

/* Route schedule cards — mobile reference layout */
@media(max-width:760px){
  .schedule-head{display:flex;flex-direction:column;align-items:stretch;gap:10px}
  .schedule-head .fresh{align-self:flex-end;margin-left:auto}
  .table tr{display:grid;grid-template-columns:1fr 1fr;padding:16px;border-radius:18px;margin-bottom:16px;overflow:hidden}
  .table td{position:relative;padding:30px 16px 14px;font-size:16px;line-height:1.25;font-weight:700}
  .table td::before{position:absolute;top:11px;left:16px;color:#718299;font-size:12px;line-height:1;font-weight:900;letter-spacing:1px;text-transform:uppercase}
  .table td:nth-child(1){border-right:1px solid #e3ebf3;font-size:22px;font-weight:900}
  .table td:nth-child(1)::before{content:'Отправление'}
  .table td:nth-child(2)::before{content:'Дни'}
  .table td:nth-child(3),.table td:nth-child(4){grid-column:1/-1;border-top:1px solid #e3ebf3;padding-top:34px;padding-bottom:14px}
  .table td:nth-child(3)::before{content:'Откуда';top:14px}
  .table td:nth-child(4)::before{content:'Куда';top:14px}
  .table td:nth-child(5){grid-column:1/-1;border-top:1px solid #e3ebf3;padding:14px 0 0}
  .table td:nth-child(5)::before{content:none}
  .table td:nth-child(5) .buy{display:block;width:100%;padding:17px 15px;text-align:center;border-radius:14px;font-size:17px}
}

/* Air between the freshness badge and the first mobile schedule card */
@media(max-width:760px){
  .schedule-head{margin-bottom:14px}
}

/* Mobile spacing polish across the whole site */
@media(max-width:760px){
  .wrap{padding-left:20px;padding-right:20px}
  .nav{padding-left:14px;padding-right:14px}
  .layout{padding-top:22px;padding-bottom:28px}
  .layout>.card:first-child,.layout>div>.card:first-child{margin-top:0}
  .layout .card{margin-bottom:20px}
  .section{padding:28px 0}
  .section+.section{padding-top:18px}
  .hero{padding:20px 0 30px}
  .hero-card{padding:18px;margin:0;border-radius:24px}
  .card{border-radius:18px}
}
@media(max-width:420px){
  .wrap{padding-left:18px;padding-right:18px}
  .nav{padding-left:12px;padding-right:12px}
}

/* Final mobile outer gutters: keep all site content comfortably away from screen edges */
@media(max-width:760px){
  .wrap{padding-left:24px;padding-right:24px}
  .nav{padding-left:24px;padding-right:24px}
  .hero-card{margin-left:0;margin-right:0}
  .widget{margin-left:0;margin-right:0}
  .layout{padding-top:24px}
}
@media(max-width:420px){
  .wrap{padding-left:22px;padding-right:22px}
  .nav{padding-left:22px;padding-right:22px}
}

/* Mobile outer breathing room for white content panels */
@media(max-width:760px){
  .hero-card{margin-left:10px;margin-right:10px;width:auto}
}
@media(max-width:420px){
  .hero-card{margin-left:8px;margin-right:8px}
}

/* Compact homepage hero: wide photo and single-line desktop heading */
@media(min-width:981px){
 .hero{padding:24px 0 30px}
 .hero-card{grid-template-columns:minmax(0,1.13fr) minmax(0,1fr);gap:26px;padding:26px 30px;align-items:stretch}
 .hero-info{padding:0;min-width:0}
 .region{font-size:12px;padding:8px 13px}
 .hero h1{font-size:clamp(30px,3vw,39px);letter-spacing:-1.2px;line-height:1.12;margin:16px 0 12px;white-space:nowrap}
 .hero p{font-size:16px;line-height:1.5;max-width:560px}
 .hero-actions{margin:17px 0 16px;gap:10px}
 .hero-actions .btn{font-size:15px;padding:14px 16px;white-space:nowrap}
 .contact-cards{gap:9px}
 .contact-cards>div{padding:12px 11px;min-height:88px;border-radius:13px}
 .contact-cards span{font-size:12px;margin-bottom:6px}
 .contact-cards strong{font-size:14px;line-height:1.3;overflow-wrap:normal}
 .hero-visual,.hero-visual img{min-height:0;height:100%;max-height:365px}
 .hero-visual img{object-fit:cover;object-position:center 55%}
}
@media(min-width:981px) and (max-width:1130px){
 .hero h1{font-size:31px}
 .hero-actions .btn{font-size:13px;padding:13px 12px}
 .contact-cards strong{font-size:12px}
}
@media(max-width:980px){.hero h1{white-space:normal}}
@media(max-width:760px){.hero h1{font-size:clamp(29px,7vw,38px);line-height:1.13}.hero p{line-height:1.5}.hero-visual img{aspect-ratio:16/10;min-height:0;height:auto}.hero-visual{min-height:0}}
