/* =============================================================================
   TRAFFIC PLAN — Footer CSS
   Fundal navy #1A2332, 4 coloane, social icons, subfooter
   ============================================================================= */

/* ─── CTA Band ───────────────────────────────────────────────────────────── */
.tp-cta-band {
  background-color: var(--tp-green-500);
  padding: var(--sp-16) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.tp-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.06) 0%, transparent 70%);
}

.tp-cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.tp-cta-band__title {
  font-size: clamp(1.5rem, 3vw, var(--fs-3xl));
  color: var(--tp-white);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.02em;
}

.tp-cta-band__subtitle {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--sp-8);
  line-height: 1.6;
}

.tp-cta-band__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}

/* ─── Footer principal ───────────────────────────────────────────────────── */
.tp-footer {
  background-color: var(--tp-navy-900);
  padding-top: var(--sp-16);
}

/* ─── Footer grid ────────────────────────────────────────────────────────── */
.tp-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-12);
}

@media (min-width: 640px) {
  .tp-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .tp-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-10);
  }
}

/* ─── Coloana brand ──────────────────────────────────────────────────────── */
.tp-footer__brand {}

.tp-footer__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  margin-bottom: var(--sp-5);
}

.tp-footer__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--tp-green-500);
  border-radius: var(--radius-md);
  color: var(--tp-white);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  flex-shrink: 0;
}

.tp-footer__logo-name {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--tp-white);
  letter-spacing: -0.02em;
}

.tp-footer__logo-name span {
  color: var(--tp-green-400);
}

.tp-footer__logo img {
  filter: brightness(0) invert(1);
  height: 40px;
  width: auto;
  max-height: 40px;
  display: block;
}

@media (max-width: 767px) {
  .tp-footer__logo img {
    height: 32px;
    max-height: 32px;
  }
}

.tp-footer__desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

/* Social icons */
.tp-footer__social {
  display: flex;
  gap: var(--sp-3);
}

.tp-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all var(--ease-fast);
  font-size: var(--fs-sm);
}

.tp-footer__social-link:hover {
  background-color: var(--tp-green-500);
  border-color: var(--tp-green-500);
  color: var(--tp-white);
  transform: translateY(-2px);
}

.tp-footer__social-link svg {
  width: 16px;
  height: 16px;
}

/* ─── Coloane meniu footer ───────────────────────────────────────────────── */
.tp-footer__col {}

.tp-footer__col-title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--tp-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-5);
}

.tp-footer__col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.tp-footer__col-list a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--ease-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.tp-footer__col-list a:hover {
  color: var(--tp-teal-500);
}

/* Date contact */
.tp-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.tp-footer__contact-icon {
  width: 32px;
  height: 32px;
  background-color: rgba(91,154,60,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tp-footer__contact-icon svg {
  width: 14px;
  height: 14px;
  color: var(--tp-green-400);
}

.tp-footer__contact-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.tp-footer__contact-text a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.tp-footer__contact-text a:hover {
  color: var(--tp-teal-500);
}

/* Badge-uri ANPC (SOL + SAL) */
.tp-footer__anpc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.tp-footer__anpc-link {
  display: inline-flex;
  text-decoration: none;
  transition: opacity var(--ease-fast);
}

.tp-footer__anpc-link:hover {
  opacity: 0.8;
}

.tp-footer__anpc-img {
  height: 44px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* ─── Subfooter ──────────────────────────────────────────────────────────── */
.tp-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--sp-5) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .tp-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.tp-footer__copyright {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
  font-family: var(--font-mono);
}

.tp-footer__legal {
  display: flex;
  gap: var(--sp-4);
}

.tp-footer__legal a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color var(--ease-fast);
}

.tp-footer__legal a:hover {
  color: var(--tp-teal-500);
}
