/* Footer styles for CleanHomePL */
.ch-footer {
  background-color: #0f172a;
  color: #e5e7eb;
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
  position: relative;
}

.ch-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 1.75rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 2.5rem;
}

.ch-footer__brand {
  max-width: 360px;
}

.ch-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.ch-footer__logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 20% 20%, #facc15, #22c55e 45%, #0ea5e9 90%);
}

.ch-footer__logo-text {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9fafb;
}

.ch-footer__tagline {
  margin-top: 0.75rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.ch-footer__links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.ch-footer__heading {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
  color: #e5e7eb;
}

.ch-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ch-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: #cbd5f5;
  text-decoration: none;
  padding: 0.2rem 0;
}

.ch-footer__link::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background-color: rgba(148, 163, 184, 0.7);
}

.ch-footer__link:hover,
.ch-footer__link:focus-visible {
  color: #f9fafb;
}

.ch-footer__link:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 3px;
  border-radius: 4px;
}

.ch-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding-top: 1.25rem;
}

.ch-footer__copyright {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Cookie banner */
.ch-cookie {
  position: fixed;
  inset-inline: 0.75rem;
  bottom: 0.75rem;
  z-index: 1100;
  max-width: 960px;
  margin-inline: auto;
  border-radius: 0.9rem;
  background-color: rgba(15, 23, 42, 0.98);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.5);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.ch-cookie--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.ch-cookie--hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.ch-cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 1.25rem 1.1rem 1.25rem;
}

.ch-cookie__text {
  flex: 1;
}

.ch-cookie__title {
  margin: 0 0 0.3rem;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f9fafb;
}

.ch-cookie__description {
  margin: 0 0 0.35rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  color: #e5e7eb;
}

.ch-cookie__link {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: #7dd3fc;
  text-decoration: underline;
}

.ch-cookie__link:hover,
.ch-cookie__link:focus-visible {
  color: #bae6fd;
}

.ch-cookie__link:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 3px;
  border-radius: 3px;
}

.ch-cookie__actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}

.ch-cookie__btn {
  min-width: 130px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
}

.ch-cookie__btn--primary {
  background: linear-gradient(135deg, #22c55e, #a3e635);
  color: #052e16;
  border-color: rgba(21, 128, 61, 0.9);
}

.ch-cookie__btn--primary:hover {
  filter: brightness(1.03);
}

.ch-cookie__btn--secondary {
  background-color: #020617;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.8);
}

.ch-cookie__btn--secondary:hover {
  background-color: #020617;
  border-color: #e5e7eb;
}

.ch-cookie__btn:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .ch-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .ch-footer__links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ch-footer {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .ch-footer__inner {
    padding-inline: 1rem;
  }

  .ch-footer__links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ch-cookie__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .ch-cookie__actions {
    width: 100%;
    flex-direction: column-reverse;
  }

  .ch-cookie__btn {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .ch-footer__links-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ch-cookie {
    inset-inline: 0.5rem;
    bottom: 0.5rem;
  }
}
