/* =========================================================================
   FOOTER — search chips + 3-column footer on one grid (templete/base.php)
   Uses the --pt-* tokens from premium-theme.css.
   ========================================================================= */

/* ---- Popular searches ---- */
.ft-search {
  padding: 70px 0 60px;
  text-align: center;
}

.ft-search h2 {
  margin: 0 auto 26px;
  color: var(--pt-ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
}

.ft-search h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pt-gold), var(--pt-gold-light));
}

.ft-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.ft-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: var(--pt-radius-pill);
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.1);
  box-shadow: 0 4px 12px rgba(10, 26, 47, 0.05);
  color: var(--pt-ink) !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.25s var(--pt-ease), border-color 0.25s var(--pt-ease), color 0.25s var(--pt-ease), transform 0.25s var(--pt-ease);
}

.ft-tags a:hover,
.ft-tags a:focus {
  background: var(--pt-gold);
  border-color: var(--pt-gold);
  color: var(--pt-ink) !important;
  transform: translateY(-2px);
}

/* ---- Footer ---- */
.footer-area.ft {
  margin-top: 0;
  padding: 70px 0 0;
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
}

.ft h2 {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.ft h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: var(--pt-radius-pill);
  background: linear-gradient(90deg, var(--pt-gold-light), var(--pt-gold));
}

.ft ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* contact rows: icon + text, aligned on one line */
.ft-contact {
  display: grid;
  gap: 16px;
}

.ft-contact li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.6;
}

.ft-ico {
  flex: 0 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 12px;
  background: rgba(248, 182, 0, 0.12);
  border: 1px solid rgba(248, 182, 0, 0.25);
  color: var(--pt-gold-light);
  font-size: 15px;
}

.ft-contact li > span:last-child {
  padding-top: 8px;
}

.ft-label {
  color: rgba(255, 255, 255, 0.5);
}

.ft-contact a,
.ft-address {
  color: #fff !important;
  font-weight: 500;
  word-break: break-word;
}

/* navigation: two even columns */
.ft-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
}

.ft-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 14.5px;
  text-decoration: none !important;
  transition: color 0.25s var(--pt-ease), transform 0.25s var(--pt-ease);
}

.ft-links a::before {
  content: "\f105"; /* fa-angle-right */
  font-family: FontAwesome;
  color: var(--pt-gold);
}

.ft-links a:hover,
.ft-links a:focus {
  color: var(--pt-gold-light) !important;
  transform: translateX(3px);
}

/* instafeed: even 4 x 2 grid */
.ft-insta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ft-insta a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 12px;
}

.ft-insta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--pt-ease), filter 0.4s var(--pt-ease);
}

.ft-insta a:hover img {
  transform: scale(1.08);
  filter: brightness(1.08);
}

/* bottom bar: copyright left, social right */
.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ft .footer-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  line-height: 1.6;
}

.ft .footer-text a {
  color: var(--pt-gold-light) !important;
}

.ft-social {
  display: flex;
  gap: 10px;
}

.ft-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff !important;
  font-size: 16px;
  transition: background 0.25s var(--pt-ease), border-color 0.25s var(--pt-ease), color 0.25s var(--pt-ease);
}

.ft-social a:hover,
.ft-social a:focus {
  background: var(--pt-gold);
  border-color: var(--pt-gold);
  color: var(--pt-ink) !important;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }

  .ft-grid > .ft-col:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .ft-search {
    padding: 48px 0 40px;
    text-align: left;
  }

  .ft-search h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .ft-search h2::after {
    margin-left: 0;
  }

  .ft-tags {
    justify-content: flex-start;
    gap: 8px;
  }

  .ft-tags a {
    min-height: 38px;
    padding: 7px 14px;
    font-size: 13.5px;
  }

  .footer-area.ft {
    padding-top: 48px;
  }

  .ft-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 34px;
  }

  .ft h2 {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .ft-links a {
    min-height: 44px;
  }

  .ft-bottom {
    flex-direction: column-reverse;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
}
