/* ==========================================================================
   Location (suburb) page styles — shared by all /locations/<slug>/ pages.
   Replaces the per-page inline <style> block so design changes ship once.
   Tokens come from styles.css (:root / [data-theme="dark"]).
   ========================================================================== */

/* ---- Breadcrumbs ---- */
/* display:block guards against the global `nav` flexbox rules */
.loc-breadcrumbs{display:block;max-width:1100px;margin:0 auto;padding:1.25rem 2rem 0;font-size:.85rem;opacity:.75}
.loc-breadcrumbs a{color:var(--text-color);text-decoration:none}
.loc-breadcrumbs a:hover{color:var(--primary)}
.loc-breadcrumbs .crumb-sep{margin:0 .4rem;opacity:.5}

/* ---- Hero ---- */
.loc-hero{position:relative;padding:4rem 2rem 2.5rem;text-align:center;max-width:860px;margin:0 auto}
.loc-hero::before{content:"";position:absolute;inset:-40px 0 auto;height:320px;background:radial-gradient(ellipse 60% 100% at 50% 0%,rgba(var(--primary-rgb),.18),transparent 70%);pointer-events:none;z-index:-1}
.loc-hero h1{font-size:2.4rem;line-height:1.15;margin-bottom:.9rem}
.loc-hero .subtitle{font-size:1.15rem;color:var(--text-color);opacity:.9;margin:0 auto 1.25rem;max-width:640px}
.hero-postcode{display:inline-block;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--text-color);opacity:.65;border:1px solid rgba(128,128,128,.35);border-radius:999px;padding:.25rem .8rem;margin-bottom:1rem}
.trust-chips{display:flex;flex-wrap:wrap;gap:.5rem .75rem;justify-content:center;margin:0 0 1.5rem;padding:0;list-style:none}
.trust-chips li{display:inline-flex;align-items:center;gap:.4rem;font-size:.88rem;color:var(--text-color);background:var(--card-bg);border:1px solid rgba(128,128,128,.25);border-radius:999px;padding:.4rem .9rem}
.trust-chips li i{color:var(--secondary);font-size:.8rem}
.loc-hero .cta-group{display:flex;gap:1rem;justify-content:center;align-items:center;flex-wrap:wrap}
.loc-hero .cta-group .btn{font-size:1.05rem;padding:.95rem 2.2rem}
.loc-hero .cta-group .phone-link{color:var(--text-color);font-size:1.05rem;text-decoration:none;display:flex;align-items:center;gap:.45rem}
.loc-hero .cta-group .phone-link:hover{color:var(--primary)}
.loc-hero .hero-note{margin-top:.9rem;font-size:.85rem;opacity:.7}

