@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Public+Sans:wght@400;500;600;700&display=swap');

:root{
  --ink:#14181D;
  --steel:#3C4550;
  --steel-light:#5B6674;
  --paper:#F4F5F7;
  --paper-2:#E1E4E9;
  --white:#FAFBFC;
  --flame:#FF5A1F;
  --flame-dark:#D6470F;
  --gasblue:#2F7FE0;
  --yellow:#FFC130;
  --rule:rgba(20,24,29,0.12);
  --rule-light:rgba(250,251,252,0.2);
  --max:1220px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Public Sans',system-ui,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--flame);color:#fff;}

h1,h2,h3,h4{
  font-family:'Barlow Condensed',sans-serif;
  font-weight:800;
  line-height:0.96;
  margin:0;
  letter-spacing:0.3px;
  text-wrap:balance;
}
h1{font-size:clamp(2.8rem,6vw,4.75rem);}
h2{font-size:clamp(2.1rem,4vw,2.9rem);}
h3{font-size:clamp(1.4rem,2.2vw,1.65rem);font-weight:700;line-height:1.05;}

p{margin:0 0 1em;max-width:62ch;text-wrap:pretty;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}

.wrap{max-width:var(--max);margin:0 auto;padding:0 26px;}
:focus-visible{outline:3px solid var(--flame);outline-offset:2px;}

/* ---------- Header ---------- */
header.site{
  position:sticky;top:0;z-index:50;
  background:var(--paper);
  border-bottom:1px solid var(--rule);
}
.header-inner{
  max-width:var(--max);margin:0 auto;padding:0 26px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  height:84px;
}
.logo{
  font-family:'Barlow Condensed',sans-serif;
  font-weight:800;font-size:1.65rem;letter-spacing:0.4px;
  display:flex;align-items:center;gap:6px;
}
.logo .dot{color:var(--flame);}

/* Logo image (replaces text wordmark) */
.site-logo-link{display:flex;align-items:center;flex-shrink:0;margin-right:8px;}
.site-logo-img,
.custom-logo{
  height:56px;width:auto;display:block;
}
.foot-logo{display:block;margin-bottom:20px;line-height:0;}
.foot-logo .site-logo-img,
.foot-logo .custom-logo{
  height:150px;width:auto;max-width:100%;
}
nav.main-nav{display:flex;align-items:center;gap:2px;}
nav.main-nav ul{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0;}
nav.main-nav a{
  font-size:0.845rem;font-weight:600;
  padding:10px 13px;white-space:nowrap;
  border-bottom:2px solid transparent;
  transition:border-color .15s ease;
}
nav.main-nav a:hover,
nav.main-nav .current-menu-item > a,
nav.main-nav a.active{border-color:var(--flame);}
.header-cta{display:flex;align-items:center;gap:10px;}
.header-phone{font-weight:600;font-size:0.82rem;white-space:nowrap;}

.btn{
  display:inline-flex;align-items:center;gap:8px;
  font-weight:700;font-size:0.875rem;line-height:1;
  padding:16px 24px;
  background:var(--ink);color:var(--white);
  border:1px solid var(--ink);
  cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.btn:hover{background:var(--flame);border-color:var(--flame);color:#fff;}
.btn-flame{background:var(--flame);border-color:var(--flame);color:#fff;}
.btn-flame:hover{background:var(--flame-dark);border-color:var(--flame-dark);}
.btn-outline{background:transparent;color:var(--ink);border:1px solid var(--ink);}
.btn-outline:hover{background:var(--ink);color:var(--white);}
.header-cta .btn{padding:13px 20px;font-size:0.82rem;}

.wa-link{
  width:40px;height:40px;border-radius:50%;
  background:var(--ink);display:flex;align-items:center;justify-content:center;
  transition:background .15s ease;flex-shrink:0;
}
.wa-link:hover{background:#25D366;}
.wa-link svg{width:19px;height:19px;fill:var(--white);}

.nav-toggle{
  display:none;background:none;cursor:pointer;
  width:44px;height:44px;padding:0 10px;
  border:1px solid var(--rule);
  flex-direction:column;justify-content:center;gap:5px;
}
.nav-toggle span{display:block;width:100%;height:2px;background:var(--ink);}

/* ---------- Hero ---------- */
.hero{position:relative;background:var(--ink);color:var(--white);overflow:hidden;padding:0;}
.hero-inner{max-width:var(--max);margin:0 auto;padding:86px 26px 96px;position:relative;z-index:2;}
.hero .eyebrow-rail{
  display:flex;align-items:center;gap:12px;
  font-size:0.75rem;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;
  color:#C7CCD4;margin-bottom:34px;
}
.hero .eyebrow-rail .tick{width:26px;height:1px;background:var(--flame);}
.hero h1{max-width:13ch;margin-bottom:24px;}
.hero h1 em{font-style:normal;color:var(--flame);}
.hero p.lede{color:#C7CCD4;font-size:1.125rem;max-width:44ch;margin-bottom:34px;}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;}
.hero-actions .btn-outline{color:var(--white);border-color:rgba(250,251,252,0.35);}
.hero-actions .btn-outline:hover{background:var(--white);color:var(--ink);border-color:var(--white);}
.flame-cut{
  position:absolute;right:-8%;top:0;bottom:0;width:54%;
  background:linear-gradient(118deg,var(--flame) 0%,var(--flame) 40%,var(--flame-dark) 100%);
  clip-path:polygon(34% 0,100% 0,100% 100%,4% 100%);
  z-index:1;opacity:0.95;
}
.hero-stats{
  display:grid;grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--rule-light);
  max-width:var(--max);margin:0 auto;position:relative;z-index:2;
}
.hero-stats .stat{padding:24px 26px;border-right:1px solid var(--rule-light);}
.hero-stats .stat:last-child{border-right:none;}
.hero-stats .num{
  font-family:'Barlow Condensed',sans-serif;font-weight:800;
  font-size:2.75rem;color:var(--white);line-height:1;
}
.hero-stats .label{font-size:0.8rem;color:#A9AFB9;margin-top:6px;}

/* ---------- Section shell ---------- */
.section{padding:88px 0;}
.section.tight{padding:56px 0;}
.section-head{
  display:flex;justify-content:space-between;align-items:flex-end;
  gap:28px;margin-bottom:48px;flex-wrap:wrap;
  border-bottom:1px solid var(--rule);padding-bottom:24px;
}
.section-head .index,
.eyebrow,
.about-hero .index{
  display:block;
  font-size:0.75rem;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;
  color:var(--flame-dark);margin-bottom:12px;
}
.section-head p{margin:0;color:var(--steel-light);font-size:0.97rem;max-width:46ch;}
.section.dark{background:var(--ink);color:var(--white);}
.section.dark .section-head{border-bottom-color:var(--rule-light);}
.section.dark .section-head .index{color:var(--flame);}
.section.dark p{color:#B9BFC8;}
.section.blue{background:var(--gasblue);color:var(--white);}

/* Section with a dimmed photographic ground (light sections only) */
.section.photo-bg{position:relative;isolation:isolate;}
.section.photo-bg::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background-image:url('../images/why-bg.jpg');
  background-size:cover;background-position:center;
  background-attachment:fixed;
}
@supports (-webkit-touch-callout:none){
  /* iOS ignores fixed attachment — fall back to a normal cover fill */
  .section.photo-bg::before{background-attachment:scroll;}
}
.section.photo-bg::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(180deg,rgba(244,245,247,0.58),rgba(244,245,247,0.70)),
    linear-gradient(0deg,rgba(120,126,134,0.16),rgba(120,126,134,0.16));
}
.section.photo-bg .feature{background:rgba(250,251,252,0.94);}
.section.photo-bg .section-head{border-bottom-color:rgba(20,24,29,0.22);align-items:stretch;}
/* the intro copy gets its own ink panel so it never fights the photo */
.section.photo-bg .section-head > div:first-child{align-self:flex-end;}
/* second photo ground — fire-pit install, used on the Certified band */
.section.photo-bg--fire::before{
  background-image:url('../images/certified-bg.png');
  background-position:center 62%;
}
.section.photo-bg--fire::after{
  background:
    linear-gradient(180deg,rgba(244,245,247,0.54),rgba(244,245,247,0.68)),
    linear-gradient(0deg,rgba(120,126,134,0.12),rgba(120,126,134,0.12));
}
.section.photo-bg--fire .cert-badge{background:rgba(255,255,255,0.94);border-color:rgba(20,24,29,0.16);}

/* third photo ground — outdoor fire table, used on the Testimonials band */
.section.photo-bg--patio::before{
  background-image:url('../images/testimonials-bg.png');
  background-position:center 40%;
}
.section.photo-bg--patio::after{
  background:
    linear-gradient(180deg,rgba(244,245,247,0.46),rgba(244,245,247,0.62)),
    linear-gradient(0deg,rgba(120,126,134,0.10),rgba(120,126,134,0.10));
}
.section.photo-bg--patio .testi{background:rgba(250,251,252,0.92);}

.section.photo-bg .section-head p{
  background:var(--ink);color:#E4E7EB;
  padding:24px 26px;border-left:3px solid var(--flame);
  font-size:1rem;line-height:1.62;max-width:42ch;
  align-self:flex-end;
}

/* ---------- Feature blocks ---------- */
.feature-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--rule);border-left:1px solid var(--rule);
}
.feature{padding:34px 28px;border-right:1px solid var(--rule);border-bottom:1px solid var(--rule);}
.feature .fno{
  font-family:'Barlow Condensed',sans-serif;font-weight:800;
  font-size:0.82rem;letter-spacing:1.2px;text-transform:uppercase;
  color:var(--flame);margin-bottom:18px;display:block;
}
.feature h3{margin-bottom:12px;}
.feature p{color:var(--steel-light);margin-bottom:0;font-size:0.91rem;}

/* ---------- Services ---------- */
.service-list{border-top:1px solid var(--rule);}
.service-row{
  display:grid;grid-template-columns:260px 1fr auto;gap:24px;align-items:center;
  padding:28px 0;border-bottom:1px solid var(--rule);
}
.service-row .stag{font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:1.875rem;line-height:1;}
.service-row .sitems{display:flex;flex-wrap:wrap;gap:8px;}
.service-row .sitems span{
  font-size:0.815rem;font-weight:600;color:var(--steel-light);
  border:1px solid var(--rule);padding:9px 13px;
}
.service-row .sarrow{
  width:38px;height:38px;border:1px solid var(--rule);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.service-row .sarrow:hover{background:var(--ink);color:var(--white);border-color:var(--ink);}

/* ---------- Process ---------- */
.process{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--rule-light);}
.process .step{padding:30px 24px 0;border-right:1px solid var(--rule-light);}
.process .step:last-child{border-right:none;}
.process .stepnum{
  font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:3rem;
  color:var(--flame);line-height:1;margin-bottom:14px;
}
.process .step h4{font-size:1rem;font-weight:700;margin-bottom:8px;font-family:'Public Sans',sans-serif;color:var(--white);}
.process .step p{color:#A9AFB9;font-size:0.875rem;}

/* ---------- Gallery ---------- */
.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:32px;}
.filter-btn{
  font-size:0.815rem;font-weight:600;padding:11px 18px;
  border:1px solid var(--rule);background:transparent;cursor:pointer;color:var(--steel-light);
  font-family:'Public Sans',sans-serif;
}
.filter-btn.active,.filter-btn:hover{background:var(--ink);color:var(--white);border-color:var(--ink);}
.gal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;}
.gal-grid figure{margin:0;position:relative;overflow:hidden;aspect-ratio:1/1;background:var(--paper-2);}
.gal-grid img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.gal-grid figure:hover img{transform:scale(1.05);}
.gal-grid figcaption{
  position:absolute;left:0;bottom:0;right:0;padding:10px 12px;
  font-size:0.76rem;font-weight:600;color:var(--white);
  background:linear-gradient(0deg,rgba(0,0,0,0.65),transparent);
  opacity:0;transition:opacity .2s ease;
}
.gal-grid figure:hover figcaption{opacity:1;}
.gal-group{margin-bottom:10px;}
.gal-group-title{
  font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:1.6rem;
  padding:14px 0;border-top:1px solid var(--rule);margin-top:36px;
}

/* ---------- Testimonials ---------- */
.testi-strip{
  display:grid;grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--rule);border-left:1px solid var(--rule);
}
.testi{padding:32px 26px;border-right:1px solid var(--rule);border-bottom:1px solid var(--rule);}
.testi p{font-size:1rem;color:var(--ink);margin-bottom:18px;}
.testi .who{font-weight:700;font-size:0.845rem;}
.testi .role{font-size:0.8rem;color:var(--steel-light);}

/* ---------- Certifications ---------- */
.certs{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;}
.cert-badge{
  display:flex;align-items:center;gap:14px;
  padding:18px 22px;border:1px solid var(--rule);background:#fff;
}
.section.dark .cert-badge{border-color:var(--rule-light);background:transparent;}
.cert-badge .dot2{width:9px;height:9px;background:var(--yellow);border-radius:50%;flex-shrink:0;}
.cert-badge span{font-weight:700;font-size:0.91rem;}

/* ---------- CTA band ---------- */
.cta-band{background:var(--flame);color:#fff;padding:60px 0;}
.cta-band .wrap{display:flex;justify-content:space-between;align-items:center;gap:26px;flex-wrap:wrap;}
.cta-band h2{max-width:18ch;}
.cta-band .btn{background:var(--ink);border-color:var(--ink);}
.cta-band .btn:hover{background:var(--white);color:var(--ink);border-color:var(--white);}

/* ---------- Footer ---------- */
footer.site{background:var(--ink);color:var(--white);padding:64px 0 26px;}
.footer-grid{
  display:grid;grid-template-columns:1.5fr 0.8fr 1.1fr 1.1fr;gap:48px;
  padding-bottom:48px;border-bottom:1px solid var(--rule-light);
}
/* named contact lines: role label above the number */
.foot-contact{display:flex;flex-direction:column;gap:14px;}
.foot-contact .who{
  display:block;font-size:0.68rem;font-weight:700;letter-spacing:1.1px;
  text-transform:uppercase;color:#7F8794;margin-bottom:2px;
}
.foot-contact a{margin:0;font-size:0.97rem;font-weight:600;color:#F2F4F6;}
.foot-note{
  font-size:0.8rem;color:#8B92A0;margin-top:18px;padding-top:16px;
  border-top:1px solid var(--rule-light);
}
.footer-grid h4{
  font-size:0.72rem;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;
  color:#A9AFB9;margin-bottom:16px;font-family:'Public Sans',sans-serif;
}
.footer-grid p,.footer-grid a{font-size:0.91rem;color:#D2D6DC;display:block;margin-bottom:9px;line-height:1.6;}
.footer-grid a:hover{color:var(--flame);}
.foot-logo{font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:1.75rem;margin-bottom:14px;}
.foot-logo .dot{color:var(--flame);}
.foot-bottom{
  padding-top:24px;display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:16px;font-size:0.78rem;color:#8B92A0;
}
.foot-bottom .foot-cred{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.foot-bottom .foot-cred .sep{width:1px;height:12px;background:var(--rule-light);}
.foot-social{display:flex;gap:12px;}
.foot-social a{
  width:36px;height:36px;border:1px solid var(--rule-light);
  display:flex;align-items:center;justify-content:center;border-radius:50%;
}
.foot-social svg{width:16px;height:16px;fill:#D2D6DC;}
.foot-social a:hover{background:var(--flame);border-color:var(--flame);}
.foot-social a:hover svg{fill:#fff;}

/* ---------- About page ---------- */
.about-hero{padding:64px 0 36px;border-bottom:1px solid var(--rule);}
.about-hero h1{max-width:16ch;margin-bottom:20px;}
.about-body{display:grid;grid-template-columns:1fr 1fr;gap:56px;padding:64px 0;}
.about-body p{color:var(--steel-light);font-size:1.03rem;}
.pull{
  font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:1.875rem;line-height:1.12;
  border-left:3px solid var(--flame);padding-left:22px;margin-bottom:26px;
}
.area-map{border:1px solid var(--rule);padding:26px;margin-top:20px;background:#fff;}
.area-map .tag{
  display:block;font-size:0.75rem;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;
  color:var(--flame-dark);margin-bottom:10px;
}

/* ---------- Contact page ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--rule);}
.contact-col{padding:46px 40px;border-right:1px solid var(--rule);}
.contact-col:last-child{border-right:none;}
.contact-col h3{margin-bottom:24px;font-size:1.875rem;}
.contact-row{display:flex;gap:16px;padding:15px 0;border-bottom:1px solid var(--rule);align-items:flex-start;}
.contact-row .clabel{
  width:104px;flex-shrink:0;font-size:0.72rem;font-weight:700;
  color:var(--steel-light);text-transform:uppercase;letter-spacing:0.8px;line-height:1.4;padding-top:2px;
}
.contact-row .cval,.contact-row .cval a{font-weight:600;font-size:0.94rem;}
.contact-row .cval a:hover{color:var(--flame-dark);}

.form-field{margin-bottom:18px;}
.form-field label{
  display:block;font-size:0.72rem;font-weight:700;letter-spacing:0.6px;text-transform:uppercase;
  margin-bottom:9px;color:var(--steel-light);
}
.form-field input,.form-field textarea,.form-field select{
  width:100%;padding:13px 14px;border:1px solid rgba(20,24,29,0.14);background:var(--white);
  font-family:'Public Sans',sans-serif;font-size:0.94rem;color:var(--ink);
}
.form-field textarea{min-height:110px;resize:vertical;}
.form-field input:focus,.form-field textarea:focus,.form-field select:focus{outline:2px solid var(--flame);border-color:var(--flame);}

/* ---------- Order page ---------- */
.cylinder-grid{
  display:grid;grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--rule);border-left:1px solid var(--rule);margin-bottom:52px;
}
.cylinder-card{
  padding:32px 28px;border-right:1px solid var(--rule);border-bottom:1px solid var(--rule);
  cursor:pointer;position:relative;transition:background .15s ease;
}
.cylinder-card:hover{background:#fff;}
.cylinder-card input[type="radio"]{position:absolute;top:28px;right:26px;width:17px;height:17px;accent-color:var(--flame);}
.cylinder-card .csize{
  font-family:'Barlow Condensed',sans-serif;font-weight:800;font-size:2.875rem;color:var(--ink);line-height:1;
}
.cylinder-card .cunit{font-family:'Public Sans',sans-serif;font-size:1.05rem;font-weight:600;color:var(--steel-light);margin-left:4px;}
.cylinder-card .cdesc{margin-top:12px;font-size:0.91rem;color:var(--steel-light);}
.cylinder-card.selected{background:var(--ink);}
.cylinder-card.selected .csize,.cylinder-card.selected .cunit{color:var(--white);}
.cylinder-card.selected .cdesc{color:#B9BFC8;}
.order-form-shell{border:1px solid var(--rule);padding:38px;background:#fff;}
.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.qty-input{display:flex;align-items:center;border:1px solid var(--rule);width:fit-content;}
.qty-input button{
  width:44px;height:44px;border:none;background:var(--paper-2);cursor:pointer;
  font-size:1.1rem;font-weight:700;font-family:'Public Sans',sans-serif;color:var(--ink);
}
.qty-input button:hover{background:var(--flame);color:#fff;}
.qty-input input{width:58px;text-align:center;border:none;font-weight:700;font-size:1rem;padding:0;background:#fff;}
.order-success{border:1px solid var(--gasblue);background:rgba(47,127,224,0.08);padding:20px 24px;margin-bottom:28px;font-weight:600;}
.order-error{border:1px solid var(--flame);background:rgba(255,90,31,0.08);padding:20px 24px;margin-bottom:28px;font-weight:600;}

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .service-row{grid-template-columns:200px 1fr auto;}
  .header-phone{display:none;}
}
@media (max-width:980px){
  nav.main-nav{
    display:none;position:absolute;left:0;right:0;top:100%;
    background:var(--paper);border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);
    flex-direction:column;align-items:stretch;gap:0;
  }
  nav.main-nav.open{display:flex;}
  nav.main-nav ul{flex-direction:column;align-items:stretch;gap:0;}
  nav.main-nav a{
    padding:17px 18px;font-size:0.94rem;
    border-bottom:1px solid var(--rule);border-left:3px solid transparent;
  }
  nav.main-nav a:hover,nav.main-nav .current-menu-item > a,nav.main-nav a.active{
    border-bottom-color:var(--rule);border-left-color:var(--flame);
  }
  .nav-toggle{display:flex;}
  .header-inner{height:64px;padding:0 18px;}
  .logo{font-size:1.5rem;}
  .wa-link{display:none;}
  .feature-grid,.testi-strip{grid-template-columns:1fr;}
  .process{grid-template-columns:1fr 1fr;}
  .process .step{border-bottom:1px solid var(--rule-light);padding-bottom:26px;}
  .gal-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .about-body,.contact-grid{grid-template-columns:1fr;}
  .contact-col{border-right:none;border-bottom:1px solid var(--rule);padding:36px 22px;}
  .hero-stats{grid-template-columns:1fr;}
  .hero-stats .stat{border-right:none;border-bottom:1px solid var(--rule-light);}
  .service-row{grid-template-columns:1fr;gap:12px;}
  .service-row .sarrow{display:none;}
  .hero-inner{padding:60px 22px 70px;}
  .section{padding:60px 0;}
  .about-body{gap:36px;}
}
@media (max-width:780px){
  .cylinder-grid{grid-template-columns:1fr;}
  .form-row-2{grid-template-columns:1fr;}
  .order-form-shell{padding:24px;}
}
@media (max-width:640px){
  .gal-grid{grid-template-columns:repeat(2,1fr);}
  .process{grid-template-columns:1fr;}
  .flame-cut{width:90%;right:-30%;opacity:0.45;}
  .footer-grid{grid-template-columns:1fr;}
  .cta-band h2{font-size:2rem;}
}

/* =========================================================
   Live flame accents — pure SVG/CSS animation, no assets
   ========================================================= */

/* --- Reusable small flame icon (inline, next to text/labels) --- */
.flame-icon{
  display:inline-flex;align-items:flex-end;justify-content:center;
  flex-shrink:0;vertical-align:middle;margin-right:6px;
  filter:drop-shadow(0 0 3px rgba(255,90,31,0.35));
}
.flame-icon svg{width:100%;height:100%;overflow:visible;}
.flame-icon .flame-outer{fill:var(--flame);transform-origin:50% 100%;animation:flameFlickerOuter 1.6s ease-in-out infinite;}
.flame-icon .flame-mid{fill:var(--yellow);transform-origin:50% 100%;animation:flameFlickerMid 1.3s ease-in-out infinite;}
.flame-icon .flame-core{fill:#FFF3D6;transform-origin:50% 100%;animation:flameFlickerCore 0.9s ease-in-out infinite;}

@keyframes flameFlickerOuter{
  0%,100%{transform:scaleY(1) scaleX(1) skewX(0deg);}
  25%{transform:scaleY(1.05) scaleX(0.97) skewX(-1.5deg);}
  50%{transform:scaleY(0.96) scaleX(1.03) skewX(1deg);}
  75%{transform:scaleY(1.03) scaleX(0.98) skewX(-0.5deg);}
}
@keyframes flameFlickerMid{
  0%,100%{transform:scaleY(1) skewX(0deg);opacity:0.95;}
  30%{transform:scaleY(1.08) skewX(1.5deg);opacity:1;}
  60%{transform:scaleY(0.94) skewX(-1deg);opacity:0.88;}
}
@keyframes flameFlickerCore{
  0%,100%{transform:scaleY(1) translateY(0);opacity:1;}
  40%{transform:scaleY(1.1) translateY(-1px);opacity:0.9;}
  70%{transform:scaleY(0.92) translateY(0.5px);opacity:1;}
}

/* Respect reduced-motion preference — flame stays put, no flicker */
@media (prefers-reduced-motion: reduce){
  .flame-icon .flame-outer,.flame-icon .flame-mid,.flame-icon .flame-core,
  .hero-flame-cluster .flame-icon *{animation:none !important;}
}

/* --- Larger flame cluster for the hero (the "live burning" hero visual) --- */
.hero-flame-cluster{
  position:absolute;right:6%;bottom:0;
  width:min(34vw,320px);height:min(50vh,460px);
  z-index:2;pointer-events:none;
  display:flex;align-items:flex-end;justify-content:center;gap:4%;
}
.hero-flame-cluster .flame-icon{margin:0;filter:drop-shadow(0 0 10px rgba(255,90,31,0.5));}
.hero-flame-cluster .flame-icon:nth-child(1){width:46%;height:78%;animation:flameSway 3.4s ease-in-out infinite;}
.hero-flame-cluster .flame-icon:nth-child(2){width:34%;height:100%;animation:flameSway 2.8s ease-in-out infinite -0.6s;}
.hero-flame-cluster .flame-icon:nth-child(3){width:28%;height:62%;animation:flameSway 3.1s ease-in-out infinite -1.4s;}
@keyframes flameSway{
  0%,100%{transform:rotate(0deg) translateX(0);}
  33%{transform:rotate(-1.5deg) translateX(-2px);}
  66%{transform:rotate(1.2deg) translateX(2px);}
}
@media (prefers-reduced-motion: reduce){
  .hero-flame-cluster .flame-icon{animation:none !important;}
}
@media (max-width:980px){
  .hero-flame-cluster{display:none;}
}

/* --- Real-video slot (optional). If a licensed MP4 is added later,
   this wraps it so it matches the flame-cut mask; until then it's
   simply not rendered (see front-page.php). --- */
.hero-flame-video{
  position:absolute;right:0;top:0;bottom:0;width:62%;z-index:1;
  clip-path:polygon(30% 0,100% 0,100% 100%,0 100%);
  overflow:hidden;
}
.hero-flame-video video{
  width:100%;height:100%;object-fit:cover;
  filter:saturate(1.1) contrast(1.05);
}
/* brand wash over the footage so the wedge still reads GasGuru orange */
.hero-flame-video::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(118deg,var(--flame) 0%,var(--flame) 40%,var(--flame-dark) 100%);
  mix-blend-mode:multiply;opacity:0.72;
}
/* when footage is present the flat orange wedge steps aside */
.hero:has(.hero-flame-video) .flame-cut{display:none;}
@media (max-width:640px){
  .hero-flame-video{width:100%;right:0;opacity:0.5;clip-path:polygon(18% 0,100% 0,100% 100%,0 100%);}
}

/* --- Flame badge overlay on gallery figures (hob/fireplace/braai) --- */
.flame-badge{
  position:absolute;top:10px;right:10px;z-index:2;
  width:30px;height:30px;
  background:rgba(20,24,29,0.55);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  backdrop-filter:blur(2px);
}
.flame-badge .flame-icon{margin:0;width:16px;height:16px;}

/* --- Flame icon inline next to service chips --- */
.service-row .sitems span.has-flame{display:inline-flex;align-items:center;}
