/* ===========================================
   Texas HVAC Pro - Custom Styles
   Designed for use with Elementor (free)
   =========================================== */

/* ---------- HVAC Brand Palette ---------- */
:root {
  --hvac-blue: #1a73e8;
  --hvac-blue-dark: #0d47a1;
  --hvac-orange: #ff6f00;
  --hvac-orange-dark: #e65100;
  --hvac-dark: #1a1a2e;
  --hvac-light-bg: #f5f9ff;
  --hvac-gray: #6c757d;
  --hvac-green: #2e7d32;
  --hvac-gold: #ffb300;
  --hvac-white: #ffffff;
  --hvac-border: #e0e0e0;
  --hvac-text: #333333;
  --hvac-text-light: #666666;
  --hvac-radius: 8px;
  --hvac-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --hvac-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --hvac-transition: 0.3s ease;
}

/* ---------- Typography ---------- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--hvac-text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--hvac-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
  color: var(--hvac-blue);
  transition: color var(--hvac-transition);
}

a:hover {
  color: var(--hvac-blue-dark);
}

/* ---------- Header / Click-to-Call ---------- */
.hvac-header-phone {
  font-size: 20px;
  font-weight: 700;
  color: var(--hvac-blue) !important;
  text-decoration: none;
  white-space: nowrap;
}

.hvac-header-phone:hover {
  color: var(--hvac-blue-dark) !important;
}

.hvac-header-phone::before {
  content: "\260E";
  margin-right: 6px;
  font-size: 18px;
}

/* ---------- Buttons ---------- */
.hvac-btn,
.elementor-button.hvac-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  transition: all var(--hvac-transition);
  border: none;
  cursor: pointer;
  line-height: 1.4;
}

.hvac-btn-primary,
.elementor-button.hvac-btn-primary {
  background-color: var(--hvac-orange) !important;
  color: var(--hvac-white) !important;
  box-shadow: 0 4px 12px rgba(255, 111, 0, 0.3);
}

.hvac-btn-primary:hover,
.elementor-button.hvac-btn-primary:hover {
  background-color: var(--hvac-orange-dark) !important;
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
  transform: translateY(-2px);
}

.hvac-btn-outline,
.elementor-button.hvac-btn-outline {
  background-color: transparent !important;
  color: var(--hvac-blue) !important;
  border: 2px solid var(--hvac-blue) !important;
}

.hvac-btn-outline:hover,
.elementor-button.hvac-btn-outline:hover {
  background-color: var(--hvac-blue) !important;
  color: var(--hvac-white) !important;
}

/* ---------- Hero Section ---------- */
.hvac-hero {
  position: relative;
  background-color: var(--hvac-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hvac-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(26, 26, 46, 0.7) 100%);
}

.hvac-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px 0;
}

.hvac-hero h1 {
  font-size: 3rem;
  color: var(--hvac-white);
  margin-bottom: 16px;
}

.hvac-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hvac-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hvac-hero-badge {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--hvac-white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Service Cards ---------- */
.hvac-service-card {
  background: var(--hvac-white);
  border-radius: var(--hvac-radius);
  box-shadow: var(--hvac-shadow);
  padding: 30px 24px;
  text-align: center;
  transition: all var(--hvac-transition);
  border: 1px solid var(--hvac-border);
  height: 100%;
}

.hvac-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hvac-shadow-hover);
  border-color: var(--hvac-blue);
}

.hvac-service-card .service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hvac-light-bg);
  border-radius: 50%;
  font-size: 32px;
}

.hvac-service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.hvac-service-card p {
  font-size: 0.95rem;
  color: var(--hvac-text-light);
  margin-bottom: 16px;
}

.hvac-service-card .service-link {
  color: var(--hvac-blue);
  font-weight: 600;
  text-decoration: none;
}

.hvac-service-card .service-link:hover {
  color: var(--hvac-blue-dark);
  text-decoration: underline;
}

/* ---------- Testimonial Cards ---------- */
.hvac-testimonial {
  background: var(--hvac-white);
  border-radius: var(--hvac-radius);
  box-shadow: var(--hvac-shadow);
  padding: 28px;
  border-left: 4px solid var(--hvac-blue);
}

.hvac-testimonial .stars {
  color: var(--hvac-gold);
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.hvac-testimonial blockquote {
  font-style: italic;
  color: var(--hvac-text);
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.7;
}

.hvac-testimonial .author {
  font-weight: 700;
  color: var(--hvac-dark);
}

.hvac-testimonial .location {
  font-size: 0.85rem;
  color: var(--hvac-gray);
}

/* ---------- Pricing / Financing ---------- */
.hvac-pricing-card {
  background: var(--hvac-white);
  border-radius: 12px;
  box-shadow: var(--hvac-shadow);
  padding: 32px 24px;
  text-align: center;
  border: 2px solid var(--hvac-border);
  position: relative;
  transition: all var(--hvac-transition);
}

.hvac-pricing-card.featured {
  border-color: var(--hvac-blue);
  box-shadow: 0 8px 30px rgba(26, 115, 232, 0.15);
}

.hvac-pricing-card.featured .popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hvac-blue);
  color: var(--hvac-white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hvac-pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--hvac-dark);
  margin: 16px 0;
}

