/* Fisher Energy LLC — styles.css (Light + inviting, motion preserved)
   Cleaned: removed duplicates, kept behavior.
   NOTE: HERO BRAND BAND / TRI AREA LEFT UNTOUCHED (do not edit those blocks).
*/

/* =========================
   Theme + Tokens
   ========================= */
:root{
  --bg:#F6F8FF;
  --panel:rgba(255,255,255,.78);
  --text:rgba(12,18,38,.92);
  --muted:rgba(12,18,38,.62);
  --line:rgba(12,18,38,.12);

  --a:#5B6CFF;  /* softened violet */
  --b:#22C8FF;  /* softened cyan */
  --c:#22C55E;  /* green */
  --d:#F97316;  /* orange */

  --radius:18px;

  --shadow-sm: 0 10px 22px rgba(12,18,38,.08);
  --shadow-md: 0 18px 50px rgba(12,18,38,.10);
  --shadow-lg: 0 28px 80px rgba(12,18,38,.14);

  /* Contact accent */
  --contact-accent: rgba(34,200,255,.65);
}

/* =========================
   Local font: Manrope
   ========================= */
@font-face{
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* =========================
   Base
   ========================= */
*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 700px at 15% 0%, rgba(91,108,255,.16), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(34,200,255,.14), transparent 60%),
    radial-gradient(900px 700px at 70% 95%, rgba(34,197,94,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,248,255,1));
  color:var(--text);
  overflow-x:hidden;
}

.container{
  width:min(1120px, calc(100% - 40px));
  margin-inline:auto;
}

.muted{color:var(--muted)}
.fineprint{
  color:rgba(12,18,38,.55);
  font-weight:650;
  font-size:12px;
  margin-top:14px;
}

/* =========================
   Background accents (motion preserved)
   ========================= */
.bg-orb{
  position:fixed;
  width:520px;height:520px;
  filter: blur(55px);
  opacity:.38;
  border-radius:999px;
  pointer-events:none;
  z-index:-2;
}
.orb-1{
  left:-160px;top:-160px;
  background: radial-gradient(circle at 30% 30%, rgba(91,108,255,.85), transparent 60%);
}
.orb-2{
  right:-220px;bottom:-220px;
  background: radial-gradient(circle at 30% 30%, rgba(34,200,255,.80), transparent 60%);
}

.bg-grid{
  position:fixed; inset:0;
  background-image:
    linear-gradient(to right, rgba(12,18,38,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12,18,38,.05) 1px, transparent 1px);
  background-size:60px 60px;
  opacity:.55;
  mask-image: radial-gradient(circle at 50% 12%, rgba(0,0,0,1), rgba(0,0,0,.2) 55%, transparent 78%);
  pointer-events:none;
  z-index:-3;
}

/* =========================
   Pop Surfaces (shared utility)
   ========================= */
.pop-surface{
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Gradient border */
.pop-surface::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(91,108,255,.65),
    rgba(34,200,255,.55),
    rgba(34,197,94,.40),
    rgba(249,115,22,.35)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .55;
  pointer-events:none;
}

/* Ambient glow wash */
.pop-surface::after{
  content:"";
  position:absolute;
  inset:-40px;
  border-radius: inherit;
  background:
    radial-gradient(520px 240px at 15% 20%, rgba(91,108,255,.18), transparent 60%),
    radial-gradient(520px 240px at 85% 30%, rgba(34,200,255,.14), transparent 60%),
    radial-gradient(520px 240px at 55% 90%, rgba(34,197,94,.10), transparent 60%);
  opacity: .9;
  pointer-events:none;
}

/* Keep content above glows */
.pop-surface > *{ position: relative; z-index: 1; }

.pop-hover{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover:hover){
  .pop-hover:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(12,18,38,.14);
  }
}

/* Optional animated border */
@keyframes popBorderShift{
  0%{ filter:hue-rotate(0deg); }
  100%{ filter:hue-rotate(18deg); }
}
.pop-animate::before{
  animation: popBorderShift 6s ease-in-out infinite alternate;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .pop-animate::before{ animation:none; }
  .pop-hover{ transition:none; }
  .pop-hover:hover{ transform:none; }
}

/* =========================
   Sections
   ========================= */
