/* ------------------------------------------------------------------
   Danny's Property Care — static recreation of the live WordPress/Divi site
   Skin measured from dannyspropertycare.com.au (2026-09-22).
   Palette: https://coolors.co/2f7a1f-0b6f8e-fe5e15-e6f4ef-00235a-333333
   ------------------------------------------------------------------ */

:root{
  --accent:#2F7A1F;        /* green: buttons, icons, active nav */
  --accent-dark:#276618;
  --teal:#0B6F8E;          /* headings, panels, hover fills */
  --orange:#FE5E15;        /* inline links, heading rule */
  --mint:#E6F4EF;          /* pale section ground */
  --grey:#F5F5F5;          /* light section ground */
  --ink:#333333;
  --muted:#7D8AA1;
  --navy:#00235A;          /* footer base behind the photo */
  --paper:#FFFFFF;
  --ghost:#E9ECEF;         /* outlined watermark text */
  --heading-font:'Poppins',Helvetica,Arial,sans-serif;
  --body-font:'Mulish',Helvetica,Arial,sans-serif;
  --base-font:'Open Sans',Arial,sans-serif;
  --script-font:'Grape Nuts',cursive;
  --row:90%;
  --header-h:96px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--base-font);
  font-size:15px;
  line-height:1.9em;
  font-weight:500;
  color:var(--ink);
  background:var(--paper);
  overflow-x:clip;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto;border:0}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4,h5,h6{font-family:var(--heading-font);color:var(--teal);margin:0 0 10px;line-height:1.3em;font-weight:500}
h1{font-size:30px}h2{font-size:26px}h3{font-size:22px;font-weight:400}h4{font-size:18px;font-weight:400}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}
:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-9999px;top:0;z-index:2000;background:var(--accent);color:#fff;padding:10px 16px}
.skip-link:focus{left:0}

.row{width:var(--row);margin:0 auto;position:relative}
/* Columns that slide in from the side start part-way off the screen; clip them
   sideways so the page never scrolls sideways (U7). overflow-x:clip keeps
   vertical overlaps (about card, stat row, footer bar) visible. */
