body { font-family: 'Inter', sans-serif; }
h1, h2, h3, .headline { font-family: 'Manrope', sans-serif; }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.glass-card,
.glass-panel {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.climate-bar {
  height: 4px;
  background: linear-gradient(90deg, #00488d 0%, #fc6018 100%);
}
.climate-bar-horizontal {
  height: 4px;
  background: linear-gradient(to right, #00488d, #fc6018);
}
.vertical-climate-bar,
.climate-bar-vertical {
  width: 4px;
  background: linear-gradient(180deg, #00488d 0%, #fc6018 100%);
}
.climate-bar-gradient {
  background: linear-gradient(to bottom, #00488d, #fc6018);
}

/* "Ghost Border" utility — per design doc, use sparingly for a11y fallback only */
.ghost-border { border: 1px solid rgba(194, 198, 212, 0.15); }

/* Primary CTA gradient per design doc */
.btn-primary-gradient {
  background: linear-gradient(120deg, #00488d 0%, #005fb8 100%);
  transition: background-position 0.4s ease, transform 0.15s ease;
  background-size: 200% 200%;
  background-position: 0% 50%;
}
.btn-primary-gradient:hover { background-position: 100% 50%; }
.btn-primary-gradient:active { transform: scale(0.98); }

/* Mobile drawer — slides down under sticky nav */
#mobile-menu {
  max-height: calc(100vh - 4.5rem);
  overflow-y: auto;
}

/* Hide stars' default underline jump on hover buttons */
.star-row svg { display: inline-block; }

/* Trust row chip */
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 700;
  color: #00488d;
}

/* Sticky mobile action bar spacer — so footer isn't hidden behind it */
@media (max-width: 767px) {
  body { padding-bottom: 4rem; }
}

/* AC unit hero portrait — overflows bottom of hero into the services section below */
.ac-hero-image {
  position: absolute;
  right: 3%;
  bottom: -110px;
  width: min(520px, 44vw);
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 40px 40px rgba(0, 72, 141, 0.16));
  animation: ac-float 7s ease-in-out infinite;
}
.ac-hero-image img { display: block; width: 100%; height: auto; }

/* Blue fan glow pulse — overlay a radial highlight on the fan to reinforce "it's cooling" */
.ac-hero-image::before {
  content: "";
  position: absolute;
  left: 12%;
  top: 22%;
  width: 34%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 180, 255, 0.35) 0%, rgba(100, 180, 255, 0) 65%);
  filter: blur(10px);
  animation: ac-glow 3.5s ease-in-out infinite;
}
@keyframes ac-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes ac-glow {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

@media (max-width: 767px) {
  .ac-hero-image {
    right: -14%;
    bottom: -50px;
    width: 260px;
    opacity: 0.92;
  }
}

/* Animated drifting clouds in hero — blends with real clouds in hero-background.webp */
.cloud-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.cloud {
  position: absolute;
  will-change: transform;
  transform: translate3d(-30%, 0, 0);
}
.cloud svg {
  display: block;
  width: 100%;
  height: auto;
}
.cloud-1 {
  top: 8%;
  left: 0;
  width: clamp(260px, 30vw, 440px);
  opacity: 0.72;
  filter: blur(6px);
  animation: cloud-drift 110s linear infinite;
}
.cloud-2 {
  top: 22%;
  left: 0;
  width: clamp(180px, 22vw, 320px);
  opacity: 0.55;
  filter: blur(10px);
  animation: cloud-drift 160s linear infinite;
  animation-delay: -60s;
}
.cloud-3 {
  top: 2%;
  left: 0;
  width: clamp(140px, 16vw, 240px);
  opacity: 0.85;
  filter: blur(4px);
  animation: cloud-drift 82s linear infinite;
  animation-delay: -30s;
}
@keyframes cloud-drift {
  from { transform: translate3d(-40%, 0, 0); }
  to   { transform: translate3d(calc(100vw + 40%), 0, 0); }
}

/* Scroll reveal — elements fade + rise in when they enter the viewport */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translate3d(-32px, 0, 0); }
[data-reveal="right"] { transform: translate3d(32px, 0, 0); }
[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cloud { display: none !important; }
  .ac-hero-image, .ac-hero-image::before { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