.section{padding:56px 0}
.section.alt{
  background: rgba(91,108,255,.06);
  border-top:1px solid rgba(12,18,38,.08);
  border-bottom:1px solid rgba(12,18,38,.08);
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.section-head h2{margin:0; font-size:28px; letter-spacing:-.01em}
.section-head p{
  margin:0;
  color:var(--muted);
  font-weight:650;
  max-width:560px;
  line-height:1.6;
}

/* Optional glow behind whole sections */
.section-pop{ position:relative; }
.section-pop::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 340px at 18% 10%, rgba(91,108,255,.12), transparent 55%),
    radial-gradient(900px 340px at 82% 18%, rgba(34,200,255,.10), transparent 55%),
    radial-gradient(900px 340px at 70% 95%, rgba(34,197,94,.08), transparent 55%);
  opacity:.9;
}
.section-pop > .container{ position:relative; z-index:1; }

/* =========================
   Header
   ========================= */
.header{
  position:sticky; top:0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,.70);
  border-bottom:1px solid rgba(12,18,38,.10);
  z-index:50;
}
.header-inner{
  display:flex; align-items:center; gap:14px;
  padding:14px 0;
}

.brand{
  display:flex; align-items:center; gap:16px;
  text-decoration:none;
  color:var(--text);
}
.brand-mark{
  width:100px;height:100px;
  display:grid; place-items:center;
  border-radius:14px;
  box-shadow: var(--shadow-sm);
}
.logo-wrap{padding:6px}
.logo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  border-radius:10px;
}
.brand-text small{display:block; color:var(--muted); margin-top:1px}

.nav{margin-left:auto; display:flex; gap:18px}
.nav a{
  color:rgba(12,18,38,.65);
  text-decoration:none;
  font-weight:800;
  font-size:14px;
}
.nav a:hover{color:rgba(12,18,38,.92)}

.header-cta{display:flex; gap:10px; align-items:center}

.menu-btn{
  display:none;
  margin-left:auto;
  border:1px solid rgba(12,18,38,.14);
  background: rgba(255,255,255,.70);
  color:var(--text);
  border-radius:12px;
  padding:10px 12px;
  box-shadow: var(--shadow-sm);
}

.mobile-nav{
  border-top:1px solid rgba(12,18,38,.10);
  padding:12px 20px 18px;
  background: rgba(255,255,255,.72);
}
.mobile-nav a{
  display:block;
  padding:10px 0;
  color:rgba(12,18,38,.70);
  text-decoration:none;
  font-weight:800;
}
.mobile-cta{display:flex; gap:10px; padding-top:8px}

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  border:1px solid rgba(12,18,38,.14);
  background: rgba(255,255,255,.70);
  color: rgba(12,18,38,.92);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{transform: translateY(-1px); box-shadow: var(--shadow-md)}

.btn-primary{
  border:none;
  background: linear-gradient(135deg, rgba(91,108,255,.95), rgba(34,200,255,.92));
  color: rgba(255,255,255,.96);
  box-shadow: 0 18px 36px rgba(91,108,255,.18);
}
.btn-secondary{
  border:none;
  background: linear-gradient(135deg, rgba(34,197,94,.92), rgba(34,200,255,.70));
  color: rgba(255,255,255,.96);
  box-shadow: 0 18px 36px rgba(34,197,94,.14);
}
.btn-ghost{ background: rgba(255,255,255,.55); }

/* =========================
   Hero
   ========================= */
.hero{padding:56px 0 26px}

.hero-inner{
  display:grid;
  grid-template-columns: 1.25fr .95fr;
  gap:26px;
  align-items:stretch;
}

.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(12,18,38,.14);
  background: rgba(255,255,255,.65);
  color: rgba(12,18,38,.68);
  font-weight:900;
  font-size:13px;
}
/* HIC registration pill */
.hic-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.62);
  box-shadow: var(--shadow-sm);
}

.hic-label{
  color: var(--muted);
  font-weight:800;
  font-size:12px;
  letter-spacing:.01em;
}

.hic-value{
  font-weight:900;
  font-size:12px;
  color: rgba(12,18,38,.88);
}

h1{
  margin:14px 0 10px;
  font-size: clamp(34px, 4vw, 54px);
  line-height:1.02;
  letter-spacing:-.02em;
}

.subhead{
  margin:0 0 18px;
  color:var(--muted);
  font-weight:650;
  font-size:16px;
  line-height:1.6;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.hero-highlights{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}

.stat{
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.74);
  border-radius:var(--radius);
  padding:12px;
  box-shadow: var(--shadow-sm);
}
.stat strong{display:block; font-size:14px}
.stat span{
  display:block;
  color:var(--muted);
  margin-top:4px;
  font-weight:650;
  font-size:13px;
}

