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

footer,
.footer {
  width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(162, 252, 189, 0.12), transparent 34%),
    linear-gradient(135deg, #0b351d 0%, #0d3d20 48%, #082915 100%);
  color: #ffffff;
  padding: 36px 20px 20px;
}

.footer-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

/* ── Footer Header ───────────────────────────────────────────── */
.footer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-title {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.footer-divider {
  width: 100%;
  height: 1px;
  border: none;
  margin: 18px 0 28px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
}

/* ── Social Icons ────────────────────────────────────────────── */
.social-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon {
  width: 42px;
  height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  text-decoration: none;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.social-icon:hover {
  color: #a2fcbd;
  background: rgba(162, 252, 189, 0.14);
  border-color: rgba(162, 252, 189, 0.35);
  transform: translateY(-3px);
}

/* ── Main Footer Grid ────────────────────────────────────────── */
.footer-main {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.45fr;
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

/* Common section card */
.location-section,
.contact-section,
.services-section {
  min-width: 0;
  width: 100%;

  padding: 22px;
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Common headings */
.location-heading,
.contact-heading,
.services-heading {
  position: relative;

  margin: 0 0 18px;
  padding-bottom: 12px;

  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  letter-spacing: -0.01em;
}

.location-heading::after,
.contact-heading::after,
.services-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 46px;
  height: 3px;

  border-radius: 999px;
  background: #a2fcbd;
}

/* ── Location ────────────────────────────────────────────────── */
.location-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.location-map {
  display: block;
  width: 100%;
  height: 160px;
  border: none;
  border-radius: 16px;
  filter: saturate(0.95);
}

.location-address {
  margin: 0;
}

.address-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.address-link:hover {
  color: #a2fcbd;
}

.address-details {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  width: 100%;

  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.6;
}

.address-text {
  min-width: 0;
  flex: 1;
  overflow-wrap: break-word;
}

/* ── Contact Details ─────────────────────────────────────────── */
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-group {
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.contact-icon-wrapper {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  border-radius: 50%;
  color: #a2fcbd;
  background: rgba(162, 252, 189, 0.12);
  border: 1px solid rgba(162, 252, 189, 0.2);
}

.contact-icon {
  font-size: 1.05rem;
}

.contact-details {
  min-width: 0;
  flex: 1;
  padding-top: 2px;
}

.contact-details p {
  font-size: 0.88rem;
}

.contact-info {
  margin: 4px 0;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.contact-link {
  color: #ffffff;
  text-decoration: none;
  overflow-wrap: break-word;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #a2fcbd;
}

/* ── Services ────────────────────────────────────────────────── */
.services-content {
  height: 100%;
}

.services-content p {
  font-size: 0.88rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.services-column {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-item {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;

  line-height: 1.45;
}

.service-icon {
  color: #a2fcbd;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-link {
  min-width: 0;
  color: #ffffff;
  text-decoration: none;
  overflow-wrap: break-word;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.service-link:hover {
  color: #a2fcbd;
}

/* ── Footer Copy ─────────────────────────────────────────────── */
.footer-copy {
  margin: 28px 0 0;
  padding-top: 18px;

  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-section {
    grid-column: 1 / -1;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  footer,
  .footer {
    padding: 32px 16px 18px;
  }

  .footer-header {
    justify-content: center;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .services-section {
    grid-column: auto;
  }

  .location-section,
  .contact-section,
  .services-section {
    padding: 20px;
    border-radius: 18px;
  }

  .location-heading,
  .contact-heading,
  .services-heading {
    text-align: center;
  }

  .location-heading::after,
  .contact-heading::after,
  .services-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .location-map {
    height: 170px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  footer,
  .footer {
    padding: 28px 12px 16px;
  }

  .footer-divider {
    margin: 14px 0 22px;
  }

  .location-section,
  .contact-section,
  .services-section {
    padding: 18px;
  }

  .social-icon {
    width: 38px;
    height: 38px;
  }

  .location-map {
    height: 150px;
  }

  .address-details,
  .contact-item {
    gap: 10px;
  }

  .contact-icon-wrapper {
    width: 36px;
    height: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-copy {
    font-size: 0.78rem;
  }
}

@media (max-width: 340px) {
  .footer-title {
    font-size: 1.25rem;
  }

  .location-heading,
  .contact-heading,
  .services-heading {
    font-size: 0.98rem;
  }

  .social-icons {
    gap: 8px;
  }

  .social-icon {
    width: 34px;
    height: 34px;
  }

  .address-details,
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .location-heading,
  .contact-heading,
  .services-heading {
    text-align: left;
  }

  .location-heading::after,
  .contact-heading::after,
  .services-heading::after {
    left: 0;
    transform: none;
  }
}