/* Another World Malaysia — sales layer.
   Loaded after each page's inline styles; applies only where <body> has class "sales".
   Rules of the layer: one accent colour for words that sell, green for the WhatsApp
   button and nothing else, a photo before the first paragraph on phones, and a button
   after every block that answers a buyer's question. */

body.sales{--accent:#FFD166;--accent-soft:hsla(42,100%,70%,.13);--accent-line:hsla(42,100%,70%,.42);--star:#FFC94D}
body.sales.sales-cool{--accent:hsl(190 95% 64%);--accent-soft:hsla(190,95%,56%,.12);--accent-line:hsla(190,95%,56%,.4)}

/* ---------- colour discipline ---------- */
body.sales .hl{background:none;-webkit-background-clip:border-box;background-clip:border-box;-webkit-text-fill-color:var(--accent);color:var(--accent)}
body.sales .pkg-price .big{background:none;-webkit-background-clip:border-box;background-clip:border-box;-webkit-text-fill-color:var(--text);color:var(--text)}
body.sales .eyebrow{color:var(--muted);letter-spacing:.16em}
body.sales .tick{background:var(--accent-soft);color:var(--accent)}

/* ---------- the button ---------- */
body.sales .btn-wa{font-weight:800;color:#04240f}
body.sales .btn-wa.btn-lg{padding:18px 28px;font-size:17px;border-radius:16px;box-shadow:0 14px 36px -10px rgba(37,211,102,.6)}
body.sales .btn-wa .wa-ic{width:23px;height:23px}
body.sales .cta-note{font-size:13px;color:var(--faint);margin:0}
@media(max-width:480px){body.sales .btn-wa .on-wa{display:none}}
@media(max-width:480px){body.sales .pkg-offer .btn-wa,body.sales .pkg-card>.btn-wa{padding:16px 12px;font-size:16px}}
body.sales .cta-note b{color:var(--muted);font-weight:600}
@media(prefers-reduced-motion:no-preference){
  body.sales .hero-cta .btn-wa{position:relative;overflow:hidden}
  body.sales .hero-cta .btn-wa::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 36%,rgba(255,255,255,.4) 50%,transparent 64%);transform:translateX(-120%);animation:aw-shine 5s ease-in-out 1.5s infinite}
  @keyframes aw-shine{0%,72%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
}

/* ---------- header ---------- */
@media(max-width:768px){
  body.sales header{position:static}
  body.sales .nav{padding:9px 0}
  body.sales .nav-cta{display:none}
  body.sales .branch-bar,body.sales .crumbs{display:none}
}

/* ---------- first screen ---------- */
body.sales .hero-proof{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font-size:14px;font-weight:700;margin:0 0 12px}
body.sales .hero-proof .st{color:var(--star);letter-spacing:2px;font-size:15px}
body.sales .hero-proof span{font-weight:500;color:var(--muted)}
body.sales .hero .eyebrow{margin-bottom:10px}
body.sales .hero h1{margin-bottom:14px;text-wrap:balance}
body.sales .section-title{text-wrap:balance}
body.sales .hero .lead{color:hsl(222 22% 84%);margin-bottom:18px}
body.sales .hero-price{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:0 0 20px}
body.sales .hero-price .hp-main{font-size:15px;color:var(--muted);line-height:1.2}
body.sales .hero-price .hp-main b{font-family:'Space Grotesk',sans-serif;font-size:28px;color:var(--text);margin:0 3px;letter-spacing:-.01em}
body.sales .hp-tag{display:inline-flex;align-items:center;gap:6px;background:var(--accent-soft);border:1px solid var(--accent-line);color:var(--accent);font-weight:700;font-size:13px;line-height:1.2;border-radius:999px;padding:7px 13px}
body.sales .hero-cta{align-items:center;margin-bottom:12px}
body.sales .hero .cta-note{margin-bottom:26px}
body.sales .hero-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
body.sales .hstat{background:hsla(222,40%,60%,.07);border:1px solid var(--border);border-radius:14px;padding:12px 14px}
body.sales .hstat .n{font-size:19px;line-height:1.2}
body.sales .hstat .l{font-size:11px;letter-spacing:.04em;line-height:1.35;margin-top:3px}
@media(max-width:900px){
  body.sales .hero-photo{padding:0 0 38px}
  body.sales .hero-photo .hero-grid{gap:0}
  body.sales .hero-photo .hero-ph{order:-1;display:block;position:relative;margin:0 -22px}
  body.sales .hero-photo .hero-ph img{display:none}
  body.sales .hero-photo .hero-ph img:first-child{display:block;width:100%;height:auto;aspect-ratio:4/3;max-height:44vh;object-fit:cover;object-position:50% 30%;border-radius:0;border:0}
  body.sales .hero-photo .hero-ph::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:52%;pointer-events:none;background:linear-gradient(180deg,hsla(230,45%,7%,0),hsla(230,45%,7%,.78) 62%,var(--bg))}
  body.sales .hero-photo .hero-grid>div:first-child{position:relative;z-index:2;margin-top:-58px}
  body.sales .hero h1{font-size:clamp(29px,8.3vw,40px)}
  body.sales .hero-cta .btn-wa{width:100%}
  body.sales .hero-stats{grid-template-columns:1fr 1fr}
  body.sales .chiprow{display:none}
  /* homepage: say what it is before asking for the tap */
  body.sales .topbar{display:none}
  body.sales .hero-copy .hero-cta{order:0;margin-bottom:6px}
  body.sales .hero-people{width:min(300px,74%,30svh)}
  body.sales .hero-ring{width:min(280px,72%,28svh)}
}