/* Hero: popular service links */
.service-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 14px;
}
.svc-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.62);
  color: rgba(12,18,38,.86);
  text-decoration:none;
  font-weight:900;
  font-size:12px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.svc-link:hover{ transform: translateY(-1px); box-shadow: var(--shadow-md); }
@media (prefers-reduced-motion: reduce){
  .svc-link{ transition:none; }
  .svc-link:hover{ transform:none; }
}

/* =========================
   Hero Card (keep sparks motion)
   ========================= */
.hero-card{
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.72);
  border-radius:22px;
  overflow:hidden;
  box-shadow: var(--shadow-lg);
  position:relative;
    padding: 16px;   /* <-- THIS is what you want */
}

/* =======================================================================
   HERO BRAND BAND / HERO TRI AREA — LEFT UNCHANGED ON PURPOSE
   (Do not modify these selectors unless you want to change the hero band.)
   ======================================================================= */
.hero-brand-triangle{
  position:absolute;
   left: 3%;
  bottom: 3%;
  padding:12px 14px;  /* slightly more internal breathing room */
  border-radius:16px;
  background: rgba(255,255,255,.55);
  border:1px solid rgba(12,18,38,.12);
  box-shadow: var(--shadow-sm);
}

.brand-tri{
  display:grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "left right"
    "top top"
    "bottom bottom";
  gap:10px 12px;
  align-items:center;
  justify-items:stretch;
  width: 260px; /* was 260px */
}
/* Give hero band logos proper breathing room */
.brand-tri{
  padding: 6px 8px;        /* inner spacing */
}

.brand-tri .tri{
  width: 80%;              /* was 100% */
  margin: 0 auto;          /* center inside grid cell */
}

.brand-tri .tri{
  display:block;
 
  height:auto;
  object-fit:contain;
  filter: saturate(1.05) contrast(1.05);
}

.brand-tri .left  { grid-area:left;  height:48px; }
.brand-tri .right { grid-area:right; height:48px; }
.brand-tri .top    { grid-area:top;    height:52px; }
.brand-tri .bottom { grid-area:bottom; height:52px; }

.brand-tri .left,
.brand-tri .right,
.brand-tri .top,
.brand-tri .bottom{
  width:100%;
  object-fit:contain;
}
/* Tweak ClimateMaster sizing inside hero band */
.hero-brand-band img[src*="climatemaster"]{
  max-height: 50px;
  height: 50px;
  width: auto;
  object-fit: contain;
}
/* Tweak ClimateMaster sizing inside hero band */
.hero-brand-band img[src*="space"]{
  max-height: 70px;
  height: 70px;
  width: auto;
  object-fit: contain;
}
/* ======================================================================= */

/* Keep sparks */
.spark{
  position:absolute;
  width:12px;height:12px;
  border-radius:999px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 34px rgba(34,200,255,.55);
  top:20px; left:18px;
  animation: float 3.6s ease-in-out infinite;
  opacity:.9;
}
.spark.s2{top:54px; left:88px; animation-duration:4.6s; opacity:.7}
.spark.s3{top:28px; left:180px; animation-duration:5.1s; opacity:.55}

@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}

@media (prefers-reduced-motion: reduce){
  .spark{animation:none}
  .btn:hover{transform:none}
}

.hero-card-body{padding:16px 16px 18px}
.hero-card-body h2{margin:0 0 8px; font-size:20px}
.hero-card-body p{margin:0 0 14px; color:var(--muted); line-height:1.6; font-weight:650}

.checklist{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 14px;
}
.check{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.60);
  border:1px solid rgba(12,18,38,.12);
  font-weight:900;
  font-size:12px;
  box-shadow: var(--shadow-sm);
}

/* =========================
   Cards (global)
   ========================= */
.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.card{
  border-radius:var(--radius);
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.74);
  padding:16px 14px;
  box-shadow: var(--shadow-sm);
}
.card h3{margin:0 0 8px}
.card p{margin:0 0 10px; color:var(--muted); line-height:1.6; font-weight:650}
.card ul{margin:0; padding-left:18px; color:rgba(12,18,38,.86)}
.card li{margin:7px 0; font-weight:650}

.card-accent{
  background:
    radial-gradient(280px 180px at 30% 20%, rgba(249,115,22,.18), transparent 60%),
    radial-gradient(280px 180px at 70% 30%, rgba(34,197,94,.12), transparent 60%),
    rgba(255,255,255,.74);
}

