/* =================================================================
   GOLDENWOOD AGRO — Footer (matches footer.php custom classes)
   ================================================================= */

/* ── Footer Wrapper ─────────────────────────────────────────────── */
.gw-site-footer,
#colophon {
  background: #1A3D20;
  color: rgba(255,255,255,.85);
  font-family: var(--gw-font-body);
}

/* ── Hide Astra default footer ──────────────────────────────────── */
.ast-site-footer-wrap,
.footer-small-section .ast-footer-copyright,
.ast-builder-html-element { /* keep this if needed */ }

/* ── Footer Widgets Zone ────────────────────────────────────────── */
.gw-footer-widgets {
  padding: 60px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.gw-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ── Column Base ────────────────────────────────────────────────── */
.gw-footer-col__title {
  font-family: var(--gw-font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.gw-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gw-footer-nav li {
  margin-bottom: 7px;
}

.gw-footer-nav li a {
  color: rgba(255,255,255,.6) !important;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: color .2s, padding-left .2s;
  line-height: 1.5;
}

.gw-footer-nav li a::before {
  content: '›';
  font-size: 14px;
  opacity: .5;
  transition: opacity .2s;
  flex-shrink: 0;
}

.gw-footer-nav li a:hover {
  color: #F0C87A !important;
  padding-left: 4px;
}

.gw-footer-nav li a:hover::before {
  opacity: 1;
}

/* ── Brand Column ───────────────────────────────────────────────── */
.gw-footer-brand .custom-logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

.gw-footer-brand .custom-logo {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

.gw-footer-logo-text {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--gw-font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.gw-footer-brand > p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  max-width: 280px;
  margin: 0 0 20px;
}

/* Social Links */
.gw-footer-social {
  margin-bottom: 24px;
}

.gw-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gw-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  flex-shrink: 0;
}

.gw-social-link:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  color: #fff;
}

.gw-social-link svg {
  width: 20px;
  height: 20px;
}

/* ── Brand colours ───────────────────────────────────────────────── */
.gw-social-link--instagram {
  background: radial-gradient(circle at 30% 107%,
    #fdf497 0%, #fdf497 5%,
    #fd5949 45%, #d6249f 60%,
    #285AEB 90%);
}

.gw-social-link--youtube {
  background: #FF0000;
}

.gw-social-link--telegram {
  background: #2AABEE;
}

.gw-social-link--tiktok {
  background: #010101;
}

/* Contact Items */
.gw-footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.gw-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}

.gw-footer-contact-item__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #C8962A;
  margin-top: 2px;
}

.gw-footer-contact-item a {
  color: rgba(255,255,255,.6) !important;
  text-decoration: none !important;
  transition: color .2s;
}

.gw-footer-contact-item a:hover {
  color: #F0C87A !important;
}

/* ── Footer Bottom Bar ──────────────────────────────────────────── */
.gw-footer-bottom-bar {
  background: #0D2010;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.05);
}

.gw-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.gw-footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  margin: 0;
}

.gw-footer-copyright a {
  color: rgba(255,255,255,.45) !important;
  text-decoration: none !important;
  transition: color .2s;
}

.gw-footer-copyright a:hover {
  color: #E8B44B !important;
}

.gw-footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gw-footer-legal li a {
  font-size: 12px;
  color: rgba(255,255,255,.4) !important;
  text-decoration: none !important;
  transition: color .2s;
}

.gw-footer-legal li a:hover {
  color: rgba(255,255,255,.7) !important;
}

/* Footer language switcher — Polylang outputs bare <li> without <ul> */
.gw-lang-switcher--footer {
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  list-style: none !important;
}

.gw-lang-switcher--footer ul {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gw-lang-switcher--footer li,
.gw-lang-switcher--footer ul li {
  list-style: none !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gw-lang-switcher--footer li:not(:last-child)::after,
.gw-lang-switcher--footer ul li:not(:last-child)::after {
  content: '|';
  color: rgba(255,255,255,.2);
  font-size: 11px;
  padding: 0 2px;
}

.gw-lang-switcher--footer a {
  font-size: 12px !important;
  color: rgba(255,255,255,.4) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  padding: 0 4px !important;
}

.gw-lang-switcher--footer a:hover,
.gw-lang-switcher--footer .current-lang a,
.gw-lang-switcher--footer li.current-lang a {
  color: rgba(255,255,255,.85) !important;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gw-footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
  }
  .gw-footer-brand {
    grid-column: 1 / -1;
  }
  .gw-footer-brand > p { max-width: 100%; }
  .gw-footer-brand .gw-footer-contacts { display: none; }
}

@media (max-width: 768px) {
  .gw-footer-widgets { padding: 48px 0 36px; }
  .gw-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .gw-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .gw-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .gw-footer-bottom { flex-direction: column; text-align: center; }
  .gw-footer-legal { justify-content: center; }
  .gw-social-links { justify-content: flex-start; }
}

/* ── Kill Astra footer duplicates ───────────────────────────────── */
.site-below-header-wrap,
.footer-widgets-area.footer-top-section { display: none !important; }
