/* Unified Oneside Taxi theme — keeps all public pages visually aligned with Home */
:root{
  --navy:#171717!important;
  --navy2:#111111!important;
  --navy3:#242424!important;
  --maroon:#8f1f25!important;
  --maroon2:#a92d33!important;
  --gold:#8f1f25!important;
  --gold2:#b73a3f!important;
  --white:#ffffff!important;
  --offwhite:#f7f7f7!important;
  --soft:#f7f7f7!important;
  --ink:#1b1b1b!important;
  --muted:#6f6f6f!important;
  --line:#ececec!important;
}
html,body{max-width:100%;overflow-x:hidden}
body{background:#fff!important;color:#1b1b1b!important;font-family:'DM Sans',Arial,sans-serif!important}
main{width:100%;}

/* Desktop content width matches the home page */
.section,.page-hero>* , .page-hero{box-sizing:border-box}
.section{padding:64px max(24px,calc((100vw - 1180px)/2))!important}
.section-heading{max-width:760px!important}

/* Inner page hero — same red/black language as home */
.page-hero{
  min-height:300px!important;
  padding:72px max(24px,calc((100vw - 1180px)/2)) 58px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  background:
    linear-gradient(90deg,rgba(10,10,10,.92) 0%,rgba(20,20,20,.75) 48%,rgba(143,31,37,.78) 100%),
    url('../images/hero-taxi.jpg') center 48%/cover no-repeat!important;
  color:#fff!important;
}
.page-hero .eyebrow{color:#fff!important;position:relative;padding-left:46px;font-size:.68rem!important;letter-spacing:1.6px!important}
.page-hero .eyebrow:before{content:'';position:absolute;left:0;top:50%;width:34px;height:1px;background:#b83136}
.page-hero h1{max-width:820px!important;font-family:'DM Sans',sans-serif!important;font-size:clamp(2.15rem,4vw,4rem)!important;line-height:1.06!important;font-weight:800!important;letter-spacing:-1.5px!important}
.page-hero p:last-child{max-width:720px!important;margin-top:14px!important;color:rgba(255,255,255,.83)!important;font-size:1rem!important}

/* Cards and standard page sections */
.feature-card,.car-card,blockquote,.route-card,.contact-panel,.stats-panel,.service-list article,.contact-form{
  border:1px solid #ececec!important;border-radius:12px!important;box-shadow:0 12px 34px rgba(0,0,0,.07)!important;background:#fff!important
}
.section-heading h2,.split h2,.service-list h2,.car-card h2,.contact-form h2,.contact-panel h2{color:#171717!important;font-family:'DM Sans',sans-serif!important;font-weight:800!important}
.eyebrow{color:#8f1f25!important}
.btn-primary{background:linear-gradient(135deg,#8f1f25,#a92d33)!important;color:#fff!important;border-color:#8f1f25!important}
.btn-primary:hover{background:#171717!important}
.btn-outline{border-color:#8f1f25!important;color:#8f1f25!important}

/* About */
.split{max-width:1180px;margin:0 auto;grid-template-columns:1.08fr .92fr!important;gap:46px!important}
.stats-panel{background:#fff!important;gap:12px!important;padding:12px!important}
.stats-panel div{background:#f8f8f8!important;border-radius:10px!important;padding:24px!important}
.stats-panel strong{color:#8f1f25!important}
.tag-list{max-width:1050px;margin:0 auto!important}
.tag-list span{border-color:#e6e6e6!important;box-shadow:0 6px 18px rgba(0,0,0,.04)!important}

/* Services */
.service-list{max-width:1180px;margin:0 auto;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
.service-list article{grid-template-columns:58px 1fr!important;padding:28px!important;transition:.25s ease}
.service-list article:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(0,0,0,.10)!important}
.service-number{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#8f1f25;color:#fff!important;font-size:1rem!important}
.service-list a{color:#8f1f25!important}

/* Fleet */
.grid.four{max-width:1180px;margin:0 auto;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
.car-card{padding:16px!important;min-width:0!important}
.car-card img{aspect-ratio:16/10!important;object-fit:cover!important;background:#f7f7f7!important;border-radius:10px!important}
.car-card h2{font-size:1rem!important;margin:14px 0 6px!important}
.car-meta{font-size:.83rem!important;margin:9px 0 14px!important}
.car-meta strong{color:#8f1f25!important}

/* Contact */
.contact-grid{max-width:1180px;margin:0 auto!important;grid-template-columns:.9fr 1.1fr!important;gap:24px!important}
.contact-form,.contact-panel{padding:28px!important;max-width:none!important}
.contact-form input,.contact-form textarea{border-radius:9px!important;border-color:#e2e2e2!important;background:#fafafa!important}
.contact-form input:focus,.contact-form textarea:focus{outline:0;border-color:#8f1f25!important;box-shadow:0 0 0 3px rgba(143,31,37,.09)!important}
.phone-link{color:#8f1f25!important}

/* Footer stays home-style black/red */
.site-footer{background:#111!important}

/* Route pages: replace blue/gold with home red/black and make desktop wider */
.r-hero{min-height:410px!important;align-items:center!important;background:#111!important}
.r-hero-overlay{background:linear-gradient(90deg,rgba(10,10,10,.93) 0%,rgba(18,18,18,.78) 46%,rgba(143,31,37,.58) 100%)!important}
.r-hero-content{max-width:1180px!important;margin:0 auto!important;padding:38px 24px 46px!important}
.r-breadcrumb{margin-bottom:14px!important}
.r-route-label{background:rgba(143,31,37,.18)!important;border-color:rgba(255,255,255,.22)!important;color:#fff!important}
.r-hero-content h1{font-family:'DM Sans',sans-serif!important;font-weight:800!important;font-size:clamp(2.2rem,4vw,4.1rem)!important;letter-spacing:-1.8px!important}
.r-hero-content h1 em{color:#c33a40!important}
.r-chip,.cab-pill{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.20)!important;color:#fff!important}
.cab-pill span{color:#fff!important}
.btn-gold,.btn-book,.tab-btn.active{background:linear-gradient(135deg,#8f1f25,#a92d33)!important;color:#fff!important;box-shadow:none!important}
.btn-gold:hover,.btn-book:hover{background:#111!important;box-shadow:0 10px 26px rgba(0,0,0,.22)!important}
.btn-outline-navy:hover{border-color:#fff!important;color:#fff!important;background:rgba(255,255,255,.10)!important}
.r-body{grid-template-columns:minmax(0,1fr) 350px!important;gap:30px!important;max-width:1180px!important;padding:0 24px!important}
.r-main{padding:46px 0 50px!important;min-width:0!important}
.r-aside{padding:46px 0 50px!important}
.r-aside-sticky{top:94px!important}
.r-section{margin-bottom:38px!important}
.r-section h2{font-family:'DM Sans',sans-serif!important;color:#171717!important;font-weight:800!important}
.r-section p{color:#5f5f5f!important}
.form-card{background:#fff!important;border:1px solid #ececec!important;box-shadow:0 16px 45px rgba(0,0,0,.10)!important;border-radius:14px!important}
.form-card h3{font-family:'DM Sans',sans-serif!important;color:#171717!important;font-weight:800!important}
.fc-sub,.fg label{color:#707070!important}
.tabs{background:#f3f3f3!important}
.tab-btn{color:#6c6c6c!important}
.fg input,.fg select,.fg textarea{background:#fafafa!important;border-color:#e3e3e3!important;color:#171717!important}
.fg input::placeholder,.fg textarea::placeholder{color:#9b9b9b!important}
.fg input:focus,.fg select:focus{border-color:#8f1f25!important;background:#fff!important;box-shadow:0 0 0 3px rgba(143,31,37,.08)!important}
.fg select option{background:#fff!important;color:#171717!important}
.fc-note{color:#777!important}.fc-note a{color:#8f1f25!important}
.cab-card{border-color:#ececec!important;box-shadow:0 9px 24px rgba(0,0,0,.05)!important}
.cab-card-img{background:#f7f7f7!important}
.cab-card-body h4{color:#171717!important}.cab-card-rate{color:#8f1f25!important}
.fare-table{box-shadow:0 8px 25px rgba(0,0,0,.06)!important}
.fare-table th{background:#171717!important}.fare-table td{color:#333!important}
.fare-table tr:hover td{background:#fff7f7!important}
.city-pair{border-color:#e9e9e9!important;color:#222!important}.city-pair:hover{background:#8f1f25!important;color:#fff!important}.city-pair .dot{background:#8f1f25!important}
.mobile-book-bar{background:#111!important;border-top-color:rgba(143,31,37,.35)!important}

@media(max-width:1100px){
  .grid.four{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .service-list{grid-template-columns:1fr!important}
  .r-body{grid-template-columns:minmax(0,1fr) 320px!important;gap:22px!important}
}
@media(max-width:1000px){
  .r-body{grid-template-columns:1fr!important;padding:0 16px!important}
  .r-main{padding:34px 0 10px!important}
  .r-aside{display:none!important}
  .mobile-book-bar{display:flex!important}
}
@media(max-width:860px){
  body.has-topbar main,main{padding-top:74px!important}
  .page-hero{min-height:245px!important;padding:48px 18px!important}
  .page-hero h1{font-size:2.05rem!important;letter-spacing:-.8px!important}
  .section{padding:46px 18px!important}
  .split,.contact-grid{grid-template-columns:1fr!important;gap:24px!important}
  .stats-panel{grid-template-columns:repeat(3,1fr)!important}
  .grid.four{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .r-hero{min-height:360px!important}
  .r-hero-content{padding:34px 16px 40px!important}
}
@media(max-width:560px){
  .grid.four{grid-template-columns:1fr!important}
  .stats-panel{grid-template-columns:1fr!important}
  .service-list article{grid-template-columns:48px 1fr!important;padding:20px!important}
  .contact-form,.contact-panel{padding:20px!important}
  .r-hero{min-height:390px!important}
  .r-hero-content h1{font-size:1.9rem!important;letter-spacing:-.5px!important}
  .hero-cab-strip{margin-bottom:12px!important}
}


/* ===== FINAL PROJECT-WIDE RESPONSIVE MEDIA FIX v4 ===== */
@media(max-width:860px){
  img{max-width:100%;height:auto}
  .page-hero{background-position:center!important;background-size:cover!important}
  .split img,.about-img-main,.cab-card-img img{width:100%!important;max-width:100%!important;object-fit:cover!important}
  .grid.four .car-card img{width:100%!important;aspect-ratio:16/9!important;object-fit:cover!important;object-position:center!important}
  .section{width:100%!important;max-width:100%!important}
}
@media(max-width:560px){
  .grid.four .car-card{width:100%!important;padding:12px!important}
  .grid.four .car-card img{display:block!important;width:100%!important;min-height:190px!important;aspect-ratio:16/10!important;object-fit:cover!important}
  .cab-card-img{min-height:190px!important}
  .cab-card-img img{min-height:190px!important;object-fit:cover!important}
  .split img,.about-img-main{min-height:220px!important;object-fit:cover!important}
}