/* Service Accent Variants */
.card-accent-blue{
  background:
    radial-gradient(280px 180px at 30% 20%, rgba(34,200,255,.18), transparent 60%),
    radial-gradient(280px 180px at 70% 30%, rgba(91,108,255,.12), transparent 60%),
    rgba(255,255,255,.74);
}
.card-accent-orange{
  background:
    radial-gradient(280px 180px at 30% 20%, rgba(249,115,22,.20), transparent 60%),
    radial-gradient(280px 180px at 70% 30%, rgba(251,146,60,.12), transparent 60%),
    rgba(255,255,255,.74);
}
.card-accent-green{
  background:
    radial-gradient(280px 180px at 30% 20%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(280px 180px at 70% 30%, rgba(16,185,129,.12), transparent 60%),
    rgba(255,255,255,.74);
}
.card-accent-violet{
  background:
    radial-gradient(280px 180px at 30% 20%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(280px 180px at 70% 30%, rgba(167,139,250,.12), transparent 60%),
    rgba(255,255,255,.74);
}
.card-accent-red{
  background:
    radial-gradient(280px 180px at 30% 20%, rgba(220,38,38,.18), transparent 60%),
    radial-gradient(280px 180px at 70% 30%, rgba(248,113,113,.12), transparent 60%),
    rgba(255,255,255,.74);
}
.card-accent-gold{
  background:
    radial-gradient(280px 180px at 30% 20%, rgba(245,158,11,.20), transparent 60%),
    radial-gradient(280px 180px at 70% 30%, rgba(251,191,36,.10), transparent 60%),
    rgba(255,255,255,.74);
}

/* Services cards slightly more “premium” */
.cards .card{
  border-radius:22px;
  box-shadow: var(--shadow-md);
  padding:18px 16px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover:hover){
  .cards .card:hover{
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(12,18,38,.18);
  }
}

/* Services Surface */
.services-surface{
  padding: 28px 26px;
  border-radius: 26px;
}
@media (max-width: 980px){
  .services-surface{ padding: 20px 16px; }
}
.services-surface .card{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
@media (hover:hover){
  .services-surface .card:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(12,18,38,.14);
  }
}

/* Services CTA row */
.services-cta{
  margin-top:14px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* Services page grid override */
.services-cards{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px){
  .services-cards{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .services-cards{ grid-template-columns: 1fr; }
}

/* Card title links: no purple visited */
.cards .card h3 a{
  color: var(--text);
  text-decoration: none;
  font-weight: inherit;
}
.cards .card h3 a:visited{ color: var(--text); }
.cards .card h3 a:hover{ text-decoration: underline; }

/* =========================
   Split layout
   ========================= */
.split{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:start;
}
.split > * { min-width: 0; }

.lead{color:var(--muted); font-weight:700; line-height:1.6}

.feature-list{display:grid; gap:12px; margin:18px 0}
.feature{
  border-radius:var(--radius);
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.74);
  padding:14px;
  box-shadow: var(--shadow-sm);
}
.feature h3{margin:0 0 6px; font-size:16px}
.feature p{margin:0; color:var(--muted); font-weight:650; line-height:1.6}

.brand-row{display:flex; flex-wrap:wrap; gap:10px; margin:14px 0 16px}
.tag{
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.62);
  border-radius:999px;
  padding:8px 10px;
  font-weight:900;
  font-size:12px;
  color: rgba(12,18,38,.86);
}

.callout{
  border-radius:22px;
  border:1px solid rgba(12,18,38,.12);
  background:
    radial-gradient(380px 220px at 20% 25%, rgba(91,108,255,.16), transparent 60%),
    radial-gradient(380px 220px at 70% 40%, rgba(34,200,255,.12), transparent 60%),
    rgba(255,255,255,.74);
  padding:18px;
  box-shadow: var(--shadow-md);
}
.callout h3{margin:0 0 8px}
.callout p{margin:0 0 10px; color:var(--muted); line-height:1.6; font-weight:650}
.callout-line{height:1px; background:rgba(12,18,38,.12); margin:14px 0}

/* =========================
   WHY BRYANT surface + equipment strip
   ========================= */
.bryant-surface{
  padding: 28px 26px;
  border-radius: 26px;
  position:relative;
}
@media (max-width: 980px){
  .bryant-surface{ padding: 20px 16px; }
}

.bryant-glow{
  position:relative;
  overflow:hidden;
}
.bryant-glow::before{
  content:"";
  position:absolute;
  inset:-40px;
  pointer-events:none;
  background:
    radial-gradient(900px 340px at 15% 15%, rgba(91,108,255,.18), transparent 60%),
    radial-gradient(900px 340px at 85% 20%, rgba(34,200,255,.14), transparent 60%),
    radial-gradient(800px 320px at 60% 95%, rgba(34,197,94,.12), transparent 60%);
  opacity:.9;
}

.equip-span{ margin-top: 18px; }

.equipment-strip{
  display:flex;
  gap:14px;
  overflow-x:auto;
  padding:10px 6px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.equipment-strip::-webkit-scrollbar{ height:8px; }
.equipment-strip::-webkit-scrollbar-track{ background:transparent; }
.equipment-strip::-webkit-scrollbar-thumb{
  background: rgba(12,18,38,.18);
  border-radius:999px;
}
.equipment-strip{ scrollbar-color: rgba(12,18,38,.18) transparent; }

.equipment-card{
  flex: 0 0 200px;
  scroll-snap-align: start;
  display:grid;
  justify-items:center;
  gap:10px;
  padding:16px 14px;
  border-radius:22px;
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
@media (hover:hover){
  .equipment-card:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(12,18,38,.18);
  }
}
.equipment-card img{
  max-width: 170px;
  max-height: 80px;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
  filter: drop-shadow(0 10px 18px rgba(12,18,38,.10));
}
.equipment-card span{
  font-weight:900;
  font-size:13px;
  color: rgba(12,18,38,.88);
  text-align:center;
}
@media (max-width: 640px){
  .equipment-strip{
    gap:12px;
    padding:6px 4px 10px;
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  }
  .equipment-card{ flex: 0 0 78%; }
}
@media (prefers-reduced-motion: reduce){
  .equipment-card{ transition:none; }
  .equipment-card:hover{ transform:none; }
}

/* =========================
   Contact (stacked like Reviews)
   ========================= */
.contact-stack{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.contact-card{ padding:22px; }

.contact-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  padding-bottom:12px;
  border-bottom:1px solid rgba(12,18,38,.10);
  margin-bottom:14px;
}
.contact-head h2{
  margin:8px 0 6px;
  font-size:28px;
  letter-spacing:-0.01em;
}
.contact-head-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}

/* Contact: single shared surface divider (like Reviews) */
.contact-stack.pop-surface > .contact-form-card{
  border-top: 1px solid rgba(12,18,38,.10);
  margin-top: 14px;
  padding-top: 14px;
}

/* Quick action cards */
.contact-cards{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:14px 0;
}

.mini{
  text-decoration:none;
  color:var(--text);
  border-radius:var(--radius);
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.74);
  padding:12px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.mini span{
  display:block;
  color:var(--muted);
  font-weight:650;
  margin-top:4px;
}
@media (hover:hover){
  .mini:hover{
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: rgba(12,18,38,.14);
  }
}

/* Certifications row */
.contact-badges{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top:14px;
}
.badge-card{
  display:flex;
  gap:12px;
  align-items:center;
  padding:12px;
  border-radius: var(--radius);
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-sm);
}
.badge-card img{
  width:64px;
  height:64px;
  object-fit:contain;
  flex:0 0 auto;
  filter: drop-shadow(0 8px 16px rgba(12,18,38,.10));
}
.badge-card strong{ display:block; font-weight:900; margin-bottom:2px; }
.badge-card .muted{ display:block; font-weight:650; line-height:1.35; }

@media (max-width: 640px){
  .contact-badges{ grid-template-columns: 1fr; }
}

/* =========================
   Form widget card
   ========================= */
.contact-form-card{ padding:18px; }

.form-head{
  padding-bottom:10px;
  border-bottom:1px solid rgba(12,18,38,.10);
  margin-bottom:12px;
}
.form-head h3{ margin:0; font-size:20px; }
.form-head p{ margin:6px 0 0; font-weight:650; }

/* keep form visually plain inside pop-surface */
.form{
  border-radius:22px;
  border:0;
  background:transparent;
  padding:0;
  box-shadow:none;
}

/* Honeypot field (anti-spam) */
.hp-field{
  position:absolute !important;
  left:-10000px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

/* Steps + Fields layout inside the form card */
.form-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
@media (min-width: 980px){
  .form-grid{
    grid-template-columns: 0.9fr 1.1fr;
    align-items:start;
  }
}
.form-fields{ min-width:0; }

/* Steps (one per row) */
.form-steps{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:0;
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(12,18,38,.10);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 980px){
  .form-steps{
    position: sticky;
    top: 14px;
  }
}

.form-step{
  display:flex;
  gap:10px;
  align-items:center;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(12,18,38,.10);
  background: rgba(255,255,255,.78);
}
.form-step strong{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:999px;
  font-weight:900;
  background: rgba(91,108,255,.14);
  border: 1px solid rgba(91,108,255,.22);
  flex:0 0 auto;
}
.form-step span{
  font-weight:750;
  color: rgba(12,18,38,.82);
  line-height:1.3;
}

/* Field wrappers pop like steps */
.field{
  display:grid;
  gap:8px;
  margin-bottom:12px;
}
label{ font-weight:900; font-size:13px; }

.field.field-card{
  position:relative;
  padding:12px 12px 10px;
  border-radius:16px;
  border:1px solid rgba(12,18,38,.10);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
@media (hover:hover){
  .field.field-card:hover{
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    border-color: rgba(12,18,38,.14);
  }
}
.field.field-card:focus-within{
  border-color: rgba(34,200,255,.45);
  box-shadow:
    0 0 0 3px rgba(34,200,255,.16),
    var(--shadow-md);
}

.field.field-card input,
.field.field-card textarea{
  border-radius:14px;
  border:1px solid rgba(12,18,38,.10);
  background: rgba(255,255,255,.82);
  color: var(--text);
  padding:12px;
  font:inherit;
  outline:none;
  box-shadow:none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field.field-card input:focus,
.field.field-card textarea:focus{
  border-color: rgba(34,200,255,.55);
  box-shadow: 0 0 0 3px rgba(34,200,255,.14);
}



/* Form footer strip */
.form-footer{
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(12,18,38,.10);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-sm);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.form-footer .fineprint{
  margin: 0;
  font-size: 12px;
  font-weight: 750;
  color: rgba(12,18,38,.60);
  max-width: 52ch;
}
@media (max-width: 560px){
  .form-footer{ align-items: stretch; }
  .form-footer .btn{ width:100%; }
  .form-footer .fineprint{ max-width:none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .mini,
  .field.field-card{ transition:none; }
  .mini:hover,
  .field.field-card:hover{ transform:none; }
}

/* =========================
   Video
   ========================= */
.video-shell{
  border-radius:22px;
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.74);
  padding:12px;
  overflow:hidden;
  box-shadow: var(--shadow-md);
}
video{
  width:100%;
  height:auto;
  display:block;
  border-radius:16px;
  background:black;
}

/* =========================
   Footer
   ========================= */
.footer{
  padding:22px 0 28px;
  border-top:1px solid rgba(12,18,38,.10);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

/* =========================
   Reviews (STACKED, no toggle)
   ========================= */
.reviews-stack{
  display:grid;
  gap:16px;
}

.reviews-source{
  border-radius:24px;
  border:1px solid rgba(12,18,38,.12);
  background:
    radial-gradient(520px 220px at 15% 20%, rgba(91,108,255,.14), transparent 60%),
    radial-gradient(520px 220px at 85% 25%, rgba(34,200,255,.10), transparent 60%),
    rgba(255,255,255,.74);
  padding:18px;
  box-shadow: var(--shadow-lg);
  display:grid;
  gap:16px;
}
.source-google{
  background:
    radial-gradient(520px 220px at 15% 20%, rgba(34,200,255,.14), transparent 60%),
    radial-gradient(520px 220px at 85% 25%, rgba(91,108,255,.10), transparent 60%),
    rgba(255,255,255,.74);
}

.source-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  padding-bottom:10px;
  border-bottom:1px solid rgba(12,18,38,.10);
}

.source-title p{
  margin:8px 0 0;
  color: var(--muted);
  font-weight:650;
  line-height:1.6;
  max-width:560px;
}

.source-meta{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.meta-pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(12,18,38,.14);
  background: rgba(255,255,255,.70);
  font-weight:900;
  box-shadow: var(--shadow-sm);
}
.stars{letter-spacing:2px}
.meta-pill strong{font-size:14px}

.source-h3{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  font-size:22px;
  letter-spacing:-0.01em;
}

.reviews-widget{
  border-radius:18px;
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.78);
  padding:12px;
  box-shadow: var(--shadow-md);
}

/* Quotes */
.bryant-quotes{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}
.quote-card{
  border-radius:22px;
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.74);
  padding:16px;
  box-shadow: var(--shadow-sm);
}
.quote-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:baseline;
}
.quote-text{
  margin:10px 0 12px;
  color: rgba(12,18,38,.86);
  font-weight:650;
  line-height:1.7;
}
.quote-link{
  color: rgba(34,120,255,.95);
  font-weight:900;
  text-decoration:none;
}
.quote-link:hover{text-decoration:underline}

/* Bryant Feature */
.bryant-feature{
  display:grid;
  gap:16px;
}

.bryant-hero{
  border-radius:26px;
  border:1px solid rgba(249,115,22,.28);
  background:
    radial-gradient(820px 320px at 10% 10%, rgba(249,115,22,.14), transparent 60%),
    radial-gradient(720px 260px at 85% 20%, rgba(34,197,94,.10), transparent 60%),
    rgba(255,255,255,.74);
  box-shadow: var(--shadow-lg);
  padding:22px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  position:relative;
  overflow:hidden;
}
.bryant-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(249,115,22,.20), rgba(34,200,255,.10), rgba(34,197,94,.14));
  opacity:.16;
  pointer-events:none;
}
.bryant-hero-left,
.bryant-proof{position:relative}

