
:root{
  --navy:#07264a;
  --navy2:#0b3767;
  --blue:#0a5ed7;
  --sky:#0aa5e8;
  --light:#f4f8fc;
  --pale:#edf7ff;
  --line:#d9e5ef;
  --text:#0b2745;
  --muted:#5c6b79;
  --white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.5;
}
a{text-decoration:none}
.wrap{width:min(1180px,calc(100% - 32px));margin:0 auto}

header{
  background:#fff;
  border-bottom:1px solid #edf2f6;
  position:sticky;
  top:0;
  z-index:50;
}
.head{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.logo img{width:285px;display:block}
nav{display:flex;gap:26px;align-items:center}
nav a{color:var(--text);font-size:14px;font-weight:800}
nav a.active-nav{color:var(--blue)}
.head-actions{display:flex;gap:12px;align-items:center}
.phone{color:var(--blue);font-weight:800;font-size:18px;white-space:nowrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:13px 22px;
  border-radius:6px;
  font-weight:800;
  font-size:14px;
  text-align:center;
}
.primary{background:var(--blue);color:#fff}
.outline{border:2px solid var(--navy);color:var(--navy);background:#fff}

.page-hero{
  position:relative;
  overflow:hidden;
  min-height:430px;
  background:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 42%,rgba(255,255,255,.75) 60%,rgba(255,255,255,.18) 100%),
    url('/assets/image-e05eccdfb2a155.webp') center right/cover no-repeat;
}
.page-hero .wrap{
  min-height:430px;
  display:flex;
  align-items:center;
  position:relative;
  z-index:2;
}
.hero-copy{max-width:650px;padding:60px 0}
.eyebrow{
  color:var(--blue);
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.page-hero h1{
  margin:8px 0 16px;
  color:var(--navy);
  font-size:clamp(42px,5.5vw,66px);
  line-height:1;
  letter-spacing:-.035em;
}
.page-hero h1 span{color:var(--blue)}
.page-hero p{font-size:18px;color:#40566a;max-width:600px;margin:0 0 22px}
.actions{display:flex;gap:12px;flex-wrap:wrap}

.section{padding:62px 0}
.soft{background:var(--light)}
.heading{max-width:780px;margin:0 auto 32px;text-align:center}
.heading h2{margin:7px 0 11px;font-size:clamp(30px,4vw,44px);color:var(--navy);line-height:1.08}
.heading p{margin:0;color:var(--muted);font-size:16px}

.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:26px 22px;
}
.icon{
  width:48px;height:48px;border-radius:50%;
  display:grid;place-items:center;
  background:#eaf6fd;color:var(--blue);
  font-size:22px;font-weight:900;margin-bottom:14px;
}
.card h3{margin:0 0 8px;color:var(--navy);font-size:20px}
.card p{margin:0;color:var(--muted);font-size:14px}

.list-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.list-card{
  background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px;
}
.list-card h3{margin:0 0 14px;color:var(--navy);font-size:22px}
.list-card ul{margin:0;padding-left:21px}
.list-card li{margin:9px 0;color:#40566a}

.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:22px}
.contact-card{
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  padding:28px;
}
.contact-card h2,.contact-card h3{margin-top:0;color:var(--navy)}
.contact-row{padding:15px 0;border-bottom:1px solid #e9eff4}
.contact-row:last-child{border-bottom:0}
.contact-row strong{display:block;color:var(--navy);margin-bottom:3px}
.contact-row a{color:var(--blue);font-weight:800}
.service-area{
  background:linear-gradient(145deg,var(--navy),var(--navy2));
  color:#fff;
}
.service-area h3{color:#fff}
.service-area p{color:rgba(255,255,255,.78)}

.cta{background:linear-gradient(90deg,var(--navy),var(--navy2));color:#fff;padding:50px 0}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.cta h2{margin:0 0 7px;font-size:clamp(28px,4vw,42px)}
.cta p{margin:0;color:rgba(255,255,255,.78)}

footer{background:var(--navy);color:#fff}
.foot{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:11px;
  flex-wrap:wrap;
}
footer a{color:#fff}

.mobile-nav{display:none}

@media(max-width:1100px){
  .logo img{width:220px;max-width:42vw}
  header .head > nav{display:none !important}
  .mobile-nav{
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr));
    width:100%;
    background:#fff;
    border-top:1px solid #e6edf3;
    border-bottom:1px solid #dce6ee;
  }
  .mobile-nav a{
    min-height:50px;display:flex;align-items:center;justify-content:center;
    padding:9px 7px;color:#0b2745;text-align:center;font-size:13px;
    line-height:1.15;font-weight:800;border-right:1px solid #e6edf3;
  }
  .mobile-nav a:last-child{border-right:0}
  .mobile-nav a.active-nav{color:#0a5ed7;background:#f4f9fd}
  .mobile-nav .mobile-request{background:#0a5ed7;color:#fff !important}
  .cards{grid-template-columns:1fr 1fr}
}

@media(max-width:700px){
  .head{min-height:68px;justify-content:center}
  .logo img{width:185px;max-width:62vw}
  .head-actions{display:none !important}
  .mobile-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mobile-nav a{min-height:48px;font-size:13px;border-bottom:1px solid #e6edf3}
  .mobile-nav a:nth-child(2n){border-right:0}
  .mobile-nav .mobile-request{grid-column:1/-1;border-bottom:0}
  .page-hero{
    min-height:650px;
    background:
      linear-gradient(180deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,.75) 45%,#fff 76%),
      url('/assets/image-e05eccdfb2a155.webp') center top/cover no-repeat;
  }
  .page-hero .wrap{min-height:650px;align-items:flex-end}
  .hero-copy{padding:300px 0 42px}
  .page-hero h1{font-size:46px}
  .actions{display:grid}
  .actions .btn{width:100%}
  .cards,.list-grid,.contact-grid{grid-template-columns:1fr}
  .cta-inner{display:block;text-align:center}
  .cta .btn{margin-top:18px}
}


/* v3 — add Gas Piping service */
@media(min-width:1001px){
  .cards{
    grid-template-columns:repeat(4,1fr) !important;
  }
}
@media(max-width:1000px) and (min-width:701px){
  .cards{
    grid-template-columns:repeat(2,1fr) !important;
  }
}


/* v6 — dedicated Gas Piping service bracket */
@media(min-width:1001px){
  .list-grid{
    grid-template-columns:repeat(3,1fr) !important;
  }
}
@media(max-width:1000px) and (min-width:701px){
  .list-grid{
    grid-template-columns:repeat(2,1fr) !important;
  }
  .list-grid .list-card:last-child{
    grid-column:1/-1;
  }
}
@media(max-width:700px){
  .list-grid{
    grid-template-columns:1fr !important;
  }
  .list-grid .list-card:last-child{
    grid-column:auto;
  }
}


/* =========================================================
   BendFlow shared responsive header — final GoDaddy version
   Logo left, Request Service button right, navigation below
   on phones/tablets. The button is not repeated in mobile nav.
   ========================================================= */
header .head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

header .head-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
}

header .head-actions .phone{
  display:none !important;
}

header .head-actions .btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#0a5ed7 !important;
  color:#ffffff !important;
  white-space:nowrap !important;
  text-decoration:none !important;
  font-weight:800 !important;
}

header .mobile-nav .mobile-request{
  display:none !important;
}

@media(min-width:1101px){
  header .head{
    min-height:84px !important;
    gap:20px !important;
  }

  header .logo img{
    width:285px !important;
    max-width:34vw !important;
    height:auto !important;
  }

  header .head > nav{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:26px !important;
    flex:1 1 auto !important;
  }

  header .head-actions .btn{
    min-height:48px !important;
    padding:12px 20px !important;
    font-size:14px !important;
  }

  header .mobile-nav{
    display:none !important;
  }
}

@media(max-width:1100px){
  header .head{
    min-height:74px !important;
    padding:8px 16px !important;
    gap:14px !important;
  }

  header .logo img{
    width:220px !important;
    max-width:43vw !important;
    height:auto !important;
  }

  header .head > nav{
    display:none !important;
  }

  header .head-actions .btn{
    min-height:44px !important;
    padding:10px 16px !important;
    font-size:13px !important;
  }

  header .mobile-nav{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    width:100% !important;
    background:#ffffff !important;
    border-top:1px solid #e6edf3 !important;
    border-bottom:1px solid #dce6ee !important;
  }

  header .mobile-nav a{
    min-height:50px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:9px 7px !important;
    color:#0b2745 !important;
    text-align:center !important;
    text-decoration:none !important;
    font-size:13px !important;
    line-height:1.15 !important;
    font-weight:800 !important;
    border-right:1px solid #e6edf3 !important;
  }

  header .mobile-nav a:last-child{
    border-right:0 !important;
  }

  header .mobile-nav a.active-nav{
    color:#0a5ed7 !important;
    background:#f4f9fd !important;
  }
}

@media(max-width:700px){
  header .head{
    min-height:68px !important;
    padding:8px 14px !important;
    gap:10px !important;
  }

  header .logo{
    flex:0 1 auto !important;
    min-width:0 !important;
  }

  header .logo img{
    width:172px !important;
    max-width:48vw !important;
    height:auto !important;
  }

  header .head-actions{
    flex:0 0 auto !important;
  }

  header .head-actions .btn{
    min-height:42px !important;
    padding:10px 13px !important;
    font-size:12px !important;
    border-radius:6px !important;
  }

  header .mobile-nav{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  header .mobile-nav a{
    min-height:48px !important;
    font-size:13px !important;
    border-bottom:1px solid #e6edf3 !important;
  }

  header .mobile-nav a:nth-child(2n){
    border-right:0 !important;
  }

  header .mobile-nav a:nth-last-child(-n+2){
    border-bottom:0 !important;
  }
}

@media(max-width:390px){
  header .logo img{
    width:155px !important;
    max-width:46vw !important;
  }

  header .head-actions .btn{
    padding:9px 10px !important;
    font-size:11px !important;
  }

  header .mobile-nav a{
    font-size:12px !important;
    padding:8px 5px !important;
  }
}


/* =========================================================
   BendFlow logo alignment — final consistent sitewide setup
   Desktop: approximately 1 inch from the left edge
   Tablet:  approximately 1/2 inch
   Phone:   compact 16px safe margin
   ========================================================= */

header .head{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding-left:1in !important;
  padding-right:1in !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

header .head .logo{
  margin:0 !important;
  padding:0 !important;
  flex:0 0 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  min-width:0 !important;
}

header .head .logo img{
  display:block !important;
  width:285px !important;
  max-width:32vw !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:contain !important;
  object-position:left center !important;
}

header .head-actions{
  margin-left:auto !important;
  flex:0 0 auto !important;
}

/* iPad and tablet */
@media(max-width:1100px){
  header .head{
    padding-left:.5in !important;
    padding-right:.5in !important;
  }

  header .head .logo img{
    width:220px !important;
    max-width:40vw !important;
  }
}

/* Phones */
@media(max-width:700px){
  header .head{
    padding-left:16px !important;
    padding-right:16px !important;
  }

  header .head .logo img{
    width:170px !important;
    max-width:48vw !important;
  }
}

/* Extra-small phones */
@media(max-width:390px){
  header .head{
    padding-left:12px !important;
    padding-right:12px !important;
  }

  header .head .logo img{
    width:150px !important;
    max-width:46vw !important;
  }
}


@media(min-width:1201px){
  .cards{grid-template-columns:repeat(5,1fr) !important;}
  .list-grid{grid-template-columns:repeat(4,1fr) !important;}
}
@media(max-width:1200px) and (min-width:701px){
  .cards{grid-template-columns:repeat(2,1fr) !important;}
  .cards .card:last-child{grid-column:1/-1;}
  .list-grid{grid-template-columns:repeat(2,1fr) !important;}
}
@media(max-width:700px){
  .cards,.list-grid{grid-template-columns:1fr !important;}
  .cards .card:last-child{grid-column:auto;}
}
