@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --sand:       #c8a96e;
  --sand-light: #e8d5a8;
  --sand-pale:  #faf6ee;
  --stone:      #7a6e5f;
  --stone-dark: #3d342a;
  --terra:      #a0522d;
  --terra-light:#c8724a;
  --green-sage: #5a7a4a;
  --green-dark: #2d4a20;
  --green-mid:  #3d6a2a;
  --green-light:#6a9a50;
  --green-pale: #eaf2e4;
  --white:      #ffffff;
  --gray-light: #f5f3ef;
  --gray-mid:   #e0d8cc;
  --gray-text:  #7a6e5f;
  --dark:       #1e1a14;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --shadow-sm: 0 2px 8px rgba(30,26,20,0.08);
  --shadow-md: 0 8px 32px rgba(30,26,20,0.12);
  --shadow-lg: 0 20px 60px rgba(30,26,20,0.18);
  --radius:    12px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.6; font-size: 16px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(30,26,20,0.96);
  backdrop-filter: blur(12px);
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
  transition: all 0.3s;
}
.navbar.scrolled { height: 58px; background: rgba(20,16,10,0.98); }
.nav-logo { font-family: var(--font-display); font-size: 22px; color: var(--white); font-weight: 700; letter-spacing: 0.5px; }
.nav-logo span { color: var(--sand); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.82); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 8px; transition: all 0.2s; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-phone { color: var(--sand) !important; font-weight: 600 !important; }
.nav-cta { background: var(--sand) !important; color: var(--dark) !important; font-weight: 700 !important; border-radius: 8px !important; padding: 10px 22px !important; transition: all 0.2s !important; }
.nav-cta:hover { background: var(--sand-light) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--stone-dark) 0%, #2a3d1e 45%, var(--green-dark) 100%);
  display: flex; align-items: center;
  padding: 100px 48px 80px;
  position: relative; overflow: hidden;
}

.hero-pattern {
  position: absolute; inset: 0; opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 50%, var(--sand) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--sand) 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, var(--sand) 1px, transparent 1px);
  background-size: 60px 60px, 40px 40px, 80px 80px;
}

.hero::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px; background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 64px; align-items: center; width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,169,110,0.18);
  border: 1px solid rgba(200,169,110,0.35);
  color: var(--sand-light);
  padding: 8px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 500;
  margin-bottom: 24px; letter-spacing: 0.5px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 64px);
  color: var(--white); line-height: 1.08;
  margin-bottom: 22px; font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--sand); }

.hero p { color: rgba(255,255,255,0.78); font-size: 18px; line-height: 1.75; font-weight: 300; margin-bottom: 36px; max-width: 520px; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: var(--sand); color: var(--dark);
  padding: 15px 30px; border-radius: 10px;
  font-weight: 700; font-size: 15px; font-family: var(--font-body);
  border: none; cursor: pointer; transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--sand-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,169,110,0.4); }

.btn-outline {
  background: transparent; color: var(--white);
  padding: 15px 30px; border-radius: 10px;
  font-weight: 600; font-size: 15px; font-family: var(--font-body);
  border: 1.5px solid rgba(255,255,255,0.35); cursor: pointer; transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.hero-savings {
  display: flex; gap: 28px; margin-top: 44px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.12);
}
.saving { text-align: center; }
.saving strong { display: block; font-family: var(--font-display); font-size: 34px; color: var(--sand-light); font-weight: 700; line-height: 1; }
.saving span { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 300; margin-top: 4px; display: block; }

/* Hero card */
.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg); padding: 36px;
}
.hero-card h3 { color: var(--sand-light); font-family: var(--font-display); font-size: 22px; margin-bottom: 6px; font-weight: 700; }
.hero-card p { color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 24px; }
.benefit-list { display: flex; flex-direction: column; gap: 12px; }
.benefit-item { display: flex; align-items: flex-start; gap: 12px; }
.benefit-item .b-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.benefit-item div strong { color: var(--white); font-size: 14px; display: block; margin-bottom: 2px; font-weight: 600; }
.benefit-item div span { color: rgba(255,255,255,0.55); font-size: 13px; }

