/*
Theme Name:   ASAP Batteries Child
Theme URI:    https://www.asapbatteriesandbreakdowns.com.au/
Description:  Divi child theme for ASAP Batteries & Breakdowns. Carries the angled-panel
              shape system, header, slide-out drawer, sticky call bar, and the section
              styling Divi cannot produce from module settings alone. Palette, type and
              clip geometry verified against the live site.
Author:       Apex Agency
Author URI:   https://apexagency.com.au/
Template:     Divi
Version:      2.0.0
Text Domain:  asap-child
*/

/* ============================================================
   TOKENS — verified from the live site
   ============================================================ */
:root{
  --asap-ink:#1b1b1b;
  --asap-ink-2:#252525;
  --asap-sand:#f2ede5;
  --asap-white:#ffffff;
  --asap-grey:#f2f2f2;
  --asap-cyan:#35c6f4;
  --asap-cyan-2:#17b0e0;
  --asap-rust:#f04927;
  --asap-body:#434343;
  --asap-body-dk:#c4c4c4;
  --asap-hairline:rgba(255,255,255,.15);
}

body,#page-container{
  font-family:'Raleway',system-ui,-apple-system,sans-serif;
  font-weight:300;font-size:16px;line-height:1.6;
  background:var(--asap-ink);color:var(--asap-body);
}
h1,h2,h3,h4,h5,h6{font-family:'Raleway',sans-serif;font-weight:400;line-height:1.2}
h1{font-size:68px}
h2{font-size:44px;color:var(--asap-ink-2)}
h3{font-size:26px;color:var(--asap-ink-2)}
p{font-weight:300;color:var(--asap-body)}
a{transition:color .18s ease}

/* ============================================================
   SIGNATURE SHAPE — the diagonal slice, matched to the live clip paths
   Live values: polygon(92% 0, 100% 18%, 100% 100%, 0 100%, 0 0)
   Add these as a CSS Class on any section, row, column or module.
   ============================================================ */
.asap-angle-tr,
.asap-angle-tr > .et_pb_row,
.asap-img-angle .et_pb_image_wrap{
  clip-path:polygon(92% 0,100% 18%,100% 100%,0 100%,0 0);
}
.asap-angle-br,
.asap-angle-br .et_pb_image_wrap{
  clip-path:polygon(0 0,100% 0,100% 82%,92% 100%,0 100%);
}
.asap-angle-tl{clip-path:polygon(8% 0,100% 0,100% 100%,0 100%,0 18%)}
@media (max-width:980px){
  .asap-angle-tr,.asap-angle-tr > .et_pb_row,.asap-img-angle .et_pb_image_wrap{
    clip-path:polygon(88% 0,100% 12%,100% 100%,0 100%,0 0);
  }
}

/* ============================================================
   HEADER
   Logo cell | centred nav | cyan call block with angled left edge
   ============================================================ */
#main-header,#top-header{display:none!important}

.asap-header{
  position:sticky;top:0;z-index:9999;background:var(--asap-ink)!important;
  transition:box-shadow .2s ease;
}
.asap-header.is-scrolled{box-shadow:0 2px 20px rgba(0,0,0,.4)}
.admin-bar .asap-header{top:32px}
@media screen and (max-width:782px){.admin-bar .asap-header{top:46px}}

.asap-header .asap-header-row{
  display:flex!important;align-items:stretch;width:100%!important;max-width:100%!important;
  padding:0!important;
}
.asap-header .et_pb_column{margin:0!important;display:flex;align-items:center}
.asap-header .et_pb_module{margin-bottom:0!important}

.asap-hcell-logo{
  border-right:1px solid var(--asap-hairline);
  padding:14px 34px;justify-content:flex-start;gap:18px;
}
.asap-hlogo img{max-height:56px;width:auto}

