/* ============================================================
   Future Horizon Travel – Custom Footer Styles
   Suki Child Theme | v1.0.4
   ============================================================ */

/* ---- Footer Logo ---- */
.fht-footer-logo-wrap {
  margin: 8px 0 18px;
}

.fht-footer-logo {
  max-width: 180px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* --- CSS Custom Properties --- */
.fht-footer-wrap {
  --navy-950: #06254d;
  --navy-900: #0a376f;
  --navy-800: #0c4d91;
  --blue-600: #0f7be9;
  --blue-500: #2f9cf4;
  --cyan-400: #59d2ee;
  --sky-100: #eef8ff;
  --sky-50:  #f7fbff;
  --line: rgba(44, 128, 205, .18);
  --glass: rgba(255,255,255,.74);
  --text: #173a63;
  --muted: #5c7695;
  --white: #fff;
  --shadow: 0 20px 60px rgba(34, 104, 170, .16);
  --shadow-soft: 0 10px 30px rgba(36, 104, 164, .12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;

  box-sizing: border-box;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.fht-footer-wrap *,
.fht-footer-wrap *::before,
.fht-footer-wrap *::after { box-sizing: border-box; }

.fht-footer-wrap a { color: inherit; text-decoration: none; }

/* ---- Newsletter Banner ---- */
.fht-newsletter {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  min-height: 170px;
  padding: 30px 48px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 48%, rgba(227,246,255,.72) 70%, rgba(212,242,255,.42) 100%),
    url('https://images.unsplash.com/photo-1528127269322-539801943592?auto=format&fit=crop&w=1600&q=85') right center / 46% 100% no-repeat;
}

.fht-newsletter::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 111, 196, .25), transparent);
}

.fht-newsletter-copy {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.fht-plane-wrap {
  position: relative;
  width: 106px;
  height: 92px;
  display: grid;
  place-items: center;
}

.fht-plane-wrap::before {
  content: "";
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65, 170, 255, .22), rgba(255,255,255,0) 68%);
  filter: blur(1px);
  position: absolute;
}

.fht-plane {
  position: relative;
  width: 72px;
  height: 54px;
  transform: rotate(-10deg);
  filter: drop-shadow(0 10px 12px rgba(39, 124, 194, .25));
}

.fht-plane::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0 48%, 100% 0, 64% 100%, 45% 58%);
  background: linear-gradient(135deg, #9fe8ff 0%, #3a9ced 58%, #0b67c9 100%);
}

.fht-eyebrow {
  margin: 0 0 4px;
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--navy-950);
  font-weight: 800;
  font-family: Inter, system-ui, sans-serif;
}

.fht-newsletter p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 580px;
  font-size: 1rem;
}

.fht-subscribe-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 144px;
  gap: 14px;
  align-items: center;
}

.fht-input-wrap { position: relative; }

.fht-input-wrap svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 21px;
  color: #7393b3;
}

.fht-input-wrap input {
  width: 100%;
  height: 56px;
  border: 1px solid rgba(91, 144, 192, .32);
  border-radius: 15px;
  padding: 0 18px 0 52px;
  outline: none;
  color: var(--navy-950);
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 24px rgba(42, 118, 182, .08);
  transition: .25s ease;
  font-family: Inter, sans-serif;
  font-size: 1rem;
}

.fht-input-wrap input:focus {
  border-color: rgba(20, 119, 224, .62);
  box-shadow: 0 0 0 4px rgba(50, 151, 237, .12), 0 8px 28px rgba(42, 118, 182, .12);
}

.fht-primary-btn {
  height: 56px;
  border: 0;
  border-radius: 15px;
  color: white;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue-500), #0864d8);
  box-shadow: 0 12px 26px rgba(17, 111, 222, .28), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .2s ease, box-shadow .2s ease;
  font-family: Inter, sans-serif;
  font-size: .95rem;
  letter-spacing: .04em;
}

.fht-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(17, 111, 222, .34);
}

/* ---- Footer Columns ---- */
.fht-footer-main {
  background:
    linear-gradient(180deg, rgba(252,254,255,.96), rgba(244,250,255,.96)),
    radial-gradient(circle at 55% 10%, rgba(104, 204, 255, .12), transparent 32%);
}

.fht-footer-columns {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.18fr;
  padding: 36px 48px 22px;
}

.fht-footer-col {
  min-width: 0;
  padding: 0 34px;
  border-left: 1px solid var(--line);
}

.fht-footer-col:first-child {
  padding-left: 18px;
  border-left: 0;
}

.fht-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  font-size: .97rem;
  letter-spacing: .01em;
  color: var(--navy-950);
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
}

.fht-section-title::after {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  position: absolute;
  margin-top: 35px;
  margin-left: 47px;
}

.fht-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(220,241,255,.8));
  border: 1px solid rgba(53, 145, 222, .22);
  box-shadow: 0 8px 20px rgba(34, 111, 180, .13), inset 0 1px 0 rgba(255,255,255,.9);
  flex: 0 0 auto;
}

.fht-icon-badge svg { width: 20px; height: 20px; }

.fht-brand-name {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 1.8vw, 1.9rem);
  line-height: 1.2;
  color: var(--navy-950);
}

.fht-company-legal {
  margin: 0 0 22px;
  color: #31577f;
  font-size: .95rem;
}

