
:root{--blue:#032b5c;--sky:#03a9f4;--yellow:#ffd52f;--bg:#f3f7fb;--muted:#62738a;--line:#dce6f0;--green:#12a94d}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:#08254a;background:var(--bg);line-height:1.5;padding-bottom:92px}a{color:inherit}.site-container{width:calc(100% - 40px);max-width:1180px;margin-left:auto;margin-right:auto;padding:0;min-width:0}.top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}.nav{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:18px}.brand{font-weight:900;font-size:20px;text-decoration:none}.brand span{color:var(--sky)}.menu{display:flex;gap:22px;flex-wrap:wrap}.menu a{text-decoration:none;font-weight:700;font-size:14px}.hero{padding:44px 0 28px;background:linear-gradient(135deg,#07366d,#0b6aa8);color:#fff}.hero-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:28px;align-items:center}.hero h1{font-size:44px;line-height:1.08;margin:0 0 15px}.hero p{font-size:18px;color:#d9efff}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.fact{background:#ffffff12;border:1px solid #ffffff28;border-radius:16px;padding:15px}.fact b{display:block;font-size:15px}.fact span{font-size:13px;color:#dcecff}.cta{display:inline-flex;align-items:center;justify-content:center;background:var(--yellow);color:#081d37!important;border-radius:14px;padding:14px 22px;text-decoration:none;font-weight:900;border:0}.section{padding:42px 0}.section h2{font-size:30px;margin:0 0 10px}.lead{color:var(--muted);margin:0 0 24px}.panel{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 8px 28px #06325d0a}.widget-wrap{overflow:hidden}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.city-card{height:190px;border-radius:18px;overflow:hidden;position:relative;text-decoration:none;background:#194b7d}.city-card img{width:100%;height:100%;object-fit:cover;display:block}.city-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,#001c3be8)}.city-card strong{position:absolute;z-index:2;left:16px;right:16px;bottom:14px;color:#fff;font-size:18px}.city-card small{display:block;color:#dbeafe;font-weight:600}.grid2{display:grid;grid-template-columns:1.5fr .5fr;gap:22px}.side .panel{margin-bottom:18px}.badge{display:inline-flex;align-items:center;background:#effff4;color:#058a3c;border:1px solid #8be5a8;padding:6px 12px;border-radius:999px;font-size:13px;font-weight:800;white-space:nowrap}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0 18px}.heading-row h2{margin:0}.schedule{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:18px;overflow:hidden}.schedule th{background:#eaf6ff;color:#173c63;text-transform:uppercase;font-size:11px;letter-spacing:.04em}.schedule th,.schedule td{padding:14px 12px;text-align:left;border-bottom:1px solid var(--line)}.schedule tr:last-child td{border-bottom:0}.schedule .time{font-weight:900;font-size:16px}.schedule .buy{background:var(--yellow);padding:10px 13px;border-radius:12px;text-decoration:none;font-weight:900;white-space:nowrap}.routes-list{columns:3;column-gap:28px}.routes-list a{display:block;padding:8px 0;color:#075db2;text-decoration:none}.sticky-buy{position:fixed;z-index:50;left:50%;transform:translateX(-50%);bottom:12px;background:var(--yellow);color:#081d37;text-decoration:none;font-weight:900;font-size:18px;border-radius:15px;padding:16px 34px;box-shadow:0 10px 30px #001c3b3d;min-width:280px;text-align:center}.footer{background:#052b57;color:#dcecff;padding:38px 0}.footer a{color:#fff}.crumb{font-size:13px;color:#6b7d91;margin-bottom:12px}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.info-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}.notice{background:#fff8dd;border:1px solid #f6d96d;border-radius:14px;padding:14px 16px;color:#654c00}.route-title{font-size:38px;margin:0}.mobile-cards{display:none}.photo-hero{height:260px;border-radius:20px;overflow:hidden;margin-bottom:20px;background:linear-gradient(135deg,#0b6aa8,#032b5c)}.photo-hero img{width:100%;height:100%;object-fit:cover}.widget-title{font-size:24px;margin:0 0 14px}.tourbox,.hotelbox{margin-top:24px}.small{font-size:13px;color:var(--muted)}
@media(max-width:900px){.hero-grid,.grid2{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}.routes-list{columns:2}.menu{display:none}.hero h1{font-size:34px}.facts{grid-template-columns:1fr}.info-grid{grid-template-columns:1fr}.heading-row{align-items:flex-start;flex-direction:column}.route-title{font-size:31px}}
@media(max-width:620px){.site-container{width:calc(100% - 32px);padding:0}.cards{grid-template-columns:1fr 1fr;gap:10px}.city-card{height:145px}.city-card strong{font-size:15px}.schedule{display:none}.mobile-cards{display:grid;gap:14px}.flight{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px}.flight-top{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}.flight label{font-size:11px;color:#74869a;font-weight:900;text-transform:uppercase}.flight b{display:block;font-size:16px}.flight .route-data{padding:12px 0}.flight .cta{width:100%}.routes-list{columns:1}.hero{padding-top:30px}.hero h1{font-size:30px}.section{padding:30px 0}.sticky-buy{bottom:10px;width:calc(100% - 42px);min-width:auto}.panel{padding:18px}.route-title{font-size:28px}}

/* Главная: светлый hero в стиле эталонных сайтов */
.home-top .nav{min-height:74px}.brand-with-icon{display:flex;align-items:center;gap:11px}.brand-with-icon img{width:36px;height:36px;object-fit:contain}.brand-with-icon .brand-text{display:block;color:#08254a;font-style:normal}.brand-with-icon em{font-style:normal;color:var(--sky)}.top-buy{padding:13px 20px;border-radius:14px;white-space:nowrap}.home-top .menu{gap:20px}
.home-hero-v2{background:linear-gradient(120deg,#f7fcff 0%,#eaf7ff 100%);padding:40px 0 44px;border-bottom:1px solid #e6eef6}.home-hero-layout{display:grid;grid-template-columns:1.04fr .96fr;gap:28px;align-items:stretch}.home-hero-copy{background:#fff;border:1px solid #d9e5ef;border-radius:24px;padding:38px;box-shadow:0 15px 42px rgba(7,43,92,.08)}.home-eyebrow{display:block;color:#0786d3;font-size:13px;font-weight:900;letter-spacing:.08em;margin-bottom:13px}.home-hero-copy h1{font-size:46px;line-height:1.08;margin:0 0 15px;color:#08254a;letter-spacing:-.02em}.home-hero-lead{font-size:18px;line-height:1.55;color:#5d7188;margin:0 0 25px;max-width:650px}.home-hero-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.hero-secondary{display:inline-flex;align-items:center;justify-content:center;background:#e7f5ff;color:#056aa8;text-decoration:none;font-weight:900;border-radius:14px;padding:14px 22px;border:1px solid #d8edf9}.home-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}.home-fact{background:#f3f8fc;border-radius:16px;padding:14px 15px;min-width:0}.home-fact span{display:block;font-size:12px;font-weight:800;color:#70839a;margin-bottom:4px}.home-fact b{display:block;font-size:14px;color:#08254a;line-height:1.35}.home-hero-photo{border-radius:24px;overflow:hidden;min-height:100%;box-shadow:0 16px 42px rgba(7,43,92,.12);background:#d7edfb;border:1px solid #d4e5f0}.home-hero-photo img{width:100%;height:100%;min-height:415px;display:block;object-fit:cover;object-position:center}.home-hero-v2 + .section{padding-top:46px}
@media(max-width:1100px){.home-top .menu{gap:12px}.home-top .menu a{font-size:13px}.home-hero-copy{padding:30px}.home-hero-copy h1{font-size:40px}.home-facts{grid-template-columns:1fr 1fr}.home-fact:last-child{grid-column:1/-1}}
@media(max-width:900px){.home-hero-layout{grid-template-columns:1fr}.home-hero-photo{min-height:360px}.home-hero-photo img{min-height:360px}.home-facts{grid-template-columns:repeat(3,1fr)}.home-fact:last-child{grid-column:auto}.top-buy{font-size:13px;padding:11px 14px}}
@media(max-width:620px){.home-top .nav{min-height:64px}.brand-with-icon img{width:30px;height:30px}.brand-with-icon .brand-text{font-size:16px;line-height:1.1}.top-buy{display:none}.home-hero-v2{padding:22px 0 28px}.home-hero-copy{padding:23px;border-radius:20px}.home-eyebrow{font-size:11px}.home-hero-copy h1{font-size:34px}.home-hero-lead{font-size:16px}.home-hero-actions{display:grid;grid-template-columns:1fr}.home-hero-actions .cta,.hero-secondary{width:100%}.home-facts{grid-template-columns:1fr}.home-hero-photo{border-radius:20px;min-height:260px}.home-hero-photo img{min-height:260px}.home-hero-v2 + .section{padding-top:32px}}

/* Header: keep logo and desktop navigation on one row */
@media(min-width:901px){
  .nav{flex-wrap:nowrap}
  .brand,.brand-with-icon,.brand-with-icon .brand-text{white-space:nowrap;flex-shrink:0}
  .menu,.home-top .menu{flex-wrap:nowrap;white-space:nowrap;gap:clamp(10px,1.2vw,20px)}
  .top-buy,.nav>.cta{flex-shrink:0}
}

/* Fix: third-party widgets must never expand route pages horizontally */
html,body{width:100%;max-width:100%;overflow-x:clip}
.site-container,main,.section,.grid2,.grid2>*,.panel,.widget-wrap,.side{min-width:0;max-width:100%}
.grid2{grid-template-columns:minmax(0,3fr) minmax(250px,1fr)}
.panel{overflow:hidden}
.panel iframe,.widget-wrap iframe{display:block;max-width:100%!important;width:100%!important}
.panel img,.widget-wrap img{max-width:100%;height:auto}
.panel>div,.widget-wrap>div{max-width:100%!important}
.schedule{max-width:100%}
@media(max-width:900px){.grid2{grid-template-columns:minmax(0,1fr)}}


/* Site width lock: match the compact desktop layout of the reference sites.
   Unique class name prevents third-party widgets from overriding our wrapper. */
.site-container{box-sizing:border-box!important;width:calc(100% - 40px)!important;max-width:1180px!important;margin-inline:auto!important;padding-left:0!important;padding-right:0!important}
.top>.site-container,.home-hero-v2>.site-container,.section>.site-container,.footer>.site-container{max-width:1180px!important}
@media(max-width:620px){.site-container{width:calc(100% - 32px)!important}}