.asap-hcell-nav{flex:1;justify-content:center;padding:0 20px}
.asap-hnav{width:100%}
.asap-hnav .et_pb_menu__wrap{justify-content:center}
.asap-hnav .et_pb_menu__menu > nav > ul > li > a{
  font-family:'Raleway',sans-serif;font-weight:300;font-size:16px;color:#fff;padding-bottom:0;
}
.asap-hnav .et_pb_menu__menu > nav > ul > li > a:hover{color:var(--asap-cyan);opacity:1}
.asap-hnav ul.sub-menu{border-top:2px solid var(--asap-cyan);padding:8px 0;width:250px}
.asap-hnav ul.sub-menu a{font-size:15px;padding:9px 20px!important}
.asap-hnav ul.sub-menu a:hover{background:var(--asap-ink);color:var(--asap-cyan)}

/* cyan call block, angled left edge */
.asap-hcell-call{
  background:var(--asap-cyan);justify-content:center;padding:14px 34px;
  clip-path:polygon(4% 0,100% 0,100% 100%,0 100%);
}
.asap-callbox{display:inline-flex;align-items:center;gap:14px;text-decoration:none}
.asap-callbox-ic{
  width:52px;height:52px;border-radius:50%;background:#fff;
  display:grid;place-items:center;flex:0 0 52px;
}
.asap-callbox-ic svg{width:24px;height:24px;fill:var(--asap-rust)}
.asap-callbox-t strong{
  display:block;color:#fff;font-weight:600;font-size:15px;line-height:1.3;
}
.asap-callbox-t span{display:block;color:#fff;font-weight:300;font-size:17px;line-height:1.3}

/* burger, mobile only */
.asap-burger{background:none;border:0;cursor:pointer;padding:8px;display:none;
  flex-direction:column;gap:6px}
.asap-burger i{display:block;width:28px;height:2px;background:var(--asap-cyan)}

@media (max-width:1099px){
  .asap-hcell-nav{display:none!important}
  .asap-burger{display:flex}
  .asap-hcell-logo{flex:1;justify-content:space-between;padding:12px 20px}
  .asap-hcell-call{clip-path:none;padding:12px 20px}
  .asap-callbox-t{display:none}
  .asap-callbox-ic{width:44px;height:44px;flex:0 0 44px}
  .asap-hlogo img{max-height:44px}
}

/* ============================================================
   SLIDE-OUT DRAWER
   ============================================================ */
.asap-drawer{
  position:fixed;inset:0;z-index:100000;background:var(--asap-ink);
  transform:translateX(100%);transition:transform .3s ease;
  overflow-y:auto;padding:26px 24px 90px;visibility:hidden;
}
.asap-drawer.is-open{transform:translateX(0);visibility:visible}
body.asap-drawer-open{overflow:hidden}
.asap-dclose{background:none;border:0;cursor:pointer;display:block;margin:0 0 40px auto;padding:8px}
.asap-dclose svg{width:30px;height:30px;stroke:var(--asap-cyan);stroke-width:2;fill:none}
.asap-drawer-menu,.asap-drawer-sub{list-style:none;padding:0;margin:0}
.asap-drawer-menu > li{position:relative}
.asap-drawer-menu a{
  display:block;padding:14px 0;color:#e6e8ea;text-decoration:none;font-size:17px;font-weight:300;
}
.asap-drawer-menu a:hover{color:var(--asap-cyan)}
.asap-sub-toggle{position:absolute;top:6px;right:0;background:none;border:0;cursor:pointer;padding:10px}
.asap-sub-toggle svg{width:16px;height:16px;stroke:#e6e8ea;stroke-width:2;fill:none;transition:transform .2s}
.asap-sub-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.asap-drawer-sub{display:none;padding-left:14px;border-left:1px solid var(--asap-hairline)}
.asap-drawer-menu li.is-open > .asap-drawer-sub{display:block}
.asap-drawer-sub a{padding:9px 0;color:#a9adb1;font-size:15px}
.asap-drawer-call{
  display:inline-flex;align-items:center;justify-content:center;margin-top:34px;
  background:var(--asap-cyan);color:#fff!important;text-decoration:none;
  padding:14px 36px;border-radius:100px;font-size:16px;
}
.asap-drawer-empty{color:#8f8f8f;font-size:14px;font-style:italic}

/* ============================================================
   HERO
   ============================================================ */
.asap-hero{background:var(--asap-ink)}
.asap-hero-row{align-items:center}
.asap-pill{
  display:inline-flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.22);
  border-radius:100px;padding:9px 22px;color:#d3d6d8;font-size:14px;margin-bottom:32px;
}
.asap-pill svg{width:17px;height:17px;fill:var(--asap-cyan);flex:0 0 17px}
.asap-hero-copy h1{
  color:#fff;font-size:68px;font-weight:400;line-height:1.2;margin:0;
}
.asap-hero-sub{color:#b9b9b9;font-size:16px;margin-bottom:30px}
.asap-hero-media .et_pb_video,.asap-hero-media .et_pb_video_box{width:100%}
.asap-hero-media video{
  width:100%;height:clamp(320px,38vw,560px);object-fit:cover;display:block;
}
.asap-hero-media .et_pb_video_overlay{background-size:cover;background-position:center}
@media (max-width:980px){
  .asap-hero-copy h1{font-size:40px}
  .asap-hero-row{padding-bottom:40px!important}
}
@media (max-width:767px){.asap-hero-copy h1{font-size:34px}}

/* ============================================================
   BADGE RAIL — white cards, angled top-right, lifted into the hero image
   ============================================================ */
.asap-rail-sec{background:var(--asap-sand)}
.asap-rail{margin-top:-110px!important;position:relative;z-index:5}
.asap-badge{
  background:#fff;padding:38px 24px 34px;text-align:center;
  clip-path:polygon(88% 0,100% 22%,100% 100%,0 100%,0 0);
  min-height:210px;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:22px;margin-bottom:0!important;
}
.asap-badge-ic svg{width:46px;height:46px;color:var(--asap-rust)}
.asap-badge-t{color:var(--asap-ink-2);font-size:17px;font-weight:300}
@media (max-width:980px){.asap-rail{margin-top:-60px!important}}
@media (max-width:767px){
  .asap-rail{margin-top:30px!important}
  .asap-badge{min-height:0;padding:28px 20px}
}

/* ============================================================
   ROADSIDE HELP
   ============================================================ */
.asap-roadside{background:var(--asap-sand)}
.asap-statcard{
  background:#fff;padding:16px 34px;position:relative;z-index:3;
  clip-path:polygon(0 0,100% 0,100% 76%,86% 100%,0 100%);
}
.asap-statrow{padding:20px 0}
.asap-statrow + .asap-statrow{border-top:0}
.asap-statrow b{
  color:var(--asap-rust);font-size:34px;font-weight:400;line-height:1;
  display:inline-block;min-width:66px;
}
.asap-statrow b sup{font-size:20px}
.asap-statrow span{color:var(--asap-ink-2);font-size:16px;font-weight:300}
.asap-statrow:not(:last-child)::after{
  content:"";display:block;width:130px;height:1px;background:var(--asap-rust);
  margin-top:20px;margin-left:0;
}
.asap-img-offset{margin-top:-70px!important;margin-left:26%!important;position:relative;z-index:1}
.asap-img-plain img{width:100%}
@media (max-width:980px){.asap-img-offset{margin-top:20px!important;margin-left:0!important}}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.asap-wwd,.asap-swp{background:var(--asap-ink)}
.asap-lede{color:var(--asap-body-dk);max-width:62ch}
.asap-center,.asap-center h2{text-align:center;margin-left:auto;margin-right:auto}
.asap-cardrow{padding-top:30px!important}
.asap-card{background:var(--asap-ink-2);transition:transform .22s ease}
.asap-card:hover{transform:translateY(-5px)}
.asap-card .et_pb_module{margin-bottom:0!important}
.asap-card .asap-card-img .et_pb_image_wrap{
  clip-path:polygon(88% 0,100% 22%,100% 100%,0 100%,0 0);display:block;
}
.asap-card .asap-card-img img{width:100%;height:230px;object-fit:cover}
.asap-card-b{padding:24px 26px 30px}
.asap-card-b .asap-num{
  color:var(--asap-cyan);font-size:14px;display:block;margin-bottom:14px;
}
.asap-card-h{display:flex;align-items:center;justify-content:space-between;gap:14px}
.asap-card-b h3{color:var(--asap-cyan);font-size:24px;font-weight:400;margin:0}
.asap-card-b h3 a{color:var(--asap-cyan);text-decoration:none}
.asap-wrench svg{width:24px;height:24px;fill:var(--asap-cyan);flex:0 0 24px}
.asap-card-b p{color:var(--asap-body-dk);font-size:15px;margin:14px 0 0}
.asap-card-b p a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.asap-angle-band{clip-path:polygon(0 0,100% 0,100% 94%,66% 100%,0 100%)}
@media (max-width:980px){.asap-angle-band{clip-path:none}}

/* ============================================================
   CONTACT FORM + REVIEWS
   ============================================================ */
.asap-contact{background:var(--asap-sand)}
.asap-formcard{
  background:#fff!important;padding:46px 40px 50px!important;
  clip-path:polygon(92% 0,100% 18%,100% 100%,0 100%,0 0);
}
.asap-form .et_pb_contact_field{padding:0 0 24px!important}
.asap-form .et_pb_contact_form_label{
  display:block!important;font-size:15px;font-weight:300;color:var(--asap-ink-2);margin-bottom:6px;
}
.asap-form .input,.asap-form textarea{
  border:0!important;border-bottom:1px solid #d5d7d9!important;border-radius:0!important;
  padding:10px 2px!important;font-size:16px;font-family:'Raleway',sans-serif;
}
.asap-form .input:focus,.asap-form textarea:focus{border-bottom-color:var(--asap-cyan)!important}
.asap-gcard{background:#fff;padding:44px 30px;text-align:center}
.asap-glogo{font-size:34px;font-weight:500;margin-bottom:16px;letter-spacing:-.02em}
.asap-glogo .b{color:#4285f4}.asap-glogo .r{color:#ea4335}
.asap-glogo .y{color:#fbbc05}.asap-glogo .g{color:#34a853}
.asap-grow{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:18px}
.asap-grow b{font-size:28px;font-weight:500;color:var(--asap-ink-2)}
.asap-stars{color:#fbbc05;font-size:22px;letter-spacing:2px;line-height:1}
.asap-grow small{color:#8f8f8f;font-size:14px}
.asap-swapnote{color:#8f8f8f;font-size:13px;font-style:italic}

/* ============================================================
   RAN OUT OF FUEL
   ============================================================ */
.asap-fuel{background:var(--asap-ink)}
.asap-fuelrow{align-items:center}
.asap-fuelcard{
  background:#fff!important;padding:56px 44px!important;position:relative;z-index:3;
  clip-path:polygon(92% 0,100% 14%,100% 100%,0 100%,0 0);
  margin-top:60px!important;margin-bottom:60px!important;
}
.asap-fuelcard h2,.asap-fuelcard p{color:var(--asap-ink-2)}
.asap-fuelcard p{color:var(--asap-body)}
.asap-fuelcard p a{color:var(--asap-ink-2);text-decoration:underline;text-underline-offset:3px}
.asap-fuel .asap-img-angle img{width:100%;height:100%;object-fit:cover}
@media (max-width:980px){.asap-fuelcard{margin:30px 0!important;padding:36px 26px!important}}

/* ============================================================
   FAQ
   ============================================================ */
.asap-faq-sec{background:#fff}
.asap-faq-head{display:flex;align-items:center;gap:22px;margin-bottom:34px}
.asap-faq-ic svg{width:52px;height:52px;color:var(--asap-rust);flex:0 0 52px}
.asap-faq-head h2{font-size:34px;font-weight:400;margin:0}
.asap-faq .et_pb_toggle{
  background:var(--asap-grey)!important;border:0!important;padding:24px 26px!important;
  margin-bottom:16px;
}
.asap-faq .et_pb_toggle_title{
  font-size:20px!important;font-weight:300!important;color:var(--asap-ink-2)!important;
  padding-right:60px;
}
.asap-faq .et_pb_toggle_title:before{
  width:38px;height:38px;border-radius:50%;background:var(--asap-ink);color:#fff;
  display:grid;place-items:center;font-size:16px;right:0;top:50%;transform:translateY(-50%);
  margin:0;
}
.asap-faq .et_pb_toggle_content{padding-top:16px;font-size:15.5px}

/* ============================================================
   SUBURBS
   ============================================================ */
.asap-suburbs{background:var(--asap-sand)}
.asap-sub-head{text-align:center;max-width:660px;margin:0 auto 44px!important}
.asap-sub-head h2{font-size:42px;font-weight:400;margin-bottom:16px}
.asap-sub-head p{font-size:18px;color:var(--asap-body)}
.asap-sub-h{color:var(--asap-cyan);font-size:24px;font-weight:500;margin-bottom:22px}
.asap-sub-list{list-style:none;padding:0;margin:0}
.asap-sub-list li{padding:7px 0;font-size:16px;color:var(--asap-ink-2);font-weight:300}
.asap-sub-list li a{color:var(--asap-ink-2);text-decoration:underline;text-underline-offset:3px}
.asap-sub-list li a:hover{color:var(--asap-cyan-2)}
.asap-sand-logo{margin:50px auto 0!important}
@media (max-width:767px){.asap-sub-head h2{font-size:30px}}

/* ============================================================
   FOOTER — slanted left panel, CTA + nav grid right
   ============================================================ */
.asap-footer{background:var(--asap-ink);overflow:hidden}
.asap-frow{width:100%!important;max-width:100%!important;padding:0!important}
.asap-footer .et_pb_column{margin:0!important}
.asap-fpanel{
  background:var(--asap-ink-2);padding:70px 50px 60px!important;
  clip-path:polygon(0 0,100% 0,88% 100%,0 100%);
}
.asap-fright{padding:70px 50px 60px!important;position:relative}
.asap-flogo{margin-bottom:34px!important}
.asap-fcontact h4,.asap-fnav h4{
  color:var(--asap-cyan);font-size:14px;letter-spacing:.14em;text-transform:uppercase;
  font-weight:500;margin:0 0 18px;
}
.asap-fcontact p{margin:0 0 12px;font-size:15px;color:var(--asap-body-dk)}
.asap-fcontact a{color:var(--asap-body-dk);text-decoration:none}
.asap-fcontact a:hover{color:#fff}
.asap-socials{margin:26px 0 30px}
.asap-socials li a.icon{border-radius:50%!important}
.asap-powered{margin:0;font-size:13px;color:#8f8f8f}
.asap-ls-word{margin:0 0 26px;font-size:20px;color:#fff;font-weight:300;
  border-bottom:2px solid #fff;display:inline-block;line-height:1.3}
.asap-ls-word b{font-weight:600}
.asap-fcopy{font-size:13.5px;color:#8f8f8f;margin:0}

.asap-fcta h2{font-size:52px;font-weight:400;color:#fff;line-height:1.25;max-width:18ch}
.asap-btn-inline{display:inline-block!important;margin-right:14px}
.asap-btn-inline .et_pb_button{margin-right:14px}

.asap-lswrap{position:absolute;top:70px;right:50px;z-index:4;margin:0!important}
.asap-ls-card{
  background:#fbfcfe;padding:22px 26px;text-align:center;min-width:190px;
  display:flex;flex-direction:column;align-items:center;gap:8px;
}
.asap-ls-ic svg{width:30px;height:30px}
.asap-ls-t{color:var(--asap-ink-2);font-size:16px}
.asap-ls-b{font-size:20px;color:#1a73e8;border-bottom:2px solid #1a73e8;line-height:1.3}
.asap-ls-b b{font-weight:700;color:#0b1b33}

.asap-fgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:34px}
.asap-fgrid ul{list-style:none;padding:0;margin:0}
.asap-fgrid li{margin-bottom:14px;font-size:15px}
.asap-fgrid a{color:var(--asap-body-dk);text-decoration:none}
.asap-fgrid a:hover{color:#fff}
.asap-hours{display:flex;justify-content:space-between;gap:14px;font-size:15px;margin-bottom:12px}
.asap-hours span{color:var(--asap-body-dk)}
.asap-hours b{font-weight:300;color:#fff}

@media (max-width:1099px){
  .asap-lswrap{position:static;margin:0 0 30px!important}
  .asap-fgrid{grid-template-columns:1fr 1fr}
  .asap-fcta h2{font-size:36px}
}
@media (max-width:767px){
  .asap-fpanel{clip-path:none;padding:50px 24px!important}
  .asap-fright{padding:50px 24px!important}
  .asap-fgrid{grid-template-columns:1fr}
}

/* ============================================================
   INNER PAGE TEMPLATE
   ============================================================ */
.asap-page-hero{background:var(--asap-ink)}
.asap-page-title h1{color:#fff;font-weight:400}
.asap-page-hero .et_pb_breadcrumbs,.asap-page-hero .et_pb_breadcrumbs a{color:#8f8f8f;font-size:14px}
.asap-page-hero .et_pb_breadcrumbs a:hover{color:var(--asap-cyan)}
.asap-page-body{background:var(--asap-sand)}
.asap-page-content h2{font-size:34px;margin:34px 0 16px}
.asap-page-content h3{font-size:24px;margin:28px 0 12px}
.asap-page-content ul{padding-left:20px}
.asap-page-content a{color:var(--asap-ink-2);text-decoration:underline;text-underline-offset:3px}
.asap-page-content a:hover{color:var(--asap-cyan-2)}
.asap-cta-band{background:var(--asap-ink-2)}
.asap-cta-h h2{color:#fff;max-width:22ch}

/* ============================================================
   STICKY CALL BAR (mobile only — desktop has the header call block)
   ============================================================ */
.asap-sticky{
  position:fixed;left:0;right:0;bottom:16px;z-index:99999;
  display:flex;flex-direction:column;align-items:center;gap:12px;padding:0 20px;
  pointer-events:none;
}
.asap-sticky a{
  pointer-events:auto;width:100%;max-width:420px;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  background:var(--asap-cyan);color:#fff!important;text-decoration:none;
  font-family:'Raleway',sans-serif;font-weight:400;font-size:16px;
  padding:14px 36px;border-radius:100px;line-height:1.3;
  box-shadow:0 0 26px rgba(53,198,244,.5);transition:background .2s ease;
}
.asap-sticky a:hover{background:var(--asap-cyan-2)}
.asap-sticky svg{width:18px;height:18px;fill:currentColor;flex:0 0 18px}
body{padding-bottom:150px}
@media (min-width:1100px){
  .asap-sticky{display:none}
  body{padding-bottom:0}
}

/* ============================================================
   DIVI RESETS
   ============================================================ */
.et_pb_section{padding:80px 0}
.et_pb_row{padding:0;width:90%;max-width:1180px}
.et_pb_button:after{display:none!important}
.et_pb_button{padding:14px 36px!important;font-family:'Raleway',sans-serif}
.et_pb_text a{color:var(--asap-ink-2)}
.asap-wwd .et_pb_text a,.asap-swp .et_pb_text a{color:#fff}
@media (max-width:767px){
  .et_pb_section{padding:50px 0}
  h1{font-size:34px}h2{font-size:28px}h3{font-size:22px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
