/* KimCore Builders - Down Home Feel */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --navy: #1a2744;
  --blue: #0e6eb8;
  --light-blue: #4da8da;
  --orange: #f7941d;
  --warm-white: #faf8f5;
  --warm-gray: #f0ece6;
  --dark-text: #2c2c2c;
  --green: #27ae60;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark-text);
  background: var(--warm-white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', serif;
  color: var(--navy);
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange); }

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

/* ===== HEADER ===== */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 70px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: white !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.2s;
}

.nav-cta:hover { background: #e5850a; color: white !important; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--navy);
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, rgba(26,39,68,0.82) 0%, rgba(42,74,127,0.78) 100%),
              url('images/hero-bg.jpg') center/cover no-repeat;
  color: white;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(26,39,68,0.3) 0%, rgba(26,39,68,0.6) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: white;
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero h1 span { color: var(--orange); }

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.5;
}

.rebate-badge {
  background: var(--orange);
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 900;
  font-family: 'Merriweather', serif;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(247, 148, 29, 0.4);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--orange);
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background: #e5850a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247,148,29,0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  text-align: center;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: white;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--navy);
}

.trust-item .icon {
  font-size: 1.6rem;
}

/* ===== BENEFITS ===== */
.benefits {
  padding: 80px 0;
  background: var(--warm-white);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background: white;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  text-align: center;
  transition: transform 0.2s;
}

.benefit-card:hover { transform: translateY(-4px); }

.benefit-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.benefit-card p {
  color: #666;
  font-size: 0.95rem;
}

/* ===== SERVICES ===== */
.services {
  padding: 80px 0;
  background: white;
}

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

.service-card {
  background: var(--warm-gray);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.2s;
}

.service-card:hover { transform: translateY(-3px); }

.service-card .icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.service-card p {
  color: #555;
  font-size: 0.93rem;
}

/* ===== REBATE CTA ===== */
.rebate-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(14,110,184,0.9) 0%, rgba(26,39,68,0.92) 100%),
              url('images/cozy-home.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
}

.rebate-cta h2 {
  color: white;
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.rebate-cta .amount {
  font-size: 4rem;
  font-weight: 900;
  color: var(--orange);
  font-family: 'Merriweather', serif;
  margin-bottom: 10px;
}

.rebate-cta p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.rebate-cta .btn-primary {
  font-size: 1.2rem;
  padding: 16px 40px;
}

/* ===== ABOUT ===== */
.about {
  padding: 80px 0;
  background: var(--warm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  color: #555;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-highlights {
  list-style: none;
  margin-top: 20px;
}

.about-highlights li {
  padding: 8px 0;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  min-height: 400px;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 16px;
}

/* ===== SERVICES WITH IMAGES ===== */
.service-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 80px 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--warm-gray);
  padding: 30px;
  border-radius: 12px;
  position: relative;
}

.testimonial-card .stars {
  color: var(--orange);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.testimonial-card p {
  font-style: italic;
  color: #555;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--navy);
  font-style: normal;
}

/* ===== CONTACT ===== */
.contact {
  padding: 80px 0;
  background: var(--warm-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: #555;
  margin-bottom: 24px;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
}

.contact-details .icon { font-size: 1.3rem; }

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14,110,184,0.1);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* A2P Consent Checkboxes */
.consent-section {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.consent-group input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.consent-group label {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.5;
  font-weight: 400;
}

.consent-group label a {
  color: var(--blue);
  text-decoration: underline;
}

.consent-links {
  font-size: 0.82rem;
  color: #555;
  margin-top: 4px;
}

.consent-links a {
  color: var(--blue);
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 10px;
}

.form-submit:hover {
  background: #e5850a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247,148,29,0.4);
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-brand img { height: 60px; }

.footer-links h4,
.footer-contact h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--orange); }

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--orange); }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 60px 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero-image { display: none; }

  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  nav { display: none; }
  nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  .mobile-menu-btn { display: block; }

  .form-row { grid-template-columns: 1fr; }

  .rebate-cta .amount { font-size: 3rem; }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 60px 0;
  min-height: 60vh;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--orange);
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
  color: #555;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.legal-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
