/* Comfort Breeze footer widget — scoped copy of HTML site footer + responsive */

.elementor-location-footer > .elementor-section,
.elementor-location-footer > .e-con {
  margin: 0;
}

[data-cb-footer] .site-footer {
  background: var(--white);
  color: var(--body);
  border-top: 1px solid var(--border);
}

[data-cb-footer] .footer-main {
  padding: 56px 0 40px;
}

[data-cb-footer] .footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.05fr 0.75fr;
  gap: 36px;
  align-items: stretch;
}

[data-cb-footer] .footer-brand,
[data-cb-footer] .footer-links-col,
[data-cb-footer] .footer-contact,
[data-cb-footer] .footer-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
}

[data-cb-footer] .footer-brand {
  gap: 18px;
}

[data-cb-footer] .footer-brand .tag-cloud {
  margin-top: auto;
  padding-top: 12px;
}

[data-cb-footer] .footer-logo {
  display: inline-flex;
}

[data-cb-footer] .footer-logo img {
  height: 112px;
  width: auto;
  display: block;
  object-fit: contain;
}

[data-cb-footer] .footer-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--heading-blue);
  margin: 0 0 16px;
}

[data-cb-footer] .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

[data-cb-footer] .footer-links li + li {
  margin-top: 12px;
}

[data-cb-footer] .footer-links a {
  color: var(--body);
}

[data-cb-footer] .footer-links a:hover {
  color: var(--orange);
}

[data-cb-footer] .footer-contact {
  gap: 0;
}

[data-cb-footer] .footer-service-area {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--heading-blue);
  max-width: 28ch;
}

[data-cb-footer] .footer-phone,
[data-cb-footer] .footer-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-cb-footer] .footer-phone {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
  white-space: nowrap;
}

[data-cb-footer] .footer-phone .ph {
  font-size: 22px;
  line-height: 1;
  color: inherit;
}

[data-cb-footer] .footer-phone:hover {
  color: var(--orange);
}

[data-cb-footer] .footer-email {
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--body);
  margin-bottom: 18px;
  padding-bottom: 0;
}

[data-cb-footer] .footer-email .ph {
  font-size: 20px;
  line-height: 1;
  color: var(--heading-blue);
}

[data-cb-footer] .footer-email:hover {
  color: var(--orange);
}

[data-cb-footer] .footer-email:hover .ph {
  color: var(--orange);
}

[data-cb-footer] .footer-contact .socials {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

[data-cb-footer] .social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--heading-blue);
  border: 0;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-cb-footer] .social img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

[data-cb-footer] .social:hover {
  background: var(--navy-deep);
}

[data-cb-footer] .footer-review {
  display: block;
  width: 180px;
  max-width: 100%;
  margin-top: 20px;
  line-height: 0;
  border-radius: 8px;
}

[data-cb-footer] .footer-review-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  background: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

a.footer-review:hover .footer-review-img,
a.footer-review:focus-visible .footer-review-img {
  border-color: var(--navy);
}

a.footer-review:active .footer-review-img {
  transform: scale(0.98);
}

a.footer-review:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

[data-cb-footer] .footer-badges {
  justify-content: flex-start;
  gap: 16px;
  margin: 0;
  height: auto;
}

[data-cb-footer] .footer-badges img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  background: var(--white);
  object-fit: contain;
}

[data-cb-footer] .footer-badge-link {
  display: block;
  width: 100%;
  line-height: 0;
  border-radius: 8px;
}

[data-cb-footer] .footer-badge-link img {
  transition: border-color 0.2s ease, transform 0.2s ease;
}

[data-cb-footer] .footer-badge-link:hover img,
[data-cb-footer] .footer-badge-link:focus-visible img {
  border-color: var(--navy);
}

[data-cb-footer] .footer-badge-link:active img {
  transform: scale(0.98);
}

[data-cb-footer] .footer-badge-link:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

[data-cb-footer] .tag-cloud {
  max-width: 52ch;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 400;
}

[data-cb-footer] .tag-cloud span {
  display: inline;
}

[data-cb-footer] .tag-cloud span + span::before {
  content: "|";
  margin: 0 0.45em;
  color: rgba(125, 133, 141, 0.7);
}

[data-cb-footer] .footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  background: var(--white);
}

[data-cb-footer] .footer-bottom p {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  [data-cb-footer] .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
  }
}

@media (max-width: 767px) {
  [data-cb-footer] .footer-grid {
    grid-template-columns: 1fr;
  }

  [data-cb-footer] .footer-logo img {
    height: 96px;
  }

  [data-cb-footer] .footer-brand .tag-cloud,
  [data-cb-footer] .footer-contact .socials,
  [data-cb-footer] .footer-email {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  [data-cb-footer] .footer-email {
    margin-bottom: 16px;
  }

  [data-cb-footer] .footer-review {
    margin-top: 16px;
    width: min(180px, 100%);
  }

  [data-cb-footer] .footer-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    justify-content: stretch;
    gap: 12px;
  }

  [data-cb-footer] .footer-badges > img,
  [data-cb-footer] .footer-badges > .footer-badge-link {
    min-width: 0;
    width: 100%;
    max-width: none;
  }

  [data-cb-footer] .tag-cloud {
    max-width: none;
  }
}
