/* Footer styles for HomeComfortPL */

.hc-footer {
  background-color: #1f2421; /* deep warm gray */
  color: #f7f3ee;
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

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

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

.hc-footer__logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.hc-footer__logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fdfbf8 0%, #f7f3ee 30%, #8aa58a 90%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hc-footer__logo-text {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hc-footer__tagline {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ddd6cd;
}

.hc-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.hc-footer__heading {
  margin: 0 0 0.75rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e3ddd3;
}

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

.hc-footer__link {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  color: #cbc2b7;
  text-decoration: none;
}

.hc-footer__link:hover,
.hc-footer__link:focus-visible {
  color: #ffffff;
}

.hc-footer__link:focus-visible {
  outline: 2px solid #8aa58a;
  outline-offset: 2px;
}

.hc-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hc-footer__copyright {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9f9589;
}

/* Cookie banner */

.hc-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1200;
  padding: 0.75rem 0.75rem 1rem;
  background: linear-gradient(to top, rgba(15, 18, 16, 0.96), rgba(15, 18, 16, 0.92));
  color: #f7f3ee;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.hc-cookie--visible {
  transform: translateY(0);
  opacity: 1;
}

.hc-cookie__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  background: rgba(12, 15, 13, 0.95);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.5rem;
}


.hc-cookie__title {
  margin: 0 0 0.25rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e8e0d6;
}

.hc-cookie__description {
  margin: 0 0 0.4rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #dad1c6;
}

.hc-cookie__link {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: #c7e3cb;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hc-cookie__link:hover,
.hc-cookie__link:focus-visible {
  color: #ffffff;
}

.hc-cookie__link:focus-visible {
  outline: 2px solid #8aa58a;
  outline-offset: 2px;
}

.hc-cookie__actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.hc-cookie__button {
  min-width: 140px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.hc-cookie__button--primary {
  background: linear-gradient(135deg, #8aa58a, #c7b299);
  color: #111411;
  border-color: rgba(0, 0, 0, 0.3);
}

.hc-cookie__button--secondary {
  background-color: transparent;
  color: #e8e0d6;
  border-color: rgba(255, 255, 255, 0.4);
}

.hc-cookie__button:hover {
  filter: brightness(1.05);
}

.hc-cookie__button:focus-visible {
  outline: 2px solid #c7e3cb;
  outline-offset: 2px;
}

.hc-cookie--hidden {
  transform: translateY(100%);
  opacity: 0;
}

@media (max-width: 768px) {
  .hc-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

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

  .hc-cookie__inner {
    padding: 0.75rem 1rem;
    flex-direction: column;
  }

  .hc-cookie__actions {
    justify-content: stretch;
  }

  .hc-cookie__button {
    flex: 1 1 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hc-footer__columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-cookie {
    transition: none !important;
  }
}