.bryant-kicker{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(12,18,38,.14);
  background: rgba(255,255,255,.65);
  font-weight:900;
  font-size:12px;
  letter-spacing:.02em;
}

.bryant-headline{
  margin:10px 0 6px;
  font-size:26px;
  letter-spacing:-0.02em;
  line-height:1.1;
}

.bryant-desc{
  margin:0;
  color: var(--muted);
  font-weight:650;
  line-height:1.6;
  max-width:62ch;
}

.bryant-metrics{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.bryant-metric{
  display:flex;
  gap:12px;
  align-items:center;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow-sm);
}

.bryant-stars{letter-spacing:2px; font-size:18px}
.bryant-score{font-size:18px; font-weight:900}
.bryant-note{
  margin-top:2px;
  color: var(--muted);
  font-weight:700;
  font-size:12px;
}

.proof-card{
  border-radius:22px;
  border:1px solid rgba(12,18,38,.12);
  background: rgba(255,255,255,.70);
  padding:16px;
  box-shadow: var(--shadow-sm);
}
.proof-label{
  display:inline-flex;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(12,18,38,.14);
  background: rgba(255,255,255,.65);
  font-weight:900;
  font-size:12px;
}
.proof-card p{
  margin:10px 0 0;
  color: rgba(12,18,38,.86);
  font-weight:650;
  line-height:1.6;
}
.proof-line{
  height:1px;
  background: rgba(12,18,38,.12);
  margin:12px 0;
}