main>section,.footer{overflow-x:clip}
.sect{position:relative;padding:90px 0}
.cols{display:flex;flex-wrap:wrap}
.col{position:relative}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;font-family:var(--heading-font);font-size:15px;font-weight:500;
  letter-spacing:0;text-transform:uppercase;line-height:1.7em;border-radius:0;border:0;
  padding:15px 27px;cursor:pointer;
  transition:color .3s ease,background-color .3s ease,border-color .3s ease;
}
.btn-green{background:var(--accent);color:#fff}
.btn-green:hover{background:var(--teal);color:#fff}
.btn-white{background:#fff;color:#000}
.btn-white:hover{background:#333;color:#fff}
.btn-hero-green{background:var(--accent);color:#fff;border:1px solid var(--accent);padding:15px 35px}
.btn-hero-green:hover{background:#fff;border-color:#fff;color:#000}
.btn-hero-white{background:#fff;color:#000;border:1px solid #fff;padding:15px 35px}
.btn-hero-white:hover{background:var(--accent);border-color:var(--accent);color:#fff}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:945;background:#fff;padding:8px 0;
  transition:padding .3s ease,box-shadow .3s ease;
}
.site-header.is-stuck{padding:5px 0;box-shadow:0 2px 14px rgba(0,0,0,.08)}
.header-row{width:98%;margin:0 auto;display:flex;align-items:center}
.brand{display:block;flex:0 0 auto}
.brand img{display:block;width:131px;height:auto;transition:width .3s ease}
.site-header.is-stuck .brand img{width:110px}
.nav{flex:1 1 auto;display:flex;justify-content:flex-end}
/* The live header puts the logo and menu in a 3/4 Divi column and the phone
   button in the 1/4 beside it, so the menu stops well short of the button. */
.nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:0}
.nav>ul>li{position:relative}
.nav a{
  position:relative;display:block;font-family:var(--heading-font);font-size:16px;text-transform:uppercase;
  letter-spacing:1px;color:#000;padding:16px 21px;line-height:1.7em;transition:color .3s ease;
}
/* Divi Pixel's "grow below left" menu marker: a 1px green rule that grows out
   from the left under the current page, and under any other top-level item on
   hover (never under Services, which has a submenu). */
.nav>ul>li>a::before{
  content:"";position:absolute;left:21px;bottom:0;height:1px;width:0;background:var(--accent);
  opacity:0;transition:width .3s ease-in-out,opacity .3s ease-in-out;
}
.nav>ul>li.current>a::before,.nav>ul>li:not(.has-sub):hover>a::before{width:calc(100% - 42px);opacity:1}
.nav a:hover{color:var(--accent)}
.nav li.current>a{color:var(--accent)}
/* The live site draws the submenu arrow with the ETmodules chevron glyph; a
   two-sided rotated square is the same shape without the icon font. */
.nav .has-sub>a::after{content:"";display:inline-block;width:6px;height:6px;margin-left:9px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-3px) rotate(45deg);vertical-align:middle}
.nav .sub-menu{
  position:absolute;top:100%;left:0;min-width:270px;background:#fff;border-top:3px solid var(--accent);
  box-shadow:0 2px 18px rgba(0,0,0,.12);display:block;flex-direction:column;
  opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s ease,transform .25s ease,visibility .25s;
  padding:10px 0;z-index:10;
}
.nav .has-sub:hover .sub-menu,.nav .has-sub:focus-within .sub-menu{opacity:1;visibility:visible;transform:none}
.nav .sub-menu a{font-size:15px;letter-spacing:.5px;padding:9px 20px;text-transform:none}
.header-phone{flex:0 0 26.5%;display:flex;justify-content:flex-end}
.header-phone .btn{white-space:nowrap}
.burger{display:none}
.mobile-phone{display:none}

/* mobile header */
.mobile-bar{display:none}
@media (max-width:980px){
  .nav a{font-size:14px;padding:14px 12px;letter-spacing:.5px}
  .nav>ul>li>a::before{left:12px}
  .nav>ul>li.current>a::before,.nav>ul>li:not(.has-sub):hover>a::before{width:calc(100% - 24px)}
  .brand img{width:112px}
}
@media (max-width:980px){
  .header-row>.nav,.header-row>.header-phone{display:none}
  .burger{
    display:block;margin-left:auto;width:48px;height:48px;background:var(--accent);border:0;padding:0;
    border-radius:50%;position:relative;cursor:pointer;color:#fff;
  }
  .burger span{display:block;position:absolute;left:14px;width:20px;height:2px;background:currentColor;transition:transform .3s ease,opacity .2s ease}
  .burger span:nth-child(1){top:18px}
  .burger span:nth-child(2){top:23px}
  .burger span:nth-child(3){top:28px}
  .burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .burger[aria-expanded="true"] span:nth-child(2){opacity:0}
  .burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
  .mobile-phone{display:inline-flex;align-items:center;margin-left:auto;margin-right:42px;color:var(--accent)}
  .mobile-phone span{display:none}
  .mobile-phone svg{width:30px;height:30px;fill:currentColor}
}
.menu-backdrop{
  position:fixed;inset:0;background:rgba(11,111,142,.55);backdrop-filter:blur(3px);
  opacity:0;visibility:hidden;transition:opacity .28s ease,visibility .28s;z-index:940;
}
.menu-backdrop.open{opacity:1;visibility:visible}
/* Phone menu, matched to the live site's Divi Pixel menu (Rob's review 2026-09-29): full-width mint panel
   under a green line, white centred boxes, Services folded behind a round + */
.mobile-menu{
  position:fixed;left:0;right:0;z-index:950;background:#E6F4EF;border-top:3px solid var(--accent);
  padding:30px 30px 20px;box-shadow:0 2px 5px rgba(0,0,0,.1);
  opacity:0;visibility:hidden;transform:translateY(-12px);
  transition:opacity .28s ease,transform .28s ease,visibility .28s;
  max-height:calc(100vh - 90px);overflow-y:auto;
}
.mobile-menu.open{opacity:1;visibility:visible;transform:none}
.mobile-menu ul{list-style:none;margin:0;padding:0}
.mobile-menu li{position:relative;margin-bottom:10px}
.mobile-menu a{
  display:block;padding:15px 10px;background:#fff;color:#000;font-family:var(--heading-font);
  font-size:15px;font-weight:500;letter-spacing:0;text-transform:uppercase;text-align:center;
}
.mobile-menu a[aria-current="page"]{color:var(--accent)}
.mobile-menu .sub-toggle{
  position:absolute;right:12px;top:13px;width:24px;height:24px;border:0;border-radius:50%;
  background:var(--teal);color:#fff;font-size:18px;line-height:24px;padding:0;cursor:pointer;
}
.mobile-menu .sub-toggle::before{content:"+";display:block;transition:transform .3s ease}
.mobile-menu .sub-toggle[aria-expanded="true"]::before{content:"\2212"}
.mobile-menu .sub-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.mobile-menu .subs{display:none;padding:15px 20px}
.mobile-menu .subs.open{display:block}
.mobile-menu .subs li{margin-bottom:5px}
.mobile-menu .subs a{font-weight:300;text-transform:none;color:#333}
.mobile-menu .menu-cta{display:block;margin:4px 0 0;padding:15px 10px;background:var(--accent);color:#fff;text-align:center;font-family:var(--heading-font);font-size:15px;font-weight:500;text-transform:uppercase;letter-spacing:1px}
.mobile-menu .menu-mail{display:none}

/* ---------- hero (home) ---------- */
.hero{
  position:relative;padding:200px 0 290px;overflow:hidden;background:#20331f;
}
.hero video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;
}
.hero::after{content:none}   /* no tint over the video: the live hero has none (Rob's rule, 2026-09-29) */
.hero .row{z-index:2}
.hero-inner{text-align:center}
.hero-logo{display:inline-block;width:167px;transition:transform .3s ease}
.hero-logo img{width:167px;height:auto}
.hero-logo:hover{transform:scale(1.1)}
.hero h1{
  font-family:var(--heading-font);font-weight:600;font-size:44px;color:#fff;line-height:1.2em;
  text-align:center;max-width:650px;margin:25px auto;
}
.hero-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}

/* ---------- inner page hero ---------- */
.page-hero{
  padding:60px 0 120px;
  background-image:linear-gradient(180deg,rgba(0,0,0,.8) 0%,rgba(0,0,0,.6) 100%),var(--hero-image,url(/images/outside-grasy.webp));
  background-size:cover;background-position:center;
}
.page-hero h1{
  font-family:var(--heading-font);font-weight:600;font-size:44px;color:#fff;line-height:1.2em;
  text-align:center;margin:0 auto 10px;max-width:900px;
}
.crumbs{display:flex;justify-content:center;flex-wrap:wrap;list-style:none;margin:0;padding:0;font-family:var(--body-font);font-size:15px}
.crumbs li{color:var(--muted)}
.crumbs li a{color:var(--muted);transition:color .3s ease}
.crumbs li a:hover{color:#fff}
.crumbs li[aria-current]{color:#fff}
.crumbs li+li::before{content:"\203A";color:var(--muted);margin:0 6px;font-size:16px}

/* ---------- dual heading (small label + outlined watermark) ----------
   The live module carries an orange border colour but no border width on the
   label itself, so no rule is drawn beside it. */
.dual{position:relative;margin-bottom:25px;padding-left:10px}
.dual .label{
  display:inline-block;position:relative;z-index:2;font-family:var(--heading-font);font-weight:500;
  font-size:15px;letter-spacing:3px;line-height:1.6em;color:var(--accent);margin:0;
}
.dual .ghost{
  position:absolute;left:50%;top:25%;transform:translate(-50%,-50%);z-index:1;pointer-events:none;
  font-family:var(--heading-font);font-weight:600;font-size:80px;line-height:1.2em;text-transform:uppercase;
  white-space:nowrap;color:transparent;-webkit-text-stroke:1px var(--ghost);
}
.dual--light .label{color:#fff}
.dual--light .ghost{-webkit-text-stroke-color:rgba(255,255,255,.07);color:rgba(255,255,255,.04)}
.dual--center{text-align:center;border-left:0;padding-left:0}
.dual--center::before{content:"";position:absolute;left:34px;top:-24px;width:3px;height:96px;background:#dcdcdc}
.dual--center .label{margin:0 auto}

/* ---------- highlighter heading (zig-zag underline) ---------- */
.hl{
  font-family:var(--heading-font);font-weight:600;font-size:41px;line-height:1.3em;color:var(--teal);
  margin:0 0 10px;position:relative;
}
/* The squiggle sits clear of the letters, so it is drawn on top of the band
   rather than on a negative layer (which hid it behind a coloured section). */
.hl .mark{position:relative;display:inline-block}
.hl .mark svg{
  position:absolute;left:50%;transform:translateX(-50%);bottom:-10px;width:137%;height:80px;z-index:1;overflow:visible;pointer-events:none;
  stroke:var(--accent);stroke-width:6;fill:none;stroke-linecap:round;
}
.hl--white{color:#fff}
.hl--white .mark svg{stroke:#fff}
.hl--teal .mark svg{stroke:var(--teal)}
.hl--thin .mark svg{stroke-width:2}
.hl--center{text-align:center}
.hl--none .mark svg{stroke:transparent}

/* ---------- home: overlapping about card ---------- */
.about-band{padding:60px 0 90px}
.about-card{
  width:var(--row);margin:-150px auto 0;background:#fff;
  box-shadow:0 2px 18px rgba(100,130,208,.12);display:flex;flex-wrap:wrap;position:relative;z-index:3;
}
.about-card .pane-teal{flex:1 1 50%;min-width:0;background:var(--teal);padding:60px 50px 50px;color:#fff}
.about-card .pane-teal h2{
  font-family:var(--heading-font);font-weight:600;font-size:25px;color:#fff;letter-spacing:.5px;line-height:1.4em;margin-bottom:10px;
}
.about-card .pane-teal .body{font-family:var(--body-font);color:#fff}
.about-card .pane-white{flex:1 1 50%;min-width:0;background:#fff;padding:30px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.blurb-servicing img{width:70px;height:auto;display:block;margin:0 auto 14px}
.blurb-servicing h4{
  font-family:var(--heading-font);font-weight:600;text-transform:uppercase;color:var(--teal);
  letter-spacing:1px;text-align:center;font-size:18px;margin-bottom:6px;
}
.blurb-servicing p{color:var(--ink);letter-spacing:.5px;margin-bottom:25px}

.split{display:flex;flex-wrap:wrap;align-items:stretch;gap:0}
.split>.media{flex:1 1 50%;min-width:0;min-height:563px;background-size:cover;background-position:center bottom 11%;transition:transform .3s ease}
.split>.media:hover{transform:scale(1.05)}
.split>.copy{flex:1 1 50%;min-width:0;display:flex;flex-direction:column;justify-content:center;padding-left:6%}
.split.reverse>.copy{padding-left:0;padding-right:6%}
.split .copy .body{font-family:var(--body-font);color:var(--ink);padding:30px 0}
.split .copy .body a{color:var(--orange);font-weight:700}
.about-rows{padding-top:65px}
/* About Us, first row: the live heading is a 25px/600 text module and the text below it
   has no padding, 25px under it. */
.panel-h2{font-family:var(--heading-font);font-size:25px;line-height:35px;font-weight:600;letter-spacing:.5px;color:var(--teal);padding-bottom:10px;margin:0}
.split .copy .panel-h2+.body{padding:0 0 25px}

/* ---------- services grid ---------- */
.services-band{background:var(--grey);padding:90px 0}
.services-head{text-align:center;margin-bottom:10px}
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;padding:35px 0}
.svc{position:relative;height:330px;overflow:hidden;background:#fff}
.svc .face{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:30px 26px;transition:transform .45s cubic-bezier(.4,0,.2,1);
}
.svc .front{background:#fff;z-index:1}
.svc .back{background:var(--accent);color:#fff;transform:translateY(100%);z-index:2}
.svc:hover .front,.svc:focus-within .front{transform:translateY(-100%)}
.svc:hover .back,.svc:focus-within .back{transform:translateY(0)}
.svc img{width:64px;height:64px;object-fit:contain;margin-bottom:14px}
.svc h2{
  font-family:var(--heading-font);font-weight:600;font-size:15px;letter-spacing:1px;text-transform:uppercase;
  color:var(--accent);margin:0 0 10px;line-height:1.5em;
}
.svc .back h2{color:#fff}
.svc .desc{font-family:var(--body-font);font-size:15px;line-height:1.7em;color:var(--ink)}
.svc .back .desc{color:#fff}
/* The Services page draws the same six cards in mint (#E6F4EF); the homepage draws them white. */
.gallery-band .svc,.gallery-band .svc .front{background:var(--mint)}

/* ---------- teal servicing band ---------- */
.servicing-band{
  position:relative;
  padding:90px 0 120px;background-color:var(--teal);
  background-image:linear-gradient(180deg,#0b6f8e 0%,rgba(11,111,142,.8) 100%),url(/images/man-washing.webp);
  background-size:auto,cover;background-position:center,center;background-attachment:scroll,fixed;
  color:#fff;
}
.servicing-band::before{
  content:"";position:absolute;inset:0;opacity:.6;pointer-events:none;
  background-image:url("data:image/svg+xml;base64,PHN2ZyAgZmlsbD0icmdiYSgwLDAsMCwwLjA0KSIgaGVpZ2h0PSIxNjBweCIgd2lkdGg9IjgwcHgiIHZpZXdCb3g9IjAgMCA4MCAxNjAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQxLjEyLDQwLDUzLDE2LjI4LDYwLjYyLDFIODBWMEg1OC44OEw0MCwzNy43NiwyMS4xMiwwSDBWMUgxOS4zOEwyNywxNi4yOCwzOC44OCw0MCwxOS4zOCw3OUgwdjJIMTkuMzhsMTkuNSwzOS0xOS41LDM5SDB2MUgyMS4xMkw0MCwxMjIuMjQsNTguODgsMTYwSDgwdi0xSDYwLjYybC0xOS41LTM5LDE5LjUtMzlIODBWNzlINjAuNjJaTTQwLDExNy43NiwyMS4xMiw4MCw0MCw0Mi4yNCw1OC44OCw4MFoiLz48L3N2Zz4=");
}
.servicing-band .row{z-index:2}
.servicing-grid{display:flex;flex-wrap:wrap;align-items:center;gap:0}
.servicing-grid .copy{flex:1 1 60%;min-width:0;padding-right:60px} /* Rob 2026-09-29: text sat hard against the video */
.servicing-band .hl{padding-right:18vh}
.servicing-grid .copy .body{font-family:var(--body-font);color:#fff}
.servicing-grid .vid{flex:1 1 40%;min-width:0;min-height:400px;position:relative;overflow:hidden;background:#0a5c76}
.servicing-grid .vid video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ---------- stat ---------- */
.stat-band{background:var(--grey);padding:60px 0 0}
.stat-row{display:flex;flex-wrap:wrap;margin-top:-150px;position:relative;z-index:3}
.stat-card{
  flex:0 0 33.333%;background:var(--grey);border-bottom:1px solid rgba(11,111,142,.5);
  padding:40px 40px 32px;
}
.stat-card .head{display:flex;align-items:flex-start;gap:12px}
.stat-card .ico{font-size:40px;line-height:1;color:var(--teal);flex:0 0 auto}
.stat-card .ico svg{width:34px;height:34px;fill:none;stroke:var(--teal);stroke-width:2}
.stat-card h4{
  font-family:var(--heading-font);font-weight:700;text-transform:uppercase;font-size:17px;color:var(--teal);
  letter-spacing:1px;margin:4px 0 0;
}
.stat-card .num{
  font-family:var(--heading-font);font-weight:800;font-size:28px;line-height:1.3em;color:var(--teal);
  text-align:left;margin-top:10px;
}

/* ---------- before / after ---------- */
.ba-band{background:var(--grey);padding:90px 0}
.ba-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.ba{position:relative;overflow:hidden;user-select:none;touch-action:pan-y;aspect-ratio:7/6;background:#ddd}
.ba img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.ba .after-wrap{position:absolute;inset:0;overflow:hidden;width:50%}
.ba .after-wrap img{width:auto;height:100%;max-width:none}
.ba .handle{
  position:absolute;top:0;bottom:0;left:50%;width:4px;background:#fff;transform:translateX(-50%);
  cursor:ew-resize;z-index:4;
}
.ba .knob{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:38px;height:38px;box-sizing:content-box;border:4px solid #fff;border-radius:50%;background:transparent;
  display:flex;align-items:center;justify-content:center;gap:4px;
}
.ba .knob i{display:block;width:0;height:0;border:6px solid transparent;position:relative}
.ba .knob i.l{margin-right:4px}
.ba .knob i.r{margin-left:4px}
.ba .knob i.l{border-right-color:#fff;border-left-width:0}
.ba .knob i.r{border-left-color:#fff;border-right-width:0}
.ba .lbl{
  position:absolute;bottom:14px;z-index:3;background:var(--accent);color:#fff;
  font-family:var(--body-font);font-size:13px;letter-spacing:.5px;padding:5px 14px;
  opacity:0;transition:opacity .25s ease;
}
.ba:hover .lbl,.ba:focus-within .lbl{opacity:1}
.ba .lbl.before{left:14px}
.ba .lbl.after{right:14px}
.ba input[type=range]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize;z-index:5;margin:0}
/* U13: the range control is transparent, so the slider itself shows the keyboard focus ring */
.ba:has(input:focus-visible){outline:3px solid var(--orange);outline-offset:2px}

/* ---------- why choose ---------- */
.why-band{background:var(--mint);padding:90px 0}
.why-grid{display:flex;flex-wrap:wrap;align-items:stretch}
.why-grid .media{flex:1 1 50%;min-width:0;min-height:683px;background-size:cover;background-position:center}
.why-grid .copy{flex:1 1 50%;min-width:0;display:flex;flex-direction:column;justify-content:center;padding-left:6%}
.mini{display:flex;gap:10px;align-items:flex-start;margin:0 0 15px}
.mini .ico{flex:0 0 auto;color:var(--accent);font-size:19px;line-height:1.7}
.mini .ico svg{width:19px;height:19px;fill:currentColor;display:block;margin-top:6px}
.mini h4{
  font-family:var(--heading-font);font-weight:600;font-size:18px;color:var(--teal);margin:0 0 2px;
}
.mini p{color:var(--ink);letter-spacing:.5px;margin:0}
.signature{font-family:var(--script-font);font-weight:700;font-style:italic;font-size:25px;color:var(--teal);margin-top:6px}

/* ---------- quote band (home) ---------- */
.quote-band{background:#fff;padding:90px 0}
.quote-grid{display:flex;flex-wrap:wrap;align-items:center}
.quote-grid .copy{flex:1 1 40%;min-width:0}
.quote-band .hl{padding-right:10vh}
.quote-grid .copy .body{font-family:var(--body-font);color:var(--ink)}
.quote-grid .copy .body a{color:var(--orange);font-weight:700}
.quote-grid .form{flex:1 1 60%;min-width:0;background:var(--teal);padding:40px}
.quote-grid .form h4{
  font-family:var(--heading-font);text-transform:uppercase;font-size:25px;color:#fff;
  letter-spacing:.5px;line-height:1.4em;margin-bottom:16px;
}
.quote-form iframe{width:100%;border:0;display:block}

/* ---------- service page blocks ---------- */
.svcpage-band{padding:90px 0}
.svcpage-band.mint{background:var(--mint)}
.panel{padding:40px;background:#fff}
.panel.mint{background:var(--mint)}
.panel h2{
  font-family:var(--heading-font);font-weight:600;font-size:25px;color:var(--teal);letter-spacing:.5px;line-height:1.4em;
}
.panel h3,.panel h4{font-family:var(--heading-font);font-weight:600;font-size:25px;color:var(--teal);letter-spacing:.5px;line-height:1.4em;margin-bottom:10px}
.panel .body{font-family:var(--body-font);color:var(--ink)}
/* Each live list item is a Divi blurb: 18px line, 10px between items, 20px after the list. */
.arrow-list{list-style:none;margin:0 0 20px;padding:0;font-family:var(--body-font)}
.arrow-list li{position:relative;padding-left:34px;margin-bottom:10px;line-height:19px;color:var(--ink)}
.arrow-list li:last-child{margin-bottom:0}
/* The arrow is a real element (not a pseudo-element) so Divi's icon drop-in
   (et_pb_animation_top on every blurb icon) can be played on it. */
.arrow-list li .arr{position:absolute;left:1px;top:4px;width:15px;height:11px}
.arrow-list li .arr::before{
  content:"";position:absolute;left:0;top:5px;width:14px;height:1.5px;background:var(--teal);
}
.arrow-list li .arr::after{
  content:"";position:absolute;left:8px;top:2.5px;width:6px;height:6px;
  border-top:1.5px solid var(--teal);border-right:1.5px solid var(--teal);transform:rotate(45deg);
}
/* Desktop panel padding measured per page on the live site (Divi column padding). */
@media (min-width:981px){.panel.pad-y{padding-top:var(--pad-y);padding-bottom:var(--pad-y)}}
/* About Us photos: Divi spacer columns 513px tall, 423px at 980px and below. */
.split>.media.tall{min-height:513px}
/* Service pages, last row: the live headings are 25px/600 with Divi's 10px padding and a
   10px module gap; the text modules carry no padding, 20px between them. */
.svcpage-band .split>.copy>h3,.svcpage-band .split>.copy .body>h3{
  font-family:var(--heading-font);font-size:25px;line-height:35px;font-weight:600;letter-spacing:.5px;
  color:var(--teal);padding-bottom:10px;margin:0 0 10px;
}
.svcpage-band .split>.copy:has(>h3) .body{padding:0}
/* That row is a Divi gutters2 row: two 48.5% columns with a 3% gap, no inner padding. */
@media (min-width:981px){
  .svcpage-band .split:has(>.copy>h3){gap:3%}
  .svcpage-band .split:has(>.copy>h3)>*{flex:1 1 0}
  .svcpage-band .split:has(>.copy>h3)>.copy{padding-left:0;padding-right:0}
}
.svcpage-band .split>.copy:has(>h3) .body p:not(:last-child){margin-bottom:20px}
/* The "Request a Free Quote" band: the live highlight heading is 1.2em with a 10px pad and 25px below. */
.cta-teal .hl{line-height:1.2em;padding-bottom:10px;margin-bottom:25px}
.photo-col{min-height:490px;background-size:cover;background-position:center bottom 11%}
.cta-teal{
  padding:60px 0;background:var(--teal);color:#fff;position:relative;
}
.cta-teal::before{
  content:"";position:absolute;inset:0;opacity:.6;pointer-events:none;
  background-image:url("data:image/svg+xml;base64,PHN2ZyAgZmlsbD0icmdiYSgwLDAsMCwwLjA0KSIgaGVpZ2h0PSIxNjBweCIgd2lkdGg9IjgwcHgiIHZpZXdCb3g9IjAgMCA4MCAxNjAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQxLjEyLDQwLDUzLDE2LjI4LDYwLjYyLDFIODBWMEg1OC44OEw0MCwzNy43NiwyMS4xMiwwSDBWMUgxOS4zOEwyNywxNi4yOCwzOC44OCw0MCwxOS4zOCw3OUgwdjJIMTkuMzhsMTkuNSwzOS0xOS41LDM5SDB2MUgyMS4xMkw0MCwxMjIuMjQsNTguODgsMTYwSDgwdi0xSDYwLjYybC0xOS41LTM5LDE5LjUtMzlIODBWNzlINjAuNjJaTTQwLDExNy43NiwyMS4xMiw4MCw0MCw0Mi4yNCw1OC44OCw4MFoiLz48L3N2Zz4=");
}
.cta-teal .row{z-index:2}
.cta-teal .inner{display:flex;flex-wrap:wrap;align-items:center;gap:24px}
.cta-teal .copy{flex:1 1 62%;min-width:0}
.cta-teal .copy .body{font-family:var(--body-font);color:#fff}
.cta-teal .act{flex:1 1 30%;text-align:right}

/* ---------- gallery ---------- */
.gallery-band{background:#fff;padding:90px 0}
.gal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding-top:10px}
.gal-grid a{display:block;overflow:hidden;background:#eee;aspect-ratio:400/516}
.gal-grid img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.gal-grid a:hover img{transform:scale(1.06)}
.lightbox{
  position:fixed;inset:0;background:rgba(0,0,0,.92);z-index:1200;display:none;
  align-items:center;justify-content:center;padding:40px 16px;
}
.lightbox.open{display:flex}
.lightbox img{max-width:min(92vw,900px);max-height:88vh;width:auto;height:auto;object-fit:contain}
.lightbox button{
  position:absolute;background:rgba(255,255,255,.12);border:0;color:#fff;width:52px;height:52px;
  font-size:26px;line-height:1;cursor:pointer;
}
.lightbox .lb-close{top:18px;right:18px}
.lightbox .lb-prev{left:14px;top:50%;transform:translateY(-50%)}
.lightbox .lb-next{right:14px;top:50%;transform:translateY(-50%)}

/* ---------- contact page ---------- */
.contact-band{padding:90px 0;background:#fff}
.contact-card{background:#fff;padding:30px 40px;box-shadow:0 2px 18px rgba(100,130,208,.25)}
.contact-band .hl{font-size:32px;padding-right:10vh;line-height:1.2em;padding-bottom:10px;margin-bottom:15px}
.contact-band .dual .ghost{font-size:35px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center} /* live: the two columns are centred on each other */
.contact-grid h4{font-family:var(--heading-font);font-weight:600;font-size:25px;color:var(--teal);letter-spacing:.5px}
.rule{height:0;border-top:1px dashed #333;margin:30px 0}
.contact-line{display:flex;gap:12px;align-items:flex-start;margin-bottom:18px}
.contact-line .ico{color:var(--accent);flex:0 0 auto}
.contact-line .ico svg{width:20px;height:20px;fill:currentColor;display:block;margin-top:6px}
.contact-line h4{font-size:16px;margin:0 0 2px;font-family:var(--body-font);font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:var(--accent)}
.contact-line a{color:var(--ink);font-family:var(--body-font)}
.contact-line:hover a{color:var(--accent)}
.contact-line a:hover{color:var(--accent)}
.socials{display:flex;gap:10px;list-style:none;margin:18px 0 0;padding:0}
.socials a{
  width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:var(--teal);
  transition:background .3s ease;
}
.socials a:hover{background:var(--accent)}
.socials svg{width:19px;height:19px;fill:#fff}
/* In the footer the live site draws the two icons as plain white glyphs with
   no coloured tile behind them; only the hover fill is green. */
.footer .socials{gap:0}
.footer .socials a{background:none}
.footer .socials svg{width:28px;height:28px} /* audit 2026-10-07: the live footer glyphs are Divi's 20px icon font, which fills more of its box than this SVG path; 28px matches their drawn size */

.contact-aside img{width:100%;height:auto;display:block;margin-top:18px}

/* ---------- footer ---------- */
.footer{
  position:relative;margin-top:90px;padding:60px 0;color:#fff;background-color:var(--navy);
  background-image:linear-gradient(180deg,rgba(0,0,0,.85) 0%,rgba(0,0,0,.9) 100%),url(/images/lawn-grass-danny.webp);
  background-size:cover;background-position:center;
}
.footer-cta{
  width:var(--row);margin:-145px auto 70px;background:var(--accent);padding:40px;
  display:flex;flex-wrap:wrap;align-items:center;gap:20px;position:relative;z-index:2;
}
.footer-cta .copy{flex:1 1 62%}
.footer-cta h4{font-family:var(--heading-font);font-weight:600;font-size:25px;color:#fff;letter-spacing:.5px;line-height:1.4em;margin:0}
.footer-cta .copy p{color:#fff;margin:6px 0 0}
.footer-cta .act{flex:1 1 30%;text-align:right}
.footer-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:34px}
.footer-cols img.flogo{max-width:150px;height:auto;display:block;margin-bottom:20px}
.footer-cols p{color:#fff}
.footer-cols h4{font-family:var(--heading-font);font-weight:600;font-size:20px;color:#fff;margin-bottom:15px}
.footer-cols .contact-line h4{font-family:var(--body-font);font-weight:600;font-size:16px;color:#fff;margin:0}
.footer-cols .contact-line .ico{color:#fff}
.footer-cols .contact-line a{color:rgba(255,255,255,.8);transition:color .3s ease}
.footer-cols .contact-line a:hover{color:#fff}
.footer-links{list-style:none;margin:0;padding:0}
.footer-links a{color:var(--mint);line-height:2.8em;transition:color .3s ease}
.footer-links a:hover{color:#fff}
.footer-links span{color:var(--mint);line-height:2.8em}
.footer-bottom{background:var(--accent);padding:16px 0;text-align:center;color:#fff}
.footer-bottom p{margin:0;color:#fff}

/* ---------- floating mobile controls ---------- */
.to-top,.call-fab{display:none}
@media (max-width:860px){
  .to-top{
    /* Bottom-left, level with the call button, so neither button sits on the copyright line. */
    display:flex;position:fixed;left:18px;bottom:calc(24px + env(safe-area-inset-bottom));
    width:48px;height:48px;border-radius:50%;background:#fff;border:2px solid var(--accent);
    align-items:center;justify-content:center;z-index:960;cursor:pointer;
    opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s;box-shadow:0 6px 18px rgba(0,0,0,.18);
  }
  .to-top.show{opacity:1;visibility:visible}
  .to-top svg{width:20px;height:20px;fill:var(--accent)}
  .call-fab{
    display:flex;position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom));
    width:60px;height:60px;border-radius:50%;background:var(--accent);
    align-items:center;justify-content:center;z-index:960;box-shadow:0 8px 22px rgba(0,0,0,.28);
  }
  .call-fab svg{width:26px;height:26px;fill:#fff}
  /* Keep the copyright line clear of the two floating buttons. */
  .footer-bottom{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .servicing-grid .copy{padding-right:6vh}
  .quote-grid .copy{padding-right:5vh}
}
@media (max-width:980px){
  .sect{padding:65px 0}
  .hero{padding:230px 0 250px}
  .hero h1{font-size:37px;max-width:100%}
  .about-band{padding-top:60px;padding-bottom:65px}
  .about-card{flex-direction:column}
  .about-card .pane-teal{padding:40px 30px 30px}
  .split{flex-direction:column}
  .split>.media,.why-grid .media{flex:1 1 100%;min-height:340px;width:100%}
  .split>.copy,.why-grid .copy{flex:1 1 100%;padding-left:0;padding-right:0;margin-top:30px}
  .split>.media.tall{min-height:423px}
  /* a text column stacked above its photo keeps Divi's 30px column gap */
  .split>.copy:first-child{margin-top:0;margin-bottom:30px}
  .split.reverse{flex-direction:column-reverse}
  .split.reverse>.copy{margin-top:0;margin-bottom:30px}
  /* Rows the live site tags .reverse: text above the photo once the columns stack (desktop order unchanged). */
  .split.stack-rev{flex-direction:column-reverse}
  .split.stack-rev>.copy{margin-top:0;margin-bottom:30px}
  .cta-teal .copy,.cta-teal .act,.footer-cta .copy,.footer-cta .act{flex:1 1 100%}
  .services-band,.ba-band,.why-band,.quote-band,.servicing-band,.gallery-band,.contact-band,.svcpage-band{padding:65px 0}
  .servicing-band{padding-bottom:65px}
  .svc-grid{grid-template-columns:repeat(2,1fr);padding:30px 0}
  .servicing-grid{flex-direction:column}
  .servicing-grid .copy{flex:1 1 100%;padding-right:0}
  .servicing-band .hl,.quote-band .hl{padding-right:6vh}
  .servicing-grid .vid{flex:1 1 100%;width:100%;min-height:320px;margin-top:30px}
  .stat-row{margin-top:-120px}
  .stat-card{flex:0 0 100%}
  .quote-grid{flex-direction:column}
  .quote-grid .copy,.quote-grid .form{flex:1 1 100%;width:100%;padding-right:0}
  .quote-grid .form{padding:30px;margin-top:30px}
  .gal-grid{grid-template-columns:repeat(3,1fr)}
  .footer-cols{grid-template-columns:repeat(2,1fr)}
  .hl{font-size:34px}
  .photo-col{min-height:360px}
  .cta-teal .act{text-align:left}
  /* U12: phones ignore or zoom fixed backgrounds; scroll normally at 980px and below. */
  .servicing-band{background-attachment:scroll}
}
@media (max-width:767px){
  .hero{padding:120px 0 200px}
  .hero h1{font-size:32px}
  .hero-buttons{flex-wrap:nowrap}
  .btn-hero-green,.btn-hero-white{padding:13px 20px}
  /* live keeps 60px / 120px on phones */
  .page-hero h1{font-size:32px}
  .dual .ghost{font-size:50px}
  .hl{font-size:28px}
  .servicing-grid .copy,.quote-grid .copy{padding-right:0}
  .servicing-band .hl,.quote-band .hl{padding-right:0}
  .ba-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .contact-band .hl{padding-right:0}
  .contact-card{padding:26px 22px}
  .gal-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .footer-cols{grid-template-columns:1fr;gap:26px}
  .footer-cta{padding:30px;margin-bottom:50px}
  .footer-cta .act{text-align:left}
  .footer{padding:50px 0}
  .footer .row{padding-bottom:70px}
  .panel{padding:30px}
  .about-card .pane-white{padding:30px 22px}
  .svc-grid{grid-template-columns:1fr}
  /* No hover on a phone, so the live site leaves the white front face showing
     and the green back face is never reached. Matched here. */
  /* Live phone cards: 330px tall, content centred, 30px apart. */
  .svc-grid{gap:30px}
  .svc{height:auto;min-height:330px;display:flex}
  .svc .face{position:relative;transform:none!important;flex:1 1 auto}
  .svc .front{display:flex}
  .svc .back{display:none}
  /* U8: a tap (or keyboard focus) turns the card to its green face, as hover does on desktop. */
  .svc:focus-within .front,.svc.is-open .front{display:none}
  .svc:focus-within .back,.svc.is-open .back{display:flex}
  .stat-card{padding:30px 24px}
}
@media (max-width:480px){
  .hero-buttons{flex-wrap:wrap}
  /* U7: the live gallery shows one full photo per row on a phone (Divi grid below 480px). */
  .gal-grid{grid-template-columns:1fr;gap:20px}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .servicing-band{background-attachment:scroll}
  .hero video{display:none}
}

/* 20 October: service-specific images and balanced sections without filler photos. */
.service-detail .text-only {display:block;max-width:960px;margin-left:auto!important;margin-right:auto!important}
.service-detail .text-only>.panel,.service-detail .text-only>.copy {width:100%;padding:40px;box-sizing:border-box;margin:0}
.service-detail .text-only>.panel h2,.service-detail .text-only>.panel h3 {margin-top:0}
.service-detail .svcpage-band .split {overflow:clip}
.svc h2 a {color:inherit;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.svc h2 a:focus-visible {outline:3px solid currentColor;outline-offset:4px}
.termite-band {padding-top:0}
.termite-band .panel {max-width:960px;margin:auto}
[id="stump-grinding"],[id="hedge-trimming"] {scroll-margin-top:130px}
@media(max-width:600px){.service-detail .text-only>.panel,.service-detail .text-only>.copy{padding:28px 20px}}
/* Keep hosted-form labels legible when its transparent embed sits on teal. */
.form .quote-form{background:#fff;padding:20px}
@media(max-width:767px){.form .quote-form{padding:12px}}

/* Full-frame job photos: keep people and before/after labels visible. */
.service-detail .split>.media.full-frame{min-height:0;background:none;align-self:center;overflow:visible}
.service-detail .split>.media.full-frame:hover{transform:none}
.service-detail .media.full-frame img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}

/* Separate the tree-removal panel from the introductory panel. */
.service-detail .tree-removal-row{background:#fff}
@media(max-width:767px){.service-detail .tree-removal-row{margin-top:32px!important}}

/* Portrait photos must not set the height of a wide desktop text panel. */
.service-detail .split.pressure-intro{display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:center;background:var(--mint,#e6f3ef)}
.service-detail .pressure-intro>.media.full-frame{width:100%;align-self:center}
.service-detail .pressure-intro>.media.full-frame img{width:100%;height:440px;object-fit:contain}
.service-detail .pressure-intro>.panel{padding:36px 40px}
.service-detail .pressure-summary>.copy{padding-top:0;padding-bottom:0}
@media(max-width:767px){
 .service-detail .split.pressure-intro{display:flex;flex-direction:column}
 .service-detail .pressure-intro>.panel{padding:28px 20px}
 .service-detail .pressure-intro>.media.full-frame{flex:none}
 .service-detail .pressure-intro>.media.full-frame img{height:360px;width:100%;object-fit:contain}
}

/* Pest page: compact portraits with full people visible, balanced against copy. */
.service-detail .split.pest-photo-row{display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:center}
.service-detail .pest-photo-row>.media.full-frame{width:100%}
.service-detail .pest-photo-row>.media.full-frame img{height:440px;width:100%;object-fit:contain}
.service-detail .pest-photo-row>.panel{padding:36px 40px}
@media(max-width:767px){
 .service-detail .split.pest-photo-row{display:flex;flex-direction:column}
 .service-detail .pest-photo-row>.panel{padding:28px 20px}
 .service-detail .pest-photo-row>.media.full-frame{flex:none}
 .service-detail .pest-photo-row>.media.full-frame img{height:360px}
}
@media(min-width:768px){.service-detail .pest-photo-row>.panel{align-self:stretch;display:flex;flex-direction:column;justify-content:center}}

/* Reviewed service layouts: portraits stay compact regardless of screen width. */
.service-detail .split.portrait-row,.service-detail .split.tree-removal-row{display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:center}
.service-detail .tree-removal-row{grid-template-columns:330px minmax(0,1fr)!important}
.service-detail .portrait-row>.media.full-frame,.service-detail .tree-removal-row>.media.full-frame{width:100%}
.service-detail .portrait-row>.media.full-frame img,.service-detail .tree-removal-row>.media.full-frame img{height:440px;width:100%;object-fit:contain}
.service-detail .portrait-row>.panel,.service-detail .tree-removal-row>.panel{padding:36px 40px}
.service-detail .svcpage-band .split+.split{margin-top:40px!important}
.service-detail .pest-hero{min-height:370px;box-sizing:border-box;background-color:#33463b;background-size:auto 100%;background-repeat:no-repeat;background-position:right center!important}
@media(max-width:980px){
.service-detail .split.pressure-intro,.service-detail .split.pest-photo-row,.service-detail .split.portrait-row,.service-detail .split.tree-removal-row{display:flex;flex-direction:column}
.service-detail .split>.media.full-frame{flex:none;width:100%;background:#fff}
.service-detail .split>.media.full-frame img{height:360px;width:100%;object-fit:contain}
.service-detail .split.pressure-intro>.panel,.service-detail .pest-photo-row>.panel,.service-detail .portrait-row>.panel,.service-detail .tree-removal-row>.panel{padding:28px 24px;width:100%}
.service-detail .tree-removal-row>.panel{order:-1}
.service-detail .pest-hero{min-height:360px;background-position:65% center!important}
}
/* Blend the full pest equipment frame into the banner without cropping the sprayer. */
.service-detail .pest-hero{position:relative;background:#26372d!important;isolation:isolate;display:flex;align-items:center;padding:40px 0}
.service-detail .pest-hero:before{content:"";position:absolute;inset:0 0 0 auto;width:min(100%,660px);background:linear-gradient(#0004,#0004),url('/images/pest-equipment-banner.webp') right center/auto 100% no-repeat;mask-image:linear-gradient(to right,transparent,#000 30%);z-index:-1}
/* Keep service copy and landscape crops balanced on extra-wide monitors. */
.service-detail .svcpage-band>.row{max-width:1280px}
.service-detail .pest-hero .crumbs li,.service-detail .pest-hero .crumbs a,.service-detail .pest-hero .crumbs li:before{color:#fff;text-shadow:0 1px 4px #000,0 0 8px #000}