.fht-contact-list,
.fht-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fht-contact-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  margin: 11px 0;
  color: #416487;
  font-size: .92rem;
}

.fht-contact-list svg,
.fht-link-list svg {
  width: 18px;
  color: var(--blue-600);
  margin-top: 2px;
}

.fht-contact-list strong { color: var(--navy-950); }

.fht-link-list li { margin: 0; }

.fht-link-list a {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  color: #244c75;
  font-size: .95rem;
  transition: color .2s ease, transform .2s ease;
}

.fht-link-list a:hover {
  color: var(--blue-600);
  transform: translateX(4px);
}

/* ---- Branch Section ---- */
.fht-branch-section,
.fht-office-section {
  border-top: 1px solid var(--line);
  padding: 24px 48px 28px;
}

.fht-center-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--navy-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.16rem;
  letter-spacing: .02em;
}

.fht-center-heading::before,
.fht-center-heading::after {
  content: "";
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-500));
}

.fht-center-heading::after {
  background: linear-gradient(90deg, var(--blue-500), transparent);
}

.fht-branch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.fht-branch-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 22px 24px 20px 82px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(61, 153, 226, .24);
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(237,248,255,.78));
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.95);
}

.fht-branch-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  right: -35px;
  bottom: -55px;
  background: radial-gradient(circle, rgba(62, 170, 239, .12), transparent 68%);
}

.fht-pin-badge {
  position: absolute;
  left: 24px;
  top: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, #43b9f5, #0873d8);
  box-shadow: 0 8px 18px rgba(12, 114, 211, .28), 0 0 0 7px rgba(83, 181, 243, .12);
}

.fht-pin-badge svg { width: 21px; }

.fht-branch-card h3 {
  margin: 0 0 10px;
  color: var(--navy-950);
  font-size: .95rem;
  text-transform: uppercase;
}

.fht-branch-card p {
  margin: 5px 0;
  color: #45688a;
  font-size: .86rem;
}

.fht-branch-card strong { color: #173f68; }

.fht-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--blue-600);
  font-weight: 600;
  font-size: .88rem;
}

.fht-map-link svg { width: 18px; }

/* ---- Office / Bưu Cục Section ---- */
.fht-office-section {
  padding-top: 18px;
  text-align: center;
}

.fht-office-subtitle {
  margin: -10px 0 16px;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fht-office-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.fht-office-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1px solid rgba(72, 147, 211, .2);
  background: rgba(255,255,255,.76);
  color: #365d82;
  box-shadow: 0 7px 18px rgba(35, 100, 158, .08), inset 0 1px 0 rgba(255,255,255,.92);
  font-size: .86rem;
  font-weight: 600;
}

.fht-office-pill svg { width: 15px; color: #5ca7dd; }

.fht-office-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 360px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 13px;
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, #34a3f3, #0a66d8);
  box-shadow: 0 12px 26px rgba(17, 111, 222, .25), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .2s, box-shadow .2s;
  font-family: Inter, sans-serif;
}

.fht-office-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(17, 111, 222, .35);
  color: white;
}

/* ---- Legal Bar ---- */
.fht-legal-bar {
  display: grid;
  grid-template-columns: 1fr 1.45fr .9fr;
  align-items: center;
  padding: 18px 48px;
  color: rgba(255,255,255,.92);
  background: linear-gradient(135deg, rgba(6,47,96,.98), rgba(5,67,136,.98));
  border-top: 1px solid rgba(255,255,255,.12);
}

.fht-legal-item {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  border-left: 1px solid rgba(255,255,255,.22);
  font-size: .8rem;
  line-height: 1.45;
}

.fht-legal-item:first-child { border-left: 0; padding-left: 0; }
.fht-legal-item:last-child { padding-right: 0; }

.fht-legal-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
}

.fht-legal-icon svg { width: 21px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .fht-newsletter { grid-template-columns: 1fr; background-size: 60% 100%; }
  .fht-subscribe-form { max-width: 720px; }
  .fht-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .fht-footer-col:nth-child(3) { border-left: 0; padding-left: 18px; }
  .fht-branch-grid { grid-template-columns: 1fr; }
  .fht-legal-bar { grid-template-columns: 1fr; }
  .fht-legal-item {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.18);
    padding: 16px 0;
  }
  .fht-legal-item:first-child { border-top: 0; }
}

@media (max-width: 720px) {
  .fht-newsletter { padding: 28px 20px; background-size: cover; }
  .fht-newsletter-copy { grid-template-columns: 72px 1fr; gap: 14px; }
  .fht-plane-wrap { width: 64px; height: 64px; }
  .fht-plane { width: 54px; height: 42px; }
  .fht-subscribe-form { grid-template-columns: 1fr; }
  .fht-footer-columns { grid-template-columns: 1fr; padding: 30px 20px 18px; }
  .fht-footer-col,
  .fht-footer-col:first-child,
  .fht-footer-col:nth-child(3) {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .fht-footer-col:first-child { border-top: 0; padding-top: 0; }
  .fht-branch-section, .fht-office-section { padding-left: 20px; padding-right: 20px; }
  .fht-branch-card { padding-left: 74px; }
  .fht-office-cta { min-width: 0; width: 100%; }
  .fht-legal-bar { padding: 14px 20px; }
  .fht-center-heading::before, .fht-center-heading::after { width: 24px; }
}