.hvac-pricing-card .price span {
  font-size: 1rem;
  color: var(--hvac-gray);
  font-weight: 400;
}

.hvac-pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.hvac-pricing-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
}

.hvac-pricing-card ul li::before {
  content: "\2713";
  color: var(--hvac-green);
  font-weight: bold;
  margin-right: 10px;
}

/* ---------- Google Review Widget ---------- */
.hvac-google-review {
  background: var(--hvac-white);
  border: 1px solid var(--hvac-border);
  border-radius: var(--hvac-radius);
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hvac-google-review .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--hvac-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--hvac-blue);
}

.hvac-google-review .review-content .name {
  font-weight: 700;
  font-size: 0.95rem;
}

.hvac-google-review .review-content .text {
  font-size: 0.9rem;
  color: var(--hvac-text-light);
  margin-top: 4px;
}

/* ---------- Service Area Map / List ---------- */
.hvac-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.hvac-city-item {
  background: var(--hvac-light-bg);
  border: 1px solid var(--hvac-border);
  border-radius: var(--hvac-radius);
  padding: 14px 18px;
  text-align: center;
  font-weight: 600;
  color: var(--hvac-dark);
  transition: all var(--hvac-transition);
  text-decoration: none;
  display: block;
}

.hvac-city-item:hover {
  background: var(--hvac-blue);
  color: var(--hvac-white);
  text-decoration: none;
}

/* ---------- Emergency Banner ---------- */
.hvac-emergency-bar {
  background: linear-gradient(135deg, var(--hvac-orange), var(--hvac-orange-dark));
  color: var(--hvac-white);
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hvac-emergency-bar a {
  color: var(--hvac-white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 18px;
}

.hvac-emergency-bar a:hover {
  background: rgba(255, 255, 255, 0.3);
  color: var(--hvac-white);
}

/* ---------- Financing Widget ---------- */
.hvac-financing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--hvac-green);
  color: var(--hvac-white);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Certification / Trust Badges ---------- */
.hvac-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.hvac-trust-badge {
  background: var(--hvac-white);
  border: 1px solid var(--hvac-border);
  border-radius: var(--hvac-radius);
  padding: 12px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--hvac-gray);
  min-width: 100px;
}

.hvac-trust-badge img {
  max-height: 40px;
  margin-bottom: 6px;
}

/* ---------- Footer ---------- */
.hvac-footer {
  background: var(--hvac-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 40px 0 20px;
}

.hvac-footer h4 {
  color: var(--hvac-white);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.hvac-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.hvac-footer a:hover {
  color: var(--hvac-white);
}

.hvac-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  margin-top: 32px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Blog ---------- */
.hvac-post-card {
  background: var(--hvac-white);
  border-radius: var(--hvac-radius);
  box-shadow: var(--hvac-shadow);
  overflow: hidden;
  transition: box-shadow var(--hvac-transition);
}

.hvac-post-card:hover {
  box-shadow: var(--hvac-shadow-hover);
}

.hvac-post-card .post-body {
  padding: 20px;
}

.hvac-post-card .post-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.hvac-post-card .post-title a {
  color: var(--hvac-dark);
  text-decoration: none;
}

.hvac-post-card .post-title a:hover {
  color: var(--hvac-blue);
}

.hvac-post-card .post-meta {
  font-size: 0.85rem;
  color: var(--hvac-gray);
  margin-bottom: 12px;
}

/* ---------- Contact Form ---------- */
.hvac-form input,
.hvac-form textarea,
.hvac-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--hvac-border);
  border-radius: 6px;
  font-size: 16px;
  transition: border-color var(--hvac-transition);
  background: var(--hvac-white);
}

.hvac-form input:focus,
.hvac-form textarea:focus {
  border-color: var(--hvac-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.hvac-form label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
  display: block;
  color: var(--hvac-dark);
}

/* ---------- FAQ Schema Style ---------- */
.hvac-faq-item {
  border: 1px solid var(--hvac-border);
  border-radius: var(--hvac-radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.hvac-faq-item h3 {
  background: var(--hvac-light-bg);
  padding: 16px 20px;
  margin: 0;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hvac-faq-item h3::after {
  content: "\25BC";
  font-size: 12px;
  transition: transform var(--hvac-transition);
}

.hvac-faq-item.active h3::after {
  transform: rotate(180deg);
}

.hvac-faq-item .faq-answer {
  padding: 16px 20px;
  font-size: 0.95rem;
  color: var(--hvac-text-light);
  display: none;
}

.hvac-faq-item.active .faq-answer {
  display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }
  .hvac-hero h1 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  body { font-size: 15px; }

  .hvac-hero h1 { font-size: 1.8rem; }
  .hvac-hero p { font-size: 1rem; }

  .hvac-header-phone { font-size: 16px; }

  .hvac-city-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .hvac-emergency-bar {
    font-size: 14px;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hvac-city-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-hvac-blue { color: var(--hvac-blue); }
.text-hvac-orange { color: var(--hvac-orange); }
.bg-hvac-light { background-color: var(--hvac-light-bg); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
