/* ===== FOOTER ===== */

.footer {
  background: var(--color-primary-dark);
  padding: 100px 5vw 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(126, 201, 107, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* CTA BANNER */
.footer__cta {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 100%
  );
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.footer__cta::before {
  content: "🌿";
  position: absolute;
  right: 50px;
  bottom: -20px;
  font-size: 140px;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.footer__cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.footer__cta-sub {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
}

.footer__cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* GRID */
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* BREND */
.footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer__logo-icon {
  height: 64px;
  width: auto;
  border-radius: var(--radius-sm);
  display: block;
  flex-shrink: 0;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.footer__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  max-width: 280px;
  font-weight: 300;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer__social-link {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.footer__social-link:hover {
  background: var(--color-primary-light);
  color: var(--color-white);
}

/* KOLONE */
.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
  display: block;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--color-primary-light);
}

/* KONTAKT ITEMS */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}

.footer__contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(126, 201, 107, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.footer__contact-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 2px;
}

.footer__contact-val {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.footer__contact-val a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__contact-val a:hover {
  color: var(--color-primary-light);
}

/* BOTTOM BAR */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.65);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer__cta {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 5vw 0;
  }
  .footer__cta {
    padding: 36px 28px;
    margin-bottom: 48px;
  }
  .footer__cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .footer__cta-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
  .footer__brand {
    grid-column: 1 / -1;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .footer__kontakt {
    grid-column: 1 / -1;
  }
  .footer__logo-icon {
    height: 52px;
  }
  .footer__logo-text {
    font-size: 1.2rem;
  }
  .footer__desc {
    max-width: 100%;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer__legal {
    justify-content: center;
    flex-wrap: wrap;
  }
}
