/* ==========================================================
   footer.css — Swami Constructions & PMC
   Refined footer component matching the Model footer visual style:
   - Removed top horizontal line
   - Building sketch fully visible at bottom-left corner
   - Swami logo & social media icons shifted right for alignment
   - Dark serif column headers matching Model palette
   - Clean 3-part bottom copyright bar (Powered by Kilowott | Copyright | Disclaimer)
   ========================================================== */

.site-footer {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-top: none; /* Top line removed */
  padding-top: 64px;
  overflow: hidden;
}

/* ── Building Sketch (Fully visible from bottom-left corner) ── */
.ft-corner-sketch {
  position: absolute;
  left: -5px;
  bottom: 0;
  width: clamp(220px, 28vw, 320px);
  height: clamp(260px, 34vw, 360px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
}

.ft-corner-sketch img {
  width: auto;
  height: 100%;
  max-width: 100%;
  display: block;
  object-fit: contain;
  object-position: bottom left;
}

/* ── Main Footer Grid ── */
.ft-main-grid {
  display: grid;
  grid-template-columns: minmax(320px, 400px) 1fr;
  gap: 36px;
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
}

/* ── Left Column (Logo & Social icons shifted right to clear sketch) ── */
.ft-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: clamp(90px, 10vw, 120px);
  position: relative;
  z-index: 2;
}

/* Logo Lockup */
.ft-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  text-decoration: none;
  outline: none;
}

.ft-logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.ft-logo-img {
  height: 84px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.ft-logo-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ft-logo-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-accent, #F58220);
  line-height: 1;
  letter-spacing: 0.04em;
}

.ft-logo-subtitle {
  font-family: 'Fustat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: #223A7A;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Social Row: 3 outlined square boxes matching Model footer [f] [o] [in] */
.ft-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ft-soc-box {
  width: 32px;
  height: 32px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted, #475569);
  background: #ffffff;
  transition: all 0.2s ease;
  text-decoration: none;
}

.ft-soc-box:hover {
  color: var(--dark, #223A7A);
  border-color: var(--dark, #223A7A);
  background-color: #f8fafc;
}

.ft-soc-box svg {
  width: 14px;
  height: 14px;
}

/* ── Right Link Columns ── */
.ft-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

/* Column Header: Dark/Black serif text matching Model footer ("MODELS GROUP", "SUPPORT", "QUICK LINKS") */
.ft-col-header {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-accent, #F58220);
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.2;
}

.ft-col-header--accent {
  color: #F58220;
}

.ft-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Link Items */
.ft-link-item {
  font-family: 'Fustat', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary, #223A7A);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
  width: fit-content;
}

.ft-link-item:hover {
  color: var(--gold, #F58220);
}

/* Chevron Icon */
.ft-chevron-icon {
  width: 10px;
  height: 10px;
  stroke: #444444;
  stroke-width: 2;
  fill: none;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.ft-link-item:hover .ft-chevron-icon {
  stroke: var(--gold, #F58220);
}

/* ── Bottom Copyright Bar ── */
.ft-bottom-bar {
  border-top: 1px solid #eeeeee;
  background: #ffffff;
  padding: 16px 0;
  position: relative;
  z-index: 3;
}

.ft-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ft-powered-by {
  font-family: 'Fustat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #223A7A;
}

.ft-powered-by a {
  color: #223A7A;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.ft-powered-by a:hover {
  color: var(--gold, #F58220);
  text-decoration: underline;
}

.ft-copyright {
  font-family: 'Fustat', sans-serif;
  font-size: 12px;
  color: #223A7A;
  margin: 0;
  text-align: center;
}

.ft-disclaimer-link {
  font-family: 'Fustat', sans-serif;
  font-size: 12px;
  color: #223A7A;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ft-disclaimer-link:hover {
  color: var(--dark, #223A7A);
  text-decoration: underline;
}

/* ── Responsive Layout ── */
@media (max-width: 991px) {
  .ft-main-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ft-left-col {
    padding-left: 0;
  }
  .ft-corner-sketch {
    opacity: 0.35;
    width: clamp(180px, 36vw, 240px);
    height: clamp(220px, 42vw, 300px);
  }
}

@media (max-width: 768px) {
  .ft-logo-img { height: 72px; }
  .ft-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }
  .ft-bar-container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .site-footer { padding-top: 48px; }
  .ft-main-grid { padding-bottom: 48px; }
}

@media (max-width: 480px) {
  .site-footer { padding-top: 36px; }
  .ft-main-grid { padding-bottom: 36px; gap: 32px; }
  .ft-links-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .ft-corner-sketch { opacity: 0.18; width: 140px; height: 180px; }
  .ft-logo-title { font-size: 22px; }
  .ft-logo-img { height: 60px; }
  .ft-col-header { font-size: 15px; margin-bottom: 14px; }
  .ft-link-item { font-size: 13px; }
  .ft-bar-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .ft-powered-by, .ft-copyright, .ft-disclaimer-link {
    font-size: 11px;
  }
}

