/* Contact panel, social links, and footer location */

/* Contact shell */
.section-shell-contact {
  padding: var(--section-shell-pad);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 90%);
}

.contact-card-shell {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contact-side {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 2.7vw, 3rem);
}

.location-change-btn {
  margin-top: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  border-radius: 999px;
  background: transparent;
  color: #cbd5e1;
  padding: 0.34rem 0.72rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.location-change-btn:hover {
  border-color: rgba(147, 197, 253, 0.9);
  color: #ffffff;
  background: rgba(30, 64, 175, 0.22);
}

.location-user-summary {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #e2e8f0;
}

.footer-location-strip {
  margin-top: 1.65rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(51, 65, 85, 0.72);
}

.footer-location-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 13px;
  border: 1px solid rgba(100, 116, 139, 0.42);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.22) 100%);
}

.footer-location-meta {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.78rem;
}

.footer-location-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.42);
  background: rgba(15, 23, 42, 0.42);
  color: #dec09b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-location-kicker {
  font-size: 0.71rem;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: #f4e6d2;
}

.footer-location-summary {
  margin-top: 0.24rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #e2e8f0;
}

.location-change-btn-footer {
  margin-top: 0;
  padding: 0.44rem 0.82rem;
  font-size: 0.72rem;
  letter-spacing: 0.045em;
  color: #e2e8f0;
}

.social-link {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.social-link i {
  font-size: 1.22rem;
  line-height: 1;
}

.social-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.social-link-whatsapp {
  background: #25d366;
  border-color: #1da851;
}

.social-link-telegram {
  background: #229ed9;
  border-color: #1688bf;
}

.social-link-instagram {
  background: linear-gradient(45deg, #f58529 0%, #dd2a7b 45%, #8134af 72%, #515bd4 100%);
  border-color: #b8328d;
}

/* Tablet and mobile contact layout */
@media (max-width: 768px) {
  .contact-card-shell {
    border-radius: 16px;
  }

  .contact-side {
    padding: 1.5rem;
  }

  .footer-location-shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.78rem;
  }

  .footer-location-meta {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .footer-location-copy {
    text-align: center;
  }

  .location-change-btn-footer {
    width: 100%;
    text-align: center;
  }

  .contact-side > .relative.z-10 > h3,
  .contact-side > .relative.z-10 > p,
  #contactForm > h3 {
    text-align: center;
  }

  .contact-side > .relative.z-10 > p {
    margin-inline: auto;
    max-width: 34ch;
  }
}

@media (min-width: 768px) {
  .contact-card-shell {
    flex-direction: row;
  }
}


/* Footer location stack */
@media (max-width: 1024px) {
  .footer-location-meta {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
  }

  .footer-location-icon {
    order: 1;
  }

  .footer-location-copy {
    order: 2;
    width: 100%;
    text-align: center;
  }

  .footer-location-kicker {
    text-align: center;
  }
}
