/* Shared add on blocks for the Forge demos. Colors come from variables each page sets in :root. */
[data-addon][hidden], [data-replace][hidden] { display: none !important; }

.fx-sec { padding: 84px 5%; background: var(--fx-bg2); color: var(--fx-text); font-family: 'Inter', sans-serif; }
.fx-wrap { max-width: 1040px; margin: 0 auto; }
.fx-head { text-align: center; margin-bottom: 40px; }
.fx-label { font-size: .74rem; font-weight: 700; color: var(--fx-accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.fx-head h2 { font-size: 1.9rem; font-weight: 800; line-height: 1.25; margin-bottom: 10px; color: var(--fx-text); text-wrap: balance; }
.fx-head p { color: var(--fx-muted); font-size: .95rem; line-height: 1.7; max-width: 560px; margin: 0 auto; }
.fx-card { background: var(--fx-card); border: 1px solid var(--fx-border); border-radius: 14px; }
.fx-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fx-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 700; color: var(--fx-accent); background: var(--fx-pale); border-radius: 100px; padding: 5px 13px; }
.fx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; font-family: inherit;
  background: var(--fx-accent); color: var(--fx-on-accent); padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: .9rem;
}
.fx-btn:disabled { opacity: .6; cursor: default; }
.fx-note { font-size: .82rem; color: var(--fx-muted); margin-top: 12px; }

