/* ==================================
   CSS VARIABLES & THEME
   ================================== */
:root {
  /* Colors - Cool (AC) */
  --primary-color: #0F4C75;
  --primary-light: #3282B8;
  --primary-ultralight: #BBE1FA;
  
  /* Colors - Warm (Heating) */
  --accent-warm: #F26419;
  --accent-hot: #D62828;
  
  /* Neutral / text */
  --text-main: #1B263B;
  --text-muted: #6C757D;
  --bg-light: #F8F9FA;
  --white: #FFFFFF;
  --bg-dark: #121A2F;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions & Shadows */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(15, 76, 117, 0.08);
  --shadow-lg: 0 15px 30px rgba(15, 76, 117, 0.15);
  --shadow-warm: 0 10px 20px rgba(242, 100, 25, 0.15);
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* ==================================
   RESET & GLOBAL
   ================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* For fixed header */
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-light);
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.section {
  padding: 100px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.w-100 { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-white { color: var(--white); }
.text-white-50 { color: rgba(255,255,255,0.8); }
.text-primary { color: var(--primary-light); }

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

.text-gradient {
  background: linear-gradient(90deg, var(--primary-light), var(--accent-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

.btn-primary {
  background-color: var(--primary-light);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary-color);
}
.btn-light:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-block {
  width: 100%;
}

/* Badges / Labels */
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--primary-ultralight);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* ==================================
   HEADER & NAVIGATION
   ================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
}

.header.scrolled {
  padding: 10px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
}

.logo-icon {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-ultralight));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  gap: 40px;
}

.nav-list {
  display: flex;
  gap: 25px;
}

.nav-link {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-light);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  font-weight: 700;
  color: var(--primary-color);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* ==================================
   1. HERO SECTION
   ================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background-color: var(--bg-light);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Subtle background animations for air simulation */
.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.4;
  border-radius: 50%;
  animation: float 10s infinite ease-in-out alternate;
}

.blob-cold {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-ultralight) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.blob-hot {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(242, 100, 25, 0.2) 0%, transparent 70%);
  bottom: -200px;
  left: -100px;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 30px) scale(1.1); }
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 650px;
}

.hero-content .badge {
  display: inline-flex;
  align-items: center;
  background: rgba(214, 40, 40, 0.1);
  color: var(--accent-hot);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(214,40,40,0.1);
}

.hero-title {
  font-size: 4.5rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.trust-indicators {
  display: flex;
  gap: 25px;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 25px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}
.trust-item i { color: var(--accent-warm); }

/* ==================================
   2. ABOUT SECTION
   ================================== */
.about-image-wrapper {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255,255,255,0.2);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}

.about-image-placeholder::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><rect width="100" height="100" fill="none" stroke="%23fff" stroke-width="2"/></svg>') repeat;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: var(--white);
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 5px solid var(--accent-warm);
}

.exp-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.exp-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

.check-list {
  margin-top: 30px;
}

.check-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
}

.check-list i {
  color: var(--primary-light);
  font-size: 1.2rem;
  margin-top: 3px;
}

/* ==================================
   3. SERVICES SECTION
   ================================== */
.section-header {
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 25px;
  transition: var(--transition);
}