/* ---------- sections ---------- */
body.sales .section.alt{background:hsla(232,50%,5%,.5)}
body.sales .section-sub{color:hsl(222 20% 80%)}
@media(max-width:768px){
  body.sales .section{padding:48px 0}
  body.sales .section-title{font-size:27px}
  body.sales .section-sub{font-size:15.5px;margin-bottom:24px}
}

/* photo strip of real visits */
body.sales .shots{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,31%);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -22px 26px;padding:2px 22px 6px}
body.sales .shots::-webkit-scrollbar{display:none}
body.sales .shots figure{scroll-snap-align:start;margin:0;position:relative;border-radius:18px;overflow:hidden;border:1px solid var(--border);background:var(--card)}
body.sales .shots img{display:block;width:100%;height:100%;aspect-ratio:3/4;object-fit:cover}
body.sales .shots figcaption{position:absolute;left:0;right:0;bottom:0;padding:30px 13px 11px;font-size:13px;font-weight:600;line-height:1.3;color:#fff;background:linear-gradient(180deg,rgba(4,6,18,0),rgba(4,6,18,.88))}
@media(max-width:600px){body.sales .shots{grid-auto-columns:66%}}
@media(min-width:1000px){body.sales .shots{grid-auto-flow:row;grid-template-columns:repeat(6,1fr);overflow:visible;margin:0 0 30px;padding:0}}

/* reviews */
body.sales .rvs{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin:0 0 16px}
body.sales .rv{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:22px}
body.sales .rv .st{color:var(--star);letter-spacing:2px;font-size:14px;margin-bottom:10px}
body.sales .rv p{font-size:15.5px;line-height:1.62;color:var(--text)}
body.sales .rv .by{margin-top:12px;font-size:13.5px;color:var(--faint)}
body.sales .rv .by b{color:var(--text)}
body.sales .reviews-badge{padding:18px 22px;gap:8px 14px;font-size:14.5px}
body.sales .reviews-badge .stars{font-size:18px;letter-spacing:2px}
body.sales .reviews-badge .num{font-size:22px}

/* video beside text */
body.sales .seen{display:grid;grid-template-columns:1.15fr .85fr;gap:26px;align-items:start;margin-bottom:26px}
body.sales .seen .rvs{grid-template-columns:1fr;margin:0}
@media(max-width:900px){body.sales .seen{grid-template-columns:1fr}}

/* button after a block */
body.sales .cta-strip{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 26px;margin-top:32px;padding:22px 24px;border-radius:20px;border:1px solid var(--border);background:linear-gradient(160deg,var(--card-2),var(--card))}
body.sales .cta-strip>div{flex:1 1 300px}
body.sales .cta-strip b{display:block;font-family:'Space Grotesk',sans-serif;font-size:19px;line-height:1.25}
body.sales .cta-strip span{display:block;color:var(--muted);font-size:14.5px;margin-top:5px}
@media(max-width:700px){body.sales .cta-strip{padding:20px 18px}body.sales .cta-strip .btn{width:100%}}

/* numbered steps */
body.sales .steps{list-style:none;counter-reset:aw-step;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0;padding:0}
body.sales .steps li{counter-increment:aw-step;background:var(--card);border:1px solid var(--border);border-radius:18px;padding:22px 20px 20px}
body.sales .steps li::before{content:counter(aw-step);display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--accent);color:#1b1300;font-family:'Space Grotesk',sans-serif;font-weight:700;margin-bottom:12px}
body.sales .steps b{display:block;font-family:'Space Grotesk',sans-serif;font-size:17.5px;margin-bottom:6px}
body.sales .steps span{display:block;color:var(--muted);font-size:14.5px}
body.sales .steps-note{margin-top:16px;font-size:14px;color:var(--faint)}
@media(max-width:800px){body.sales .steps{grid-template-columns:1fr;gap:12px}body.sales .steps li{display:grid;grid-template-columns:auto 1fr;gap:2px 14px;padding:18px}body.sales .steps li::before{grid-row:span 2;margin:0}body.sales .steps span{grid-column:2}}

/* text beside a photo */
body.sales .duo{display:grid;grid-template-columns:1.1fr .9fr;gap:34px;align-items:center}
body.sales .duo>img,body.sales .duo>.duo-ph img{width:100%;border-radius:20px;border:1px solid var(--border);object-fit:cover;aspect-ratio:4/3;display:block}
body.sales .duo-ph{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.sales .duo .trio{grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:900px){body.sales .duo{grid-template-columns:1fr;gap:22px}body.sales .duo-ph{order:-1}}
@media(max-width:560px){body.sales .duo .trio{grid-template-columns:1fr}}

/* cards read as a list on phones: icon beside the text, not above it */
@media(max-width:860px){
  body.sales .wcard{display:grid;grid-template-columns:auto 1fr;gap:3px 13px;align-items:start;padding:17px 18px;border-radius:16px}
  body.sales .wcard .ic{grid-row:span 2;margin:0;font-size:24px;line-height:1.2}
  body.sales .wcard h3{margin:0;font-size:16.5px}
  body.sales .wcard p{grid-column:2}
  body.sales .trio{gap:12px}
  body.sales .pkg-card{padding:22px 18px}
}

/* last call */
body.sales .final{padding:46px 24px}
body.sales .final .cta-note{margin-top:16px}

/* phone bar: stays out of the way while a main button is on screen */
@media(max-width:768px){
  body.sales .mbar{transition:transform .25s ease}
  body.sales.cta-in-view .mbar{transform:translateY(115%)}
  body.sales .mbar .btn-wa{font-size:14px}
}
