
html{scroll-behavior:smooth}#promo,#booking,#services{scroll-margin-top:95px}
.ams-promo-cta{background:linear-gradient(120deg,#e8ca84,#fff3c7,#cba55c)!important;color:#174a3c!important;border:1px solid #f9e7af!important;box-shadow:0 6px 25px #a87a3244;animation:amsGoldPulse 4s ease-in-out infinite}
@keyframes amsGoldPulse{0%,100%{box-shadow:0 6px 22px #a87a3233}50%{box-shadow:0 8px 30px #e4bd73a8}}
.ams-availability-note{max-width:950px;margin:14px auto 26px;padding:17px 22px;border-radius:18px;background:linear-gradient(115deg,#f8f5e9,#e9f6ee);border:1px solid #c6a766;color:#285846;font-size:clamp(.92rem,1.5vw,1.06rem);line-height:1.7;text-align:center;box-shadow:0 8px 24px #0b604412}
#promo{position:relative}#promo:before{content:'✦';position:absolute;right:5%;top:25px;color:#c6a15b;font-size:2.5rem;pointer-events:none;animation:amsFloat 5s ease-in-out infinite}@keyframes amsFloat{50%{transform:translateY(-12px) rotate(18deg)}}
#promo .promo-card{transition:transform .3s ease,box-shadow .3s ease}#promo .promo-card:hover{transform:translateY(-6px);box-shadow:0 16px 36px #07563c2a}
@media(prefers-reduced-motion:reduce){.ams-promo-cta,#promo:before{animation:none!important}html{scroll-behavior:auto}}

/* ================================================================
   AIN MUSLIMAH · SIGNATURE EMERALD & GOLD
   Public website enhancements — no booking / payment / form changes.
   ================================================================ */
.ams-curated body{
  background:
    radial-gradient(ellipse 60% 23% at 4% 13%,#e8f3e8 0,transparent 95%),
    radial-gradient(ellipse 45% 23% at 98% 66%,#f6ead1 0,transparent 95%),
    linear-gradient(160deg,#fcfdf8,#f4f9f2 46%,#faf7eb 100%);
}
.ams-curated .hero{
  box-shadow:inset 0 -18px 45px #042c224f,0 15px 55px #0e48322d;
  border-bottom:3px solid #d8b96e;
}
.ams-curated :is(.spa-feature,.promo-section,.service-section,.homestay,.gallery-section,.ams-events,.ams-stay-request,#booking){
  background-image:
    radial-gradient(ellipse at 0 0,#d7e9d437 0,transparent 38%),
    radial-gradient(ellipse at 100% 100%,#e9d3a030 0,transparent 32%);
}
.ams-lux-painted{position:relative;isolation:isolate}
.ams-lux-scene{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;user-select:none;contain:paint;}
.ams-lux-scene :is(.ams-lux-petal,.ams-lux-mandala,.ams-lux-halo,.ams-lux-seam){position:absolute;pointer-events:none}
.ams-lux-petal{
  left:var(--lx);top:var(--ly);font:normal var(--ls) / 1 Georgia,serif;
  color:var(--lux-petal,#b78e44);opacity:var(--lo,.30);
  text-shadow:0 0 12px #f3d99b5c;transform:rotate(var(--lr,0deg));
  animation:amsLuxPetal var(--ld,18s) ease-in-out var(--lt,-4s) infinite alternate;
}
.ams-lux-petal.ams-lux-point{font-size:calc(var(--ls)*.55);filter:drop-shadow(0 0 8px #eed18ba1)}
.ams-lux-scene .ams-lux-mandala{
  width:min(34vw,390px);aspect-ratio:1;border:1px solid var(--lux-ring,#b79b5a38);
  border-radius:48% 52% 57% 43%;box-shadow:0 0 0 27px #d1b57a0d,0 0 0 69px #d1b57a09;
  opacity:.7;animation:amsLuxRotate 57s linear infinite;
}
.ams-lux-scene .ams-lux-mandala:before{
  content:'✿';position:absolute;inset:0;display:grid;place-items:center;
  font:normal clamp(90px,16vw,230px)/1 Georgia,serif;color:var(--lux-flower,#c3a66d1c);
}
.ams-lux-scene .ams-lux-mandala-a{top:-10%;right:-8%;}
.ams-lux-scene .ams-lux-mandala-b{bottom:-17%;left:-10%;animation-direction:reverse;animation-duration:68s;transform:scale(.83)}
.ams-lux-halo{
  width:clamp(200px,42vw,670px);height:clamp(200px,42vw,670px);
  border-radius:50%;background:radial-gradient(circle,#e9d18a16 0,#a2d8b416 36%,transparent 69%);
  filter:blur(15px);animation:amsLuxHalo 24s ease-in-out infinite alternate;
}
.ams-lux-halo.ams-lux-halo-a{top:-21%;left:-17%}
.ams-lux-halo.ams-lux-halo-b{right:-19%;bottom:-31%;animation-delay:-12s;animation-direction:alternate-reverse}
.ams-lux-scene .ams-lux-seam{
  top:0;left:8%;right:8%;height:1px;opacity:.9;
  background:linear-gradient(90deg,transparent,#bb975565,transparent);
}
.ams-lux-dark{--lux-petal:#f6d98e;--lux-ring:#e1c58765;--lux-flower:#edd5931d}
.ams-lux-dark .ams-lux-petal{filter:drop-shadow(0 0 9px #e8c17177)}
.ams-lux-dark .ams-lux-halo{background:radial-gradient(circle,#d6b36f2a 0,#5abb9d14 40%,transparent 72%)}
.ams-curated .hero.ams-lux-painted .ams-lux-scene{z-index:1}
.ams-curated .hero.ams-lux-painted .hero-copy,
.ams-curated .hero.ams-lux-painted .ams-hero-brand-stage{position:relative;z-index:2}
.ams-curated :is(.spa-feature,.promo-section,.service-section,.homestay,.ams-events,.gallery-section,.ams-stay-request).ams-lux-painted{
  border-top:1px solid #c8ae7a44;
}
.ams-curated :is(.booking-panel,.ams-event-form,.ams-availability-calendar .ams-calendar-card){
  box-shadow:0 19px 50px #15493619,0 0 0 1px #d1b27853;
}
.ams-curated :is(.promo-live-card,.service-card,.choice-card,.ams-event-facilities article){
  box-shadow:0 15px 38px #134b3417,0 1px 0 #f3ddb0b8;
}
.ams-curated :is(.section-heading,.booking-heading,.ams-event-heading) h2{
  text-wrap:balance;
}
.ams-curated :is(.section-heading,.booking-heading,.ams-event-heading) h2::after{
  content:'';display:block;width:clamp(70px,9vw,125px);height:2px;margin:15px auto 0;
  background:linear-gradient(90deg,transparent,#c8a65d,#f0dbaf,#c8a65d,transparent);border-radius:8px;
}
.ams-curated :is(.btn,.nav-book,.booking-submit,.ams-event-submit,.ams-branch-wa){
  transition:transform .24s ease,box-shadow .3s ease,filter .25s ease;
}
.ams-curated :is(.btn,.nav-book,.booking-submit,.ams-event-submit,.ams-branch-wa):hover{
  filter:saturate(1.08) brightness(1.025);
  box-shadow:0 12px 28px #075d462f,0 2px 0 #e7ce926b;
}
.ams-lux-scene:not(.ams-lux-visible) :is(.ams-lux-petal,.ams-lux-mandala,.ams-lux-halo){animation-play-state:paused}
@keyframes amsLuxPetal{
  0%{transform:translate3d(0,20px,0) rotate(var(--lr,0deg)) scale(.75);opacity:.12}
  45%{opacity:var(--lo,.30)}
  100%{transform:translate3d(var(--ldx,23px),-74px,0) rotate(calc(var(--lr,0deg) + 85deg)) scale(1.13);opacity:.18}
}
@keyframes amsLuxRotate{from{transform:rotate(-18deg)}to{transform:rotate(342deg)}}
@keyframes amsLuxHalo{from{transform:translate3d(-35px,10px,0) scale(.85);opacity:.32}to{transform:translate3d(60px,-33px,0) scale(1.16);opacity:.85}}
@media(max-width:780px){
  .ams-lux-scene .ams-lux-mandala{width:65vw;opacity:.38}
  .ams-lux-scene .ams-lux-mandala:before{font-size:28vw}
  .ams-lux-petal:nth-of-type(n+9){display:none}
  .ams-lux-halo{opacity:.45}
}
@media(prefers-reduced-motion:reduce){
  .ams-lux-scene :is(.ams-lux-petal,.ams-lux-mandala,.ams-lux-halo){animation:none!important}
  .ams-curated :is(.btn,.nav-book,.booking-submit,.ams-event-submit,.ams-branch-wa){transition:none}
}

/* Lokasi: keep a fully opaque emerald backdrop behind the light text.
   The decorative background-image rule above must never replace it. */
html.ams-curated #contact {
  background-color:#064b3b;
  background-image:
    radial-gradient(ellipse at 14% 6%,rgba(255,222,160,.16),transparent 42%),
    radial-gradient(ellipse at 92% 96%,rgba(109,229,191,.19),transparent 44%),
    linear-gradient(125deg,#063b30 0%,#075d4b 51%,#087b64 100%);
  color:#fffdf8;
}
html.ams-curated #contact .location-grid article {
  background:rgba(3,48,39,.58);
  border:1px solid rgba(236,207,150,.54);
  box-shadow:0 16px 36px rgba(0,28,23,.18);
}
html.ams-curated #contact :is(h2,h3,p,.map-link,.socials a) {
  color:#fffdf8;
}
html.ams-curated #contact .eyebrow {color:#f3dba9;}
html.ams-curated #contact .location-grid .btn.white {
  background:#fffdf8;
  color:#075347;
}

/* Living ink: hand-drawn botanical / celestial patterns on each section.
   All strokes sit behind the content and never receive pointer events. */
.ams-lux-scene {
  --ams-doodle-ink:#08765c;
  --ams-doodle-gold:#b59450;
}
.ams-lux-scene.ams-lux-dark {
  --ams-doodle-ink:#c5f4d9;
  --ams-doodle-gold:#f4d597;
}
.ams-lux-scene .ams-doodle {
  position:absolute;
  width:clamp(280px,38vw,550px);
  height:auto;
  fill:none;
  stroke:var(--ams-doodle-ink);
  stroke-width:2.45;
  stroke-linecap:round;
  stroke-linejoin:round;
  pointer-events:none;
  opacity:.36;
  animation:amsLivingInkFloat 23s ease-in-out infinite alternate;
}
.ams-lux-scene.ams-lux-visible .ams-doodle {will-change:transform;}
.ams-lux-scene .ams-doodle-top {
  top:-5%;
  right:-9%;
  --doodle-angle:-16deg;
  animation-delay:-8s;
}
.ams-lux-scene .ams-doodle-bottom {
  bottom:-12%;
  left:-9%;
  --doodle-angle:13deg;
  animation-duration:28s;
  animation-delay:-16s;
  opacity:.30;
}
.ams-lux-scene .ams-doodle :is(path,circle) {
  vector-effect:non-scaling-stroke;
}
.ams-lux-scene .ams-doodle .ams-doodle-trace {
  stroke:var(--ams-doodle-ink);
}
.ams-lux-scene .ams-doodle .ams-doodle-trace path {
  stroke-dasharray:800;
  animation:amsLivingInkDraw 18s ease-in-out infinite alternate;
}
.ams-lux-scene .ams-doodle .ams-doodle-trace path:nth-child(2n) {
  animation-delay:-9s;
  animation-duration:24s;
}
.ams-lux-scene .ams-doodle .ams-doodle-gold {
  stroke:var(--ams-doodle-gold);
  stroke-width:2.25;
}
.ams-lux-scene .ams-doodle .ams-doodle-gold :is(path,circle) {
  animation:amsLivingInkGlimmer 10s ease-in-out infinite alternate;
}
.ams-lux-scene .ams-doodle .ams-doodle-gold :nth-child(2n) {
  animation-delay:-5s;
}
.ams-lux-scene.ams-lux-dark .ams-doodle {opacity:.39;}
.ams-lux-scene:not(.ams-lux-visible) .ams-doodle,
.ams-lux-scene:not(.ams-lux-visible) .ams-doodle * {
  animation-play-state:paused;
}
@keyframes amsLivingInkFloat {
  from {transform:translate3d(-13px,17px,0) rotate(var(--doodle-angle));}
  to {transform:translate3d(17px,-21px,0) rotate(calc(var(--doodle-angle) + 9deg));}
}
@keyframes amsLivingInkDraw {
  from {stroke-dashoffset:175;}
  to {stroke-dashoffset:0;}
}
@keyframes amsLivingInkGlimmer {
  from {opacity:.55;}
  to {opacity:1;}
}
@media(max-width:700px) {
  .ams-lux-scene .ams-doodle-top {
    width:min(95vw,390px);
    top:1%;
    right:-36%;
    opacity:.23;
  }
  .ams-lux-scene .ams-doodle-bottom {display:none;}
  .ams-lux-scene.ams-lux-dark .ams-doodle-top {opacity:.26;}
}
@media(prefers-reduced-motion:reduce) {
  .ams-lux-scene .ams-doodle,
  .ams-lux-scene .ams-doodle * {animation:none!important;will-change:auto;}
}
