/* ==========================================================
   PREMIUM MOBILE FOOTER
   Warm Minimal Beige Theme
========================================================== */

.new-footer {
  position: relative;

  background:
 #212818;

  padding: 55px 0 24px;

  color: #FAFAFA;

  text-align: center;

  overflow: hidden;
}

/* Elegant texture overlay */

.new-footer::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,0.02),
      transparent 35%,
      rgba(232,216,196,0.025) 70%,
      transparent
    );

  pointer-events: none;
}

/* Top glow line */

.new-footer::after {
  content: "";

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(220,201,163,0.45),
      transparent
    );
}

/* ==========================================================
   FOOTER CONTENT
========================================================== */

.footer-content {
  width: 92%;

  margin: 0 auto;

  display: flex;
  flex-direction: column;

  gap: 38px;

  position: relative;
  z-index: 2;
}

/* ==========================================================
   ORDERING
========================================================== */

.footer-col:nth-child(1) { order: 1; }
.footer-col:nth-child(2) { order: 2; }
.form-col { order: 3; }
.visit-container { order: 4; }

/* ==========================================================
   HEADINGS
========================================================== */

.footer-col h3 {
  color: #f8f6f1;

  font-size: 1.08rem;
  font-weight: 600;

  letter-spacing: 0.8px;

  margin-bottom: 18px;

  position: relative;
}

/* Elegant underline */

.footer-col h3::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -8px;

  transform: translateX(-50%);

  width: 45px;
  height: 2px;

  border-radius: 10px;

  background:
    linear-gradient(
      90deg,
      #E8D8C4,
      transparent
    );
}

/* ==========================================================
   ADDRESS BLOCK
========================================================== */

.footer-col:nth-child(1) p {
  font-size: 0.9rem;

  line-height: 1.65;

  color: #D8D0C6;

  margin: 0 auto 14px;

  max-width: 310px;

  text-align: center;

  background:
    rgba(255,255,255,0.04);

  padding: 16px 18px;

  border-radius: 18px;

  border:
    1px solid rgba(232,216,196,0.08);

  backdrop-filter: blur(10px);

  box-shadow:
    0 8px 20px rgba(0,0,0,0.12);
}

/* ==========================================================
   USEFUL LINKS + SOCIAL
========================================================== */

/* Hidden for now */

.footer-col:nth-child(2) {
  display: none;
}

/* Keep headings hidden */

.footer-col:nth-child(2) h3,
.footer-col:nth-child(2) .sm-title {
  display: none !important;
}

/* LINKS */

.footer-col:nth-child(2) ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col:nth-child(2) ul li {
  margin-bottom: 12px;
}

.footer-col:nth-child(2) ul li a {
  font-size: 0.88rem;

  color: #D8D0C6;

  text-decoration: none;

  position: relative;

  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}

/* Underline */

.footer-col:nth-child(2) ul li a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -3px;

  width: 0;
  height: 2px;

  border-radius: 10px;

  background:
    linear-gradient(
      90deg,
      #E8D8C4,
      #8B6F47
    );

  transition: width 0.3s ease;
}

/* Hover */

.footer-col:nth-child(2) ul li a:hover {
  color: #FAFAFA;

  padding-left: 5px;
}

.footer-col:nth-child(2) ul li a:hover::after {
  width: 60%;
}

/* ==========================================================
   SOCIAL ICONS
========================================================== */

.footer-col:nth-child(2) .social-links {
  display: flex;

  gap: 12px;

  justify-content: center;

  margin-top: 8px;
}

/* Icons */

.social-links a {
  width: 42px;
  height: 42px;

  border-radius: 14px;

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

  text-decoration: none;

  color: #FAFAFA;

  font-size: 1rem;

  background:
    rgba(255,255,255,0.04);

  border:
    1px solid rgba(232,216,196,0.08);

  backdrop-filter: blur(8px);

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover */

.social-links a:hover {
  transform: translateY(-4px);

  background:
    rgba(232,216,196,0.08);

  box-shadow:
    0 8px 18px rgba(0,0,0,0.18);
}

/* ==========================================================
   MAP SECTION
========================================================== */

.map-section {
  display: flex;
  justify-content: center;
}

/* Wrapper */

.map-wrapper {
  width: 100%;
  max-width: 500px;

  overflow: hidden;

  border-radius: 22px;

  border:
    1px solid rgba(232,216,196,0.08);

  background:
    rgba(255,255,255,0.03);

  backdrop-filter: blur(10px);

  box-shadow:
    0 12px 28px rgba(0,0,0,0.18);
}

/* Map */

.map-wrapper iframe {
  width: 100%;
  height: 250px;

  border: none;

  border-radius: 22px;

  filter:
    grayscale(15%)
    contrast(1.02);
}

/* ==========================================================
   VISITOR COUNT
========================================================== */

.visit-count {
  display: inline-flex;

  align-items: center;
  gap: 10px;

  padding: 12px 20px;

  border-radius: 16px;

  margin-top: 10px;

  color: #E8D8C4;

  font-size: 0.9rem;

  background:
    rgba(255,255,255,0.04);

  border:
    1px solid rgba(232,216,196,0.08);

  backdrop-filter: blur(10px);

  box-shadow:
    0 8px 20px rgba(0,0,0,0.12);
}

/* ==========================================================
   COPYRIGHT
========================================================== */

.footer-bottom {
  margin-top: 42px;

  padding-top: 22px;

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

  font-size: 0.78rem;

  color: #CFC6BB;

  text-align: center;

  position: relative;
  z-index: 2;
}

/* ==========================================================
   SMALL DEVICES
========================================================== */

@media (max-width: 400px) {

  .new-footer {
    padding: 48px 0 22px;
  }

  .footer-col h3 {
    font-size: 1rem;
  }

  .footer-col:nth-child(1) p {
    font-size: 0.82rem;

    padding: 14px 15px;

    border-radius: 16px;
  }

  .social-links a {
    width: 38px;
    height: 38px;

    border-radius: 12px;
  }

  .map-wrapper iframe {
    height: 220px;
  }

  .visit-count {
    font-size: 0.82rem;

    padding: 10px 16px;
  }

  .footer-bottom {
    font-size: 0.72rem;
  }
}