/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-20) var(--container-padding);
  overflow: hidden;
}

.heroBg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(233,245,219,0.7) 0%, rgba(255,255,255,0.92) 100%),
    linear-gradient(135deg, #c8dba8 0%, #e9f5db 50%, #cfe1b9 100%);
  z-index: 0;
  animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.9; }
}

.heroBg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(113,131,85,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(113,131,85,0.06) 0%, transparent 60%);
  animation: floatBg 10s ease-in-out infinite;
}

@keyframes floatBg {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -10px); }
}

.heroContent {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: slideUp 0.8s ease both;
}

.heroHeadline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  color: var(--sage-500);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.heroItalic {
  font-style: italic;
  font-weight: 400;
  color: var(--sage-400);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.heroSub {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--sage-400);
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.heroCta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.heroCta .btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.heroCta .btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.trustBadge {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--sage-300);
  font-weight: 500;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 1s both;
}

.dot { opacity: 0.5; }

/* ===== SERVICES ===== */
.servicesSection {
  padding: var(--space-20) var(--container-padding);
  background: linear-gradient(180deg, var(--white) 0%, var(--sage-50) 100%);
  position: relative;
}

.servicesSection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage-200), transparent);
}

.sectionSub {
  color: var(--sage-300);
  margin-top: 8px;
  font-size: 1.0625rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.servicesGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cardService {
  position: relative;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: fadeInUp 0.5s ease both;
}

.cardService:nth-child(1) { animation-delay: 0.1s; }
.cardService:nth-child(2) { animation-delay: 0.15s; }
.cardService:nth-child(3) { animation-delay: 0.2s; }
.cardService:nth-child(4) { animation-delay: 0.25s; }
.cardService:nth-child(5) { animation-delay: 0.3s; }
.cardService:nth-child(6) { animation-delay: 0.35s; }
.cardService:nth-child(7) { animation-delay: 0.4s; }
.cardService:nth-child(8) { animation-delay: 0.45s; }
.cardService:nth-child(9) { animation-delay: 0.5s; }
.cardService:nth-child(10) { animation-delay: 0.55s; }
.cardService:nth-child(11) { animation-delay: 0.6s; }
.cardService:nth-child(12) { animation-delay: 0.65s; }
.cardService:nth-child(13) { animation-delay: 0.7s; }

.cardService:hover {
  transform: translateY(-6px);
}

.cardService:hover .cardFaIcon {
  transform: scale(1.1) rotate(3deg);
}

.cardService:hover .cardImagePlaceholder {
  transform: scale(1.02);
}

.cardImagePlaceholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cardImagePlaceholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  pointer-events: none;
}

.popularBadge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--sage-500);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
  z-index: 1;
  animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== HOW IT WORKS ===== */
.howSection {
  padding: var(--space-20) var(--container-padding);
  background: var(--white);
}

.stepsGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.stepItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.stepIcon {
  width: 72px;
  height: 72px;
  background: var(--sage-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.stepConnector {
  position: absolute;
  top: 68px;
  right: -50%;
  width: 100%;
  height: 1.5px;
  background: var(--sage-200);
  z-index: 0;
}

.stepNum {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sage-300);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.stepTitle {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--sage-500);
  margin-bottom: 10px;
}

.stepDesc {
  font-size: 0.9rem;
  color: var(--sage-400);
  line-height: 1.6;
}

/* ===== TESTIMONIAL ===== */
.testimonialSection {
  padding: var(--space-20) var(--container-padding);
  background: var(--sage-50);
}

.testimonialGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ===== FEATURES ===== */
.featuresSection {
  padding: var(--space-20) var(--container-padding);
  background: var(--white);
}

.featuresGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ===== PRICE LIST ===== */
.priceSection {
  padding: var(--space-20) var(--container-padding);
  background: linear-gradient(180deg, var(--sage-50) 0%, var(--white) 100%);
}

.priceGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.priceCard {
  background: var(--white);
  border: 1px solid var(--sage-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.priceCard:hover {
  border-color: var(--sage-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.priceCategory {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sage-500);
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--sage-100);
  margin-bottom: 16px;
}

.priceRow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--sage-50);
  font-size: 0.875rem;
  color: var(--sage-400);
}

.priceVal {
  font-weight: 700;
  color: var(--sage-500);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== CTA BANNER ===== */
.ctaBanner {
  background: linear-gradient(135deg, var(--sage-500) 0%, var(--sage-400) 100%);
  padding: var(--space-20) var(--container-padding);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ctaBanner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
  animation: rotateBg 20s linear infinite;
  pointer-events: none;
}

@keyframes rotateBg {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ctaInner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease;
}

.ctaTitle {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.ctaDesc {
  color: rgba(255,255,255,0.8);
  font-size: 1.0625rem;
  margin-bottom: 32px;
}

.ctaBtn {
  background: white;
  color: var(--sage-500);
  border-radius: var(--radius-full);
  font-weight: 700;
  padding: 16px 48px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: ctaGlow 3s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(255,255,255,0.2), 0 4px 20px rgba(0,0,0,0.1);
  }
  50% {
    box-shadow: 0 4px 25px rgba(255,255,255,0.4), 0 8px 30px rgba(0,0,0,0.15);
  }
}

.ctaBtn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(113,131,85,0.08) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.ctaBtn:hover::before {
  transform: translateX(100%);
}

.ctaBtn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  animation: none;
}

.ctaBtn:active {
  transform: translateY(-1px) scale(1.02);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .servicesGrid  { grid-template-columns: repeat(3, 1fr); }
  .priceGrid      { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .servicesGrid  { grid-template-columns: repeat(2, 1fr); }
  .featuresGrid  { grid-template-columns: repeat(2, 1fr); }
  .priceGrid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .stepsGrid     { grid-template-columns: 1fr; }
  .stepConnector { display: none; }
  .testimonialGrid { grid-template-columns: 1fr; }
  .priceGrid     { grid-template-columns: 1fr; }
  .servicesSection, .howSection, .testimonialSection, .featuresSection, .priceSection, .ctaBanner {
    padding: 48px var(--container-padding);
  }
  .heroHeadline  { font-size: clamp(2rem, 7vw, 3rem); }
  .heroSub       { font-size: 1rem; }
  .ctaBtn        { padding: 14px 32px; }
}

@media (max-width: 640px) {
  .servicesGrid  { grid-template-columns: 1fr; }
  .featuresGrid  { grid-template-columns: 1fr 1fr; }
  .heroCta       { flex-direction: column; align-items: center; }
  .heroCta a, .heroCta button { width: 100%; max-width: 300px; }
  .heroContent   { padding: 0 4px; }
  .trustBadge    { font-size: 0.8rem; gap: 8px; }
}

@media (max-width: 480px) {
  .hero          { padding: 40px 16px 32px; min-height: 85vh; }
  .heroHeadline  { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .heroSub       { font-size: 0.9375rem; margin-bottom: 24px; }
  .servicesGrid  { gap: 14px; }
  .featuresGrid  { gap: 12px; }
  .card-feature  { padding: 20px 16px; }
  .priceGrid     { gap: 14px; }
  .stepsGrid     { gap: 0; }
  .stepItem      { padding: 24px 16px; }
  .servicesSection, .howSection, .testimonialSection, .featuresSection, .priceSection, .ctaBanner {
    padding: 36px 16px;
  }
  .ctaTitle      { font-size: clamp(1.5rem, 6vw, 2rem); }
  .ctaDesc       { font-size: 0.9375rem; }
  .ctaBtn        { padding: 12px 24px; }
  .sectionSub    { font-size: 0.9rem; }
}

@media (max-width: 375px) {
  .hero          { padding: 32px 12px 28px; }
  .heroHeadline  { font-size: 1.625rem; letter-spacing: -0.01em; }
  .heroContent   { max-width: 100%; }
  .featuresGrid  { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-feature-icon { width: 44px; height: 44px; font-size: 1.25rem; }
  .stepIcon      { width: 56px; height: 56px; font-size: 1.5rem; }
  .servicesSection, .howSection, .testimonialSection, .featuresSection, .priceSection, .ctaBanner {
    padding: 28px 12px;
  }
}

/* ===== NEW UTILITY CLASSES (replacing inline styles) ===== */
.heroLabel { color: var(--sage-400); margin-bottom: 16px; display: block; }

.cardFaIcon { font-size: 2.5rem; color: rgba(255,255,255,0.95); filter: drop-shadow(0 2px 8px rgba(0,0,0,0.12)); transition: transform 0.3s ease; }

/* Card bg tints — more nature-inspired gradients */
.cardBg0 { background: linear-gradient(135deg, #a8c99b 0%, #8fb87f 100%); }
.cardBg1 { background: linear-gradient(135deg, #97a97c 0%, #7d9565 100%); }
.cardBg2 { background: linear-gradient(135deg, #b5c99a 0%, #9ab57e 100%); }
.cardBg3 { background: linear-gradient(135deg, #87986a 0%, #6d8053 100%); }
.cardBg4 { background: linear-gradient(135deg, #cfe1b9 0%, #b8d1a0 100%); }
.cardBg5 { background: linear-gradient(135deg, #a3b888 0%, #8aa570 100%); }
.cardBg6 { background: linear-gradient(135deg, #91a36d 0%, #7a8c58 100%); }
.cardBg7 { background: linear-gradient(135deg, #c8dba8 0%, #b3cc91 100%); }

.servicesMoreCta { text-align: center; margin-top: 40px; }
.priceMoreCta    { text-align: center; margin-top: 32px; }

.featureTitle { margin-bottom: 8px; }
.featureDesc  { font-size: 0.9rem; }