/* ---- Client logo strip ---- */
.logo-strip{max-width:1000px;margin:0 auto 3rem;padding:0 2rem;text-align:center}
.logo-strip .strip-label{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;opacity:.6;margin-bottom:1.1rem}
.logo-strip .strip-logos{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.9rem 1.1rem}
.logo-strip .logo-tile{display:inline-flex;align-items:center;justify-content:center;width:104px;height:64px;padding:.5rem .7rem;background:#fff;border-radius:12px;border:1px solid rgba(128,128,128,.25);opacity:.85;transition:opacity .3s ease,transform .3s ease}
.logo-strip .logo-tile:hover{opacity:1;transform:translateY(-2px)}
.logo-strip img{max-height:100%;max-width:100%;object-fit:contain}

/* ---- Feature cards ----
   Scoped under #main-content so these beat the homepage's global .features /
   .features-grid / .feature-card rules (same class names, narrower widths)
   that would otherwise leak onto location pages and squeeze the grid. */
/* !important + min-width:0 are needed to defeat the homepage globals
   (.features-grid{max-width:1100px}, .feature-card{min-width:300px;flex:...})
   that otherwise pin the grid to 4x300px and cap its width. */
#main-content .features{max-width:1240px !important;margin:0 auto 4rem;padding:0 2rem;overflow:visible}
#main-content .features h2{text-align:center;margin-bottom:2.25rem;font-size:1.9rem}
#main-content .features-grid{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;grid-template-rows:none !important;aspect-ratio:auto !important;gap:1.5rem !important;width:100% !important;max-width:none !important;margin:0 !important}
#main-content .feature-card{min-width:0 !important;min-height:0 !important;flex:0 1 auto !important;height:auto !important;background:var(--card-bg);border:1px solid rgba(128,128,128,.16);border-radius:16px;padding:2.1rem 1.4rem;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;box-shadow:none}
#main-content .feature-card:hover{transform:translateY(-6px);border-color:rgba(var(--primary-rgb),.45);box-shadow:0 18px 40px rgba(0,0,0,.22)}
#main-content .feature-card i{font-size:1.45rem;color:#fff;margin-bottom:1.15rem;width:58px;height:58px;display:inline-flex;align-items:center;justify-content:center;border-radius:16px;background:linear-gradient(135deg,var(--primary),var(--secondary));box-shadow:0 10px 22px rgba(var(--primary-rgb),.32)}
#main-content .feature-card h3{font-size:1.12rem;margin-bottom:.55rem}
#main-content .feature-card p{font-size:.9rem;color:var(--text-color);opacity:.82;line-height:1.55;text-align:center;margin:0}

/* ---- On-page quote form ---- */
.loc-quote{max-width:1000px;margin:0 auto 3.5rem;padding:0 2rem}
.loc-quote-inner{display:grid;grid-template-columns:1fr 1.1fr;gap:2.5rem;align-items:center;background:var(--card-bg);border:1px solid rgba(var(--primary-rgb),.35);border-radius:18px;padding:2.5rem;box-shadow:0 18px 44px rgba(0,0,0,.18)}
.loc-quote-pitch h2{font-size:1.6rem;margin-bottom:.9rem}
.loc-quote-pitch p{font-size:.98rem;opacity:.9;line-height:1.65;margin-bottom:1rem}
.loc-quote-pitch ul{list-style:none;padding:0;margin:0}
.loc-quote-pitch li{padding:.3rem 0;font-size:.92rem}
.loc-quote-pitch li i{color:var(--secondary);margin-right:.5rem;font-size:.85rem}
.loc-quote-pitch a{color:var(--secondary);text-decoration:none}
.loc-quote-pitch a:hover{text-decoration:underline}
.quote-form{display:flex;flex-direction:column;gap:.85rem}
.quote-form label{font-size:.82rem;font-weight:600;margin-bottom:.25rem;display:block}
.quote-form input,.quote-form select{width:100%;padding:.8rem .95rem;border-radius:9px;border:1px solid rgba(128,128,128,.35);background:var(--bg-color);color:var(--text-color);font-family:inherit;font-size:.95rem}
.quote-form input:focus,.quote-form select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(var(--primary-rgb),.2)}
.quote-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:.85rem}
.quote-form .btn{width:100%;font-size:1.02rem;padding:.95rem;margin-top:.25rem}
.quote-form .form-privacy{font-size:.78rem;opacity:.65;text-align:center;margin:0}
.quote-form .form-privacy a{color:var(--text-color)}
.quote-success{text-align:center;padding:2rem 1rem}
.quote-success i{font-size:2.4rem;color:var(--secondary);margin-bottom:1rem;display:block}
.quote-success h3{font-size:1.3rem;margin-bottom:.5rem}
.quote-success p{opacity:.85;font-size:.95rem}
.hidden-field{position:absolute;left:-9999px;opacity:0;height:0;overflow:hidden}

/* ---- Steps ---- */
.how-it-works{max-width:900px;margin:0 auto 3rem;padding:0 2rem}
.how-it-works h2{text-align:center;margin-bottom:2rem;font-size:1.75rem}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}
.step{text-align:center;padding:1.5rem}
.step-number{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:linear-gradient(120deg,var(--primary),var(--secondary));color:#fff;font-size:1.25rem;font-weight:700;margin-bottom:1rem}
.step h3{font-size:1.1rem;margin-bottom:.5rem}
.step p{font-size:.9rem;color:var(--text-color);opacity:.85}

/* ---- Local content sections ---- */
.state-section,.local-unique{max-width:800px;margin:0 auto 3rem;padding:0 2rem}
.state-section h2,.local-unique h2{font-size:1.5rem;margin-bottom:1rem;text-align:center}
.state-section p,.local-unique p{font-size:1rem;color:var(--text-color);line-height:1.75;text-align:left;margin-bottom:1rem;opacity:.92}
.local-unique .blog-links{text-align:center;margin-top:1.5rem}
.local-unique .blog-links a{color:var(--primary);text-decoration:none;display:inline-block;margin:0 .5rem .5rem;font-size:.95rem}
.local-unique .blog-links a:hover{text-decoration:underline}

/* ---- Pricing ---- */
.pricing-snapshot{max-width:1040px;margin:0 auto 3rem;padding:0 2rem}
.pricing-snapshot h2{text-align:center;margin-bottom:.5rem;font-size:1.75rem}
.pricing-snapshot .pricing-sub{text-align:center;color:var(--text-color);opacity:.8;margin-bottom:2rem}
.pricing-sub a{color:var(--text-color);opacity:.75;text-decoration:underline}
.pricing-sub a:hover{opacity:1}
.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:1.5rem;align-items:stretch}
.price-card{position:relative;background:var(--card-bg);border:1px solid rgba(128,128,128,.2);border-radius:16px;padding:2rem;text-align:center;display:flex;flex-direction:column}
.price-card.popular{border-color:rgba(var(--primary-rgb),.65);box-shadow:0 12px 34px rgba(var(--primary-rgb),.18)}
.price-card .popular-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:linear-gradient(120deg,var(--primary),var(--secondary));color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:.3rem .9rem;white-space:nowrap}
.price-card h3{font-size:1.15rem;margin-bottom:.25rem}
.price-card .price{font-size:2.1rem;font-weight:700;color:var(--primary);display:block;margin:.5rem 0 0}
.price-card .period{font-size:.85rem;color:var(--text-color);opacity:.7}
.price-card ul{list-style:none;padding:0;margin:1rem 0;text-align:left;flex:1}
.price-card li{padding:.35rem 0;font-size:.9rem;color:var(--text-color)}
.price-card li::before{content:"\2713  ";color:var(--secondary)}
.price-card .btn{margin-top:auto;display:inline-block;width:100%;text-align:center}

