/* Footer styles for PolishLogisticshub */

.plh-footer {
  background: radial-gradient(circle at 0 0, #163250, #050f1a 55%, #02060b 100%);
  color: #dbe8f5;
  border-top: 1px solid rgba(151, 171, 194, 0.25);
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

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

.plh-footer__brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.plh-footer__logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 30% 20%, #36b9ff, #0b314a 55%, #020b13 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

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

.plh-footer__brand-text {
  display: flex;
  flex-direction: column;
}

.plh-footer__brand-name {
  font-family: "Roboto Slab", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plh-footer__brand-tagline {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ab4ce;
}

.plh-footer__description {
  margin: 0.25rem 0 0;
  max-width: 32rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #c1d3e5;
}

/* Footer navigation */

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

.plh-footer__heading {
  margin: 0 0 0.75rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ab4ce;
}

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

.plh-footer__list li + li {
  margin-top: 0.45rem;
}

.plh-footer__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  color: #dde8f5;
  text-decoration: none;
  transition: color 0.18s ease;
}

.plh-footer__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #3fb4ff, #7bc2ff);
  transition: width 0.2s ease;
}

.plh-footer__list a:hover,
.plh-footer__list a:focus-visible {
  color: #ffffff;
  outline: none;
}

.plh-footer__list a:hover::after,
.plh-footer__list a:focus-visible::after {
  width: 100%;
}

.plh-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 0;
  border-top: 1px solid rgba(120, 140, 163, 0.4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.8rem;
  color: #8ca4c0;
}

.plh-footer__meta {
  display: flex;
  gap: 0.75rem;
}

.plh-footer__meta-item {
  color: #9ab4ce;
}

.plh-footer__copyright {
  margin: 0;
}

/* Cookie banner */

.plh-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1100;
  display: none;
  justify-content: center;
  padding: 0.75rem 0.75rem calc(env(safe-area-inset-bottom, 0) + 0.75rem);
  pointer-events: none;
}

.plh-cookie--visible {
  display: flex;
}

.plh-cookie__dialog {
  max-width: 960px;
  width: 100%;
  background: rgba(5, 18, 32, 0.98);
  border-radius: 1rem;
  border: 1px solid rgba(132, 165, 199, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  padding: 1.1rem 1.1rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 1.6fr);
  gap: 1rem;
  align-items: center;
  color: #e2edf8;
  pointer-events: auto;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.plh-cookie__dialog--entered {
  transform: translateY(0);
  opacity: 1;
}

.plh-cookie__content {
  min-width: 0;
}

.plh-cookie__title {
  margin: 0 0 0.35rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ac4ff;
}

.plh-cookie__text {
  margin: 0 0 0.55rem;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #d3e4f8;
}

.plh-cookie__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.plh-cookie__link {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  color: #9ac4ff;
  text-decoration: none;
}

.plh-cookie__link:hover,
.plh-cookie__link:focus-visible {
  color: #c6ddff;
  text-decoration: underline;
  outline: none;
}

.plh-cookie__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-self: flex-end;
}

.plh-cookie__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 1.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;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.08s ease;
}

.plh-cookie__button--primary {
  background: linear-gradient(135deg, #3fb4ff, #3b82f6);
  color: #020710;
  box-shadow: 0 10px 24px rgba(21, 123, 210, 0.75);
}

.plh-cookie__button--primary:hover,
.plh-cookie__button--primary:focus-visible {
  background: linear-gradient(135deg, #59c3ff, #4f8df7);
  outline: none;
}

.plh-cookie__button--secondary {
  background: transparent;
  color: #e2edf8;
  border-color: rgba(151, 183, 214, 0.8);
}

.plh-cookie__button--secondary:hover,
.plh-cookie__button--secondary:focus-visible {
  background: rgba(24, 42, 63, 0.9);
  outline: none;
}

.plh-cookie__button:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* Responsive */

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

  .plh-footer__bottom {
    padding-inline: 1.25rem;
  }

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

  .plh-cookie__dialog {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.95rem 0.95rem 0.9rem;
  }

  .plh-cookie__actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}

@media (max-width: 479.98px) {
  .plh-footer__nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .plh-cookie__actions {
    flex-direction: column-reverse;
  }

  .plh-cookie__button {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .plh-footer__inner {
    max-width: 1280px;
  }

  .plh-footer__bottom {
    max-width: 1280px;
  }
}
