
:root{--blue:#0756b6;--blue2:#0c73fe;--sky:#03a9f4;--yellow:#ffd52f;--text:#071d3b;--muted:#62748b;--bg:#f3f7fc;--card:#fff;--line:#dce6f2;--green:#0f9f4a;--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,"Helvetica Neue",sans-serif;color:var(--text);background:var(--bg);line-height:1.45;padding-bottom:84px}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input{font:inherit}.container{width:min(var(--max),calc(100% - 32px));margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}.header-top{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:76px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:20px}.brand img{width:42px;height:42px}.brand small{display:block;color:var(--muted);font-weight:500;font-size:12px}.nav{display:flex;align-items:center;gap:20px;font-weight:700;font-size:14px}.nav a:hover{color:var(--blue2)}.nav-buy,.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--yellow);border-radius:14px;padding:13px 20px;font-weight:800;color:#071d3b;box-shadow:0 5px 14px rgba(166,129,0,.12)}.menu-btn{display:none;background:none;border:0;font-size:27px}.hero{padding:42px 0 28px}.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:26px;align-items:stretch}.hero-card,.card{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 10px 30px rgba(7,29,59,.05)}.hero-card{padding:36px}.eyebrow{color:var(--blue2);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.hero h1{font-size:48px;line-height:1.04;margin:10px 0 14px}.hero p{font-size:18px;color:var(--muted);max-width:720px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn-secondary{background:#fff;border:1px solid var(--line);box-shadow:none}.hero-photo{border-radius:24px;overflow:hidden;min-height:340px;position:relative}.hero-photo img{width:100%;height:100%;object-fit:cover}.hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(3,20,46,.65))}.hero-caption{position:absolute;left:24px;bottom:22px;z-index:2;color:#fff;font-weight:800;font-size:20px}.quick-info{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.info-box{padding:16px;border:1px solid var(--line);border-radius:16px;background:#f9fbfe}.info-box b{display:block;font-size:14px}.info-box span{font-size:13px;color:var(--muted)}section{padding:28px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.section-head h2{font-size:30px;line-height:1.15;margin:0}.section-head p{margin:6px 0 0;color:var(--muted)}.section-link{color:var(--blue2);font-weight:800}.widget-shell{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;overflow:hidden}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.direction-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.2s;box-shadow:0 6px 18px rgba(7,29,59,.04)}.direction-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(7,29,59,.09)}.direction-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.direction-body{padding:15px}.direction-body h3{margin:0 0 4px;font-size:18px}.direction-body p{margin:0;color:var(--muted);font-size:13px}.chip{display:inline-flex;border:1px solid #9ae3b5;background:#ecfff3;color:#087b38;font-size:12px;font-weight:800;padding:6px 10px;border-radius:999px}.two-col{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}.content-card{padding:28px}.sidebar{display:grid;gap:16px;position:sticky;top:94px}.sidebar .card{padding:18px}.route-photo{width:100%;aspect-ratio:16/7;object-fit:cover;border-radius:18px;margin:18px 0}.breadcrumbs{font-size:13px;color:var(--muted);margin-bottom:14px}.breadcrumbs a{color:var(--blue2)}h1.page-title{font-size:38px;line-height:1.1;margin:0 0 10px}.lead{color:var(--muted);font-size:16px}.schedule-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 14px}.schedule-head h2{font-size:28px;margin:0}.schedule-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:17px;overflow:hidden;background:#fff}.schedule-table th{background:#eaf5ff;text-align:left;padding:13px 12px;text-transform:uppercase;font-size:11px;letter-spacing:.04em}.schedule-table td{padding:14px 12px;border-top:1px solid var(--line);vertical-align:middle}.schedule-table td:first-child{font-weight:900;font-size:16px}.schedule-table .buy-cell .btn{padding:10px 14px;border-radius:12px}.schedule-note{font-size:13px;color:var(--muted);margin-top:10px}.travel-block{margin-top:28px}.travel-block h2{margin-bottom:6px}.hotel-excursions{display:grid;gap:18px}.air-block{margin-top:30px;background:#fbfdff;border:1px dashed #cbd9ea;border-radius:18px;padding:18px}.air-block h3{margin:0 0 5px;font-size:18px}.air-block p{margin:0 0 14px;color:var(--muted);font-size:13px}.sticky-buy{position:fixed;left:0;right:0;bottom:0;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-top:1px solid var(--line);padding:12px 16px;z-index:60}.sticky-buy .btn{display:flex;max-width:540px;margin:auto;font-size:17px}.search-wrap{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:18px}.search-input{width:100%;border:1px solid var(--line);border-radius:13px;padding:14px 16px;font-size:16px;outline:none}.search-input:focus{border-color:var(--blue2)}.all-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.route-link{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 15px;font-weight:700}.route-link small{display:block;font-weight:500;color:var(--muted);margin-top:2px}.route-link:hover{border-color:#9ec9ff;color:var(--blue)}.footer{background:#071d3b;color:#fff;margin-top:32px;padding:42px 0 95px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}.footer h3{margin:0 0 10px}.footer a{color:#d6e5f7;display:block;margin:7px 0}.footer p{color:#b9cbe0}.notice{font-size:12px;color:#8195ad}.passenger-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.pass-card{padding:20px}.pass-card h3{margin:0 0 7px}.pass-card p{color:var(--muted);margin:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}.stat b{font-size:28px;display:block}.stat span{color:var(--muted);font-size:13px}
@media(max-width:960px){.nav{display:none}.menu-btn{display:block}.nav.open{display:flex;position:absolute;top:76px;left:16px;right:16px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;flex-direction:column;align-items:stretch;box-shadow:0 18px 40px rgba(7,29,59,.14)}.hero-grid,.two-col{grid-template-columns:1fr}.sidebar{position:static}.hero h1{font-size:40px}.grid{grid-template-columns:repeat(2,1fr)}.all-grid{grid-template-columns:repeat(2,1fr)}.passenger-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.hero-photo{min-height:260px}}
@media(max-width:640px){body{padding-bottom:80px}.container{width:min(100% - 22px,var(--max))}.header-top{min-height:66px}.brand{font-size:16px}.brand img{width:36px;height:36px}.hero{padding-top:20px}.hero-card{padding:24px}.hero h1{font-size:34px}.hero p{font-size:16px}.quick-info{grid-template-columns:1fr}.grid,.all-grid,.passenger-grid,.footer-grid,.stats{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column}.section-head h2{font-size:26px}.content-card{padding:18px}h1.page-title{font-size:31px}.route-photo{aspect-ratio:16/9}.schedule-head{align-items:flex-start;flex-direction:column}.schedule-head h2{font-size:26px}.schedule-table,.schedule-table tbody,.schedule-table tr,.schedule-table td{display:block}.schedule-table thead{display:none}.schedule-table{border:0;background:transparent}.schedule-table tr{background:#fff;border:1px solid var(--line);border-radius:19px;margin-bottom:15px;padding:15px}.schedule-table td{border:0;border-bottom:1px solid var(--line);padding:11px 0}.schedule-table td:last-child{border-bottom:0;padding-bottom:0}.schedule-table td:before{content:attr(data-label);display:block;text-transform:uppercase;color:#71839b;font-size:11px;font-weight:800;letter-spacing:.08em;margin-bottom:3px}.schedule-table td:nth-child(1),.schedule-table td:nth-child(2){display:inline-block;width:49%;vertical-align:top;border-bottom:1px solid var(--line);min-height:70px}.schedule-table td:nth-child(1){border-right:1px solid var(--line);padding-right:12px}.schedule-table td:nth-child(2){padding-left:12px}.schedule-table .buy-cell .btn{width:100%;font-size:17px;padding:14px}.widget-shell{padding:12px}.footer{padding-bottom:94px}}


/* mobile route-page overflow fix v2 */
html,body{max-width:100%;overflow-x:hidden}
.two-col>*{min-width:0;max-width:100%}
.content-card{min-width:0;width:100%;max-width:100%;overflow:hidden}
.content-card h1,.content-card h2,.content-card h3,.content-card p,.content-card .lead{max-width:100%;overflow-wrap:anywhere}
.route-photo{display:block;width:100%;max-width:100%;height:340px;aspect-ratio:auto;object-fit:cover;object-position:center;border-radius:18px;overflow:hidden}
.widget-shell,.travel-block,.air-block{min-width:0;max-width:100%;overflow:hidden}
.widget-shell>*,.air-block>*{max-width:100%!important}
.widget-shell iframe,.air-block iframe,.travel-block iframe{display:block;width:100%!important;max-width:100%!important;min-width:0!important;border:0}
.schedule-table{max-width:100%}
@media(max-width:960px){
  .two-col{grid-template-columns:minmax(0,1fr)}
  .route-photo{height:280px}
}
@media(max-width:640px){
  .container{max-width:calc(100vw - 22px)}
  .content-card{padding:14px}
  .route-photo{width:100%;height:180px;max-height:180px;margin:14px 0;border-radius:14px}
  h1.page-title{font-size:22px;line-height:1.15}
  .lead{font-size:13px}
  .widget-shell{width:100%;padding:10px}
  .widget-shell iframe,.air-block iframe,.travel-block iframe{width:100%!important;max-width:100%!important}
  .schedule-head h2{font-size:22px}
}

/* route schedule cards — mobile reference style v3 */
@media(max-width:640px){
  .schedule-table{
    width:100%;
    margin:0;
    border:0;
    background:transparent;
    overflow:visible;
  }
  .schedule-table tbody{display:block;width:100%}
  .schedule-table tr{
    display:block;
    width:100%;
    margin:0 0 16px;
    padding:16px;
    background:#fff;
    border:1px solid #dce6f2;
    border-radius:19px;
    overflow:hidden;
    box-shadow:none;
    font-size:16px;
    line-height:1.25;
  }
  .schedule-table td{
    display:block;
    width:100%;
    margin:0;
    padding:14px 0;
    border:0;
    border-bottom:1px solid #e1e9f3;
    color:#071d3b;
    font-size:16px;
    line-height:1.25;
  }
  .schedule-table td:before{
    content:attr(data-label);
    display:block;
    margin:0 0 6px;
    color:#71839b;
    font-size:12px;
    line-height:1;
    font-weight:800;
    letter-spacing:.09em;
    text-transform:uppercase;
  }
  .schedule-table td:nth-child(1),
  .schedule-table td:nth-child(2){
    display:inline-block;
    width:50%;
    min-height:69px;
    padding:5px 14px 14px 0;
    vertical-align:top;
    border-bottom:1px solid #e1e9f3;
  }
  .schedule-table td:nth-child(1){
    border-right:1px solid #e1e9f3;
    font-size:24px;
    line-height:1.05;
    font-weight:900;
  }
  .schedule-table td:nth-child(2){
    padding-left:15px;
    padding-right:0;
    font-size:17px;
    line-height:1.12;
    font-weight:800;
  }
  .schedule-table td:nth-child(3),
  .schedule-table td:nth-child(4){
    padding-top:16px;
    padding-bottom:14px;
    font-size:17px;
    line-height:1.2;
    font-weight:800;
  }
  .schedule-table td:nth-child(4){
    padding-bottom:15px;
  }
  .schedule-table td.buy-cell{
    padding:14px 0 0;
    border-bottom:0;
  }
  .schedule-table td.buy-cell:before{display:none;content:none}
  .schedule-table .buy-cell .btn{
    display:flex;
    width:100%;
    min-height:54px;
    padding:14px 18px;
    border-radius:14px;
    box-shadow:none;
    font-size:19px;
    line-height:1.1;
    font-weight:900;
  }
}

/* desktop schedule freshness badge — compact single-line v4 */
@media(min-width:641px){
  .schedule-head{align-items:flex-start;gap:20px}
  .schedule-head>div{min-width:0;flex:1 1 auto}
  .schedule-head .chip{
    flex:0 0 auto;
    align-self:flex-start;
    white-space:nowrap;
    padding:7px 12px;
    margin-top:3px;
    font-size:11px;
    line-height:1.15;
    border-radius:999px;
  }
}

/* 2026-10-09: compact homepage hero */
@media(min-width:961px){
  .hero{padding:32px 0 20px}
  .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px}
  .hero-card{padding:28px 30px}
  .hero h1{font-size:39px;line-height:1.08;margin:8px 0 12px;white-space:nowrap}
  .hero p{font-size:16px;line-height:1.45;margin:0}
  .hero-actions{margin-top:18px}
  .quick-info{gap:12px;margin-top:16px}
  .info-box{padding:12px 13px}
  .hero-photo{min-height:0;aspect-ratio:16/7}
  .hero-photo:after{display:none}
}
@media(max-width:960px){
  .hero h1{white-space:normal}
  .hero-photo{aspect-ratio:16/9;min-height:0}
  .hero-photo:after{display:none}
}


/* 2026-10-09: hero image height fix */
@media(min-width:961px){
  .hero-grid{align-items:start}
  .hero-photo{aspect-ratio:16/5.6;max-height:260px;align-self:start}
  .hero-photo img{object-position:center center}
}


/* 2026-10-09: final compact homepage hero proportions */
@media(min-width:961px){
  .hero{padding:32px 0 22px}
  .hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
    gap:20px;
    align-items:stretch;
  }
  .hero-card{
    padding:24px 28px;
  }
  .hero h1{
    font-size:37px;
    line-height:1.08;
    margin:7px 0 10px;
    white-space:nowrap;
  }
  .hero p{
    font-size:15px;
    line-height:1.42;
    margin:0;
  }
  .hero-actions{
    display:flex;
    flex-wrap:nowrap;
    gap:10px;
    margin-top:16px;
  }
  .hero-actions .btn{
    padding:10px 15px;
    border-radius:12px;
    font-size:14px;
    white-space:nowrap;
    box-shadow:none;
  }
  .quick-info{
    grid-template-columns:1.16fr 1.10fr .90fr;
    gap:9px;
    margin-top:14px;
  }
  .info-box{
    min-width:0;
    padding:10px 11px;
    border-radius:14px;
  }
  .info-box b{
    font-size:12.5px;
    line-height:1.25;
    white-space:nowrap;
  }
  .info-box span{
    display:block;
    margin-top:4px;
    font-size:11.5px;
    line-height:1.25;
  }
  .hero-photo{
    min-height:320px;
    max-height:none;
    height:auto;
    aspect-ratio:auto;
    align-self:stretch;
    border-radius:24px;
  }
  .hero-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
  }
}

/* Keep the compact desktop layout stable on medium-width laptops */
@media(min-width:961px) and (max-width:1080px){
  .hero-card{padding:22px}
  .hero h1{font-size:33px}
  .hero-actions .btn{font-size:13px;padding:9px 12px}
  .quick-info{grid-template-columns:1fr 1fr 1fr;gap:7px}
  .info-box{padding:9px 8px}
  .info-box b{font-size:11.5px}
  .info-box span{font-size:10.5px}
  .hero-photo{min-height:300px}
}
