/* Fresh Fencing website
   Forked from the client-funnels lp-fresh landing page so the site and the ad
   funnel stay visually identical. Tokens are copied verbatim; everything below
   "SITE ADDITIONS" is new and exists because a multi-page site needs nav,
   breadcrumbs and long-form article styling that a single landing page did not. */

:root{
  --primary:#16281D; --primary-deep:#0C1811; --accent:#92C541; --accent-text:#0C1811;
  --green:#39AC4A;
  --bg:#fff; --surface:#F3F6F2; --ink:#111A14; --muted:#56615A; --line:#E1E7E0;
  --heading:'Montserrat',system-ui,sans-serif;
  --body:'Inter',system-ui,sans-serif;
  --pill:999px; --card:16px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:var(--body);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;padding-bottom:74px;}
h1,h2,h3{font-family:var(--heading);color:var(--primary);line-height:1.14;font-weight:800;letter-spacing:-.01em;}
img{max-width:100%;}
.wrap{max-width:1060px;margin:0 auto;padding:0 20px;}
.btn{display:inline-block;text-align:center;text-decoration:none;font-weight:700;font-size:17px;
  padding:16px 30px;border-radius:var(--pill);border:none;cursor:pointer;transition:filter .15s;}
.btn:active{filter:brightness(.92);}
.btn-call{background:var(--accent);color:var(--accent-text);}
.btn-quote{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.85);}
.btn-quote-dark{background:var(--primary);color:#fff;}
.btn-block{display:block;width:100%;}
.accent-word{color:var(--accent);}
.tick{color:var(--accent);font-weight:800;}

/* HEADER */
header{background:var(--primary-deep);color:#fff;position:relative;z-index:30;}
/* The bar is a .wrap, so it inherited the 1060px content cap. Logo, six nav
   items and the call button need about 1090px, so the row never fit and flex
   shrink took the difference out of the logo. The header is its own full-width
   colour band, so giving its CONTENTS a wider cap than the body text reads as
   deliberate and leaves real headroom. Body content stays at 1060. */
header .bar{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;gap:16px;max-width:1200px;}
header .logo{font-weight:800;font-size:19px;color:#fff;text-decoration:none;letter-spacing:.2px;flex:0 0 auto;}
/* width:auto and flex:0 0 auto on the anchor are both load-bearing. The bar is a
   flex row, and with six nav items the row overflowed, so the logo (flex:0 1 auto,
   shrinkable) was squeezed to 74px wide against a natural 127px: the artwork is
   900x326, so it was rendering at ratio 1.61 instead of 2.76 and reading as
   visibly squashed. 54px tall keeps the two-line wordmark legible. */
header .logo img{height:54px;width:auto;display:block;}
header .call-top{color:#fff;text-decoration:none;font-weight:700;font-size:16px;background:rgba(255,255,255,.14);
  padding:9px 18px;border-radius:var(--pill);white-space:nowrap;}
@media(max-width:840px){ header .logo img{height:44px;} }

/* SITE ADDITIONS: NAV ------------------------------------------------------ */
/* Six nav items now (Contact joined the five page links). On one line they need
   about 1090px once the larger logo and the call button have taken their share, so the
   horizontal nav waits until there is room and the menu button covers the rest.
   nowrap stops a label breaking across two lines at the edge of that range. */
.nav{display:flex;align-items:center;gap:16px;}
.nav a{color:#e6ece7;text-decoration:none;font-size:15px;font-weight:600;padding:6px 0;border-bottom:2px solid transparent;white-space:nowrap;}
.nav a:hover{color:#fff;border-bottom-color:var(--accent);}
.nav a[aria-current="page"]{color:#fff;border-bottom-color:var(--accent);}
.navtoggle{display:none;background:rgba(255,255,255,.14);border:none;color:#fff;font-size:15px;font-weight:700;
  padding:10px 16px;border-radius:var(--pill);cursor:pointer;}
@media(max-width:1200px){
  header .call-top{display:none;}
  .navtoggle{display:block;}
  .nav{position:absolute;top:100%;left:0;right:0;background:var(--primary-deep);flex-direction:column;
    align-items:stretch;gap:0;padding:4px 20px 18px;display:none;border-top:1px solid rgba(255,255,255,.1);}
  .nav.open{display:flex;}
  .nav a{padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08);font-size:16px;}
  .nav a:hover,.nav a[aria-current="page"]{border-bottom-color:rgba(255,255,255,.08);}
  .nav .navcall{margin-top:14px;background:var(--accent);color:var(--accent-text);text-align:center;
    border-radius:var(--pill);font-weight:800;border-bottom:none;}
}
@media(min-width:1201px){ .nav .navcall{display:none;} }

/* SITE ADDITIONS: BREADCRUMB ---------------------------------------------- */
.crumbs{background:var(--surface);border-bottom:1px solid var(--line);font-size:13.5px;}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:11px 20px;max-width:1060px;margin:0 auto;}
.crumbs a{color:var(--muted);text-decoration:none;font-weight:600;}
.crumbs a:hover{color:var(--primary);text-decoration:underline;}
.crumbs li[aria-current="page"]{color:var(--primary);font-weight:700;}
.crumbs li+li::before{content:"\203A";color:var(--muted);margin-right:8px;}

/* HERO */
.hero{background:linear-gradient(160deg,var(--primary) 50%,var(--primary-deep));color:#fff;padding:36px 0 46px;position:relative;overflow:hidden;}
.hero .photo{position:absolute;inset:0;background:var(--hero-img,none) center center/cover;opacity:1;}
.hero .veil{position:absolute;inset:0;
  background:linear-gradient(100deg,var(--primary-deep) 38%,rgba(12,24,17,.72) 60%,rgba(12,24,17,.30) 100%);}
.hero .inner{position:relative;}
.hero .eyebrow{font-size:12.5px;letter-spacing:2px;text-transform:uppercase;color:var(--accent);font-weight:700;}
.hero h1{color:#fff;font-size:clamp(28px,5.4vw,42px);margin:10px 0 12px;max-width:720px;}
.hero .sub{font-size:18px;line-height:1.55;color:#e6ece7;max-width:600px;margin-bottom:24px;}
.hero .ctas{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px;}
.hero .trust{display:flex;gap:10px 22px;flex-wrap:wrap;font-size:13.5px;color:#dde5de;font-weight:600;}
.hero .trust span{display:flex;align-items:center;gap:7px;}
/* Service heroes carry a min-height so a landscape photo cannot collapse them.
   This is the lp-wey fix (6 Nov) carried forward: lp-fresh had no min-height. */
.hero{min-height:clamp(420px,52vh,560px);display:flex;align-items:center;}

/* SECTIONS */
section{padding:46px 0;}
section.alt{background:var(--surface);}
.kicker{font-size:12.5px;letter-spacing:2px;text-transform:uppercase;color:var(--green);font-weight:700;margin-bottom:8px;}
h2{font-size:clamp(24px,4.4vw,32px);margin-bottom:10px;}
.lead{color:var(--muted);font-size:16.5px;line-height:1.6;max-width:640px;}

/* SITE ADDITIONS: ARTICLE PROSE ------------------------------------------- */
.prose{max-width:720px;}
/* The homepage lets its photos use the full column while keeping the text at a
   readable measure. Without this the body copy ran the entire viewport width on
   a wide monitor, which is unreadable at 2000px. */
/* Matches .wrap: this element is both, and .prose's 720px would otherwise win. */
.prose-wide{max-width:1060px;}
.prose-wide > p,
.prose-wide > ul,
.prose-wide > ol,
.prose-wide > h2,
.prose-wide > h3,
.prose-wide > .note{max-width:720px;}
.prose p{color:var(--muted);font-size:16.5px;line-height:1.7;margin-bottom:16px;}
.prose h2{margin:34px 0 12px;}
.prose h2:first-child{margin-top:0;}
.prose h3{font-size:19px;margin:26px 0 8px;}
.prose ul,.prose ol{margin:0 0 18px;padding-left:0;list-style:none;}
.prose li{color:var(--muted);font-size:16px;line-height:1.65;margin-bottom:9px;padding-left:24px;position:relative;}
.prose ul li::before{content:"\2713";position:absolute;left:0;color:var(--green);font-weight:800;}
.prose ol{counter-reset:n;}
.prose ol li{counter-increment:n;}
.prose ol li::before{content:counter(n) ".";position:absolute;left:0;color:var(--green);font-weight:800;}
.prose strong{color:var(--primary);font-weight:700;}
.prose a{color:var(--primary);font-weight:700;}
.prose .note{background:var(--surface);border-left:3px solid var(--accent);border-radius:0 var(--card) var(--card) 0;
  padding:18px 20px;margin:22px 0;}

/* Photos between prose sections, so the long reads are broken up and real work
   shows early instead of sitting in one gallery at the foot of the page. */
.inline-shot{margin:28px 0;border-radius:var(--card);overflow:hidden;border:1px solid var(--line);background:var(--surface);}
.inline-shot img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;}
.inline-shot figcaption{padding:12px 16px;font-size:14px;font-weight:600;color:var(--primary);}
.inline-band{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px;align-items:center;margin:28px 0;}
.inline-band img{display:block;width:100%;height:100%;max-height:360px;object-fit:cover;
  border-radius:var(--card);border:1px solid var(--line);}
.inline-band .bcopy h2{margin:0 0 10px;font-size:clamp(21px,3.4vw,26px);}
.inline-band .bcopy p{margin-bottom:12px;}
.inline-band .bcopy p:last-child{margin-bottom:0;}
@media(max-width:700px){ .inline-band{grid-template-columns:1fr;gap:16px;} .inline-band img{max-height:260px;} }
.prose .note p{margin-bottom:0;font-size:15.5px;}
.prose .note p+p{margin-top:10px;}

/* SITE ADDITIONS: SPEC TABLE --------------------------------------------- */
.spec{width:100%;border-collapse:collapse;margin:8px 0 20px;font-size:15.5px;}
.spec caption{text-align:left;font-size:13px;color:var(--muted);padding-bottom:10px;}
.spec th,.spec td{text-align:left;padding:13px 14px;border-bottom:1px solid var(--line);vertical-align:top;}
.spec th{font-family:var(--heading);color:var(--primary);font-weight:700;font-size:14.5px;background:var(--surface);}
.spec td{color:var(--muted);line-height:1.55;}
.spec td:first-child{color:var(--primary);font-weight:600;}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;}

/* STEPS */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(228px,1fr));gap:18px;margin-top:26px;}
.step{background:var(--bg);border:1px solid var(--line);border-radius:var(--card);padding:22px 20px;}
.step .n{width:36px;height:36px;border-radius:50%;background:var(--accent);color:var(--accent-text);font-weight:800;
  display:flex;align-items:center;justify-content:center;margin-bottom:12px;}
.step h3{font-size:17px;margin-bottom:6px;}
.step p{font-size:14.5px;color:var(--muted);line-height:1.5;}
.steps-note{margin-top:18px;font-weight:700;color:var(--primary);}

/* WHAT WE BUILD GRID */
.take{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:24px;}
.take div{background:var(--bg);border:1px solid var(--line);border-radius:var(--card);padding:13px 16px;font-size:15px;font-weight:600;}
.take div::before{content:"\2713  ";color:var(--green);font-weight:800;}
.take-note{margin-top:14px;color:var(--muted);font-size:14.5px;}
.take-note a{color:var(--primary);font-weight:700;}
@media(max-width:560px){ .take{grid-template-columns:1fr;} }

/* PANELS */
.split{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:8px;}
.panel{background:var(--bg);border:1px solid var(--line);border-radius:var(--card);padding:26px 24px;}
.panel h3{font-size:19px;margin-bottom:10px;}
.panel p,.panel li{font-size:15px;color:var(--muted);line-height:1.6;}
.panel ul{padding-left:0;list-style:none;margin-top:10px;}
.panel li{margin-bottom:8px;padding-left:22px;position:relative;}
.panel li::before{content:"\2713";position:absolute;left:0;color:var(--green);font-weight:800;}
.panel .hl{color:var(--primary);font-weight:700;}

/* TRUST BAND */
.band{display:grid;grid-template-columns:1.05fr .95fr;gap:30px;align-items:center;}
.band .bimg{border-radius:var(--card);width:100%;height:100%;max-height:420px;object-fit:cover;border:1px solid var(--line);}
.band .bcopy h2{margin-bottom:10px;}
.band .bcopy p{color:var(--muted);font-size:16px;line-height:1.65;margin-bottom:12px;}
.band .bcopy .sig{color:var(--primary);font-weight:700;}
@media(max-width:840px){ .band{grid-template-columns:1fr;} }

/* SUBURBS */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;}
.chips span,.chips a{background:var(--bg);border:1px solid var(--line);border-radius:var(--pill);padding:7px 15px;
  font-size:13.5px;font-weight:600;color:var(--primary);text-decoration:none;}
.chips a:hover{border-color:var(--primary);}
.local-line{margin-top:16px;font-weight:700;color:var(--primary);font-size:16px;}

/* SITE ADDITIONS: GALLERY GRID ------------------------------------------- */
.shots{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-top:24px;}
.shot{border-radius:var(--card);overflow:hidden;background:var(--surface);border:1px solid var(--line);}
.shot img{display:block;width:100%;height:230px;object-fit:cover;}
.shot .cap{padding:12px 16px;font-size:14.5px;font-weight:600;color:var(--primary);}

/* REVIEWS */
.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px;}
.review{background:var(--bg);border:1px solid var(--line);border-radius:var(--card);padding:20px;}
.review .stars{color:#F2B01E;letter-spacing:2px;margin-bottom:8px;}
.review p{font-size:14.5px;line-height:1.55;color:var(--ink);}
.review .who{margin-top:10px;font-size:13px;color:var(--muted);font-weight:600;}
.reviews-note{margin-top:18px;color:var(--muted);font-size:14.5px;font-weight:600;}
@media(max-width:840px){ .reviews{grid-template-columns:1fr;} }

/* SITE ADDITIONS: NEXT-SERVICE CARDS ------------------------------------- */
.xlinks{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:24px;}
/* The homepage has exactly four services, and auto-fit lands them 3+1 with a
   stranded card at tablet and small-laptop widths. An even 2x2 never orphans. */
.xlinks-even{grid-template-columns:repeat(2,1fr);}
@media(min-width:1100px){ .xlinks-even{grid-template-columns:repeat(4,1fr);} }
@media(max-width:620px){ .xlinks-even{grid-template-columns:1fr;} }
.xlink{display:block;background:var(--bg);border:1px solid var(--line);border-radius:var(--card);padding:20px;
  text-decoration:none;transition:border-color .15s;}
.xlink:hover{border-color:var(--primary);}
.xlink h3{font-size:17px;margin-bottom:6px;}
.xlink p{font-size:14.5px;color:var(--muted);line-height:1.5;}
.xlink .go{display:inline-block;margin-top:10px;color:var(--green);font-weight:700;font-size:14px;}

/* FORM */
.formwrap{max-width:520px;margin:0 auto;}
#quote{background:var(--surface);}
#quote .kicker,#quote h2,#quote .lead{text-align:center;}
#quote .lead{margin:0 auto 24px;}
.frow{display:flex;gap:12px;}
.frow .field{flex:1;}
@media(max-width:400px){ .frow{flex-direction:column;gap:0;} }
.field{margin-bottom:14px;}
.field label{display:block;font-size:13px;font-weight:700;color:var(--primary);margin-bottom:6px;}
.field input,.field select,.field textarea{width:100%;font-family:var(--body);font-size:16px;color:var(--ink);
  padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:var(--bg);outline:none;}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--green);}
.field.hp{position:absolute;left:-9999px;opacity:0;height:0;overflow:hidden;}
.fine{font-size:12.5px;color:var(--muted);margin-top:10px;text-align:center;line-height:1.5;}
.msg{font-size:14px;margin-top:12px;padding:12px 14px;border-radius:10px;display:none;}
.msg.err{display:block;background:#fdecec;color:#a12525;}
.success{display:none;text-align:center;padding:24px 8px;}
.success.show{display:block;}
.success .bigtick{width:56px;height:56px;border-radius:50%;background:var(--accent);color:var(--accent-text);
  display:flex;align-items:center;justify-content:center;font-size:28px;margin:0 auto 14px;font-weight:800;}
.success p{color:var(--muted);font-size:15px;line-height:1.6;margin-top:6px;}

/* FAQ */
.faq{max-width:720px;margin:0 auto;}
#faqSec .kicker,#faqSec h2{text-align:center;}
.faq details{border-bottom:1px solid var(--line);padding:16px 0;}
.faq summary{font-family:var(--heading);font-weight:700;color:var(--primary);font-size:16.5px;cursor:pointer;
  list-style:none;display:flex;justify-content:space-between;gap:14px;align-items:flex-start;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"+";color:var(--green);font-weight:800;font-size:22px;line-height:1;flex:0 0 auto;}
.faq details[open] summary::after{content:"\2013";}
.faq details p{color:var(--muted);font-size:15.5px;line-height:1.65;margin-top:10px;}

/* FINAL CTA */
.final{background:linear-gradient(160deg,var(--primary) 50%,var(--primary-deep));color:#fff;text-align:center;}
.final h2{color:#fff;}
.final p{color:#e6ece7;font-size:17px;line-height:1.6;max-width:560px;margin:10px auto 22px;}
.final .ctas{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}

/* FOOTER */
footer{padding:28px 20px 34px;font-size:13.5px;color:var(--muted);line-height:1.65;text-align:center;}
footer a{color:var(--primary);font-weight:600;}
.footnav{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:center;margin-bottom:16px;}
.footnav a{text-decoration:none;}
.footnav a:hover{text-decoration:underline;}

/* STICKY MOBILE BAR */
.callbar{position:fixed;bottom:0;left:0;right:0;display:flex;z-index:40;box-shadow:0 -2px 14px rgba(0,0,0,.14);}
.callbar a{flex:1;text-align:center;padding:16px 8px;font-weight:800;font-size:16px;text-decoration:none;}
.callbar .c{background:var(--accent);color:var(--accent-text);}
.callbar .q{background:var(--primary);color:#fff;}
@media(min-width:841px){ .callbar{display:none;} body{padding-bottom:0;} }
@media(max-width:840px){
  .split{grid-template-columns:1fr;}
  .hero .veil{background:linear-gradient(175deg,rgba(12,24,17,.80) 0%,rgba(12,24,17,.86) 55%,rgba(12,24,17,.93) 100%);}
}
