/* ==========================================
   LINDEN HAVEN — MINIMAL LUXURY FOOTER
   FINAL DROP-IN VERSION
========================================== */

.lux-footer {
  background: linear-gradient(180deg, #f7f3ec 0%, #efe8dc 100%);
  color: #3e2a1f;
  padding: 52px 0 20px;
  border-top: 1px solid rgba(62, 42, 31, 0.08);
  position: relative;
  overflow: hidden;
}

.lux-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.28), transparent 34%),
    radial-gradient(circle at 85% 92%, rgba(101, 112, 85, 0.06), transparent 40%);
}

.lux-footer .container {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ==========================================
   TOP AREA
========================================== */

.lux-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.78fr 0.95fr;
  gap: 50px;
  align-items: start;
}

.lux-footer__brand {
  max-width: 540px;
}

.lux-footer__logo {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
  color: #55614a;
  font-size: clamp(2.1rem, 3vw, 3.1rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1;
}

.lux-footer__brand p {
  margin: 0;
  color: rgba(62, 42, 31, 0.82);
  font-size: 1rem;
  line-height: 1.62;
  max-width: 540px;
}

/* ==========================================
   LINKS
========================================== */

.lux-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding-top: 8px;
}

.lux-footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lux-footer__col h4,
.lux-footer__newsletter h4 {
  margin: 0 0 10px;
  color: #657055;
     font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lux-footer__col a {
  display: inline-block;
  width: fit-content;
  text-decoration: none;
  color: #3e2a1f;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color 0.22s ease, opacity 0.22s ease;
  position: relative;
}

.lux-footer__col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.24s ease;
}

.lux-footer__col a:hover {
  color: #657055;
}

.lux-footer__col a:hover::after {
  width: 100%;
}

/* ==========================================
   NEWSLETTER
========================================== */

.lux-footer__newsletter {
  background: rgba(250, 247, 242, 0.76);
  border: 1px solid rgba(101, 112, 85, 0.10);
  border-radius: 34px;
  padding: 24px 24px 22px;
  box-shadow: 0 12px 26px rgba(62, 42, 31, 0.05);
}

.lux-footer__newsletter p {
  margin: 0 0 16px;
  color: rgba(62, 42, 31, 0.8);
  font-size: 0.98rem;
  line-height: 1.62;
}

.lux-footer__form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.lux-footer__form input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 52px;
  margin: 0;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(101, 112, 85, 0.14);
  background: #f7f3ec;
  color: #3e2a1f;
  font-size: 0.97rem;
  font-family: inherit;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.lux-footer__form input[type="email"]::placeholder {
  color: #9a938d;
}

.lux-footer__form input[type="email"]:focus {
  border-color: #657055;
  box-shadow: 0 0 0 4px rgba(101, 112, 85, 0.08);
}

.lux-footer__form button {
    height: 52px;
    min-width: 126px;
    padding: 0 24px;
    margin: 0;
    border: 1px solid #657055;
    border-radius: 999px;
    background: transparent;
    color: #657055;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(101, 112, 85, 0.18);
    appearance: none;
    -webkit-appearance: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lux-footer__form button:hover {
  background: #4a5342;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(74, 83, 66, 0.22);
  color:white;
}

/* ==========================================
   BOTTOM BAR
========================================== */

.lux-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(62, 42, 31, 0.08);
}

.lux-footer__bottom p {
  margin: 0;
  color: rgba(62, 42, 31, 0.72);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ==========================================
   SOCIALS — SVG ICON VERSION
========================================== */

.lux-footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lux-footer__socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(248, 244, 238, 0.95);
  border: 1px solid rgba(101, 112, 85, 0.10);
  color: #4a5342;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.lux-footer__socials a:hover {
  background: #657055;
  border-color: #657055;
  color: #f7f3ec;
  transform: translateY(-1px);
}

.lux-footer__socials svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1100px) {
  .lux-footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .lux-footer__links {
    max-width: 420px;
    gap: 28px;
    padding-top: 0;
  }

  .lux-footer__newsletter {
    max-width: 640px;
  }
}

@media (max-width: 768px) {
  .lux-footer {
    padding: 16px 0 18px;
  }

  .lux-footer .container {
    width: min(100% - 28px, 1280px);
  }

  .lux-footer__top {
    gap: 20px;
  }

  .lux-footer__brand {
    max-width: 100%;
  }

  .lux-footer__logo {
    display: inline-block;
    margin-bottom: 12px;
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    letter-spacing: 0.2em;
    line-height: 1.08;
  }

  .lux-footer__brand p {
    max-width: 100%;
    font-size: 0.97rem;
    line-height: 1.55;
    margin: 0;
  }

  .lux-footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
    max-width: 100%;
  }

  .lux-footer__col {
    gap: 7px;
  }

  .lux-footer__col h4,
  .lux-footer__newsletter h4 {
    margin: 0 0 8px;
    font-size: 0.84rem;
    letter-spacing: 0.24em;
  }

  .lux-footer__col a {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .lux-footer__newsletter {
    max-width: 100%;
    padding: 20px 18px 18px;
    border-radius: 28px;
    box-shadow: 0 10px 22px rgba(62, 42, 31, 0.05);
  }

  .lux-footer__newsletter p {
    margin: 0 0 14px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .lux-footer__form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .lux-footer__form input[type="email"] {
    width: 100%;
    height: 50px;
    padding: 16px 18px;
    font-size: 0.97rem;
    background: rgba(247, 243, 236, 0.65);
  }

  .lux-footer__form button {
    width: 100%;
    min-width: 0;
    height: 48px;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
  }

  .lux-footer__bottom {
    margin-top: 20px;
    padding-top: 16px;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }

  .lux-footer__bottom p {
    font-size: 0.94rem;
  }

  .lux-footer__socials {
    justify-content: center;
    width: 100%;
    gap: 12px;
  }

  .lux-footer__socials a {
    width: 42px;
    height: 42px;
  }

  .lux-footer__socials svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 560px) {
  .lux-footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
  }
}

