/* VDMT V33 — Quiet Luxury Footer refinement */
:root{
  --v33-ivory:#f6f2ea;
  --v33-ivory-soft:#faf8f3;
  --v33-forest:#1c3932;
  --v33-forest-soft:#2f5147;
  --v33-jade:#4b967e;
  --v33-stone:#b9ad99;
  --v33-line:rgba(28,57,50,.14);
}

.footer{
  position:relative!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,var(--v33-ivory-soft) 0%,var(--v33-ivory) 100%)!important;
  color:var(--v33-forest)!important;
  padding:68px 0 0!important;
  border-top:1px solid rgba(185,173,153,.34)!important;
}
/* Lotus becomes a quiet signature, cropped low rather than a wallpaper */
.footer:before{
  content:""!important;
  position:absolute!important;
  left:-2.5vw!important;
  bottom:52px!important;
  width:min(39vw,620px)!important;
  height:min(24vw,360px)!important;
  background:url('/assets/lotus-signature-v18.png') left 71%/112% auto no-repeat!important;
  opacity:.16!important;
  filter:saturate(.68) contrast(.93)!important;
  mix-blend-mode:multiply!important;
  pointer-events:none!important;
  z-index:0!important;
}
/* Remove template-like decorative circle */
.footer:after{display:none!important}
.footer .wrap{position:relative!important;z-index:1!important}

.footer-grid{
  grid-template-columns:1.25fr .72fr .78fr 1fr!important;
  gap:clamp(42px,5vw,86px)!important;
  align-items:start!important;
  padding-bottom:54px!important;
}
.footer-grid>div:first-child{
  padding-right:34px!important;
  border-right:1px solid rgba(28,57,50,.11)!important;
}
.footer-brand{
  width:auto!important;
  margin:0 0 20px!important;
  padding:0!important;
  background:transparent!important;
}
.footer-brand img{
  width:210px!important;
  max-width:100%!important;
  height:auto!important;
  display:block!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:none!important;
}
.footer p{
  color:#61716a!important;
  font-size:12.5px!important;
  line-height:1.78!important;
  max-width:285px!important;
}
.footer h3{
  color:var(--v33-jade)!important;
  font-family:var(--sans)!important;
  font-size:9px!important;
  font-weight:650!important;
  letter-spacing:.24em!important;
  text-transform:uppercase!important;
  margin:2px 0 24px!important;
}
.footer a{
  color:var(--v33-forest)!important;
  font-size:11.5px!important;
  line-height:1.55!important;
  margin-bottom:10px!important;
  opacity:.92!important;
  transition:color .2s ease,opacity .2s ease!important;
}
.footer a:hover{color:var(--v33-jade)!important;opacity:1!important;transform:none!important}

.footer-bottom{
  min-height:56px!important;
  margin:0 calc(50% - 50vw)!important;
  padding:0 max(calc((100vw - 1480px)/2 + 40px),40px)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:30px!important;
  background:var(--v33-forest)!important;
  border-top:1px solid rgba(185,173,153,.28)!important;
  color:rgba(250,248,243,.74)!important;
  font-size:9px!important;
  line-height:1.4!important;
}
.footer-bottom a{color:rgba(250,248,243,.92)!important;opacity:1!important}
.footer-bottom a:hover{color:#fff!important}

@media(max-width:1000px){
  .footer{padding-top:60px!important}
  .footer-grid{grid-template-columns:1.15fr .75fr .9fr 1fr!important;gap:36px!important}
  .footer-grid>div:first-child{padding-right:24px!important}
  .footer:before{width:48vw!important;height:31vw!important;left:-6vw!important;opacity:.14!important}
}

@media(max-width:760px){
  .footer{padding:52px 0 0!important}
  .footer-grid{
    grid-template-columns:1fr 1fr!important;
    gap:38px 28px!important;
    padding-bottom:44px!important;
  }
  .footer-grid>div:first-child{
    grid-column:1/-1!important;
    display:grid!important;
    grid-template-columns:150px 1fr!important;
    align-items:center!important;
    gap:26px!important;
    padding:0 0 28px!important;
    border-right:0!important;
    border-bottom:1px solid var(--v33-line)!important;
  }
  .footer-brand{margin:0!important}
  .footer-brand img{width:150px!important}
  .footer-grid>div:first-child p{margin:0!important;max-width:320px!important}
  .footer:before{
    width:78vw!important;
    height:44vw!important;
    left:-28vw!important;
    bottom:58px!important;
    background-position:left 74%!important;
    opacity:.10!important;
  }
  .footer-bottom{
    min-height:0!important;
    padding:15px 22px calc(15px + env(safe-area-inset-bottom))!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:7px!important;
  }
}

@media(max-width:520px){
  .footer{padding-top:42px!important}
  .footer-grid{gap:32px 20px!important;padding-bottom:36px!important}
  .footer-grid>div:first-child{grid-template-columns:112px 1fr!important;gap:18px!important;padding-bottom:24px!important}
  .footer-brand img{width:112px!important}
  .footer-grid>div:first-child p{font-size:10.5px!important;line-height:1.7!important}
  .footer h3{font-size:8px!important;margin-bottom:18px!important}
  .footer a{font-size:10.5px!important;margin-bottom:9px!important}
  .footer p{font-size:10.5px!important}
  .footer:before{width:105vw!important;height:58vw!important;left:-49vw!important;bottom:74px!important;opacity:.09!important}
  .footer-bottom{font-size:8px!important;padding-left:20px!important;padding-right:20px!important}
}
