/* ===== 3A HVAC - Main Stylesheet ===== */
:root {
  --blue-dark: #0a2d6e;
  --blue: #1455c0;
  --blue-light: #e8f0fe;
  --orange: #f07c00;
  --orange-dark: #c96500;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --text: #1a1a2e;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--blue-dark);
  color: white;
  padding: 8px 0;
  font-size: 14px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: white; }
.topbar a:hover { color: var(--orange); }
.topbar-phones { display: flex; gap: 20px; }
.topbar-phones span { margin-right: 4px; }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher { display: flex; gap: 6px; }
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s;
}
.lang-btn:hover, .lang-btn.active {
  background: var(--orange);
  border-color: var(--orange);
}

/* ===== NAVBAR ===== */
.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav-logo img { height: 50px; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-800);
  transition: all 0.2s;
}
.nav-links a:hover { background: var(--blue-light); color: var(--blue); }
.nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-cta {
  background: var(--orange) !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px 0;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 0;
  font-size: 14px;
}
.nav-dropdown-menu a:hover { background: var(--blue-light); }

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1a4a9a 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero.webp') center/cover no-repeat;
  opacity: 0.18;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(240,124,0,0.4); }
.btn-secondary {
  background: transparent;
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid rgba(255,255,255,0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: white; }
.hero-form {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}
.hero-form h3 { font-size: 1.3rem; margin-bottom: 20px; color: var(--blue-dark); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--gray-800); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border 0.2s;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-submit {
  width: 100%;
  background: var(--blue-dark);
  color: white;
  padding: 13px;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--blue); }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}
.trust-icon { font-size: 20px; }

/* ===== SECTIONS ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--gray-50); }
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--blue-dark);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
}
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--blue-dark); }
.service-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ===== BRANDS ===== */
.brands-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.brand-logo img { height: 40px; filter: grayscale(30%); transition: filter 0.2s; }
.brand-logo:hover img { filter: grayscale(0%); }

/* ===== REBATE BANNER ===== */
.rebate-banner {
  background: linear-gradient(135deg, var(--blue-dark), #1a4a9a);
  color: white;
  padding: 56px 0;
}
.rebate-banner .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.rebate-amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.rebate-label { font-size: 1.1rem; opacity: 0.85; margin-top: 8px; }

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step-card {
  text-align: center;
  padding: 28px 20px;
  position: relative;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--gray-600); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { font-size: 14px; color: var(--gray-800); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { font-weight: 700; font-size: 14px; color: var(--blue-dark); }
.testimonial-location { font-size: 12px; color: var(--gray-600); }

/* ===== AREAS ===== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.area-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  transition: all 0.2s;
}
.area-card:hover { border-color: var(--blue); background: var(--blue-light); }
.area-icon { font-size: 1.2rem; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--orange);
  color: white;
  padding: 64px 0;
  text-align: center;
}
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-section p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: white;
  color: var(--orange-dark);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s;
}
.btn-white:hover { background: var(--gray-100); }
.btn-outline-white {
  background: transparent;
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid white;
  transition: all 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1a4a9a 100%);
  color: white;
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; opacity: 0.85; max-width: 600px; margin: 0 auto; }

/* ===== FOOTER ===== */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-logo img { height: 44px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-phones { margin-top: 12px; }
.footer-phones a { display: block; font-size: 15px; color: var(--orange); font-weight: 600; margin-bottom: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: white; }

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col img { border-radius: 12px; box-shadow: var(--shadow-lg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-form { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rebate-banner .container { grid-template-columns: 1fr; text-align: center; }
  .two-col { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .topbar .container { flex-direction: column; gap: 8px; }
  .trust-bar .container { gap: 20px; }
  .hero { padding: 48px 0; }
  .section { padding: 48px 0; }
  .section-title { font-size: 1.6rem; }
}
@media (max-width: 600px) {
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    padding: 16px;
    box-shadow: var(--shadow-lg);
  }
}