.bryant-plaque{
  border-radius:26px;
  border:1px solid rgba(12,18,38,.12);
  background:
    radial-gradient(720px 260px at 15% 20%, rgba(249,115,22,.12), transparent 60%),
    radial-gradient(720px 260px at 85% 25%, rgba(34,197,94,.08), transparent 60%),
    rgba(255,255,255,.74);
  padding:18px;
  box-shadow: var(--shadow-lg);
}

.plaque-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(12,18,38,.10);
  margin-bottom:14px;
}

.plaque-title{
  font-weight:900;
  font-size:18px;
  letter-spacing:-0.01em;
}
.plaque-sub{
  margin-top:6px;
  color: var(--muted);
  font-weight:650;
  line-height:1.6;
}

.bryant-plaque .quote-card{
  background: rgba(255,255,255,.78);
  border-color: rgba(12,18,38,.12);
  box-shadow: var(--shadow-md);
  transition: transform .15s ease, border-color .15s ease;
}
.bryant-plaque .quote-link{color: rgba(249,115,22,.95)}

@media (hover:hover){
  .bryant-plaque .quote-card:hover{
    transform: translateY(-2px);
    border-color: rgba(249,115,22,.35);
  }
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .nav{display:none}
  .header-cta{display:none}
  .menu-btn{display:inline-flex}
  .hero-inner{grid-template-columns:1fr}
  .hero-highlights{grid-template-columns:1fr}
  .cards{grid-template-columns: 1fr 1fr}
  .split{grid-template-columns:1fr}
  .bryant-hero{grid-template-columns:1fr}
}
@media (max-width: 860px){
  .bryant-quotes{grid-template-columns:1fr}
}
@media (max-width: 560px){
  .cards{grid-template-columns:1fr}
}