/* before and after */
.fx-ba { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; --pos: 50%; user-select: none; border: 1px solid var(--fx-border); }
.fx-ba-layer { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px 18px; font-weight: 800; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.fx-ba-layer i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 3.2rem; opacity: .35; }
.fx-ba-before { background: repeating-linear-gradient(135deg, rgba(0,0,0,.07) 0 14px, transparent 14px 28px), linear-gradient(135deg, #8d887b, #5e594e); color: rgba(255,255,255,.85); }
.fx-ba-after { background: linear-gradient(135deg, var(--fx-accent), var(--fx-accent-deep)); color: var(--fx-on-accent); justify-content: flex-end; clip-path: inset(0 0 0 var(--pos)); }
.fx-ba-after i { color: var(--fx-on-accent); opacity: .5; }
.fx-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 12px rgba(0,0,0,.35); }
.fx-ba-handle::after {
  content: '\2194'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: #1a2332; display: flex; align-items: center; justify-content: center; font-weight: 800; box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.fx-ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.fx-ba-cap { margin-top: 12px; font-size: .86rem; color: var(--fx-muted); line-height: 1.6; }
.fx-ba-cap strong { color: var(--fx-text); }

/* reviews */
.fx-rev-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.fx-rev-sum { padding: 28px; text-align: center; }
.fx-rev-score { font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--fx-text); }
.fx-rev-stars { color: #f5a623; letter-spacing: 2px; margin: 8px 0 4px; }
.fx-rev-count { font-size: .84rem; color: var(--fx-muted); margin-bottom: 18px; }
.fx-rev-bar { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--fx-muted); margin-bottom: 8px; }
.fx-rev-bar b { width: 26px; text-align: left; font-weight: 600; }
.fx-rev-bar span { flex: 1; height: 7px; border-radius: 4px; background: var(--fx-border); overflow: hidden; }
.fx-rev-bar span i { display: block; height: 100%; background: #f5a623; border-radius: 4px; }
.fx-rev-list { display: grid; gap: 14px; }
.fx-rev-item { padding: 20px 22px; }
.fx-rev-item p { font-size: .9rem; line-height: 1.7; color: var(--fx-text); margin: 6px 0 10px; }
.fx-rev-meta { font-size: .78rem; color: var(--fx-muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fx-rev-meta strong { color: var(--fx-text); }

/* booking */
.fx-book { max-width: 820px; margin: 0 auto; padding: 32px; }
.fx-book h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; color: var(--fx-text); }
.fx-book > p { color: var(--fx-muted); font-size: .9rem; margin-bottom: 22px; line-height: 1.6; }
.fx-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fx-field label, .fx-lbl { font-size: .76rem; font-weight: 700; color: var(--fx-muted); text-transform: uppercase; letter-spacing: .04em; }
.fx-field input, .fx-field select {
  padding: 11px 14px; border-radius: 8px; border: 1px solid var(--fx-border); background: var(--fx-input); color: var(--fx-text);
  font-family: inherit; font-size: .9rem; outline: none;
}
.fx-field input:focus, .fx-field select:focus { border-color: var(--fx-accent); }
.fx-field select option { color: #1a2332; background: #fff; }
.fx-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fx-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 18px; }
.fx-chip {
  padding: 9px 14px; border-radius: 10px; cursor: pointer; font-family: inherit; font-size: .82rem; font-weight: 600; min-width: 70px; text-align: center;
  background: var(--fx-input); border: 1px solid var(--fx-border); color: var(--fx-text);
}
.fx-chip span { display: block; font-size: .68rem; font-weight: 500; opacity: .7; }
.fx-chip:hover:not(:disabled) { border-color: var(--fx-accent); }
.fx-chip.sel { background: var(--fx-accent); border-color: var(--fx-accent); color: var(--fx-on-accent); }
.fx-chip:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.fx-done { display: none; text-align: center; padding: 14px 0 4px; }
.fx-done i { font-size: 2.2rem; color: var(--fx-accent); margin-bottom: 12px; display: block; }
.fx-done p { color: var(--fx-muted); font-size: .9rem; line-height: 1.7; }

/* service area */
.fx-area { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
.fx-area p { color: var(--fx-muted); line-height: 1.8; font-size: .95rem; margin-bottom: 14px; }
.fx-hoods { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.fx-hoods li { padding: 7px 14px; border-radius: 100px; font-size: .8rem; font-weight: 600; color: var(--fx-text); background: var(--fx-pale); border: 1px solid var(--fx-border); }
.fx-map { border-radius: 14px; overflow: hidden; border: 1px solid var(--fx-border); }
.fx-map iframe { display: block; border: 0; width: 100%; height: 320px; }

/* progress bar and motion effects */
.fx-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--fx-accent); transform: scaleX(0); transform-origin: 0 50%; z-index: 99999; pointer-events: none; }
.fx-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
body.fx-motion .fx-hero-host { isolation: isolate; }
.fx-orb { position: absolute; border-radius: 50%; will-change: transform; }
.fx-orb.a { width: 420px; height: 420px; right: -80px; top: -60px; background: radial-gradient(circle, rgba(var(--fx-rgb), .32), transparent 68%); transform: translate3d(0, calc(var(--fx-y, 0) * .22px), 0); }
.fx-orb.b { width: 300px; height: 300px; left: 6%; bottom: -80px; background: radial-gradient(circle, rgba(var(--fx-rgb), .22), transparent 68%); transform: translate3d(0, calc(var(--fx-y, 0) * -.14px), 0); }
.fx-orb.c { width: 160px; height: 160px; left: 46%; top: 18%; background: radial-gradient(circle, rgba(var(--fx-rgb), .26), transparent 70%); transform: translate3d(0, calc(var(--fx-y, 0) * .34px), 0); }
body.fx-motion .fx-hero-host { position: relative; }
body.fx-motion .fx-hero-host > *:not(.fx-orbs):not(.hero-bg):not(.hero-grid-lines):not(.hero-orb):not(.fx-orb) { position: relative; z-index: 1; }
body.fx-motion .fx-hero-host .hero-inner, body.fx-motion .fx-hero-host .page-hero-inner, body.fx-motion .fx-hero-host .hero-inner > div:first-child {
  transform: translate3d(0, calc(var(--fx-y, 0) * -.06px), 0);
}
body.fx-motion .fx-r { opacity: 0; transform: translate3d(0, 30px, 0) scale(.97); filter: blur(5px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1), filter .8s cubic-bezier(.22,.61,.36,1); }
body.fx-motion .fx-r.in { opacity: 1; transform: none; filter: none; }

/* level 1: floating glows, hover lift, button shine */
body.fx-l1 .fx-orb.a { animation: fx-float 9s ease-in-out infinite; }
body.fx-l1 .fx-orb.b { animation: fx-float 12s ease-in-out infinite reverse; }
body.fx-l1 .fx-orb.c { animation: fx-float 7s ease-in-out infinite; }
body.fx-l2 .fx-orb.c, body.fx-l3 .fx-orb.c { animation: fx-float 8s ease-in-out infinite; }
@keyframes fx-float { 0%, 100% { translate: 0 0; } 50% { translate: 18px -26px; } }
body.fx-motion .fx-lift { transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s; }
body.fx-motion .fx-lift:not(.fx-tilt):hover { transform: translate3d(0, -6px, 0); box-shadow: 0 16px 34px rgba(0,0,0,.16); }
.fx-shine { position: relative; overflow: hidden; }
.fx-shine::after { content: ''; position: absolute; top: 0; left: -70%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); transition: left .75s ease; pointer-events: none; }
.fx-shine:hover::after { left: 135%; }

/* levels 2 and 3: 3D tilt, depth, glare */
body.fx-motion .fx-tilt { position: relative; transition: transform .18s ease-out, box-shadow .3s; transform-style: preserve-3d; will-change: transform; }
body.fx-motion .fx-tilt.fx-hot { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, -8px, 0); box-shadow: 0 24px 48px rgba(0,0,0,.3), 0 0 0 1px rgba(var(--fx-rgb), .4); }
.fx-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.22), transparent 55%); z-index: 2; }
.fx-hot > .fx-glare { opacity: 1; }
.fx-par { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* level 3: magnetic buttons, 3D hero, headline reveal */
.fx-magnet { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); transition: transform .2s ease-out; }
body.fx-l3 .fx-hero3d .hero-card, body.fx-l3 .fx-hero3d .hero-badges {
  transform: perspective(1100px) rotateY(calc(var(--hx, 0) * -7deg)) rotateX(calc(var(--hy, 0) * 6deg)) translate3d(0, calc(var(--fx-y, 0) * -.04px), 0);
  transition: transform .25s ease-out;
}
body.fx-l3 .fx-hero3d::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(520px circle at calc(50% + var(--hx, 0) * 100%) calc(50% + var(--hy, 0) * 100%), rgba(var(--fx-rgb), .16), transparent 60%); }
.fx-word { display: inline-block; opacity: 0; transform: translate3d(0, .5em, 0) rotateX(-40deg); transform-origin: 50% 100%; animation: fx-word .7s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes fx-word { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .fx-grid2, .fx-rev-wrap, .fx-area, .fx-row2 { grid-template-columns: 1fr; }
  .fx-book { padding: 24px 18px; }
  .fx-sec { padding: 60px 20px; }
  .fx-orb.a { width: 260px; height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-word { animation: none; opacity: 1; transform: none; }
  body.fx-l1 .fx-orb { animation: none; }
  body.fx-motion .fx-r { opacity: 1; transform: none; filter: none; transition: none; }
  .fx-orb { transform: none !important; }
}
