/* ── Site Footer ────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  border-top: 4px solid #F28C28; /* orange accent bar */
}

/* ── Tier 1: Main column grid ── */
.footer__main {
  padding: 80px 0 48px;
}

.footer__main-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 72px;
  align-items: start;
}

/* Column dividers — hairline between cols 1-3, not contact col */
.footer__col {
  position: relative;
}

.footer__col:not(.footer__col--contact)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(255, 255, 255, 0.10);
}

/* Column heading */
.footer__col-heading {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: default;
  line-height: 1.3;
}

/* Column links */
.footer__col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: color 250ms ease-out, transform 250ms ease-out;
}

.footer__col-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: #F28C28;
  transition: width 300ms ease-out;
}

.footer__col-links a:hover {
  color: #F28C28;
  transform: translateX(4px);
}

.footer__col-links a:hover::after {
  width: 100%;
}

/* Chevron — hidden on desktop */
.footer__col-chevron {
  display: none;
  flex-shrink: 0;
  transition: transform 200ms ease-out;
}

/* Contact column */
.footer__contact-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

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

.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #F28C28;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  display: inline-block;
  transition: color 250ms ease-out, transform 250ms ease-out;
}

.footer__contact-item a:hover {
  color: #F28C28;
  transform: translateX(4px);
}

/* Newsletter */
.footer__newsletter-heading {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.footer__newsletter-row {
  display: flex;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 150ms ease-out;
}

.footer__newsletter-row:focus-within {
  border-color: #F28C28;
}

.footer__newsletter-row input[type="email"] {
  flex: 1;
  border: none;
  padding: 9px 12px;
  font-size: 13px;
  color: #FFFFFF;
  background: transparent;
  outline: none;
  font-family: inherit;
}

.footer__newsletter-row input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer__newsletter-row button[type="submit"] {
  flex-shrink: 0;
  background: #F28C28;
  border: none;
  padding: 9px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 150ms ease-out;
}

.footer__newsletter-row button[type="submit"]:hover {
  background: #D9741A;
}

/* ── Tier 2: Bottom bar ── */
.footer__bottom {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer__bottom-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* navy wordmark needs a light plate on the navy bar */
.footer__bottom-logo {
  display: inline-flex; align-items: center;
  background: #FFFFFF; border-radius: 999px; padding: 6px 16px;
}
.footer__bottom-logo img {
  height: 32px;
  width: auto;
}

.footer__bottom-copy {
  flex: 1;
  text-align: center;
}

.footer__bottom-copy p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.footer__social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__social-icon {
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  transition: color 150ms ease-out;
}

.footer__social-icon:hover {
  color: #F28C28;
}

.footer__made-in-india {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 16px;
}

/* ── Responsive: 1024px → 2-col ── */
@media (max-width: 1023px) {
  .footer__main-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer__col::after {
    display: none;
  }
}

/* ── Responsive: 767px → single column + accordions ── */
@media (max-width: 767px) {
  .footer__main {
    padding: 40px 0 24px;
  }

  .footer__main-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer__col--contact {
    order: -1;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer__col-chevron {
    display: block;
  }

  .footer__col-heading {
    cursor: pointer;
    padding: 14px 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer__col-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 280ms ease-out, padding 280ms ease-out;
    gap: 0;
  }

  .footer__col-links li a {
    display: block;
    padding: 10px 0;
  }

  .footer__col.is-open .footer__col-links {
    max-height: 500px;
    padding: 8px 0 16px;
  }

  .footer__col.is-open .footer__col-chevron {
    transform: rotate(180deg);
  }

  .footer__col--contact .footer__col-heading {
    cursor: default;
    border-bottom: none;
    padding: 0;
  }

  .footer__col--contact .footer__col-chevron {
    display: none;
  }

  .footer__col--contact .footer__col-links {
    max-height: none;
    overflow: visible;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer__bottom-copy {
    order: 2;
  }

  .footer__made-in-india {
    border-left: none;
    padding-left: 0;
  }
}
