/* P80 – Home Desktop Stability + SEO/GEO Performance Consolidation
 * Primary desktop reference: 1280px viewport / 1280px shell system.
 * Loaded after transport-polish-p69.css and scoped to .transport-home-p80.
 */
body.transport-home-p80{
  --tm-shell:1280px;
  --p80-blue:#0878b8;
  --p80-deep:#12365f;
  --p80-muted:#60788c;
  --p80-line:#dbe8ef;
  --p80-soft:#f3faff;
  overflow-x:hidden;
}
body.transport-home-p80 .tr-shell{
  width:min(var(--tm-shell),calc(100% - 32px));
  max-width:var(--tm-shell);
  margin-inline:auto;
}
body.transport-home-p80 .trm-home{overflow:clip;background:#fff}
body.transport-home-p80 img{max-width:100%}

/* 1280 desktop header stability: retain all primary navigation without horizontal spill. */
@media (min-width:981px){
  body.transport-home-p80 .tr-header-p47 .tr-header-row{min-height:72px;gap:14px}
  body.transport-home-p80 .tr-brand-p47{min-width:214px;gap:9px}
  body.transport-home-p80 .tr-brand-logo-wrap,
  body.transport-home-p80 .tr-brand-logo-wrap img{width:52px;height:52px;flex-basis:52px}
  body.transport-home-p80 .tr-brand-copy strong{font-size:20px;line-height:1.05}
  body.transport-home-p80 .tr-brand-copy span{font-size:10.5px;margin-top:3px}
  body.transport-home-p80 .tr-nav-p47{gap:10px;min-width:0}
  body.transport-home-p80 .tr-nav-p47>a,
  body.transport-home-p80 .tr-nav-dropdown>button{padding:25px 0 23px;font-size:12.2px;line-height:1;font-weight:800}
  body.transport-home-p80 .tr-nav-dropdown-menu{top:63px;min-width:244px}
  body.transport-home-p80 .tr-header-actions-p47{gap:7px;margin-left:2px;flex:0 0 auto}
  body.transport-home-p80 .tr-head-search{width:38px;height:38px}
  body.transport-home-p80 .tr-book-now{min-height:40px;padding:0 13px;font-size:12px;white-space:nowrap}
  body.transport-home-p80 .tr-servicebar-inner{min-height:44px}
  body.transport-home-p80 .tr-servicebar-p47 a{min-height:44px;font-size:12px;padding-inline:7px}
}
@media (min-width:981px) and (max-width:1280px){
  body.transport-home-p80 .tr-brand-p47{min-width:196px}
  body.transport-home-p80 .tr-brand-copy span{display:none}
  body.transport-home-p80 .tr-nav-p47{gap:8px}
  body.transport-home-p80 .tr-nav-p47>a,
  body.transport-home-p80 .tr-nav-dropdown>button{font-size:11.6px}
  body.transport-home-p80 .tr-book-now{padding-inline:11px}
}

/* Hero: focused intent, stable proportions at 1280 and no accidental wrapping. */
body.transport-home-p80 .trm-hero-inner{grid-template-columns:minmax(0,44%) minmax(0,56%);min-height:430px}
body.transport-home-p80 .trm-hero-copy{min-width:0;padding:34px 30px 70px 0}
body.transport-home-p80 .trm-hero h1{gap:5px;max-width:560px;letter-spacing:-1px}
body.transport-home-p80 .trm-hero h1 strong{font-size:48px;line-height:1.02}
body.transport-home-p80 .trm-hero h1 span{font-size:31px;line-height:1.08;letter-spacing:-.55px}
body.transport-home-p80 .trm-hero-copy>p{max-width:550px;margin-top:13px;font-size:14.5px;line-height:1.55}
body.transport-home-p80 .trm-hero-actions{margin-top:17px}
body.transport-home-p80 .trm-btn{min-height:44px;font-size:12.5px;padding:9px 17px}
body.transport-home-p80 .trm-hero-media,
body.transport-home-p80 .trm-hero-media img{height:430px;min-height:430px}
body.transport-home-p80 .trm-hero-media img{object-position:center center}
body.transport-home-p80 .trm-hero-script{top:42px;left:19%;font-size:25px}
body.transport-home-p80 .trm-hero-float{right:18px;width:205px;padding:10px 11px}
body.transport-home-p80 .trm-hero-float-1{top:54px}
body.transport-home-p80 .trm-hero-float-2{top:124px}
body.transport-home-p80 .trm-hero-float-3{top:194px}
body.transport-home-p80 .trm-hero-float strong{font-size:12.5px}
body.transport-home-p80 .trm-hero-float small{font-size:10px}

/* Three high-value trust points only. */
body.transport-home-p80 .trm-hero-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:17px;max-width:555px}
body.transport-home-p80 .trm-hero-trust>div{display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;align-items:center;min-width:0;padding:8px 9px;border:1px solid rgba(8,120,184,.12);border-radius:9px;background:rgba(255,255,255,.72)}
body.transport-home-p80 .trm-hero-trust>div>span{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e9f7ff;color:#0878b8}
body.transport-home-p80 .trm-hero-trust svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.transport-home-p80 .trm-hero-trust strong{min-width:0;color:#234967;font-size:11.5px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.transport-home-p80 .trm-hero-trust small{min-width:0;color:#718697;font-size:9.5px;line-height:1.2}

/* Booking bar: five-column desktop composition. */
body.transport-home-p80 .trm-planner-wrap{margin-top:-38px}
body.transport-home-p80 .trm-planner{grid-template-columns:1.25fr 1.25fr .9fr 1fr 158px;gap:8px;padding:10px}
body.transport-home-p80 .trm-planner label{min-height:64px;padding:8px 11px}
body.transport-home-p80 .trm-planner input,
body.transport-home-p80 .trm-planner select{font-size:12.5px;min-width:0}
body.transport-home-p80 .trm-planner button{min-height:64px;font-size:12.5px;padding-inline:10px}

/* Desktop content density: cards are readable at 1280 instead of over-compressed. */
body.transport-home-p80 .trm-section{padding:34px 0}
body.transport-home-p80 .trm-head{margin-bottom:16px}
body.transport-home-p80 .trm-head h2,
body.transport-home-p80 .trm-faq-about h2{font-size:29px;line-height:1.1}
body.transport-home-p80 .trm-head p{font-size:13.5px;line-height:1.5}
body.transport-home-p80 .trm-head>a{font-size:12px}
body.transport-home-p80 .trm-service-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
body.transport-home-p80 .trm-service-card img{height:150px}
body.transport-home-p80 .trm-service-card h3{font-size:14px}
body.transport-home-p80 .trm-service-card p{font-size:11.5px;line-height:1.4;height:auto;min-height:34px}
body.transport-home-p80 .trm-service-card b{font-size:11.5px}
body.transport-home-p80 .trm-vehicle-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
body.transport-home-p80 .trm-vehicle-card img{height:124px}
body.transport-home-p80 .trm-vehicle-card h3{font-size:13px}
body.transport-home-p80 .trm-vehicle-card p{font-size:10.5px}
body.transport-home-p80 .trm-use-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body.transport-home-p80 .trm-use-grid article{min-height:76px;padding:11px 12px}
body.transport-home-p80 .trm-use-grid h3{font-size:13.5px}
body.transport-home-p80 .trm-use-grid p{font-size:10.8px}
body.transport-home-p80 .trm-route-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body.transport-home-p80 .trm-route-card img{height:142px}
body.transport-home-p80 .trm-route-card h3{font-size:14px;line-height:1.3}
body.transport-home-p80 .trm-route-card .trm-route-price{font-size:12.5px}
body.transport-home-p80 .trm-route-card span{font-size:11px}

/* GEO section: 5 x 2 location grid plus concise local-intent panel. */
body.transport-home-p80 .trm-local-layout{grid-template-columns:minmax(0,1fr) 315px;gap:16px;align-items:stretch}
body.transport-home-p80 .trm-local-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
body.transport-home-p80 .trm-local-grid img{height:105px}
body.transport-home-p80 .trm-local-grid strong{font-size:13.5px;line-height:1.25;min-height:34px;padding-inline:9px}
body.transport-home-p80 .trm-local-grid span{font-size:10.5px;padding-inline:9px}
body.transport-home-p80 .trm-local-aside{min-height:100%;padding:19px}
body.transport-home-p80 .trm-local-aside h3{font-size:23px}
body.transport-home-p80 .trm-local-aside p{font-size:12.5px;line-height:1.55}
body.transport-home-p80 .trm-local-aside ul{font-size:11.5px;line-height:1.55;margin-block:10px 14px}
body.transport-home-p80 .trm-local-aside button{min-height:40px;font-size:11.5px}

body.transport-home-p80 .trm-benefit-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
body.transport-home-p80 .trm-benefit-grid article{padding:13px 9px}
body.transport-home-p80 .trm-benefit-grid h3{font-size:12px}
body.transport-home-p80 .trm-benefit-grid p{font-size:10px;line-height:1.4}
body.transport-home-p80 .trm-faq-about{grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);gap:18px;align-items:start}
body.transport-home-p80 .trm-faq summary{font-size:12.5px;line-height:1.35;padding:12px 38px 12px 13px}
body.transport-home-p80 .trm-faq p{font-size:11.5px;line-height:1.55;padding:0 13px 12px}
body.transport-home-p80 .trm-about-card>img{height:208px}
body.transport-home-p80 .trm-about-card h2{font-size:21px!important;line-height:1.15}
body.transport-home-p80 .trm-about-card p,
body.transport-home-p80 .trm-about-card ul{font-size:11.5px;line-height:1.5}
body.transport-home-p80 .trm-link-hub{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.transport-home-p80 .trm-link-hub h3{font-size:13.5px}
body.transport-home-p80 .trm-link-hub a{font-size:11.5px;line-height:1.4}

/* Rendering performance: below-fold sections can skip initial paint while retaining semantic HTML. */
@supports (content-visibility:auto){
  body.transport-home-p80 .trm-section:nth-of-type(n+4){content-visibility:auto;contain-intrinsic-size:1px 620px}
}

/* Intermediate desktop/tablet: preserve structure without forcing mobile too early. */
@media (max-width:1100px) and (min-width:981px){
  body.transport-home-p80 .tr-brand-copy strong{font-size:18px}
  body.transport-home-p80 .tr-brand-p47{min-width:174px}
  body.transport-home-p80 .tr-nav-p47{gap:6px}
  body.transport-home-p80 .tr-nav-p47>a,
  body.transport-home-p80 .tr-nav-dropdown>button{font-size:10.8px}
  body.transport-home-p80 .tr-book-now{font-size:11px;padding-inline:9px}
  body.transport-home-p80 .trm-hero h1 strong{font-size:44px}
  body.transport-home-p80 .trm-hero h1 span{font-size:28px}
  body.transport-home-p80 .trm-hero-trust small{display:none}
  body.transport-home-p80 .trm-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.transport-home-p80 .trm-vehicle-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Keep established mobile behavior, only normalize elements changed by P80. */
@media (max-width:980px){
  body.transport-home-p80 .trm-hero-inner{grid-template-columns:1fr}
  body.transport-home-p80 .trm-hero-copy{padding:30px 0 24px}
  body.transport-home-p80 .trm-hero h1 strong{font-size:43px}
  body.transport-home-p80 .trm-hero h1 span{font-size:32px}
  body.transport-home-p80 .trm-hero-media,
  body.transport-home-p80 .trm-hero-media img{height:330px;min-height:330px}
  body.transport-home-p80 .trm-hero-trust{max-width:none;grid-template-columns:repeat(3,minmax(0,1fr))}
  body.transport-home-p80 .trm-planner-wrap{margin-top:0}
  body.transport-home-p80 .trm-planner{grid-template-columns:1fr 1fr}
  body.transport-home-p80 .trm-planner button{min-height:58px}
  body.transport-home-p80 .trm-service-grid,
  body.transport-home-p80 .trm-vehicle-grid,
  body.transport-home-p80 .trm-route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.transport-home-p80 .trm-use-grid{grid-template-columns:1fr 1fr}
  body.transport-home-p80 .trm-local-layout,
  body.transport-home-p80 .trm-faq-about{grid-template-columns:1fr}
  body.transport-home-p80 .trm-local-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.transport-home-p80 .trm-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.transport-home-p80 .trm-link-hub{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px){
  body.transport-home-p80 .tr-shell{width:min(100% - 24px,var(--tm-shell))}
  body.transport-home-p80 .trm-hero h1 strong{font-size:37px}
  body.transport-home-p80 .trm-hero h1 span{font-size:28px;line-height:1.12}
  body.transport-home-p80 .trm-hero-trust{grid-template-columns:1fr;gap:7px}
  body.transport-home-p80 .trm-hero-trust>div{grid-template-columns:30px 1fr}
  body.transport-home-p80 .trm-hero-trust small{display:block}
  body.transport-home-p80 .trm-planner{grid-template-columns:1fr}
  body.transport-home-p80 .trm-use-grid,
  body.transport-home-p80 .trm-service-grid,
  body.transport-home-p80 .trm-vehicle-grid,
  body.transport-home-p80 .trm-route-grid,
  body.transport-home-p80 .trm-local-grid,
  body.transport-home-p80 .trm-benefit-grid{grid-template-columns:1fr}
  body.transport-home-p80 .trm-link-hub{grid-template-columns:1fr}
}
