/* ==========================================================================
   AARAMBH — SHARED SITE FOOTER STYLESHEET
   Brand Font & Colors: Cormorant Garamond + Montserrat
   Primary Red (#D62828) + Burnt Orange (#E86F30) + Dark Minimalist (#121212)
   Layout: 4 Columns (Desktop) -> 2 Columns (Tablet) -> 1 Column (Mobile 48px tap targets)
   ========================================================================== */

/* Outer Footer Container */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-footer, #121212);
  padding: 80px 0 36px;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.65);
  width: 100%;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
  font-family: var(--font-functional, 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif);
}

.site-footer .container {
  width: min(100% - 2.5rem, 1200px);
  margin-inline: auto;
  box-sizing: border-box;
}

/* 4-Column Grid: Brand wider, then Services, Company, Contact */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.15fr 0.9fr 1.35fr;
  gap: 56px;
  margin-bottom: 56px;
}

/* Column 1: Brand */
.footer-brand .logo,
.footer-col-brand .logo {
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-brand .logo:hover,
.footer-col-brand .logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(214, 40, 40, 0.28));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.footer-brand .logo:hover .footer-logo-img,
.footer-col-brand .logo:hover .footer-logo-img {
  filter: drop-shadow(0 3px 12px rgba(214, 40, 40, 0.5));
}

.footer-logo-text {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-weight: 700;
  font-size: 1.42rem;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  line-height: 1;
}

.footer-brand .logo-symbol,
.footer-col-brand .logo-symbol {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(214, 40, 40, 0.14);
  border: 1px solid rgba(214, 40, 40, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red, #D62828);
  flex-shrink: 0;
}

.footer-brand .logo-symbol svg,
.footer-col-brand .logo-symbol svg {
  width: 18px;
  height: 18px;
}

.footer-brand .text-gradient,
.footer-col-brand .text-gradient {
  color: var(--primary-red, #D62828);
}

.footer-brand p,
.footer-brand-text {
  margin: 18px 0 24px;
  max-width: 330px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

/* Outlined Red Pill Button */
.footer-btn-consultation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  border: 1.5px solid var(--primary-red, #D62828);
  background: transparent;
  color: #FFFFFF;
  font-family: var(--font-functional, 'Montserrat', sans-serif);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
  .footer-btn-consultation:hover {
    background: var(--primary-red, #D62828);
    color: #FFFFFF;
    border-color: var(--primary-red, #D62828);
    box-shadow: 0 4px 18px rgba(214, 40, 40, 0.38);
    transform: translateY(-2px);
  }
}

/* Column Headings: small uppercase, letter-spaced, white */
.footer-col h4,
.footer-col-title {
  font-family: var(--font-functional, 'Montserrat', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 20px 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Navigation Lists */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.65;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

/* Column 4: Contact details */
.footer-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.6;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Social Icon Links */
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.footer-social-link svg {
  width: 17px;
  height: 17px;
}

/* Hover-only interactions (guarded for touch devices) */
@media (hover: hover) and (pointer: fine) {
  .footer-col ul li a:hover,
  .footer-contact-link:hover {
    color: #FFFFFF;
    transform: translateX(4px);
  }

  .footer-col ul li a:hover::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-red, #D62828);
    box-shadow: 0 0 6px var(--primary-red, #D62828);
  }

  .footer-social-link:hover {
    color: #FFFFFF;
    background: rgba(214, 40, 40, 0.16);
    border-color: var(--primary-red, #D62828);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(214, 40, 40, 0.25);
  }

  .footer-legal a:hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-decoration-color: var(--primary-red, #D62828);
    text-underline-offset: 4px;
  }
}

/* Thin divider line and Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p,
.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   1. Laptop / Desktop (1024px+): 4 columns
   2. Tablet (640px to 1023px): 2 columns
   3. Mobile (< 640px): 1 column, stacked, with 48px minimum tap targets
   ========================================================================== */

@media (min-width: 640px) and (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    margin-bottom: 44px;
  }
}

@media (max-width: 639px) {
  .site-footer {
    padding: 56px 0 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .footer-brand p,
  .footer-brand-text {
    max-width: 100%;
  }

  .footer-col ul li {
    margin-bottom: 0;
  }

  /* 48px Minimum Tap Targets for Mobile Accessibility */
  .footer-col ul li a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    width: 100%;
  }

  .footer-contact-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }

  .footer-btn-consultation {
    min-height: 48px;
    width: 100%;
    justify-content: center;
  }

  .footer-social {
    gap: 16px;
    margin-top: 24px;
  }

  .footer-social-link {
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-legal a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
  }

  .footer-sep {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
  }
}