/* =========================
   Performance: mobile-only render helpers
   (keeps desktop visuals)
   ========================= */

/* Mobile: reduce expensive compositing / paint */
@media (max-width: 980px){

  /* Turn off backdrop-filter on mobile (big win for LCP/paint) */
  .header{
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,.92);
  }

  /* Blurred fixed orbs are expensive on mobile */
  .bg-orb{
    filter: blur(28px);     /* was 55px */
    opacity: .22;           /* was .38 */
    transform: translateZ(0);
    will-change: transform;
  }

  /* Grid overlay can be expensive to composite on mobile */
  .bg-grid{
    opacity: .35;           /* was .55 */
  }

  /* Reduce paint cost of stacked gradients on mobile */
  body{
    background:
      radial-gradient(900px 520px at 15% 0%, rgba(91,108,255,.12), transparent 60%),
      radial-gradient(760px 520px at 85% 10%, rgba(34,200,255,.10), transparent 60%),
      linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,248,255,1));
    /* removed the 3rd big radial on mobile */
  }

  /* Tone down pop-surface glow layers on mobile */
  .pop-surface::after{ opacity:.65; }
  .pop-surface::before{ opacity:.45; }
}

/* Optional: first-render “lite” mode toggle (requires tiny inline head script) */
html.lite-render .bg-orb,
html.lite-render .bg-grid{
  display:none;
}
html.lite-render .pop-surface::after{
  opacity:.40;
}

