/* ============================================================================
   sections/footer.css — Deep-navy footer with arabesque divider + columns
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--navy-950);
  border-top: 1.35px solid var(--line);
  padding-top: var(--space-8);
  overflow: hidden;
}
/* Group companies band — a hairline-ruled row of the sister firms. */
.foot-group {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .75rem clamp(1rem, 3vw, 2.25rem);
}
.foot-group .fg-label {
  font-size: .66rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-500);
}
.foot-group ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .5rem clamp(1rem, 3vw, 2rem);
}
.foot-group li {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.02rem; color: var(--text-muted-on-dark);
  display: inline-flex; align-items: center; gap: clamp(1rem, 3vw, 2rem);
}
.foot-group li:not(:last-child)::after {
  content: ""; width: 4px; height: 4px; background: var(--gold-700);
  transform: rotate(45deg); opacity: .8;
}
@media (max-width: 560px) { .foot-group li:not(:last-child)::after { display: none; } }

.site-footer .arabesque {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  color: var(--gold-500); width: 30px; height: 30px; background: var(--navy-950); padding: 4px;
}
/* Faint cargo-ship silhouette in the corner. */
.site-footer .foot-silhouette { position: absolute; right: -4%; bottom: 0; width: 30%; max-width: 360px; opacity: .07; color: var(--gold-500); pointer-events: none; }

.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: var(--space-6);
  position: relative; z-index: 1;
}
.foot-col h4 { font-size: var(--fs-eyebrow); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); margin-bottom: var(--space-4); }
.foot-col ul { display: flex; flex-direction: column; gap: .5rem; list-style: none; padding: 0; }
.foot-col a { font-size: var(--fs-small); color: var(--text-muted-on-dark); }
.foot-col a:hover { color: var(--gold-300); }

.foot-brand .ethos { font-family: var(--font-serif); font-style: italic; color: var(--text-muted-on-dark); margin: var(--space-3) 0 var(--space-4); max-width: 32ch; }
.foot-brand .socials { display: flex; gap: .7rem; color: var(--gold-300); }
.foot-brand .socials a { width: 36px; height: 36px; display: grid; place-items: center; border: 1.35px solid var(--line); border-radius: 50%; }
.foot-brand .socials a:hover { border-color: var(--gold-500); background: rgba(201,162,75,.08); }

.flag-dots { display: flex; flex-direction: column; gap: .5rem; }
.flag-dots li { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-small); color: var(--text-muted-on-dark); }

/* Bottom bar */
.foot-bottom {
  margin-top: var(--space-8); border-top: 1.35px solid var(--line);
  padding-block: var(--space-5);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-4);
  font-size: .76rem; color: var(--text-muted-on-dark);
  position: relative; z-index: 1;
}
.foot-bottom .center { text-align: center; }
.foot-bottom .right { text-align: right; }
.foot-bottom a:hover { color: var(--gold-300); }
/* Tiny gold admin dot -> /admin */
.admin-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); opacity: .5; margin-left: .5rem; vertical-align: middle; }
.admin-dot:hover { opacity: 1; }
/* The base typography measure (p { max-width }) shrinks these footer lines —
   without auto margins they hug the LEFT edge. Center the measure itself. */
.foot-fineprint { text-align: center; font-size: .72rem; color: rgba(251,248,240,.45); padding-bottom: var(--space-5); position: relative; z-index: 1; margin-inline: auto; }

@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { grid-template-columns: 1fr; text-align: center; }
  .foot-bottom .right, .foot-bottom .center { text-align: center; }
}
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }


/* legal registrations line — only renders once real numbers exist */
.foot-legal {
  text-align: center; padding: 0 var(--gutter) 1.1rem;
  font-size: .74rem; letter-spacing: .04em;
  color: var(--text-muted-on-dark); opacity: .8;
  margin-inline: auto;
}

/* The single Bengali line that signs the house (ART-VISION #12). */
.bn-line {
  margin-top: .9rem;
  font-family: "Tiro Bangla", "Cormorant Garamond", serif;
  font-size: 1.02rem; line-height: 1.6;
  color: var(--gold-300); opacity: .85;
}

/* The colophon: the signature under the whole work (ART-VISION #25). */
.colophon {
  text-align: center; padding: 0 var(--gutter) 1.4rem;
  font-family: var(--font-serif); font-style: italic;
  font-size: .8rem; letter-spacing: .06em;
  color: var(--gold-500); opacity: .55;
  margin-inline: auto;
}

/* ===== The moon over the departing sampan (ART-VISION #10) ==============
   The hero's nouka sails at sunrise; the footer's leaves under a small
   moon - the page completes one day on the river. Pure light, no markup. */
.site-footer::before {
  content: ""; position: absolute; pointer-events: none;
  /* outside the content columns, high in the sky above the departing boat */
  top: 64px; right: clamp(1rem, 2.2vw, 2.4rem);
  width: 38px; height: 38px; border-radius: 50%;
  background:
    radial-gradient(circle at 40% 38%, rgba(253,251,246,.85), rgba(233,219,178,.4) 52%, transparent 70%);
  box-shadow: 0 0 30px 8px rgba(233,219,178,.12);
  opacity: .6;
}
@media (max-width: 760px) { .site-footer::before { display: none; } }