.icon-cold { background-color: var(--primary-ultralight); color: var(--primary-color); }
.icon-hot { background-color: rgba(242, 100, 25, 0.15); color: var(--accent-warm); }
.icon-neutral { background-color: #E9ECEF; color: var(--text-main); }
.icon-clean { background-color: #D1E7DD; color: #0F5132; }
.icon-emergency { background-color: rgba(214, 40, 40, 0.1); color: var(--accent-hot); }

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-title { font-size: 1.4rem; margin-bottom: 15px; }

.service-desc {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-family: var(--font-heading);
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* ==================================
   4. WHY CHOOSE US
   ================================== */
.feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.feature-text h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.feature-text p {
  color: var(--text-muted);
}

.smart-thermostat {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 30% 30%, #4A5568, #1A202C);
  border-radius: 50%;
  border: 15px solid var(--white);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5), var(--shadow-lg);
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thermostat-screen {
  text-align: center;
  color: white;
}

.thermostat-temp {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 15px rgba(255,255,255,0.4);
}

.thermostat-status {
  font-size: 1rem;
  opacity: 0.8;
  margin-top: 10px;
  letter-spacing: 1px;
}

.thermostat-glow {
  position: absolute;
  width: 110%;
  height: 110%;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--primary-light), var(--primary-color), var(--white), var(--accent-warm), var(--accent-hot));
  z-index: -1;
  filter: blur(20px);
  opacity: 0.3;
  animation: spin 10s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* ==================================
   5 & 7. COMPOSITE (AREAS & PLANS)
   ================================== */
.composite-section { padding: 80px 0; }

.maintenance-box {
  background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
}

.flex-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.icon-large { font-size: 2.5rem; }

.perk-list { margin: 25px 0; }
.perk-list li {
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
}
.perk-list i { color: var(--primary-light); margin-top: 4px; }

.price-tag {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}
.price-tag span { font-size: 4rem; color: var(--primary-light); }

.areas-box { padding: 20px; }
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px;
  background-color: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  margin: 25px 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  border: 1px dashed rgba(255,255,255,0.2);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag {
  padding: 6px 15px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.9rem;
}

/* ==================================
   6. TESTIMONIALS
   ================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
}

.stars { color: #FFC107; margin-bottom: 20px; font-size: 1.1rem; }

.review-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--text-main);
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}

.reviewer-info h4 { margin-bottom: 0; font-size: 1.1rem; }
.reviewer-info span { font-size: 0.85rem; color: var(--text-muted); }

/* ==================================
   8. CTA BANNER
   ================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  padding: 100px 0;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

/* ==================================
   9. CONTACT SECTION
   ================================== */
.info-list { margin-top: 30px; }
.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}
.info-icon {
  width: 45px;
  height: 45px;
  background-color: var(--primary-ultralight);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-item h4 { margin-bottom: 5px; font-size: 1.1rem; }
.info-item p { color: var(--text-muted); }
.info-item a { color: var(--text-muted); }
.info-item a:hover { color: var(--primary-color); }

.contact-map {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ==================================
   10. FOOTER
   ================================== */
.footer {
  background-color: var(--bg-dark);
  color: var(--white);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand p { color: rgba(255,255,255,0.7); }

.social-links { display: flex; gap: 15px; }
.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}
.social-links a:hover { background-color: var(--primary-light); transform: translateY(-3px); }

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-light);
}

.footer-links ul li { margin-bottom: 15px; }
.footer-links ul a { color: rgba(255,255,255,0.7); }
.footer-links ul a:hover { color: var(--primary-ultralight); padding-left: 5px; }

.footer-cert p { color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-badge {
  padding: 5px 10px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom {
  background-color: #0d1323;
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin: 0; }
.legal-links { display: flex; gap: 20px; }
.legal-links a { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.legal-links a:hover { color: var(--white); }

/* ==================================
   ANIMATIONS (JS Revealed)
   ================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; transition-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; transition-delay: 0.8s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ==================================
   RESPONSIVE (MEDIA QUERIES)
   ================================== */
@media (max-width: 992px) {
  .hero-title { font-size: 3.5rem; }
  .grid-2-col { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .about-image-wrapper { justify-self: center; width: 80%; }
  .experience-badge { bottom: -20px; right: -20px; padding: 15px; }
  .smart-thermostat { width: 250px; height: 250px; }
  .thermostat-temp { font-size: 4rem; }
  
  .composite-section .grid-2-col { gap: 30px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .hero { padding-top: 100px; }
  .hero-title { font-size: 2.8rem; }
  
  .mobile-toggle { display: block; }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 20px;
    transition: 0.3s ease-in-out;
  }
  
  .nav-menu.active { left: 0; }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 0;
  }
  
  .nav-item { margin-bottom: 20px; }
  .nav-link { font-size: 1.2rem; }
  
  .nav-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
  }
  
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  
  .trust-indicators { flex-direction: column; gap: 10px; align-items: flex-start; }
  
  
  .cta-actions { flex-direction: column; gap: 15px; }
  .cta-actions .ml-3 { margin-left: 0; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom .container { flex-direction: column; gap: 15px; text-align: center; }
}