/* Respect reduced motion (already above, but keep perf-friendly transitions) */
@media (prefers-reduced-motion: reduce){
  .bg-orb{ filter:none; }
}

/* =========================
   PERF PATCH (mobile + Firefox)
   Add at END of file
   ========================= */

/* 1) Biggest win: don't paint below-the-fold during initial render */
@supports (content-visibility: auto){
  /* Apply to large sections; adjust selectors if your markup differs */
  main > section{
    content-visibility: auto;
    contain-intrinsic-size: 800px; /* reserve space to prevent jumps */
  }
}

/* 2) Mobile paint killers: remove mask + expensive fixed layers */
@media (max-width: 980px){

  /* Mask-image on a full-screen fixed layer is brutal in Firefox */
  .bg-grid{
    mask-image: none !important;
    -webkit-mask-image: none !important;
    opacity: .20;           /* keep a hint if you want */
    /* If you want max speed, uncomment the next line */
    /* display:none !important; */
  }

  /* Fixed blurred gradients are expensive to composite */
  .bg-orb{
    display:none !important; /* strongest improvement */
  }

  /* Pop-surface glow layers are large and costly */
  .pop-surface::after{
    opacity: .35 !important;
    inset: -12px !important; /* was -40px */
  }
  .pop-surface::before{
    opacity: .30 !important;
  }

  /* Section glow overlay can cost paint time */
  .section-pop::before{
    opacity: .45 !important;
  }

  /* Reduce big shadows slightly on mobile */
  .hero-card,
  .reviews-source,
  .bryant-hero,
  .bryant-plaque,
  .services-surface .card,
  .cards .card{
    box-shadow: 0 10px 24px rgba(12,18,38,.10) !important;
  }

  /* Stop small animations on mobile (prevents extra work during load) */
  .spark{
    animation: none !important;
  }
}

/* 3) Firefox-specific: also remove masked grid & heavy effects */
@-moz-document url-prefix(){
  .bg-grid{
    mask-image: none !important;
    -webkit-mask-image: none !important;
  }
}

/* =========================
   PERF PATCH 2 — Firefox paint reducers
   (does NOT touch hero band/tri)
   Add at END of file
   ========================= */

@-moz-document url-prefix(){

  /* 1) backdrop-filter is expensive in Firefox */
  .header{
    backdrop-filter: none !important;
    background: rgba(255,255,255,.90) !important; /* keep the same look */
  }

  /* 2) Big glow layers cause heavy paint/composite */
  .pop-surface::after{
    opacity: .25 !important;
    inset: -10px !important;
  }
  .pop-surface::before{
    opacity: .22 !important;
  }

  /* 3) Section glow overlays are large and expensive */
  .section-pop::before{
    opacity: .28 !important;
  }

  /* 4) Filters (drop-shadow) can be costly to paint */
  .equipment-card img,
  .badge-card img{
    filter: none !important;
  }

  /* 5) Contain paint on heavy “card stacks” so painting doesn't spill */
  .pop-surface,
  .reviews-source,
  .bryant-hero,
  .bryant-plaque,
  .services-surface,
  .contact-card,
  .contact-form-card{
    contain: paint;
  }
}

@-moz-document url-prefix(){
  body{
    background:
      radial-gradient(900px 520px at 15% 0%, rgba(91,108,255,.10), transparent 60%),
      linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,248,255,1)) !important;
  }
}
