/* ================================================================
   FOOTER — Tata Garden  v2.0
   Tokens from _variables.css
================================================================ */

/* ── Scoped opacity tokens (--g-muted at reduced opacity, not easily expressed as vars) ── */
.tg-footer {
  --f-border:   rgba(179,217,208,.2);   /* --g-muted @ 20% */
  --f-muted:    rgba(179,217,208,.65);  /* --g-muted @ 65% */
  font-family: var(--tg-font-main);
  font-size: 14px;
  line-height: 1.65;
  color: var(--f-muted);
}

/* ================================================================
   CTA BANNER
================================================================ */
.tgf-cta {
  background:
    linear-gradient(115deg, rgba(2,56,43,.95) 0%, rgba(20,102,83,.8) 60%, rgba(13,74,59,.95) 100%),
    center/cover no-repeat;
  background-image:
    linear-gradient(115deg, rgba(2,56,43,.95) 0%, rgba(20,102,83,.8) 60%, rgba(13,74,59,.95) 100%),
    url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1400&q=60');
  padding: 72px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.tgf-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.tgf-cta__eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tg-gold-lt);
  margin-bottom: 12px;
}

.tgf-cta__title {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
  max-width: 560px;
}

.tgf-cta__desc {
  font-size: 15px;
  color: rgba(255,255,255,.72);
  max-width: 500px;
  line-height: 1.75;
  margin: 0;
}

.tgf-cta__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Buttons: use shared .btn base from _base.css; footer keeps only modifiers */
.tgf-btn--gold {
  background: var(--tg-gold);
  color: var(--tg-charcoal);
  border-color: var(--tg-gold);
}
.tgf-btn--gold:hover { background: var(--tg-gold-lt); border-color: var(--tg-gold-lt); color: var(--tg-charcoal); }
.tgf-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.tgf-btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* ================================================================
   MAIN COLUMNS
================================================================ */
.tgf-main {
  background:
    radial-gradient(circle at 12% 20%, rgba(31,148,120,.18) 0%, transparent 38%),
    radial-gradient(circle at 85% 80%, rgba(20,102,83,.12) 0%, transparent 32%),
    linear-gradient(160deg, var(--footer-green) 0%, var(--footer-bg) 100%);
}

.tgf-main__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 64px;
}

/* ── Brand column ── */
.tgf-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tgf-logo__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--tg-gold-lt), var(--tg-gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(201,168,76,.3);
}
.tgf-logo__icon svg { width: 24px; height: 24px; }

.tgf-logo__img {
  max-height: 60px;
  width: auto;
  display: block;
}

.tgf-logo__name {
  display: block;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.tgf-logo__tagline {
  display: block;
  color: var(--tg-gold-lt);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.tgf-tagline {
  font-size: 13.5px;
  color: var(--f-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* Phone pill */
.tgf-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--f-border);
  border-radius: 100px;
  padding: 10px 18px 10px 10px;
  background: rgba(255,255,255,.04);
  margin-bottom: 24px;
}
.tgf-phone-pill__icon {
  width: 36px;
  height: 36px;
  background: var(--tg-gold);
  border-radius: 50%;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--tg-charcoal);
}
.tgf-phone-pill__label { display: block; font-size: 10px; color: var(--f-muted); }
.tgf-phone-pill__num {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}
.tgf-phone-pill__num:hover { color: var(--tg-gold-lt); }

/* Social icons */
.tgf-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tgf-social__link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--f-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--f-muted);
  text-decoration: none;
  transition: all .2s;
}
.tgf-social__link:hover {
  background: var(--tg-gold);
  border-color: var(--tg-gold);
  color: var(--tg-charcoal);
  transform: translateY(-2px);
}
.tgf-social__link--zalo { font-weight: 700; font-size: 14px; }

/* ── Nav columns ── */
.tgf-col__heading {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -.01em;
}
.tgf-col__line {
  width: 30px;
  height: 3px;
  background: var(--tg-gold);
  border-radius: 99px;
  margin-bottom: 22px;
}

.tgf-list { list-style: none; margin: 0; padding: 0; }
.tgf-list li { margin-bottom: 11px; }
.tgf-list li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--f-muted);
  font-size: 13.5px;
  text-decoration: none;
  transition: color .15s, transform .15s;
}
.tgf-list li a:hover { color: var(--tg-gold-lt); transform: translateX(3px); }
.tgf-dot {
  width: 5px;
  height: 5px;
  background: var(--tg-gold);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .15s;
}
.tgf-list li a:hover .tgf-dot { opacity: 1; }

/* ── Newsletter column ── */
.tgf-nl-desc {
  font-size: 13px;
  color: var(--f-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.tgf-nl-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.tgf-nl-input {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--f-border);
  border-radius: 8px;
  padding: 11px 14px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.tgf-nl-input::placeholder { color: rgba(179,217,208,.5); }
.tgf-nl-input:focus { border-color: var(--tg-gold); box-shadow: 0 0 0 3px rgba(201,168,76,.12); }
.tgf-nl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  background: var(--tg-gold);
  color: var(--tg-charcoal);
  border: none;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
}
.tgf-nl-btn:hover { background: var(--tg-gold-lt); }

/* Contact list */
.tgf-contact-list { list-style: none; margin: 0; padding: 0; }
.tgf-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 13px;
  color: var(--f-muted);
  line-height: 1.6;
}
.tgf-ci {
  width: 28px;
  height: 28px;
  background: rgba(201,168,76,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--tg-gold-lt);
}
.tgf-contact-list a {
  color: var(--f-muted);
  text-decoration: none;
  transition: color .15s;
}
.tgf-contact-list a:hover { color: var(--tg-gold-lt); }

/* ================================================================
   BOTTOM BAR
================================================================ */
.tgf-bottom {
  background: var(--g-dark);
  border-top: 1px solid var(--f-border);
}
.tgf-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.tgf-copy {
  font-size: 12px;
  color: rgba(179,217,208,.55);
  margin: 0;
}
.tgf-copy a { color: var(--tg-gold-lt); text-decoration: none; }
.tgf-copy a:hover { text-decoration: underline; }
.tgf-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.tgf-bottom-links a {
  font-size: 12px;
  color: rgba(179,217,208,.5);
  text-decoration: none;
  transition: color .15s;
}
.tgf-bottom-links a:hover { color: var(--tg-gold-lt); }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1100px) {
  .tgf-main__inner { grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
  .tgf-cta__inner  { flex-direction: column; align-items: flex-start; gap: 28px; }
}
@media (max-width: 640px) {
  .tgf-main__inner { grid-template-columns: 1fr; gap: 32px; }
  .tgf-cta { padding: 48px 0; }
  .tgf-cta__actions { flex-direction: column; width: 100%; }
  .tgf-cta__actions .tgf-btn { justify-content: center; }
  .tgf-bottom__inner { flex-direction: column; align-items: flex-start; gap: 10px; padding-block: 16px; }
}
@media (max-width: 480px) {
  .tgf-bottom-links { gap: 14px; }
}