/* ===== SECTION ===== */
.section { padding: 88px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label { display: inline-block; color: var(--green-sage); font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); color: var(--dark); line-height: 1.15; margin-bottom: 16px; font-weight: 700; }
.section-subtitle { color: var(--gray-text); font-size: 17px; max-width: 580px; line-height: 1.75; font-weight: 300; }

/* ===== WHAT IS XERISCAPE ===== */
.what-section { background: var(--gray-light); }
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.what-visual {
  background: linear-gradient(145deg, var(--stone-dark), var(--green-dark));
  border-radius: var(--radius-lg); padding: 48px 40px;
  position: relative; overflow: hidden;
}
.what-visual::before { content: '🌵'; position: absolute; font-size: 200px; opacity: 0.06; right: -30px; bottom: -30px; }
.what-visual h3 { font-family: var(--font-display); color: var(--white); font-size: 26px; margin-bottom: 24px; font-weight: 700; }

.xeri-steps { display: flex; flex-direction: column; gap: 16px; }
.xeri-step { display: flex; gap: 14px; align-items: flex-start; }
.step-num { width: 32px; height: 32px; min-width: 32px; background: var(--sand); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--dark); }
.step-num ~ div strong { color: var(--white); font-size: 14px; display: block; margin-bottom: 2px; font-weight: 600; }
.step-num ~ div span { color: rgba(255,255,255,0.6); font-size: 13px; }

.what-features { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.what-feature { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-mid); transition: all 0.25s; }
.what-feature:hover { border-color: var(--green-light); box-shadow: var(--shadow-sm); }
.wf-icon { width: 44px; height: 44px; min-width: 44px; background: var(--green-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: all 0.25s; }
.what-feature:hover .wf-icon { background: var(--green-mid); }
.what-feature h4 { font-weight: 600; font-size: 15px; color: var(--dark); margin-bottom: 4px; }
.what-feature p { font-size: 13px; color: var(--gray-text); line-height: 1.5; }

/* ===== SERVICES GRID ===== */
.services-section { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.service-card {
  background: var(--gray-light); border-radius: var(--radius-lg);
  padding: 32px 28px; border: 1px solid var(--gray-mid);
  transition: all 0.3s; cursor: pointer;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: var(--white); border-color: var(--green-light); }
.svc-icon { font-size: 36px; margin-bottom: 18px; }
.service-card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.service-card p { color: var(--gray-text); font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.svc-link { color: var(--green-sage); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 5px; transition: gap 0.2s; }
.service-card:hover .svc-link { gap: 9px; }

/* ===== REBATES STRIP ===== */
.rebates-section {
  background: linear-gradient(135deg, var(--stone-dark) 0%, var(--green-dark) 100%);
  padding: 72px 48px;
}
.rebates-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rebates-text .section-label { color: var(--sand-light); }
.rebates-text .section-title { color: var(--white); }
.rebates-text p { color: rgba(255,255,255,0.72); font-size: 16px; line-height: 1.8; font-weight: 300; margin-bottom: 20px; }
.rebate-cards { display: flex; flex-direction: column; gap: 16px; }
.rebate-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 20px 24px; display: flex; gap: 16px; align-items: center; transition: all 0.2s; }
.rebate-card:hover { background: rgba(255,255,255,0.14); }
.rebate-icon { font-size: 28px; }
.rebate-card strong { color: var(--white); display: block; font-size: 15px; margin-bottom: 2px; font-weight: 600; }
.rebate-card span { color: rgba(255,255,255,0.6); font-size: 13px; }

/* ===== PROCESS ===== */
.process-section { background: var(--sand-pale); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 52px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--sand), var(--green-light)); z-index: 0; }
.process-step { text-align: center; position: relative; z-index: 1; }
.ps-circle { width: 72px; height: 72px; border-radius: 50%; background: var(--white); border: 2px solid var(--sand); display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 18px; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.process-step:hover .ps-circle { background: var(--green-dark); border-color: var(--green-dark); transform: scale(1.08); }
.process-step h4 { font-weight: 700; font-size: 15px; color: var(--dark); margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--gray-text); line-height: 1.55; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--dark); padding: 88px 48px; }
.testimonials-section .section-label { color: var(--sand-light); }
.testimonials-section .section-title { color: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.t-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 32px; transition: all 0.3s; }
.t-card:hover { background: rgba(255,255,255,0.1); }
.t-stars { color: var(--sand); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.t-card blockquote { color: rgba(255,255,255,0.82); font-size: 14px; line-height: 1.75; font-style: italic; margin-bottom: 20px; font-weight: 300; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green-mid); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: white; }
.t-author strong { color: white; font-size: 14px; display: block; }
.t-author span { color: rgba(255,255,255,0.45); font-size: 12px; }