/* ---- Nearby suburbs ---- */
.nearby-section{max-width:820px;margin:0 auto 3rem;padding:0 2rem;text-align:center}
.nearby-section h2{font-size:1.3rem;margin-bottom:1rem}
.nearby-list{line-height:2.1}
.nearby-list a{color:var(--text-color);background:var(--card-bg);border:1px solid rgba(128,128,128,.25);border-radius:999px;padding:.3rem .9rem;margin:0 .25rem;text-decoration:none;font-size:.88rem;display:inline-block;transition:border-color .2s}
.nearby-list a:hover{border-color:var(--primary);color:var(--primary)}

/* ---- FAQ ---- */
/* background/padding override the global full-width .faq-section band */
.faq-section{max-width:800px;margin:0 auto 3rem;padding:0 2rem;position:relative;z-index:50;background:transparent}
.faq-section h2{font-size:1.75rem;margin-bottom:2rem;text-align:center}
.faq-item{border:1px solid rgba(128,128,128,.22);border-radius:12px;margin-bottom:.85rem;overflow:hidden;background:var(--card-bg)}
.faq-question{width:100%;box-sizing:border-box;padding:1.15rem 1.4rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:1rem;font-family:inherit;text-align:left;color:inherit;background:transparent;transition:background .2s;border:none;outline:none;appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(var(--primary-rgb),.2)}
.faq-question:hover{background:rgba(var(--primary-rgb),.07)}
.faq-question::after{content:"+";font-size:1.4rem;color:var(--primary);transition:transform .3s;flex-shrink:0;margin-left:1rem}
.faq-item.active .faq-question::after{transform:rotate(45deg)}
.faq-answer{display:none;padding:0 1.4rem}
.faq-item.active .faq-answer{display:block;padding:.2rem 1.4rem 1.2rem}
.faq-answer p{font-size:.95rem;line-height:1.7;color:var(--text-color);opacity:.9;margin:0}

/* ---- Bottom CTA ---- */
.bottom-cta{text-align:center;padding:3rem 2rem 3.5rem;max-width:700px;margin:0 auto 1rem}
.bottom-cta h2{font-size:1.75rem;margin-bottom:1.25rem}
.bottom-cta .btn{font-size:1.15rem;padding:1.1rem 2.75rem;margin-bottom:1rem}
.bottom-cta .contact-row{display:flex;gap:1.5rem;justify-content:center;flex-wrap:wrap;margin-top:1rem;font-size:.95rem;color:var(--text-color)}
.bottom-cta .contact-row a{color:var(--text-color);text-decoration:none}
.bottom-cta .contact-row a:hover{color:var(--primary)}
.bottom-cta .response-time{margin-top:.75rem;font-size:.85rem;color:var(--text-color);opacity:.7}

/* Land anchor jumps clear of the fixed header */
#quote{scroll-margin-top:90px}

/* Keep the bottom-left chat launcher clear of the two-button sticky CTA bar.
   The bar is ~76px tall and sits 14px off the bottom (top edge ≈90px up), so
   the widget's default 78px lift isn't enough — raise it while the bar shows.
   :has() is already used elsewhere for the sticky-CTA footer padding. */
@media(max-width:760px){
  body:has(.suburb-sticky-cta.scta-two.is-visible) .v2-chat{bottom:104px}
}

/* ---- Responsive ---- */
@media(max-width:1000px){#main-content .features-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media(max-width:860px){.loc-quote-inner{grid-template-columns:1fr;padding:1.9rem;gap:1.75rem}}
@media(max-width:600px){
  #main-content .features-grid{grid-template-columns:1fr !important;gap:1rem}
  .pricing-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .loc-hero{padding:2.75rem 1.25rem 2rem}
  .loc-hero h1{font-size:1.85rem}
  .quote-form .form-row{grid-template-columns:1fr}
  .loc-breadcrumbs{padding:1rem 1.25rem 0}
}