@media (max-width: 480px) {
  .lux-footer {
	position: relative;
	margin-top: 93px;
	padding-top: 75px;
	padding: 14px 0 16px;
  }

  .lux-footer .container {
    width: min(100% - 24px, 1280px);
  }

  .lux-footer__logo {
	font-size: clamp(1.95rem, 10vw, 2.45rem);
	        letter-spacing: 0.18em;
	        display: block;
	        text-align: center;
  }

  .lux-footer__brand p {
    font-size: 0.95rem;
  }

  .lux-footer__newsletter {
    padding: 18px 16px 16px;
    border-radius: 24px;
  }

  .lux-footer__form input[type="email"] {
    height: 48px;
  }

  .lux-footer__form button {
    height: 46px;
  }
}


/* =========================================
   FOOTER NEWSLETTER — HENDAURA SLIDER STYLE
   Mobile-safe version
========================================= */

.lux-footer__form.footer-signup {
  width: 100%;
  display: block;
  margin: 0;
}

.footer-signup__row {
  position: relative;
  width: 100%;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(101, 112, 85, 0.18);
  background: rgba(247, 243, 236, 0.85);
  box-shadow: 0 10px 22px rgba(62, 42, 31, 0.06);
}

.footer-signup__input,
.lux-footer__form.footer-signup input[type="email"].footer-signup__input {
  width: 100%;
  height: 100%;
  padding: 0 132px 0 22px;
  border: none !important;
  outline: none;
  background: transparent !important;
  color: #3e2a1f;
  font-family: inherit;
  font-size: 1rem;
  box-shadow: none !important;
}

.footer-signup__input::placeholder {
  color: rgba(62, 42, 31, 0.48);
}

.footer-signup__input:focus,
.lux-footer__form.footer-signup input[type="email"].footer-signup__input:focus {
  border: none !important;
  box-shadow: none !important;
}

.footer-signup__button,
.lux-footer__form.footer-signup button.footer-signup__button {
  position: absolute;
  right: 0;
  top: 0;
  width: 104px;
  height: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 2px solid #657055;
  background: transparent;
  color: #3e2a1f;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  transition: width 0.4s ease, background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.footer-signup__button:hover,
.lux-footer__form.footer-signup button.footer-signup__button:hover {
  background: rgba(101, 112, 85, 0.12);
  color: #3e2a1f;
  transform: none;
  box-shadow: none;
}

.footer-signup__button.is-loading {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.footer-signup.is-success .footer-signup__button,
.lux-footer__form.footer-signup.is-success button.footer-signup__button {
  width: 100%;
  background: rgba(101, 112, 85, 0.16);
}

.footer-signup.is-success .footer-signup__input {
  opacity: 0;
  color: transparent;
}

.footer-signup.is-success .footer-signup__input::placeholder {
  color: transparent;
}

/* Mobile slider fix — prevents input/button collision */
@media (max-width: 768px) {
  .lux-footer__form.footer-signup {
    display: block;
    width: 100%;
    flex-direction: unset;
    align-items: unset;
    gap: 0;
  }

  .footer-signup__row {
    height: 56px;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .footer-signup__input,
  .lux-footer__form.footer-signup input[type="email"].footer-signup__input {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 100%;
    padding: 0 14px 0 20px;
    font-size: 15px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .footer-signup__button,
  .lux-footer__form.footer-signup button.footer-signup__button {
    position: static;
    flex: 0 0 98px;
    width: 98px;
    min-width: 98px;
    height: calc(100% - 8px);
    margin-right: 4px;
    padding: 0;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.08em;
    background: transparent;
    color: #3e2a1f;
    box-shadow: none;
  }

  .footer-signup.is-success .footer-signup__button,
  .lux-footer__form.footer-signup.is-success button.footer-signup__button {
    flex-basis: 100%;
    width: 100%;
    min-width: 100%;
    margin-right: 0;
    font-size: 13px;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 480px) {
  .footer-signup__row {
    height: 54px;
  }

  .footer-signup__input,
  .lux-footer__form.footer-signup input[type="email"].footer-signup__input {
    padding-left: 18px;
    padding-right: 10px;
    font-size: 15px;
  }

  .footer-signup__button,
  .lux-footer__form.footer-signup button.footer-signup__button {
    flex-basis: 92px;
    width: 92px;
    min-width: 92px;
    font-size: 12.5px;
  }
}

