/* AGC prototype layer — motion, hero slider, WhatsApp. Sits on top of the Stitch/Tailwind markup. */
:root {
  --gold: #d4af6a;
  --gold-hi: #f2ca83;
  --navy: #0c1321;
  --navy-deep: #070e1c;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-wipe: cubic-bezier(0.77, 0, 0.18, 1);
  --wa-bottom: 20px;
}
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { background: var(--navy); }

/* ---------- Page intro ---------- */
.proto-loader {
  position: fixed; inset: 0; z-index: 100; background: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s var(--ease-lux) .2s, visibility 0s linear .9s;
}
.proto-loader span {
  font-family: Syne, sans-serif; font-weight: 800; letter-spacing: .4em; color: var(--gold-hi);
  font-size: 22px; padding-left: .4em; opacity: 0; animation: loaderIn 1s var(--ease-lux) forwards;
}
.proto-loader::after {
  content: ""; position: absolute; left: 50%; top: calc(50% + 28px); height: 1px; width: 120px;
  margin-left: -60px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); animation: loaderLine .9s var(--ease-lux) .15s forwards;
}
body.is-loaded .proto-loader { transform: translateY(-100%); visibility: hidden; }
.proto-loader { transition: transform 1.1s var(--ease-wipe) .15s, visibility 0s linear 1.3s; }
@keyframes loaderIn { from { opacity: 0; letter-spacing: .8em; } to { opacity: 1; letter-spacing: .4em; } }
@keyframes loaderLine { to { transform: scaleX(1); } }

/* ---------- Scroll progress + header ---------- */
.proto-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; pointer-events: none;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi));
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  box-shadow: 0 0 12px rgba(242, 202, 131, .6);
}
body > header { transition: transform .5s var(--ease-lux), background-color .4s, box-shadow .4s; }
body > header > div { transition: height .4s var(--ease-lux); }
body.header-compact > header > div { height: 4rem; }
body.header-hidden > header { transform: translateY(-100%); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 1.1s var(--ease-lux), transform 1.3s var(--ease-lux), clip-path 1.4s var(--ease-wipe);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
[data-reveal="up"] { transform: translate3d(0, 48px, 0); }
[data-reveal="left"] { transform: translate3d(-56px, 0, 0); }
[data-reveal="right"] { transform: translate3d(56px, 0, 0); }
[data-reveal="up"] { transform: translate3d(0, 60px, 0) scale(.98); }
[data-reveal="mask"] { opacity: 1; clip-path: inset(0 0 100% 0); transform: translate3d(0, 24px, 0); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0); }
/* Keep the raised centre testimonial raised after reveal */
[data-reveal].md\:-translate-y-4.is-in { transform: translateY(-1rem); }
@media (max-width: 767px) { [data-reveal].md\:-translate-y-4.is-in { transform: none; } }

[data-parallax] { will-change: transform; }

/* Headline words rise out of a mask */
[data-reveal="split"] { opacity: 1; transform: none; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw > span {
  display: inline-block; transform: translate3d(0, 105%, 0) rotate(4deg); transform-origin: 0 100%;
  transition: transform 1.2s var(--ease-lux); transition-delay: calc(var(--wi) * 70ms + var(--rd, 0ms));
}
[data-reveal="split"].is-in .sw > span { transform: none; }

/* Framed media: curtain wipes up, photo settles from a zoom */
[data-reveal="curtain"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round 12px); }
[data-reveal="curtain"].is-in { clip-path: inset(0 0 0 0 round 12px); }
[data-reveal="curtain"] img { scale: 1.25; transition: scale 2s var(--ease-lux); }
[data-reveal="curtain"].is-in img { scale: 1; }

/* Gold rule that draws itself under stat numbers */
.proto-rule { transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s var(--ease-lux) .3s; }
.is-in .proto-rule { transform: scaleX(1); }

/* Category rail drag feel */
.proto-rail { cursor: grab; }
.proto-rail.is-dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }

