/*
Theme Name: Hill Country Well Water Treatment (Astra Child)
Theme URI: https://hillcountrywellwatertreatment.com
Description: Astra child theme for Hill Country Well Water Treatment
Author: Justin A
Template: astra
Version: 1.4
Text Domain: hcww-astra-child
*/

/* Global container */
.hcww-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Remove extra padding Astra sometimes adds around page content */
.home .ast-container,
.home .site-content .ast-container{
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Top call-to-action row (under header) */
.hcww-top-cta{
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 14px 0;
}
.hcww-top-cta .hcww-cta-inner{
  display:flex;
  gap: 12px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}
.hcww-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration:none !important;
  line-height: 1;
  border: 2px solid #0b6fa4;
}
.hcww-btn--primary{
  background:#0b6fa4;
  color:#fff !important;
}
.hcww-btn--ghost{
  background:#fff;
  color:#0b6fa4 !important;
}

/* Hero */
.hcww-hero{
  padding: 46px 0 28px;
  text-align:center;
}
.hcww-hero h1{
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
}
.hcww-hero p{
  margin: 0 auto 18px;
  max-width: 820px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(0,0,0,.75);
}
.hcww-badge{
  display:inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(11,111,164,.08);
  border: 1px solid rgba(11,111,164,.20);
  font-weight: 700;
  font-size: 13px;
}
.hcww-service-area{
  margin-top: 8px;
  font-size: 13px;
  color: rgba(0,0,0,.68);
}
.hcww-hero-media{
  margin-top: 22px;
}
.hcww-hero-media img{
  width: 100%;
  max-width: 980px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

/* Section titles */
.hcww-section-title{
  font-size: 20px;
  margin: 26px 0 14px;
  font-weight: 800;
}

/* Cards grid */
.hcww-cards{
  padding: 10px 0 34px;
}
.hcww-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 920px){
  .hcww-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .hcww-grid{ grid-template-columns: 1fr; }
}
.hcww-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
  height: 100%;
}
.hcww-card h3{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}
.hcww-card p{
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(0,0,0,.72);
}
.hcww-card .hcww-card-img{
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow:hidden;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  background: #f6f8fa;
}
.hcww-card .hcww-card-img img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

/* Bottom content blocks */
.hcww-bottom{
  padding: 22px 0 64px;
}
.hcww-row{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items:center;
  margin: 0 0 26px;
}
.hcww-row--flip{
  grid-template-columns: .9fr 1.1fr;
}
@media (max-width: 860px){
  .hcww-row, .hcww-row--flip{ grid-template-columns: 1fr; }
}
.hcww-block{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(0,0,0,.05);
}
.hcww-block h2{
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
}
.hcww-block p{
  margin: 0 0 10px;
  color: rgba(0,0,0,.74);
  line-height: 1.65;
}
.hcww-media{
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  background: #f6f8fa;
}
.hcww-media img{
  width:100%;
  height:auto;
  display:block;
  object-fit: cover;
}
.hcww-full-media{
  margin-top: 6px;
}
.hcww-full-media img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}