/* Individual industry landing pages — body.page-industry.page-industry--* */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@600;700&family=Barlow+Condensed:wght@600;700&family=Cormorant+Garamond:wght@600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Nunito+Sans:wght@600;700&family=Rubik:wght@500;600&family=Source+Serif+4:wght@600;700&family=Space+Grotesk:wght@500;600&display=swap");

/* --- Shared hero widget --- */
.page-industry .page-hero-v2 {
  position: relative;
  overflow: hidden;
}

.in-hero-widget {
  max-width: 540px;
  margin: 32px auto 0;
  padding: 20px 20px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  text-align: left;
}

.in-widget-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 14px;
}

.in-hero-widget [data-out] {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

/* HVAC */
.page-industry--hvac .page-hero-v2 {
  background:
    radial-gradient(ellipse 90% 70% at 10% 20%, rgba(56, 189, 248, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 90% 30%, rgba(248, 113, 113, 0.16) 0%, transparent 45%),
    linear-gradient(165deg, #0c1829 0%, #132337 50%, #0f172a 100%) !important;
}

.page-industry--hvac .page-hero-v2 h1 {
  font-family: "Barlow Condensed", var(--font-heading), sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}

.page-industry--hvac .page-hero-v2 .text-gradient {
  background: linear-gradient(90deg, #38bdf8, #f87171);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.in-hvac-range {
  width: 100%;
  accent-color: #38bdf8;
  margin: 4px 0 8px;
}

.in-hvac-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

/* Plumbing */
.page-industry--plumbing .page-hero-v2 {
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(14, 165, 233, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, #0a1628 0%, #0f172a 100%) !important;
}

.page-industry--plumbing .page-hero-v2 h1 {
  font-family: "Rubik", var(--font-heading), sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page-industry--plumbing .page-hero-v2 .text-gradient {
  background: linear-gradient(100deg, #22d3ee, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.in-plumb-toggle {
  display: flex;
  gap: 10px;
}

.in-plumb-toggle button {
  flex: 1;
  font-family: "Rubik", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.in-plumb-toggle button.is-active {
  background: rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.45);
  color: #fff;
}

/* Electrical */
.page-industry--electrical .page-hero-v2 {
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(250, 204, 21, 0.12) 0%, transparent 50%),
    linear-gradient(195deg, #0f172a 0%, #1c1917 55%, #0c0a09 100%) !important;
}

.page-industry--electrical .page-hero-v2 h1 {
  font-family: "Space Grotesk", var(--font-heading), sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.page-industry--electrical .page-hero-v2 .text-gradient {
  background: linear-gradient(95deg, #fde047, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.in-circuit-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.in-circuit-steps button {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(253, 224, 71, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.in-circuit-steps button.is-lit {
  border-color: rgba(253, 224, 71, 0.65);
  color: #fff;
  background: rgba(253, 224, 71, 0.12);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.15);
}

.in-circuit-wire {
  flex: 1;
  min-width: 20px;
  height: 2px;
  background: linear-gradient(90deg, rgba(253, 224, 71, 0.2), rgba(253, 224, 71, 0.5));
  border-radius: 1px;
}

/* Roofing */
.page-industry--roofing .page-hero-v2 {
  background:
    radial-gradient(ellipse 100% 60% at 30% 0%, rgba(100, 116, 139, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 80%, rgba(71, 85, 105, 0.3) 0%, transparent 45%),
    linear-gradient(165deg, #1e293b 0%, #0f172a 100%) !important;
}

.page-industry--roofing .page-hero-v2 h1 {
  font-family: "Archivo", var(--font-heading), sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-industry--roofing .page-hero-v2 .text-gradient {
  background: linear-gradient(100deg, #94a3b8, #e2e8f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.in-roof-range {
  width: 100%;
  accent-color: #94a3b8;
}

/* Painting */
.page-industry--painting .page-hero-v2 {
  background:
    radial-gradient(ellipse 90% 70% at 80% 20%, rgba(244, 114, 182, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(196, 92, 38, 0.14) 0%, transparent 50%),
    linear-gradient(155deg, #1a1520 0%, #0f172a 100%) !important;
}

.page-industry--painting .page-hero-v2 h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-optical-sizing: auto;
}

.page-industry--painting .page-hero-v2 .text-gradient {
  background: linear-gradient(105deg, #f9a8d4, #fdba74, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.in-paint-swatches {
  display: flex;
  gap: 12px;
  align-items: center;
}

.in-paint-swatches button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: var(--sw, #c45c26);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.in-paint-swatches button.is-active {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.in-hero-widget--painting[data-theme="warm"] {
  border-color: rgba(196, 92, 38, 0.35);
}
.in-hero-widget--painting[data-theme="cool"] {
  border-color: rgba(30, 58, 95, 0.45);
}
.in-hero-widget--painting[data-theme="nature"] {
  border-color: rgba(45, 106, 79, 0.45);
}

/* Pest control */
.page-industry--pest .page-hero-v2 {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(34, 197, 94, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #0f1f17 0%, #0f172a 100%) !important;
}

.page-industry--pest .page-hero-v2 h1 {
  font-family: "Nunito Sans", var(--font-heading), sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-industry--pest .page-hero-v2 .text-gradient {
  background: linear-gradient(95deg, #4ade80, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.in-pest-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.in-pest-tabs button {
  font-family: "Nunito Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.in-pest-tabs button.is-active {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(74, 222, 128, 0.45);
  color: #fff;
}

/* Real estate */
.page-industry--realestate .page-hero-v2 {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
    linear-gradient(165deg, #1c1917 0%, #0c0a09 55%, #1a1510 100%) !important;
}

.page-industry--realestate .page-hero-v2 h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-industry--realestate .page-hero-v2 .text-gradient {
  background: linear-gradient(100deg, #d4af37, #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.in-re-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.in-re-step {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.in-re-step.is-active {
  color: #fff;
  border-color: rgba(212, 175, 55, 0.65);
  background: rgba(212, 175, 55, 0.12);
}

/* Healthcare */
.page-industry--healthcare .page-hero-v2 {
  background:
    radial-gradient(ellipse 80% 60% at 15% 30%, rgba(56, 189, 248, 0.1) 0%, transparent 45%),
    linear-gradient(180deg, #0c1222 0%, #0f172a 100%) !important;
}

.page-industry--healthcare .page-hero-v2 h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-industry--healthcare .page-hero-v2 .text-gradient {
  background: linear-gradient(95deg, #7dd3fc, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.in-hc-slots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.in-hc-slots button {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid rgba(125, 211, 252, 0.25);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.in-hc-slots button.is-active {
  background: rgba(125, 211, 252, 0.15);
  border-color: rgba(125, 211, 252, 0.5);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .in-paint-swatches button {
    transition: none;
  }
}

/* ============================================
   INDUSTRY PAGES — Mobile polish
   (HVAC, Plumbing, Electrical, Roofing, Painting,
    Pest Control, Real Estate, Healthcare)
   ============================================ */
@media (max-width: 767px) {
  /* ----- Hero section on every industry page ----- */
  .page-industry .page-hero-v2 {
    padding: 40px 0 44px !important;
  }

  .page-industry .page-hero-v2 h1 {
    font-size: 28px !important;
    line-height: 1.15 !important;
    margin-bottom: 14px !important;
  }

  .page-industry .page-hero-v2 .hero-lead {
    font-size: 15px !important;
    line-height: 1.55 !important;
    max-width: 100%;
    padding: 0;
  }

  .page-industry .page-hero-v2 .hero-badge {
    font-size: 11px !important;
    padding: 6px 12px !important;
    margin-bottom: 14px !important;
  }

  .page-industry .page-hero-v2 .hero-ctas {
    flex-direction: column !important;
    gap: 12px;
    width: 100%;
  }

  .page-industry .page-hero-v2 .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .page-industry .page-hero-v2 .cta-micro-trust {
    font-size: 12px;
    text-align: center;
  }

  /* ----- In-hero interactive widget (shared) ----- */
  .in-hero-widget {
    max-width: 100%;
    margin: 24px 0 0;
    padding: 16px 16px 18px;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .in-widget-label {
    font-size: 9px;
    margin-bottom: 10px;
  }

  .in-hero-widget [data-out] {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
  }

  /* ----- HVAC dial ticks ----- */
  .in-hvac-ticks {
    font-size: 9px;
  }

  /* ----- Plumbing toggle ----- */
  .in-plumb-toggle button {
    font-size: 12px !important;
    padding: 8px 14px !important;
    flex: 1;
  }

  /* ----- Electrical circuit steps ----- */
  .in-circuit-steps {
    gap: 6px;
  }

  .in-circuit-steps button {
    font-size: 10px !important;
    padding: 6px 8px !important;
  }

  .in-circuit-wire {
    min-width: 10px;
  }

  /* ----- Roofing range slider ----- */
  .in-roof-range {
    margin: 2px 0 6px;
  }

  /* ----- Painting swatches ----- */
  .in-paint-swatches {
    gap: 10px;
    justify-content: center;
  }

  .in-paint-swatches button {
    width: 32px;
    height: 32px;
  }

  /* ----- Pest control seasonal tabs ----- */
  .in-pest-tabs {
    gap: 6px;
    justify-content: center;
  }

  .in-pest-tabs button {
    font-size: 11px;
    padding: 7px 12px;
  }

  /* ----- Real estate pipeline steps ----- */
  .in-re-steps {
    gap: 4px;
    justify-content: space-between;
  }

  .in-re-step {
    font-size: 11px !important;
    padding: 8px 9px !important;
    flex: 1;
    min-width: 0;
    text-align: center;
  }

  /* ----- Healthcare time-slot buttons ----- */
  .in-hc-slots {
    gap: 8px;
    justify-content: center;
  }

  .in-hc-slots button {
    font-size: 12px !important;
    padding: 9px 14px !important;
    flex: 1 1 0;
  }

  /* ----- Scenario grid cards (HVAC + other trade scenarios) ----- */
  .scenario-card {
    padding: 22px 18px;
  }

  .scenario-card h3 {
    font-size: 17px;
    line-height: 1.3;
  }

  .scenario-dialogue {
    margin: 14px 0;
  }

  .scenario-dialogue p {
    font-size: 13.5px !important;
    line-height: 1.6;
    margin: 6px 0;
  }

  .scenario-note {
    font-size: 12px !important;
    line-height: 1.5;
    margin-top: 12px;
  }

  /* ----- Pain points / challenge cards ----- */
  .page-industry .feature-card {
    padding: 22px 20px;
  }

  .page-industry .feature-card h3 {
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .page-industry .feature-card p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* ----- Pricing anchors (HVAC $10/$20/$149 cards) ----- */
  .page-industry .pricing-anchors {
    gap: 14px;
  }

  .page-industry .pricing-anchor-card {
    padding: 22px 20px;
  }

  .page-industry .pricing-anchor-card h3 {
    font-size: 18px;
  }

  .page-industry .pricing-anchor-card .pricing-amount {
    font-size: 28px;
  }

  .page-industry .pricing-anchor-card p {
    font-size: 14px;
    line-height: 1.55;
  }

  /* ----- Section headers ----- */
  .page-industry .section-header h2 {
    font-size: 24px !important;
    line-height: 1.25;
  }

  .page-industry .section-header p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* ----- Section padding on industry pages ----- */
  .page-industry section.section-padding {
    padding: 44px 0 !important;
  }

  /* ----- Tighten container padding on industry pages ----- */
  .page-industry .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* ----- Final CTA on industry pages ----- */
  .page-industry #final-cta h2 {
    font-size: 24px !important;
    line-height: 1.25;
  }

  .page-industry #final-cta p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* ----- "Honest note" blurbs on industry pages ----- */
  .page-industry .honest-note {
    font-size: 14px !important;
    padding: 14px 16px !important;
    line-height: 1.6;
  }
}

/* Very small screens — iPhone SE and similar */
@media (max-width: 400px) {
  .page-industry .page-hero-v2 h1 {
    font-size: 26px !important;
  }

  .in-hero-widget {
    padding: 14px 14px 16px;
  }

  .in-re-step {
    font-size: 10px !important;
    padding: 7px 6px !important;
  }

  .in-pest-tabs button {
    font-size: 10px;
    padding: 6px 10px;
  }

  .in-hc-slots button {
    font-size: 11px !important;
    padding: 8px 10px !important;
  }

  .page-industry .pricing-anchor-card .pricing-amount {
    font-size: 26px;
  }

  .page-industry .section-header h2 {
    font-size: 22px !important;
  }

  .scenario-card h3 {
    font-size: 16px;
  }
}
