/* ============================================
   We Care Heating and Cooling LTD
   Modern eco-friendly theme — green + earth
   ============================================ */

:root {
  --forest: #1e5631;
  --leaf: #2f7d3b;
  --moss: #4a9b54;
  --sage: #a3c9a8;
  --cream: #f5f1e8;
  --sand: #e8dfc9;
  --bark: #3d2f1f;
  --charcoal: #1a1a1a;
  --muted: #6b7668;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(30, 86, 49, 0.12);
  --shadow-lg: 0 20px 50px rgba(30, 86, 49, 0.18);
  --radius: 14px;
  --radius-lg: 20px;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--forest);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--leaf);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 232, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--forest);
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--leaf), var(--forest));
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--bark);
  font-size: 0.95rem;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--leaf);
}

.nav-cta {
  background: var(--forest);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--leaf);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--forest);
  cursor: pointer;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 100px 0 120px;
  background:
    radial-gradient(ellipse at top right, rgba(163, 201, 168, 0.4), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(232, 223, 201, 0.6), transparent 60%),
    var(--cream);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  color: var(--forest);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--leaf), var(--moss));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--leaf);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--sand);
  position: relative;
}

.hero-card h3 {
  color: var(--forest);
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  padding: 12px 0;
  border-bottom: 1px solid var(--sand);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bark);
}

.hero-card li:last-child {
  border-bottom: none;
}

.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

/* ---------- SECTIONS ---------- */
section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.eyebrow {
  display: inline-block;
  background: var(--sage);
  color: var(--forest);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--forest);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------- CARD GRID ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--sand);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sage), var(--moss));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.card h3 {
  color: var(--forest);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- PARTNERS BAND ---------- */
.partners {
  background: var(--forest);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.partners h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.partners p {
  color: var(--sage);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.partner-logos {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  align-items: center;
}

.partner-logo {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 22px 40px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

/* ---------- REBATE BANNER ---------- */
.rebate-banner {
  background: linear-gradient(135deg, var(--leaf), var(--forest));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  text-align: center;
  margin: 60px auto;
  max-width: 900px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.rebate-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 60%);
  border-radius: 50%;
}

.rebate-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  position: relative;
}

.rebate-banner p {
  font-size: 1.1rem;
  margin-bottom: 28px;
  opacity: 0.95;
  position: relative;
}

.rebate-banner .btn {
  background: var(--white);
  color: var(--forest);
  position: relative;
}

.rebate-banner .btn:hover {
  background: var(--cream);
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse at top right, rgba(163, 201, 168, 0.4), transparent 60%),
    var(--cream);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.page-header p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- REBATE TABLE ---------- */
.rebate-table {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--sand);
}

.rebate-table table {
  width: 100%;
  border-collapse: collapse;
}

.rebate-table th {
  background: var(--forest);
  color: var(--white);
  padding: 18px 22px;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}

.rebate-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--sand);
  color: var(--bark);
}

.rebate-table tr:last-child td {
  border-bottom: none;
}

.rebate-table tr:hover td {
  background: var(--cream);
}

.rebate-table .amount {
  color: var(--leaf);
  font-weight: 700;
}

/* ---------- STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  counter-reset: step;
}

.step {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--sand);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -22px;
  left: 32px;
  width: 48px;
  height: 48px;
  background: var(--forest);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

.step h3 {
  color: var(--forest);
  margin: 16px 0 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h3 {
  color: var(--forest);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.contact-info ul {
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--bark);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sage);
  color: var(--forest);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info strong {
  color: var(--forest);
  display: block;
  margin-bottom: 2px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--sand);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sand);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
  color: var(--charcoal);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--leaf);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.stat {
  text-align: center;
  padding: 24px;
}

.stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--leaf);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bark);
  color: var(--sand);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  color: var(--sand);
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--sage);
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--sand);
  opacity: 0.8;
  max-width: 320px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  opacity: 0.7;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--sand);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  section {
    padding: 70px 0;
  }

  .hero {
    padding: 70px 0 90px;
  }

  .rebate-banner {
    padding: 36px 24px;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    gap: 20px;
  }

  .partner-logo {
    padding: 16px 28px;
    font-size: 1.1rem;
  }
}