/* =============================================
   PRICING PAGE – Clean rewrite
   3 columns on desktop, stacks on mobile
   Matches original design exactly
============================================= */

:root {
  --primary-green: #2fbf71;
  --dark-green:    #1f8f52;
  --accent-lime:   #7ed957;
  --dark-bg:       #0f0f0f;
  --white:         #ffffff;
}

/* ── Reset (scoped to this page only via body class) ── */
.page-template-page-pricing * {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* =============================================
   HERO
============================================= */
.pricing-hero {
  text-align:  center;
  padding:     100px 20px 80px;
  color:       #fff;
  /* bg set inline on the element via PHP */
}

.pricing-hero span {
  color:          var(--primary-green);
  font-size:      14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.pricing-hero h1 {
  font-size:   48px;
  margin:      20px 0 30px;
  font-weight: 600;
  color:       #fff;
}

.pricing-hero p {
  max-width:   750px;
  margin:      0 auto 12px;
  font-size:   18px;
  line-height: 1.7;
  color:       #fff;
}

@media (max-width: 768px) {
  .pricing-hero h1 { font-size: 30px; }
  .pricing-hero    { padding: 80px 20px 60px; }
}

/* =============================================
   FEATURES STRIP
============================================= */
.pricing-features {
  padding:    60px 20px 80px;
  background: #fff;
}

.features-wrapper {
  max-width:       1200px;
  margin:          auto;
  display:         flex;
  gap:             30px;
  justify-content: center;
}

.feature-box {
  flex:          1;
  background:    #dbe7cc;
  border-radius: 40px;
  padding:       50px 30px;
  text-align:    center;
  position:      relative;
  transition:    0.3s;
}

.feature-box:hover { transform: translateY(-5px); }

.feature-box .icon {
  width:         40px;
  height:        40px;
  background:    var(--primary-green);
  border-radius: 50%;
  display:       flex;
  align-items:   center;
  justify-content: center;
  color:         #fff;
  font-weight:   bold;
  position:      absolute;
  top:           -20px;
  left:          50%;
  transform:     translateX(-50%);
  box-shadow:    0 5px 15px rgba(0,0,0,0.1);
}

.feature-box p { font-size: 18px; line-height: 1.6; }

@media (max-width: 768px) {
  .features-wrapper { flex-direction: column; }
  .feature-box      { border-radius: 30px; }
}

/* =============================================
   SERVICE PRICING GRID
============================================= */
.detailed-pricing {
  padding:    80px 20px 100px;
  background: #f5f5f5;
}

.pricing-section-container {
  max-width: 1400px;
  margin:    auto;
}

.section-title {
  text-align:    center;
  font-size:     40px;
  margin-bottom: 60px;
  color:         var(--dark-bg);
  font-weight:   700;
}

/* ── 3 columns on desktop ── */
.pricing-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   40px 30px;
  align-items:           start;
}

/* ── Card ── */
.service-card {
  position:      relative;
  background:    #fff;
  padding:       36px 28px 100px;
  border-radius: 28px;
  text-align:    center;
  transition:    transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  box-shadow:    0 8px 30px rgba(0,0,0,0.07);
  overflow:      visible;
  display:       flex;
  flex-direction:column;
}

/* Notch cutout at bottom */
.service-card::after {
  content:                "";
  position:               absolute;
  bottom:                 -14px;
  left:                   50%;
  transform:              translateX(-50%);
  width:                  160px;
  height:                 70px;
  background:             #f5f5f5;
  border-top-left-radius: 44px;
  border-top-right-radius:44px;
  z-index:                1;
}

.service-card:hover {
  background:  var(--primary-green);
  color:       #fff;
  transform:   translateY(-10px);
  box-shadow:  0 20px 50px rgba(47,191,113,0.3);
}

.service-card:hover::after {
  background: #f5f5f5;
}

/* Icon */
.service-card .icon {
  font-size:     30px;
  color:         var(--primary-green);
  margin-bottom: 18px;
  transition:    color 0.3s;
}
.service-card:hover .icon { color: #fff; }

/* Title */
.service-card h3 {
  font-size:     19px;
  font-weight:   700;
  margin-bottom: 12px;
  line-height:   1.3;
}

/* Price */
.service-card .price {
  font-size:     20px;
  font-weight:   700;
  margin-bottom: 16px;
  color:         var(--dark-green);
  transition:    color 0.3s;
}
.service-card:hover .price { color: var(--accent-lime); }

/* Description paragraph */
.service-card > p {
  font-size:     13px;
  line-height:   1.6;
  margin-bottom: 12px;
}

/* Pill tags */
.service-card ul {
  display:         flex;
  flex-wrap:       wrap;
  gap:             8px;
  justify-content: center;
  padding:         0;
  margin:          16px 0 0;
  list-style:      none;
  flex-grow:       1;
}

.service-card ul li {
  background:    #f0f0f0;
  padding:       8px 16px;
  border-radius: 50px;
  font-size:     12px;
  transition:    background 0.3s, color 0.3s;
  white-space:   nowrap;
}

.service-card:hover ul li {
  background: rgba(255,255,255,0.22);
  color:      #fff;
}

/* Absolute CTA button at bottom */
.cta-wrapper {
  position:  absolute;
  bottom:    18px;
  left:      50%;
  transform: translateX(-50%);
  z-index:   2;
  white-space: nowrap;
}

.cta-btn {
  display:       inline-block;
  background:    var(--primary-green);
  color:         #fff;
  padding:       13px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight:   700;
  font-size:     14px;
  transition:    background 0.3s, color 0.3s;
  box-shadow:    0 8px 20px rgba(0,0,0,0.13);
}

.service-card:hover .cta-btn {
  background: #fff;
  color:      var(--primary-green);
}

/* Mobile touch active state */
@media (hover: none) and (pointer: coarse) {
  .service-card.active               { background: var(--primary-green); color: #fff; transform: translateY(-8px); }
  .service-card.active .price        { color: var(--accent-lime); }
  .service-card.active .icon         { color: #fff; }
  .service-card.active ul li         { background: rgba(255,255,255,0.2); color: #fff; }
  .service-card.active .cta-btn      { background: #fff; color: var(--primary-green); }
}

/* ── Responsive grid ── */
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pricing-grid  { grid-template-columns: 1fr; }
  .section-title { font-size: 28px; }
  .service-card  { padding: 28px 20px 90px; }
  .service-card::after {
    width:  120px;
    height: 55px;
    bottom: -8px;
  }
  .cta-btn { padding: 11px 22px; font-size: 13px; }
}

/* =============================================
   CLEANING PRICING SECTION (green background)
============================================= */
.cleaning-pricing {
  background: var(--primary-green);
  padding:    100px 20px 140px;
  color:      #fff;
}

.cleaning-container {
  max-width:  1200px;
  margin:     auto;
  text-align: center;
}

.section-label {
  font-size:      13px;
  letter-spacing: 2px;
  opacity:        0.8;
  text-transform: uppercase;
}

.cleaning-pricing h2 {
  font-size:   36px;
  margin:      14px 0 16px;
  font-weight: 700;
}

.section-sub {
  max-width:   700px;
  margin:      0 auto 60px;
  font-size:   17px;
  line-height: 1.7;
  opacity:     0.9;
}

.cleaning-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   40px;
  align-items:           start;
}

/* Clean card */
.clean-card {
  background:    #fff;
  color:         var(--dark-bg);
  padding:       36px 28px 100px;
  border-radius: 28px;
  position:      relative;
  transition:    transform 0.35s ease;
  box-shadow:    0 16px 40px rgba(0,0,0,0.14);
}

.clean-card:hover { transform: translateY(-10px); }

.clean-icon {
  font-size:     28px;
  color:         var(--primary-green);
  margin-bottom: 16px;
}

.clean-card h3 {
  font-size:     20px;
  font-weight:   700;
  margin-bottom: 16px;
}

.clean-card ul {
  list-style: none;
  padding:    0;
  margin:     0 0 16px;
  text-align: left;
}

.clean-card ul li {
  padding:       8px 0;
  font-size:     14px;
  border-bottom: 1px solid #f0f0f0;
}

.clean-card ul li:last-child { border-bottom: none; }

.note {
  font-size:  12px;
  opacity:    0.65;
  margin-top: 10px;
}

.clean-cta-wrapper {
  position:  absolute;
  bottom:    20px;
  left:      50%;
  transform: translateX(-50%);
  z-index:   2;
  white-space: nowrap;
}

.clean-cta-btn {
  display:         inline-block;
  background:      var(--primary-green);
  color:           #fff;
  padding:         13px 30px;
  border-radius:   50px;
  text-decoration: none;
  font-weight:     700;
  font-size:       14px;
  transition:      background 0.3s;
  box-shadow:      0 8px 20px rgba(0,0,0,0.15);
}

.clean-cta-btn:hover { background: var(--dark-green); }

/* Highlight card */
.highlight-clean {
  background: linear-gradient(135deg, var(--accent-lime), var(--primary-green));
  color:      #fff;
}

.highlight-clean .clean-icon  { color: #fff; }
.highlight-clean ul li        { border-color: rgba(255,255,255,0.25); color: #fff; }
.highlight-clean .clean-cta-btn {
  background: #fff;
  color:      var(--primary-green);
}

/* Responsive */
@media (max-width: 1100px) {
  .cleaning-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .cleaning-grid        { grid-template-columns: 1fr; }
  .cleaning-pricing h2  { font-size: 26px; }
  .clean-card           { padding: 28px 20px 90px; }
}
