:root{
  --brand: #501010;
  --brand-dark: #3b0c0c;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --ring: rgba(80,16,16,.22);
}

html, body{
  height: 100%;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
  background: var(--bg);
}

/* Bootstrap overrides */
.btn-primary{
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
}

.btn-outline-primary{
  --bs-btn-color: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
}

.text-primary{
  color: var(--brand) !important;
}

.link-primary{
  color: var(--brand) !important;
}

.bg-primary{
  background-color: var(--brand) !important;
}

.form-control:focus,
.form-select:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 .25rem var(--ring);
}

/* Navbar */
.navbar{
  backdrop-filter: blur(10px);
  background: rgba(248,250,252,.85);
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.brand-badge{
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 800;
  letter-spacing: .5px;
}

.brand-badge img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Navbar color update */
.navbar-top{
  background: #501010 !important;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.navbar-top .nav-link,
.navbar-top .navbar-brand,
.navbar-top .navbar-subtitle{
  color: #ffffff !important;
}

.navbar-top .nav-link:hover,
.navbar-top .nav-link:focus{
  color: rgba(255,255,255,.92) !important;
}

.navbar-top .nav-link.active{
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .35em;
  text-decoration-thickness: 2px;
}

.brand-name{
  color: #e89605 !important;
}

.navbar-top .navbar-toggler{
  border-color: rgba(255,255,255,.45);
}

.navbar-top .navbar-toggler-icon{
  filter: invert(1);
}

/* Dropdown */
.navbar-top .dropdown-menu{
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
}

.navbar-top .dropdown-item:active{
  background: #501010;
}

/* Buttons in navbar */
.navbar-top .btn-outline-light{
  border-color: rgba(255,255,255,.65);
}

.navbar-top .btn-outline-light:hover{
  background: rgba(255,255,255,.12);
}

.navbar-top .btn-warning{
  background: #e89605;
  border-color: #e89605;
  color: #1f2937;
}

.navbar-top .btn-warning:hover{
  background: #d98903;
  border-color: #d98903;
}

/* Default hero */
.hero{
  padding: 5.25rem 0 3.25rem;
  background:
    radial-gradient(1000px 500px at 10% 0%, rgba(80,16,16,.16), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(59,12,12,.14), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, rgba(248,250,252,1) 100%);
  border-bottom: 1px solid rgba(15,23,42,.06);
}

.hero h1{
  letter-spacing: -0.02em;
}

.lead{
  color: var(--muted);
}

/* Home hero split image/text */
.hero-split{
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero-media{
  margin: 0;
  flex: 0 0 auto;
}

.hero-media img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(2,6,23,.10);
  object-fit: cover;
}

.hero-media--50{
  width: min(48%, 320px);
}

.hero-split .lead{
  flex: 1 1 0;
  min-width: 0;
  padding-top: .2rem;
}

/* Pills */
.pill{
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(80,16,16,.08);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: .9rem;
  border: 1px solid rgba(80,16,16,.18);
}

.section{
  padding: 3.25rem 0;
}

.card-soft{
  background: var(--card);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(2,6,23,.08);
}

.kpi,
.service-card,
.review-card{
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: #fff;
  padding: 1.25rem;
  height: 100%;
}

.kpi .icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(80,16,16,.10);
  color: var(--brand-dark);
  margin-bottom: .85rem;
}

.service-card{
  transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(2,6,23,.08);
}

.badge-soft{
  background: rgba(15,23,42,.06);
  color: var(--ink);
  border: 1px solid rgba(15,23,42,.08);
  font-weight: 600;
}

.footer{
  border-top: 1px solid rgba(15,23,42,.08);
  background: #fff;
  padding: 2.5rem 0;
}

/* Mobile sticky call bar */
.mobile-callbar{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: rgba(255,255,255,.92);
  border-top: 1px solid rgba(15,23,42,.10);
  backdrop-filter: blur(10px);
  padding: .65rem .75rem;
  display: none;
}

/* Utility */
.text-muted-2{
  color: var(--muted) !important;
}

.shadow-soft{
  box-shadow: 0 12px 30px rgba(2,6,23,.08);
}

/* Breadcrumb */
.breadcrumb a{
  color: var(--brand);
  text-decoration: none;
}

.breadcrumb a:hover{
  text-decoration: underline;
}

.hero-breadcrumb-wrap{
  margin-bottom: 1rem;
}

/* Services: icon left of heading */
.service-head{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.service-icon{
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #501010;
  background: rgba(80,16,16,.10);
}

.service-icon img{
  width: 26px;
  height: 26px;
  display: block;
}

.service-head h3{
  line-height: 1.2;
  padding-top: 2px;
}

/* =========================================================
   SERVICE PAGE HERO - SLEEK IMAGE LAYOUT
========================================================= */
.hero-service-sleek{
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 420px at 88% 12%, rgba(80,16,16,.08), transparent 58%),
    linear-gradient(180deg, #fbfdff 0%, #f8fafc 100%);
}

.hero-highlights{
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero-pill{
  display: inline-flex;
  align-items: center;
  padding: .62rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 24px rgba(2,6,23,.05);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
}

.hero-media-sleek{
  max-width: 380px;
  margin-left: auto;
  text-align: center;
}

.hero-media-sleek--left{
  margin-left: 0;
  margin-right: auto;
}

.hero-media-sleek__inner{
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  border: 1px solid rgba(15,23,42,.07);
  box-shadow: 0 18px 42px rgba(2,6,23,.09);
}

.hero-media-sleek__img{
  display: block;
  width: 100%;
  max-width: 290px;
  height: auto;
  margin: 0 auto;
}

.hero-media-sleek__img--water-heater,
.hero-media-sleek__img--sump{
  max-width: 360px;
}

.hero-media-sleek__caption{
  margin-top: .9rem;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.hero-media-sleek--left .hero-media-sleek__caption{
  margin-left: 0;
  margin-right: 0;
}

/* Responsive */
@media (min-width: 992px){
  .service-icon{
    width: 48px;
    height: 48px;
  }

  .service-icon img{
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 991.98px){
  .hero-split{
    flex-direction: column;
    gap: 1rem;
  }

  .hero-media--50{
    width: 100%;
    max-width: 420px;
  }

  .hero-split .lead{
    padding-top: 0;
  }

  .mobile-callbar{
    display: block;
  }

  .hero{
    padding-top: 4.75rem;
    padding-bottom: 3.75rem;
  }

  .hero-service-sleek{
    padding: 56px 0 42px;
  }

  .hero-media-sleek{
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-media-sleek__img{
    max-width: 240px;
  }

  .hero-media-sleek__img--water-heater,
  .hero-media-sleek__img--sump{
    max-width: 270px;
  }

  .hero-media-sleek__caption{
    max-width: 280px;
  }

  .hero-media-sleek--left .hero-media-sleek__caption{
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767.98px){
  .hero-media-sleek{
    max-width: 280px;
  }

  .hero-media-sleek__inner{
    padding: .85rem;
    border-radius: 20px;
  }

  .hero-media-sleek__img{
    max-width: 200px;
  }

  .hero-media-sleek__img--water-heater,
  .hero-media-sleek__img--sump{
    max-width: 225px;
  }

  .hero-pill{
    font-size: .88rem;
    padding: .55rem .8rem;
  }
}

@media (max-width: 575.98px){
  .hero-media--50{
    max-width: 100%;
  }

  .hero-media img{
    border-radius: 16px;
  }
}

/* =========================================================
   HINSDALE PLUMBING - SHARED SITE FOOTER
   Centralized footer styles for all pages.
   Brand color: #501010
   ========================================================= */

.hp-footer {
  background: #501010;
  color: #f7eeee;
  font-family: inherit;
  margin-top: 60px;
}

.hp-footer * {
  box-sizing: border-box;
}

.hp-footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 55px 30px 40px;
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
  gap: 45px;
}

.hp-footer-column h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 18px;
}

.hp-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hp-footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hp-footer-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 14px;
  padding: 6px;
}

.hp-footer-brand h2 {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}

.hp-footer-brand p,
.hp-footer-column p {
  color: #e8dada;
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 14px;
}

.hp-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hp-footer-links li {
  margin-bottom: 11px;
}

.hp-footer-links a {
  color: #e8dada;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.hp-footer-links a:hover,
.hp-footer-links a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.hp-footer-phone {
  display: inline-block;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 5px;
}

.hp-footer-phone:hover,
.hp-footer-phone:focus {
  color: #ffffff;
  text-decoration: underline;
}

.hp-footer-service-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 22px;
  background: #f3dcdc;
  color: #501010;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hp-footer-service-btn:hover,
.hp-footer-service-btn:focus {
  background: #ffffff;
  color: #501010;
  transform: translateY(-2px);
}

.hp-footer-service-area {
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.hp-footer-service-area-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 30px;
  text-align: center;
  color: #eadede;
  font-size: 13px;
  line-height: 1.7;
}

.hp-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 30px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #dbcaca;
  font-size: 12px;
}

.hp-footer-bottom-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hp-footer-bottom-links a {
  color: #dbcaca;
  text-decoration: none;
}

.hp-footer-bottom-links a:hover,
.hp-footer-bottom-links a:focus {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .hp-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 600px) {
  .hp-footer {
    margin-top: 40px;
  }

  .hp-footer-main {
    grid-template-columns: 1fr;
    padding: 42px 24px 30px;
    gap: 28px;
  }

  .hp-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hp-footer-service-area-inner {
    padding-left: 24px;
    padding-right: 24px;
    text-align: left;
  }
}

/* Keep the sticky mobile action bar above the footer/content. */
.mobile-callbar {
  z-index: 1030;
}
