/* RebateAZ shared styles (moved from index.html) */
:root {
  --primary: #BF0A30; /* Arizona red */
  --secondary: #002868; /* Arizona blue */
  --accent: #F2A900; /* Gold accent */
  --light: #F8F9FA;
  --dark: #212529;
  --text: #333333;
  --gray: #6c757d;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) { body { font-size: 15px; } }

h1, h2, h3, h4 { line-height: 1.2; margin-bottom: 1rem; font-weight: 700; }
p { margin-bottom: 1.25rem; color: var(--gray); }
a { text-decoration: none; color: inherit; }

/* Header */
header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo-container { display: flex; align-items: center; gap: 1rem; }
.logo-img { height: 38px; width: auto; transition: transform 0.3s ease; }
.logo-img:hover { transform: scale(1.05); }

.logo-text { font-weight: 700; font-size: 1.4rem; letter-spacing: -0.5px; }
.logo-text span { color: var(--accent); }

.cta-button {
  background: var(--accent);
  color: var(--dark);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(242, 169, 0, 0.3);
  border: none;
  cursor: pointer;
}
.cta-button:hover {
  background: #e69500;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 169, 0, 0.4);
}

/* Sections from home page (kept for consistency) */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
              url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-content { max-width: 600px; color: white; animation: fadeInUp 0.8s ease; }
.hero h1 { font-size: 2.5rem; margin-bottom: 1.5rem; color: white; }
.hero p { font-size: 1.1rem; margin-bottom: 2rem; color: rgba(255,255,255,0.9); max-width: 90%; }

.calculator { padding: 4rem 0; background: white; }
.calculator-container {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin: 0 auto;
  max-width: 600px;
  border: 1px solid rgba(0,0,0,0.05);
}
.calculator h2 { text-align: center; color: var(--primary); margin-bottom: 1.5rem; font-size: 1.8rem; }
.calculator h3 { color: var(--primary); text-align: center; margin-bottom: 2rem; font-weight: 500; font-size: 1.1rem; }
.calculator-group { margin-bottom: 2rem; }
.calculator-label { display: flex; justify-content: space-between; margin-bottom: 0.75rem; align-items: center; }
.calculator-label label { font-weight: 500; color: var(--dark); }
.calculator-output { font-weight: 600; color: var(--primary); font-size: 1rem; }

input[type="range"] {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  background: #e9ecef;
  border-radius: 10px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.calculator-results {
  background: var(--light);
  padding: 2rem;
  border-radius: 10px;
  margin-top: 2rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
}
.rebate-amount { font-size: 2.2rem; color: var(--primary); font-weight: 700; margin: 0.5rem 0; letter-spacing: -1px; }

.benefits { padding: 5rem 0; background: var(--light); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2rem; color: var(--primary); }
.section-title p { max-width: 600px; margin: 0 auto; }

.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.benefit-card h3 { color: var(--primary); margin: 1rem 0; }
.benefit-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 1rem; }

.how-it-works { padding: 5rem 0; background: white; }
.steps { counter-reset: step; margin-top: 3rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.step { position: relative; padding-left: 6rem; margin-bottom: 3rem; }
.step:last-child { margin-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary);
  color: white;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(191, 10, 48, 0.3);
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }

.testimonials { background: var(--secondary); color: white; padding: 5rem 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.testimonial { background: rgba(255,255,255,0.1); padding: 1.5rem; border-radius: 10px; transition: transform 0.3s ease; }
.testimonial:hover { transform: translateY(-5px); }
.testimonial p { color: rgba(255,255,255,0.9); font-style: italic; margin-bottom: 1rem; font-size: 0.95rem; }
.testimonial-author { font-weight: bold; color: var(--accent); }

.faq { padding: 5rem 0; background: white; }
.faq-container { max-width: 800px; margin: 3rem auto 0; }
.faq-item { background: white; border: 1px solid rgba(0,0,0,0.1); border-radius: 8px; margin-bottom: 1rem; overflow: hidden; transition: box-shadow 0.3s ease; }
.faq-item:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.faq-question { padding: 1.5rem; background: var(--light); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.3s ease; }
.faq-question:hover { background: rgba(248, 249, 250, 0.8); }
.faq-question h3 { margin: 0; color: var(--primary); font-size: 1.1rem; font-weight: 600; }
.faq-toggle { font-size: 1.5rem; color: var(--primary); font-weight: bold; transition: transform 0.3s ease; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: all 0.3s ease; background: white; }
.faq-item.active .faq-answer { padding: 1.5rem; max-height: 500px; }
.faq-answer p { margin: 0; color: var(--text); line-height: 1.6; }

.contact { padding: 5rem 0; background: var(--light); }
.ghl-form-container {
  max-width: 600px;
  margin: 2rem auto 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 3rem 0 2rem;
}
.footer-logo { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.footer-logo-img { height: 32px; width: auto; opacity: 0.9; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.7); transition: color 0.3s ease; }
.footer-links a:hover { color: var(--accent); }

.disclaimer {
  font-size: 0.75rem;
  line-height: 1.5;
  background: rgba(0,0,0,0.3);
  padding: 1.5rem;
  margin-top: 2rem;
  border-top: 2px solid var(--accent);
  color: rgba(255,255,255,0.8);
  border-radius: 8px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Mobile */
@media (max-width: 768px) {
  .hero { height: auto; padding: 6rem 0; min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .logo-container { flex-direction: row; align-items: center; gap: 0.8rem; }
  .logo-img { height: 32px; }
  .logo-text { font-size: 1.2rem; }
  .cta-button { padding: 0.4rem 0.7rem; font-size: 0.75rem; }
  .calculator-container, .benefit-card, .testimonial { padding: 1.5rem; }
  .step { padding-left: 4.5rem; }
  .step::before { width: 3rem; height: 3rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .section-title h2 { font-size: 1.6rem; }
  .benefits-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .step { padding-left: 3.5rem; margin-bottom: 2rem; }
  .step::before { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
}

/* -------- BLOG ADD-ONS (new) -------- */
.blog-hero {
  padding: 4.5rem 0 2rem;
  background: var(--light);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.blog-hero h1 { color: var(--primary); margin-bottom: 0.6rem; }
.blog-hero p { max-width: 800px; margin: 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  padding: 2.5rem 0 5rem;
}
.blog-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.10); }
.blog-card .meta { font-size: 0.85rem; color: var(--gray); margin-bottom: 0.75rem; }
.blog-card h2 { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--dark); }
.blog-card p { margin-bottom: 1rem; }
.blog-card a { font-weight: 700; color: var(--secondary); }

.blog-post {
  padding: 3.5rem 0 5rem;
  background: white;
}
.blog-post .post-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.blog-post .breadcrumbs {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--secondary);
  font-weight: 600;
}
.blog-post h1 { color: var(--dark); margin-bottom: 0.75rem; }
.blog-post .post-meta { color: var(--gray); margin-bottom: 2rem; }
.blog-post h2 { color: var(--primary); margin-top: 2.25rem; }
.blog-callout {
  background: var(--light);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.25rem;
  border-radius: 10px;
  margin: 1.75rem 0;
}
.blog-cta {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}
.blog-cta strong { color: var(--dark); }
.blog-cta .cta-button { display: inline-block; margin-top: 0.75rem; }