/* ===== CTA ===== */
.cta-section { background: linear-gradient(135deg, var(--sand) 0%, var(--sand-light) 100%); padding: 88px 48px; text-align: center; }
.cta-section h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); color: var(--dark); margin-bottom: 16px; font-weight: 700; }
.cta-section p { color: rgba(30,26,20,0.68); font-size: 18px; margin-bottom: 36px; font-weight: 300; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-dark { background: var(--dark); color: var(--white); padding: 16px 36px; border-radius: 10px; font-weight: 700; font-size: 15px; font-family: var(--font-body); border: none; cursor: pointer; transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px; }
.btn-dark:hover { background: var(--stone-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,26,20,0.3); }

/* ===== FOOTER ===== */
footer { background: var(--stone-dark); color: rgba(255,255,255,0.7); padding: 64px 48px 32px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo { font-family: var(--font-display); font-size: 22px; color: var(--white); font-weight: 700; margin-bottom: 14px; }
.footer-brand .logo span { color: var(--sand); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; transition: all 0.2s; cursor: pointer; }
.social-btn:hover { background: var(--green-mid); }
.footer-col h4 { color: var(--white); font-size: 13px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--sand-light); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-contact-item a:hover { color: var(--sand-light); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 8px; }

/* ===== CONTACT PAGE ===== */
.page-hero { background: linear-gradient(150deg, var(--stone-dark), var(--green-dark)); padding: 130px 48px 80px; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 60px; background: var(--white); clip-path: ellipse(55% 100% at 50% 100%); }
.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; color: rgba(255,255,255,0.5); font-size: 13px; margin-bottom: 18px; }
.breadcrumb a { color: var(--sand-light); }
.page-hero h1 { font-family: var(--font-display); color: var(--white); font-size: clamp(30px, 4.5vw, 50px); font-weight: 700; margin-bottom: 14px; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 18px; max-width: 580px; margin: 0 auto 30px; font-weight: 300; position: relative; z-index: 1; }

.contact-wrap { max-width: 1100px; margin: 0 auto; padding: 80px 48px; display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: start; }
.contact-form-wrap h2 { font-family: var(--font-display); font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.contact-form-wrap > p { color: var(--gray-text); margin-bottom: 30px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--gray-mid); border-radius: 10px; font-family: var(--font-body); font-size: 15px; color: var(--dark); background: var(--white); transition: all 0.2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green-sage); box-shadow: 0 0 0 3px rgba(90,122,74,0.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group textarea { height: 130px; resize: vertical; }

.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.c-card { background: var(--gray-light); border-radius: var(--radius-lg); padding: 26px; border: 1px solid var(--gray-mid); }
.c-card.accent { background: linear-gradient(135deg, var(--stone-dark), var(--green-dark)); border: none; }
.c-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 14px; color: var(--dark); }
.c-card.accent h3 { color: var(--white); }
.c-card.accent p { color: rgba(255,255,255,0.72); font-size: 14px; margin-bottom: 16px; }
.c-info-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.c-info-icon { font-size: 18px; margin-top: 1px; }
.c-info-item strong { display: block; font-size: 14px; color: var(--dark); margin-bottom: 2px; }
.c-info-item span, .c-info-item a { font-size: 13px; color: var(--gray-text); }
.c-info-item a:hover { color: var(--green-sage); }
.phone-big { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.12); padding: 14px 18px; border-radius: 10px; color: white; font-weight: 700; font-size: 20px; transition: all 0.2s; margin-bottom: 10px; }
.phone-big:hover { background: rgba(255,255,255,0.2); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .what-grid { grid-template-columns: 1fr; }
  .rebates-inner { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; padding: 60px 32px; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 100px 20px 60px; }
  .section { padding: 60px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 48px 20px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .rebates-section, .cta-section { padding: 60px 20px; }
  .contact-wrap { padding: 40px 20px; }
  .form-row { grid-template-columns: 1fr; }
}