/* Marquee (the design referenced a keyframe that wasn't defined) */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- HERO SLIDER ---------- */
.hero { min-height: 100svh; }
.hero-slide {
  position: absolute; inset: 0; z-index: 0; visibility: hidden;
  clip-path: inset(0 0 0 100%);
}
.hero-slide.from-left { clip-path: inset(0 100% 0 0); }
.hero-slide.is-prev { visibility: visible; z-index: 1; clip-path: inset(0 0 0 0); }
.hero-slide.is-active {
  visibility: visible; z-index: 2; clip-path: inset(0 0 0 0);
  transition: clip-path 1.4s var(--ease-wipe);
}
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.18) translate3d(2%, 0, 0);
  transition: transform 1.6s var(--ease-lux);
}
.hero-slide.is-active img { transform: scale(1.04); transition: transform 9s cubic-bezier(.25, .1, .25, 1); }
.hero-slide.is-prev img { transform: scale(1.04) translate3d(-6%, 0, 0); transition: transform 1.4s var(--ease-wipe); }
/* Gold hairline that trails the wipe edge */
.hero-slide::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 3;
  background: linear-gradient(180deg, transparent, var(--gold-hi), transparent);
  box-shadow: 0 0 24px 4px rgba(242, 202, 131, .45);
  opacity: 0;
}
.hero-slide.is-active.is-wiping::after { animation: wipeEdge 1.4s var(--ease-wipe) forwards; }
.hero-slide.from-left.is-active.is-wiping::after { animation-name: wipeEdgeRev; }
/* Transition variants */
.hero-slide.fx-rise { clip-path: inset(100% 0 0 0); }
.hero-slide.fx-circle { clip-path: circle(0% at 68% 50%); }
.hero-slide.fx-split { clip-path: inset(0 50% 0 50%); }
.hero-slide.fx-circle.is-active { clip-path: circle(150% at 68% 50%); transition: clip-path 1.6s var(--ease-wipe); }
.hero-slide.fx-rise.is-active, .hero-slide.fx-split.is-active { clip-path: inset(0 0 0 0); transition: clip-path 1.5s var(--ease-wipe); }
.hero-slide.fx-circle.is-active img, .hero-slide.fx-rise.is-active img, .hero-slide.fx-split.is-active img { animation: fxSettle 1.8s var(--ease-lux); }
@keyframes fxSettle { from { transform: scale(1.3); filter: brightness(1.6) saturate(.6); } }
.hero-slide:not(.fx-wipe).is-wiping::after { animation: none; }
.hero-slide.fx-rise.is-active.is-wiping::before, .hero-slide.fx-split.is-active.is-wiping::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3;
  background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); box-shadow: 0 0 24px 4px rgba(242, 202, 131, .45);
  animation: riseEdge 1.5s var(--ease-wipe) forwards;
}
.hero-slide.fx-split.is-active.is-wiping::before { top: 0; bottom: 0; left: 50%; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, transparent, var(--gold-hi), transparent); animation: splitEdge 1.5s var(--ease-wipe) forwards; }
@keyframes riseEdge { 0% { top: 100%; opacity: 1; } 90% { opacity: 1; } 100% { top: 0; opacity: 0; } }
@keyframes splitEdge { 0% { opacity: .8; box-shadow: 0 0 24px 4px rgba(242, 202, 131, .45); } 100% { opacity: 0; transform: scaleX(14); } }
@keyframes wipeEdge { 0% { left: 100%; opacity: 1; } 90% { opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes wipeEdgeRev { 0% { left: 0; opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

.hero-copies { display: grid; }
.hero-copy { grid-area: 1 / 1; visibility: hidden; pointer-events: none; }
.hero-copy.is-active { visibility: visible; pointer-events: auto; }
.hero-copy.is-leaving { visibility: visible; }
.hero-copy.is-leaving .line > span { transform: translate3d(0, -110%, 0) skewY(-3deg); transition: transform .7s var(--ease-wipe) calc(var(--d, 0ms) * .3); }
.hero-copy.is-leaving .fade { opacity: 0; transform: translate3d(0, -16px, 0); transition: opacity .4s ease, transform .6s var(--ease-lux); }
.hero-copy:not(.is-active):not(.is-leaving) .line > span, .hero-copy:not(.is-active):not(.is-leaving) .fade { transition: none; }
.hero-slide img { translate: var(--mx, 0) var(--my, 0); }
.hero-copies { translate: var(--cx, 0) var(--cy, 0); }
.hero-copy .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-copy .line > span { display: inline-block; transform: translate3d(0, 110%, 0) skewY(4deg); transition: transform .6s var(--ease-lux); }
.hero-copy .fade {
  opacity: 0; transform: translate3d(0, 24px, 0);
  transition: opacity .4s ease, transform .6s var(--ease-lux);
}
.hero-copy.is-active .line > span { transform: none; transition: transform 1.2s var(--ease-lux) var(--d, 0ms); }
.hero-copy.is-active .fade { opacity: 1; transform: none; transition: opacity 1s var(--ease-lux) var(--d, 0ms), transform 1s var(--ease-lux) var(--d, 0ms); }

.hero-progress { position: relative; width: 6rem; height: 2px; border-radius: 9px; overflow: hidden; background: #232a39; }
.hero-progress i { position: absolute; inset: 0; background: var(--gold-hi); transform-origin: 0 50%; transform: scaleX(0); }
.hero-progress.run i { animation: heroFill var(--dur, 6500ms) linear forwards; }
.hero.is-paused .hero-progress.run i { animation-play-state: paused; }
@keyframes heroFill { to { transform: scaleX(1); } }
.hero-num { display: inline-block; min-width: 1.5em; overflow: hidden; height: 14px; vertical-align: bottom; }
.hero-num b { display: block; font-weight: 700; transition: transform .6s var(--ease-lux); }

.hero-dot { position: relative; transition: color .3s; }
.hero-dot::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 2px; background: #2e3544; }
.hero-dot::after { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 2px; background: var(--gold-hi); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease-lux); }
.hero-dot.is-active { color: var(--gold-hi); }
.hero-dot.is-active::after { transform: scaleX(1); }

.hero-arrow { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(242, 202, 131, .3); display: inline-flex; align-items: center; justify-content: center; color: #dce2f6; background: rgba(7, 14, 28, .4); backdrop-filter: blur(8px); transition: all .3s var(--ease-lux); }
.hero-arrow:hover { border-color: var(--gold-hi); color: var(--gold-hi); transform: scale(1.06); }

/* ---------- Mobile menu ---------- */
html.mm-lock, html.mm-lock body { overflow: hidden; }
.mm { position: fixed; inset: 0; z-index: 80; visibility: hidden; transition: visibility 0s linear .7s; }
.mm.is-open { visibility: visible; transition: none; }
.mm-bg { position: absolute; inset: 0; background: rgba(7, 14, 28, .6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.mm.is-open .mm-bg { opacity: 1; }
.mm-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: radial-gradient(120% 60% at 100% 0%, rgba(212, 175, 106, .12), transparent 60%), var(--navy-deep);
  border-left: 1px solid rgba(212, 175, 106, .2);
  display: flex; flex-direction: column; padding: 20px 24px calc(24px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 0 100%); transition: clip-path .7s var(--ease-wipe); overflow-y: auto;
}
.mm.is-open .mm-panel { clip-path: inset(0 0 0 0); }
.mm-top { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.mm-brand { font: 800 18px/1 Syne, sans-serif; letter-spacing: .2em; color: #dce2f6; }
.mm-brand em { font: 600 10px Outfit, sans-serif; font-style: normal; letter-spacing: .28em; color: var(--gold-hi); text-transform: uppercase; margin-left: 6px; }
.mm-close { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(242, 202, 131, .35); color: var(--gold-hi); display: flex; align-items: center; justify-content: center; background: transparent; transition: transform .4s var(--ease-lux); }
.mm-close:hover { transform: rotate(90deg); }
.mm-links { display: flex; flex-direction: column; margin-top: 40px; }
.mm-links a {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(78, 70, 57, .45); color: #dce2f6;
  opacity: 0; transform: translate3d(40px, 0, 0); transition: opacity .3s, transform .3s, color .25s;
}
.mm.is-open .mm-links a, .mm.is-open .mm-foot { opacity: 1; transform: none; transition: opacity .7s var(--ease-lux) calc(.25s + var(--i) * 60ms), transform .9s var(--ease-lux) calc(.25s + var(--i) * 60ms), color .25s; }
.mm-n { font: 600 11px Outfit, sans-serif; letter-spacing: .15em; color: var(--gold); min-width: 22px; }
.mm-t { font: 700 26px/1.1 Syne, sans-serif; text-transform: uppercase; letter-spacing: -.01em; flex: 1; }
.mm-arrow { color: var(--gold-hi); opacity: 0; transform: translate(-6px, 6px); transition: all .3s var(--ease-lux); }
.mm-links a:hover, .mm-links a:active { color: var(--gold-hi); }
.mm-links a:hover .mm-arrow { opacity: 1; transform: none; }
.mm-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .3s, transform .3s; }
.mm-quote { display: block; text-align: center; padding: 15px; border-radius: 6px; background: var(--gold); color: #412d00; font: 700 13px Outfit, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.mm-wa { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 6px; background: var(--wa); color: #06220f; font: 700 13px Outfit, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.mm-wa svg { width: 20px; height: 20px; }
.mm-meta { display: flex; justify-content: space-between; margin-top: 8px; font: 600 11px Outfit, sans-serif; letter-spacing: .12em; color: #9a8f80; text-transform: uppercase; }
.mm-meta b { color: var(--gold-hi); }
@media (max-height: 640px) { .mm-t { font-size: 20px; } .mm-links a { padding: 11px 0; } .mm-links { margin-top: 20px; } }

/* ---------- Page transition curtain ---------- */
.proto-curtain {
  position: fixed; inset: 0; z-index: 99; background: var(--navy-deep); pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(100%); transition: transform .65s var(--ease-wipe);
}
.proto-curtain::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); }
.proto-curtain span { font-family: Syne, sans-serif; font-weight: 800; letter-spacing: .4em; color: var(--gold-hi); font-size: 22px; opacity: 0; transition: opacity .3s .3s; }
.proto-curtain.is-on { transform: none; pointer-events: auto; }
.proto-curtain.is-on span { opacity: 1; }

/* ---------- Magnetic CTAs ---------- */
.proto-magnetic { transition-property: translate, filter, transform, box-shadow, background-color, color, border-color !important; transition-duration: .5s !important; transition-timing-function: var(--ease-lux) !important; }

/* ---------- Card tilt + glare ---------- */
.proto-tilt { transform-style: preserve-3d; }
.proto-tilt.tilt-armed { transition: transform .8s var(--ease-lux), opacity 1s, box-shadow .4s !important; transition-delay: 0s !important; }
.proto-tilt.is-tilting { transition: transform .15s linear, box-shadow .4s !important; box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(212, 175, 106, .18); }
.proto-glare {
  position: absolute; inset: 0; z-index: 20; pointer-events: none; border-radius: inherit; opacity: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(242, 202, 131, .22), transparent 55%);
  transition: opacity .4s; mix-blend-mode: screen;
}
.proto-tilt.is-tilting .proto-glare { opacity: 1; }

/* ---------- WhatsApp: floating button ---------- */
.wa-float { position: fixed; right: 20px; bottom: var(--wa-bottom); z-index: 55; transition: bottom .5s var(--ease-lux); font-family: Outfit, sans-serif; }
.wa-fab {
  position: relative; width: 60px; height: 60px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(145deg, #2ee876, var(--wa) 55%, #1ebe5a); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .4), inset 0 1px 0 rgba(255, 255, 255, .35);
  transform: scale(0) rotate(-90deg); animation: fabIn .8s var(--ease-lux) 1.2s forwards;
  transition: box-shadow .3s;
}
.wa-fab:hover { box-shadow: 0 14px 40px rgba(37, 211, 102, .55), inset 0 1px 0 rgba(255, 255, 255, .35); }
.wa-fab::before, .wa-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px; border: 2px solid var(--wa);
  animation: waRing 2.6s ease-out 2.2s infinite; opacity: 0; pointer-events: none;
}
.wa-fab::after { animation-delay: 3.5s; }
.wa-fab svg { width: 30px; height: 30px; transition: transform .4s var(--ease-lux), opacity .3s; }
.wa-fab .wa-x { position: absolute; font-size: 28px; opacity: 0; transform: rotate(-90deg); transition: transform .4s var(--ease-lux), opacity .3s; }
.wa-float.is-open .wa-fab svg { opacity: 0; transform: rotate(90deg) scale(.5); }
.wa-float.is-open .wa-fab .wa-x { opacity: 1; transform: none; }
.wa-float.is-open .wa-fab::before, .wa-float.is-open .wa-fab::after { animation: none; }
.wa-badge {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; border-radius: 999px; padding: 0 5px;
  background: #ff3b30; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--navy); transform: scale(0); transition: transform .4s var(--ease-lux);
}
.wa-float.has-badge .wa-badge { transform: scale(1); }
@keyframes fabIn { to { transform: scale(1) rotate(0); } }
@keyframes waRing { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

.wa-teaser {
  position: absolute; right: 72px; bottom: 10px; white-space: nowrap;
  background: rgba(7, 14, 28, .92); backdrop-filter: blur(12px); border: 1px solid rgba(212, 175, 106, .3);
  color: #dce2f6; border-radius: 999px; padding: 10px 16px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4); display: flex; align-items: center; gap: 8px; cursor: pointer;
  opacity: 0; transform: translateX(12px); pointer-events: none; transition: all .5s var(--ease-lux);
}
.wa-teaser .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--wa); box-shadow: 0 0 8px var(--wa); }
.wa-float.show-teaser:not(.is-open) .wa-teaser { opacity: 1; transform: none; pointer-events: auto; }

.wa-card {
  position: absolute; right: 0; bottom: 76px; width: min(340px, calc(100vw - 32px));
  border-radius: 18px; overflow: hidden; background: #0f1726; border: 1px solid rgba(212, 175, 106, .22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(16px) scale(.96); transform-origin: 100% 100%; pointer-events: none;
  transition: opacity .35s ease, transform .5s var(--ease-lux);
}
.wa-float.is-open .wa-card { opacity: 1; transform: none; pointer-events: auto; }
.wa-card-head { background: linear-gradient(135deg, #075e54, var(--wa-dark)); padding: 16px; display: flex; align-items: center; gap: 12px; color: #fff; }
.wa-avatar { position: relative; width: 44px; height: 44px; border-radius: 999px; background: var(--navy-deep); border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: Syne, sans-serif; font-weight: 800; color: var(--gold-hi); }
.wa-avatar::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 999px; background: #4ade80; border: 2px solid var(--wa-dark); }
.wa-card-body {
  padding: 18px 16px; min-height: 120px;
  background-color: #0b141a;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 14px 14px;
}
.wa-bubble {
  position: relative; max-width: 88%; background: #1f2c34; color: #e9edef; font-size: 14px; line-height: 1.45;
  padding: 10px 12px 18px; border-radius: 0 10px 10px 10px; box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}
.wa-bubble + .wa-bubble { margin-top: 6px; border-radius: 10px; }
.wa-bubble time { position: absolute; right: 10px; bottom: 4px; font-size: 10px; color: #8696a0; }
.wa-typing { display: inline-flex; gap: 4px; background: #1f2c34; padding: 12px 14px; border-radius: 0 10px 10px 10px; }
.wa-typing i { width: 6px; height: 6px; border-radius: 99px; background: #8696a0; animation: typing 1s infinite; }
.wa-typing i:nth-child(2) { animation-delay: .15s; } .wa-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.wa-msg-in { animation: msgIn .45s var(--ease-lux) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.wa-card-foot { padding: 12px; background: #0f1726; display: grid; gap: 8px; }
.wa-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.wa-quick button { font-size: 12px; color: var(--gold-hi); border: 1px solid rgba(212, 175, 106, .35); border-radius: 999px; padding: 5px 10px; background: transparent; cursor: pointer; transition: all .25s; }
.wa-quick button:hover, .wa-quick button.on { background: rgba(212, 175, 106, .15); border-color: var(--gold-hi); }
.wa-start {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px; border-radius: 12px;
  background: var(--wa); color: #06220f; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  transition: filter .25s, transform .2s;
}
.wa-start:hover { filter: brightness(1.08); }
.wa-start:active { transform: scale(.98); }
.wa-start svg { width: 20px; height: 20px; }

/* ---------- WhatsApp: product enquiry button ---------- */
.wa-enquiry {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
  padding: 15px 18px; border-radius: 0.5rem; color: #fff;
  background: linear-gradient(135deg, #1faa53, var(--wa) 60%, #2ee876);
  box-shadow: 0 10px 30px rgba(37, 211, 102, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .25s var(--ease-lux), box-shadow .3s;
}
.wa-enquiry:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37, 211, 102, .4), inset 0 1px 0 rgba(255, 255, 255, .25); }
.wa-enquiry:active { transform: scale(.99); }
.wa-enquiry::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); animation: shine 3.8s ease-in-out 1.5s infinite;
}
@keyframes shine { 0% { left: -60%; } 35%, 100% { left: 130%; } }
.wa-enquiry svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-enquiry .t1 { display: block; font-family: Syne, sans-serif; font-weight: 700; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.wa-enquiry .t2 { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .9; margin-top: 3px; }
.wa-enquiry .arrow { margin-left: auto; transition: transform .3s var(--ease-lux); }
.wa-enquiry:hover .arrow { transform: translateX(4px); }
.wa-preview {
  font-size: 12px; line-height: 1.5; color: #d1c5b4; background: #151b2a; border: 1px dashed rgba(37, 211, 102, .35);
  border-radius: .5rem; padding: 10px 12px; white-space: pre-line;
}
.wa-preview b { color: var(--wa); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 10px; display: block; margin-bottom: 4px; }
.wa-mini { display: inline-flex; align-items: center; gap: 6px; }
.wa-mini svg { width: 18px; height: 18px; }

/* Price tick on config change */
.price-tick { animation: priceTick .5s var(--ease-lux); }
@keyframes priceTick { 0% { transform: translateY(-6px); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- Toast ---------- */
.proto-toast {
  position: fixed; left: 50%; top: 96px; z-index: 70; transform: translate(-50%, -20px); opacity: 0;
  background: rgba(7, 14, 28, .95); border: 1px solid rgba(212, 175, 106, .35); color: #dce2f6;
  padding: 12px 18px; border-radius: 999px; font: 600 12px/1.2 Outfit, sans-serif; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5); transition: all .5s var(--ease-lux); pointer-events: none;
}
.proto-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Cookie bar exit */
.cookie-bar { transition: transform .6s var(--ease-lux), opacity .6s; }
.cookie-bar.is-gone { transform: translateY(100%); opacity: 0; pointer-events: none; }

@media (max-width: 640px) {
  .wa-float { right: 16px; }
  .wa-fab { width: 56px; height: 56px; }
  .wa-teaser { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; clip-path: none; }
  .sw > span, [data-reveal="curtain"] img { transform: none; scale: 1; }
  .proto-glare { display: none; }
  .mm-panel { clip-path: none; }
  .hero-slide img { transform: none !important; }
}

/* ---------- Signature showcase: callouts stack under the photo on small screens ---------- */
@media (max-width: 767px) {
  #signature .max-w-5xl.rounded-xl { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
  #signature .max-w-5xl.rounded-xl > .absolute.z-20 {
    position: static !important; inset: auto !important; transform: none !important; translate: none !important;
    display: block; width: 100%;
  }
  #signature .max-w-5xl.rounded-xl > .absolute.z-20.hidden { display: none !important; }
  #signature .max-w-5xl.rounded-xl > .absolute.z-20 > div:not(.p-4):not(.p-3\.5) { display: none; } /* connector lines */
  #signature .max-w-5xl.rounded-xl > .absolute.z-20 > .p-4,
  #signature .max-w-5xl.rounded-xl > .absolute.z-20 > .p-3\.5 {
    max-width: none; min-width: 0; width: 100%; text-align: left; padding: 14px 16px;
    border-left: 2px solid rgba(242, 202, 131, .55); border-radius: 8px;
  }
  #signature .max-w-5xl.rounded-xl > .absolute.z-20 .font-title-lg { font-size: 16px; line-height: 22px; }
  #signature .max-w-5xl.rounded-xl > img { margin-bottom: 4px; }
  #signature .mt-8.flex { flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
  #signature .mt-8.flex > div { text-align: center; }
  #signature .mt-8.flex > a { text-align: center; }
}

/* ---------- Listing page on phones/tablets ---------- */
.fs-open, .fs-head, .fs-apply, .fs-shade { display: none; }
@media (max-width: 1023px) {
  [data-page="listing"] h1.font-display-hero { font-size: min(7.6vw, 64px); line-height: 1.02; }
  [data-page="listing"] section.sticky.top-20 { position: static; }
  [data-page="listing"] .fixed.bottom-12 { bottom: 16px; max-width: calc(100vw - 104px); left: 16px; transform: none; padding: 8px 10px 8px 16px; gap: 10px; }

  .fs-open {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px;
    border-radius: 12px; border: 1px solid rgba(242, 202, 131, .35); background: #151b2a; color: #dce2f6;
    font: 700 12px Outfit, sans-serif; letter-spacing: .16em; text-transform: uppercase;
  }
  .fs-open .material-symbols-outlined { color: var(--gold-hi); font-size: 20px; }
  .fs-count { min-width: 20px; height: 20px; border-radius: 999px; background: var(--gold); color: #412d00; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0; }

  aside.fs {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; max-height: 86vh; opacity: 1 !important;
    transform: translateY(105%) !important; transition: transform .6s var(--ease-wipe) !important; visibility: hidden;
  }
  aside.fs.is-open { transform: none !important; visibility: visible; }
  aside.fs > div { position: static !important; max-height: 86vh; overflow-y: auto; border-radius: 20px 20px 0 0; padding-top: 8px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); background: #151b2a; border-top: 1px solid rgba(212, 175, 106, .3); overscroll-behavior: contain; }
  .fs-head { display: flex; justify-content: center; padding: 6px 0 4px; cursor: pointer; }
  .fs-grip { width: 44px; height: 5px; border-radius: 999px; background: #4e4639; }
  .fs-apply { display: block; position: sticky; bottom: 0; width: 100%; padding: 15px; border-radius: 10px; background: var(--gold); color: #412d00; font: 700 13px Outfit, sans-serif; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 -12px 24px #151b2a; }
  .fs-shade { display: block; position: fixed; inset: 0; z-index: 84; background: rgba(7, 14, 28, .6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .4s; }
  .fs-shade.is-open { opacity: 1; pointer-events: auto; }
}

/* =========================================================================
   Light edition (body.theme-light): AGC red on warm white
   ========================================================================= */
.proto-loader-logo, .proto-curtain img { width: min(220px, 55vw); height: auto; opacity: 0; animation: loaderIn 1s var(--ease-lux) forwards; }
.proto-curtain img { animation: none; transition: opacity .3s .3s; }
.proto-curtain.is-on img { opacity: 1; }
.theme-light .proto-loader::after { background: linear-gradient(90deg, transparent, var(--gold), transparent); top: calc(50% + 48px); }
.theme-light ::selection { background: #C9052B; color: #fff; }

.theme-light .mm-bg { background: rgba(20, 20, 20, .35); }
.theme-light .mm-panel { background: radial-gradient(120% 60% at 100% 0%, rgba(201, 5, 43, .07), transparent 60%), #fff; border-left-color: rgba(201, 5, 43, .15); }
.theme-light .mm-brand img { height: 34px; width: auto; display: block; }
.theme-light .mm-close { border-color: rgba(201, 5, 43, .35); color: #C9052B; }
.theme-light .mm-links a { color: #141414; border-bottom-color: rgba(0, 0, 0, .08); }
.theme-light .mm-links a:hover, .theme-light .mm-links a:active { color: #C9052B; }
.theme-light .mm-n { color: #C9052B; }
.theme-light .mm-arrow { color: #C9052B; }
.theme-light .mm-quote, .theme-light .fs-apply, .theme-light .fs-count { color: #fff; }
.theme-light .mm-meta { color: #8C8E94; }
.theme-light .mm-meta b { color: #C9052B; }

.theme-light .fs-open { background: #fff; color: #141414; border-color: rgba(0, 0, 0, .12); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.theme-light .fs-open .material-symbols-outlined { color: #C9052B; }
.theme-light aside.fs > div { background: #fff; border-top-color: rgba(201, 5, 43, .2); }
.theme-light .fs-grip { background: #D8D7D2; }
.theme-light .fs-apply { box-shadow: 0 -12px 24px #fff; }
.theme-light .fs-shade { background: rgba(20, 20, 20, .35); }

.theme-light .wa-preview { background: #F5F5F3; color: #575A61; }
.theme-light .wa-teaser { background: rgba(255, 255, 255, .96); color: #141414; border-color: rgba(0, 0, 0, .1); }
.theme-light .wa-badge { border-color: #fff; }
.theme-light .proto-glare { background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .35), transparent 55%); mix-blend-mode: normal; }
.theme-light .proto-tilt.is-tilting { box-shadow: 0 24px 50px rgba(0, 0, 0, .14), 0 0 0 1px rgba(201, 5, 43, .15); }
.theme-light .proto-progress { box-shadow: 0 0 10px rgba(201, 5, 43, .35); }
.theme-light .hero-slide::after, .theme-light .hero-slide.is-active.is-wiping::before { box-shadow: 0 0 24px 4px rgba(224, 36, 63, .45); }
@media (max-width: 767px) {
  .theme-light #signature .max-w-5xl.rounded-xl > .absolute.z-20 > .p-4,
  .theme-light #signature .max-w-5xl.rounded-xl > .absolute.z-20 > .p-3\.5 { border-left-color: #C9052B; }
}

/* Prices never break across lines */
#product-price { white-space: nowrap; font-size: clamp(28px, 3vw, 40px); }
main article .font-headline-sm.font-bold { white-space: nowrap; }
@media (min-width: 1024px) { main article .font-headline-sm.font-bold { font-size: 18px; } }
.mm-close:focus { outline: none; }
.mm-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
