/* Day Porter & Janitorial page: overrides and extra sections on top of service.css.
   Desktop measurements are taken from the approved mockup at 1440px. */
:root{--pad:max(72px, calc((100vw - 1296px) / 2));--pad-r:max(74px, calc((100vw - 1292px) / 2))}
body{background:#f6f9fb}
.hdr{height:84px;padding-left:calc(var(--pad) + 4px)}
.logo img{width:150px}

/* HERO */
.hero{height:617px;background-image:url(images/day-porter/hero.jpg)}
.hero-inner{padding-top:47px}
.hero .eyebrow{font-weight:500;font-size:16.2px;letter-spacing:.02em}
.hero h1{margin-top:12px;font-size:50.5px;line-height:57.5px}
.hero-sub{margin-top:26px;max-width:625px;font-size:19.2px;line-height:27px}
.hero-btns{gap:21px;margin-top:27px}
.hero-btns .btn{height:54px;font-size:16px}
.hero-btns .btn-green{width:269px}
.hero-btns .btn-outline{width:241px}
.trust{margin-top:38px}
.trust li{font-size:15.6px;gap:16px}
.trust li:nth-child(1){width:205px}.trust li:nth-child(2){width:239px}
.trust svg{font-size:42px}
.hero-panel{left:auto;right:0;top:0;width:13.1%;padding:39px 0 30px 24px;background:rgba(7,36,70,.95);border-bottom-left-radius:14px;box-shadow:-6px 6px 24px rgba(0,0,0,.18)}
.hero-panel::before,.hero-panel::after{content:"";display:block;width:49px;height:3px;background:#7cc21a}
.hero-panel p{margin:16px 0 18px;font-size:16.7px;line-height:30.4px}

/* INTRO */
.intro-inner{grid-template-columns:622px 1fr;gap:42px;padding:32px var(--pad-r) 0 77px;height:469px}
.intro-img{width:622px;height:411px;border-radius:12px}
.intro-copy{padding-top:16px}
.intro-copy .eyebrow{font-size:14.3px}
.intro-copy h2{margin-top:9px;font-size:38.6px;letter-spacing:-.018em;line-height:47px}
.intro .lead{margin-top:10px;max-width:618px;font-size:18.8px;line-height:27.6px}
.feats{margin-top:20px;margin-left:-58px}
.feats li{width:171px;font-size:13px;line-height:16px}
.feats svg{font-size:44px;stroke-width:1.5}

/* STATS */
.stats{display:grid;grid-template-columns:repeat(4,1fr);height:151px;align-items:center;background:linear-gradient(180deg,#0a3260,#06284f)}
.stat{display:flex;flex-direction:column;align-items:center;justify-content:center;height:62px;text-align:center;border-left:1px solid rgba(255,255,255,.28)}
.stat:first-child{border:0}
.stat strong{font-weight:800;font-size:41px;line-height:42px;color:#fff}
.stat span{margin-top:6px;font-weight:600;font-size:14.8px;line-height:17px;color:#e6ecf3}

/* SERVICES */
.services{height:568px;padding-top:36px}
.svc-head{display:flex;justify-content:space-between;padding:0 77px 0 var(--pad)}
.services .eyebrow{font-size:14.3px}
.svc-head h2{margin-top:6px;font-size:40px;line-height:46px}
.svc-intro{margin-top:24px;width:520px;font-weight:500;font-size:16.8px;line-height:25.4px;color:#26313f}
.cards{display:grid;grid-template-columns:repeat(5,258px);gap:20px;padding:0 37px;margin-top:34px}
.card{position:relative;height:378px;background:#fff;border-radius:10px;box-shadow:0 6px 22px rgba(10,30,60,.08);overflow:hidden;display:flex;flex-direction:column}
.card img{width:100%;height:178px;object-fit:cover}
.card-ic{position:absolute;top:144px;left:16px;width:67px;height:67px;border-radius:50%;background:#0c2f5c;color:#fff;display:grid;place-items:center;border:3px solid #fff}
.card-ic svg{font-size:30px;stroke-width:1.7}
.card h3{margin:44px 14px 0 24px;font-weight:700;font-size:17.6px;line-height:22px;color:#0c2547}
.card p{margin:6px 22px 0 24px;font-weight:500;font-size:15.2px;line-height:21.8px;color:#6b7684;flex:1}
.card .more{margin:0 24px 26px;display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:13.4px;color:#0c2547}
.card .more:hover{color:var(--green-text)}
.more .arr{font-size:15px;stroke-width:2.6}

/* IDEAL FOR */
.ideal{height:522px;padding-top:19px}
.ideal-box{margin-left:77px;width:1285px;height:490px;background:#fff;border:1px solid #e3e9ee;border-radius:14px;box-shadow:0 4px 18px rgba(10,30,60,.04);display:flex;justify-content:space-between;padding:23px 23px 0 26px}
.ideal-copy{padding-top:22px}
.ideal-copy h2{font-size:35px;line-height:39px;color:#1d2433}
.ideal-copy>p{margin-top:6px;width:580px;font-weight:500;font-size:16.6px;line-height:23.8px;color:#26313f}
.ideal .checks{display:block;margin-top:14px}
.ideal .checks li{font-size:18.6px;line-height:31.6px;padding-left:30px}
.ideal .checks li::before{top:6px}
.ideal .btn{margin-top:18px;width:164px;height:47px;padding:0;font-size:15px;box-shadow:none}
.ideal-box img{width:596px;height:424px;object-fit:cover;border-radius:12px}

/* WHY US */
.why{height:295px;text-align:center;padding-top:21px}
.why h2{font-size:37px;line-height:46px;color:#1d2433}
.why>p{margin:4px auto 0;max-width:1100px;font-weight:500;font-size:15.6px;line-height:23px;color:#26313f}
.why .checks{display:grid;grid-template-columns:610px 1fr;width:1050px;margin:16px 0 0 195px;text-align:left}
.why .checks li{font-size:17px;line-height:27.8px;padding-left:30px}
.why .checks li::before{top:4px}

/* PROCESS */
.process{background-image:url(images/day-porter/process-bg.jpg)}
.proc-inner{height:352px;padding-top:24px}
.proc-head{display:flex;justify-content:space-between;align-items:flex-start;padding-right:0}
.process h2{font-size:36.5px;line-height:44px}
.proc-intro{margin-top:24px;width:385px;font-weight:500;font-size:14.4px;line-height:21px;color:#eef2f7}
.steps{margin-top:14px;margin-left:-4px}
.s-ic{margin-top:3px}
.steps .n{margin-top:-2px}
.steps p{margin-top:12px;width:176px;font-size:13.4px;line-height:17.6px}

/* SERVICE AREAS */
.areas{height:311px}
.areas-copy{padding-top:12px;padding-left:calc(var(--pad) + 19px)}
.areas .eyebrow{font-size:13.6px}
.a-sub{width:640px;font-size:16.8px;line-height:23px}
.area-lists{margin-top:12px}
.area-lists ul{width:275px}
.area-lists li{font-size:17px;line-height:27px}
.areas .map{width:684px;height:308px;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12%);mask-image:linear-gradient(90deg,transparent 0,#000 12%)}

/* RESPONSIVE */
@media (max-width:1380px){
  :root{--pad:40px;--pad-r:40px}
  .a-sub{width:auto;max-width:600px}
  .steps p{width:auto}
  .hdr{padding-left:var(--pad)}
  .intro-inner{grid-template-columns:46% 1fr;height:auto;padding:36px var(--pad)}
  .intro-img{width:100%;height:auto;aspect-ratio:622/411}
  .feats{margin-left:0}.feats li{width:25%}
  .services{height:auto;padding-bottom:44px}
  .svc-head{padding:0 var(--pad);gap:40px}
  .cards{grid-template-columns:repeat(5,1fr);gap:14px;padding:0 var(--pad)}
  .card{height:auto;min-height:360px}
  .ideal{height:auto;padding:30px var(--pad)}
  .ideal-box{margin:0;width:auto;height:auto;padding:26px;gap:30px}
  .ideal-copy>p{width:auto}
  .ideal-box img{width:46%;height:auto;aspect-ratio:596/424}
  .why{height:auto;padding:30px var(--pad) 44px}
  .why .checks{width:auto;max-width:1050px;margin:16px auto 0;grid-template-columns:1fr 1fr}
  .proc-inner{height:auto}
  .areas{height:auto}
  .areas-copy{padding-left:var(--pad)}
  .areas .map{width:46%;height:auto}
}
@media (max-width:1180px){
  .hero{height:auto}
  .intro-inner{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr;height:auto;padding:28px 0;row-gap:24px}
  .stat:nth-child(3){border:0}
  .cards{grid-template-columns:repeat(3,1fr)}
  .ideal-box{flex-direction:column}
  .ideal-box img{width:100%}
  .proc-head{flex-direction:column}
  .proc-intro{margin-top:10px;width:auto}
  .areas .map{width:100%;max-width:700px}
}
@media (max-width:768px){
  :root{--pad:20px;--pad-r:20px}
  .intro-inner{padding:30px var(--pad)}
  .ideal{padding:24px var(--pad)}
  .why{padding:30px var(--pad) 40px}
  .why>p,.a-sub{font-size:15.5px;line-height:24px}
  .hero h1{font-size:36px;line-height:42px}
  .hero-sub{margin-top:14px}
  .hero-btns .btn{width:100%}
  .intro-copy h2,.svc-head h2,.process h2{font-size:28px;line-height:34px}
  .intro-copy h2 br,.svc-head h2 br,.ideal-copy h2 br{display:none}
  .intro .lead{font-size:15.5px;line-height:24.5px}
  .feats li{width:50%}
  .stat strong{font-size:32px}
  .svc-head{flex-direction:column;gap:0}
  .svc-intro{width:auto;margin-top:12px}
  .cards{grid-template-columns:1fr}
  .card img{height:200px}.card-ic{top:166px}
  .ideal-copy h2,.why h2{font-size:28px;line-height:34px}
  .ideal-box{padding:20px}
  .why{text-align:left}
  .why>p br{display:none}
  .why .checks,.ideal .checks{grid-template-columns:1fr}
  .why .checks li,.ideal .checks li{line-height:23px;padding-top:4px;padding-bottom:4px}
  .areas .map{-webkit-mask-image:none;mask-image:none}
}
