/* BlueFire demo base. Every site defines its own tokens and look in site.css. */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: var(--fs-body, 1.0625rem); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
a { color: var(--link, var(--primary)); text-underline-offset: 3px; }
a:hover { color: var(--link-hover, var(--ink)); }
:focus-visible { outline: 3px solid var(--focus, var(--primary)); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: var(--display-weight, 400); line-height: var(--display-lh, 1.12); margin: 0; text-wrap: balance; color: var(--heading, var(--ink)); letter-spacing: var(--display-track, 0); }
h1 { font-size: var(--fs-h1, clamp(2.4rem, 1.5rem + 3.4vw, 3.8rem)); }
h2 { font-size: var(--fs-h2, clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem)); }
h3 { font-size: var(--fs-h3, 1.25rem); }
p { margin: 0; }
ul, ol { margin: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap, 1180px); margin-inline: auto; padding-inline: var(--gutter, clamp(16px, 4vw, 40px)); }
.section { padding-block: var(--section-pad, clamp(56px, 8vw, 104px)); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark .muted, .section--dark .lede { color: var(--on-dark-soft); }
.head { display: grid; gap: 14px; max-width: 66ch; margin-bottom: clamp(28px, 4vw, 48px); }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.lede { font-size: var(--fs-lede, 1.2rem); color: var(--ink-soft); max-width: 60ch; }
.kicker { font-weight: 700; font-size: 0.875rem; color: var(--kicker, var(--primary)); }
.section--dark .kicker { color: var(--kicker-on-dark, var(--on-dark-soft)); }
.muted { color: var(--ink-soft); }
.small { font-size: 0.875rem; }
.num { font-variant-numeric: tabular-nums; }

/* Concept banner: identical on every BlueFire demo */
.concept { background: #0F1D3A; color: #FFFFFF; font-family: "Segoe UI", system-ui, -apple-system, sans-serif; font-size: 0.8125rem; line-height: 1.45; padding-block: 7px; }
.concept .wrap { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; align-items: center; text-align: center; }
.concept a { color: #5CC6E2; font-weight: 600; }
.concept a:hover { color: #FFFFFF; }

/* Header */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--hdr-bg, var(--bg)); color: var(--hdr-ink, var(--ink)); border-bottom: 1px solid var(--hdr-line, var(--line)); }
.hdr .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--hdr-h, 72px); max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand svg { width: var(--logo-size, 40px); height: var(--logo-size, 40px); flex-shrink: 0; }
.brand-name { font-family: var(--brand-font, var(--display)); font-size: var(--brand-size, 1.3rem); line-height: 1.05; font-weight: var(--brand-weight, 400); }
.brand-name small { display: block; font-family: var(--body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; opacity: 0.78; margin-top: 4px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: inherit; text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 10px 11px; border-radius: var(--nav-radius, 999px); white-space: nowrap; }
.nav a:hover { background: var(--nav-hover, var(--surface-2)); color: inherit; }
.nav a[aria-current="page"] { background: var(--nav-current, var(--surface-2)); }
.hdr-actions { display: flex; align-items: center; gap: 14px; }
.hdr-phone { color: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.hdr-phone:hover { color: inherit; text-decoration: underline; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid currentColor; border-radius: var(--btn-radius, 999px); min-height: 44px; padding: 0 16px; font: inherit; font-weight: 600; color: inherit; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  min-height: 50px; padding: 0 var(--btn-pad, 24px); border-radius: var(--btn-radius, 999px);
  font: inherit; font-family: var(--btn-font, var(--body)); font-weight: var(--btn-weight, 700); font-size: 1rem;
  letter-spacing: var(--btn-track, 0); text-transform: var(--btn-case, none);
  text-decoration: none; cursor: pointer; border: 2px solid var(--primary); background: var(--primary); color: var(--primary-ink);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--primary-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--alt { background: var(--accent); color: var(--accent-ink); border-color: var(--accent-edge, var(--accent)); }
.btn--alt:hover { background: var(--accent-hover, var(--accent)); color: var(--accent-ink); border-color: var(--accent-edge, var(--accent-hover, var(--accent))); filter: brightness(1.04); }
.btn--light { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.btn--light:hover { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn--line-light { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn--line-light:hover { background: var(--on-dark); color: var(--dark); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Inner page header */
.page-head { padding-block: clamp(40px, 6vw, 76px) clamp(28px, 4vw, 52px); border-bottom: 1px solid var(--line); background: var(--page-head-bg, transparent); }
.page-head .wrap { display: grid; gap: 16px; }
.crumbs { font-size: 0.85rem; color: var(--ink-soft); }
.crumbs a { color: inherit; }

/* Grids and cards */
.grid { display: grid; gap: var(--grid-gap, 20px); }
.grid > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius, 12px); padding: var(--card-pad, 24px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.card p { color: var(--ink-soft); }
.card > .photo { margin: calc(var(--card-pad, 24px) * -1) calc(var(--card-pad, 24px) * -1) 6px; width: calc(100% + var(--card-pad, 24px) * 2); max-width: none; border-radius: var(--radius, 12px) var(--radius, 12px) 0 0; border-width: 0 0 1.5px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split > * { min-width: 0; }
.prose { display: grid; gap: 16px; max-width: 64ch; align-content: start; }
.stack { display: grid; gap: 20px; align-content: start; min-width: 0; }
.ico { width: 48px; height: 48px; border-radius: var(--ico-radius, 12px); background: var(--ico-bg, var(--surface-2)); color: var(--ico-ink, var(--primary)); display: grid; place-items: center; flex-shrink: 0; }
.ico svg { width: 26px; height: 26px; }
.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; line-height: 1.5; }
.checks svg { width: 20px; height: 20px; color: var(--check, var(--primary)); margin-top: 2px; }
.section--dark .checks svg { color: var(--on-dark); }
.facts { list-style: none; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius, 12px); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts span:last-child { font-weight: 700; text-align: right; }

/* Steps: only for real sequences */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 28px; counter-reset: step; }
.steps > li { display: grid; gap: 10px; align-content: start; counter-increment: step; min-width: 0; }
.steps > li::before { content: counter(step); font-family: var(--display); font-size: 1.3rem; width: 46px; height: 46px; border-radius: var(--step-radius, 50%); display: grid; place-items: center; background: var(--step-bg, var(--accent)); color: var(--step-ink, var(--accent-ink)); }
.steps p { color: var(--ink-soft); }
.section--dark .steps p { color: var(--on-dark-soft); }

/* Photo slots */
.photo {
  position: relative; margin: 0; aspect-ratio: var(--ar, 4 / 3); width: 100%; max-width: 100%;
  border-radius: var(--photo-radius, var(--radius, 12px)); overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--ph-a) 0 14px, var(--ph-b) 14px 28px);
  border: 1.5px dashed var(--ph-edge, var(--ink-soft));
}
.photo:has(img) { border-color: transparent; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; color: transparent; font-size: 0; }
.photo-slot { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px; }
.photo--top .photo-slot { align-items: flex-start; justify-content: flex-end; }
.photo-card { background: rgba(255, 255, 255, 0.93); color: #1A1A1A; border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; max-width: 34ch; font-family: "Segoe UI", system-ui, -apple-system, sans-serif; font-size: 0.8rem; line-height: 1.4; }
.photo-tag { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.05em; background: #1A1A1A; color: #FFFFFF; padding: 3px 9px; border-radius: 999px; }
.photo-tag svg { width: 13px; height: 13px; }
.photo-file { color: #4D4D4D; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.photo--mini .photo-card { padding: 6px 8px; font-size: 0.7rem; }
.photo--mini .photo-shot { display: none; }

/* Before / after compare */
.compare { position: relative; aspect-ratio: var(--ar, 4 / 3); border-radius: var(--photo-radius, var(--radius, 12px)); overflow: hidden; }
.compare .photo { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; height: 100%; }
.compare .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .after .photo-slot { justify-content: flex-end; }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(0,0,0,.25); z-index: 3; pointer-events: none; }
.compare-line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.compare-tags { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; z-index: 3; pointer-events: none; }
.compare-tags span { background: rgba(0,0,0,.72); color: #FFFFFF; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.compare:focus-within { outline: 3px solid var(--focus, var(--primary)); outline-offset: 3px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius, 12px); padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.review blockquote { margin: 0; }
.review figcaption { font-size: 0.9rem; color: var(--ink-soft); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.review figcaption strong { color: var(--ink); }
.stars { display: flex; gap: 2px; color: var(--star, var(--ink)); }
.stars svg { width: 18px; height: 18px; }
.sample { font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; }
.section--dark .review { background: transparent; border-color: var(--on-dark-line, rgba(255,255,255,.2)); }
.section--dark .review figcaption, .section--dark .review figcaption strong { color: var(--on-dark-soft); }
.section--dark .review figcaption strong { color: var(--on-dark); }
.section--dark .sample { color: var(--on-dark-soft); border-color: var(--on-dark-line, rgba(255,255,255,.3)); }
.section--dark .stars { color: var(--on-dark); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 840px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--faq-radius, var(--radius, 12px)); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; list-style: none; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 20px 20px; color: var(--ink-soft); display: grid; gap: 10px; }
.faq-group { display: grid; gap: 16px; }
.faq-group + .faq-group { margin-top: 44px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius, 12px); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.97rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.price { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; text-align: right; }

/* Forms */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg, 18px); padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label, .field legend { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.field .hint { font-size: 0.82rem; color: var(--ink-soft); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], select, textarea {
  font: inherit; color: var(--ink); background: var(--field-bg, var(--surface));
  border: 1.5px solid var(--field-border); border-radius: var(--field-radius, 10px); padding: 12px 14px; min-height: 48px; width: 100%;
}
textarea { min-height: 112px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus, var(--primary)); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--field-border); border-radius: var(--chip-radius, 999px); cursor: pointer; font-weight: 600; font-size: 0.95rem; background: var(--field-bg, var(--surface)); color: var(--ink); }
.chip input:checked + span { background: var(--chip-on, var(--primary)); color: var(--chip-on-ink, var(--primary-ink)); border-color: var(--chip-on-edge, var(--chip-on, var(--primary))); }
.chip input:focus-visible + span { outline: 3px solid var(--focus, var(--primary)); outline-offset: 2px; }
.chip input:disabled + span { opacity: .45; cursor: not-allowed; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); }
.form-success { background: var(--surface); border: 2px solid var(--primary); border-radius: var(--radius, 12px); padding: 24px; display: grid; gap: 8px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { font: inherit; font-weight: 600; font-size: 0.95rem; min-height: 44px; padding: 0 18px; border-radius: var(--chip-radius, 999px); border: 1.5px solid var(--field-border); background: transparent; color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-cat][hidden] { display: none !important; }

/* CTA band */
.cta-band { background: var(--dark); color: var(--on-dark); border-radius: var(--radius-lg, 20px); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: var(--on-dark-soft); margin-top: 10px; }
.cta-band .btn-row { justify-content: flex-end; }

/* Footer */
.foot { background: var(--foot-bg, var(--dark)); color: var(--foot-soft, var(--on-dark-soft)); padding-block: 56px 32px; font-size: 0.95rem; }
.foot a { color: var(--foot-ink, var(--on-dark)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h2 { font-family: var(--body); font-size: 0.95rem; font-weight: 700; color: var(--foot-ink, var(--on-dark)); margin-bottom: 12px; letter-spacing: 0; text-transform: none; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.foot-brand { display: grid; gap: 14px; align-content: start; color: var(--foot-ink, var(--on-dark)); }
.foot-brand p { color: var(--foot-soft, var(--on-dark-soft)); max-width: 36ch; }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--foot-line, rgba(255,255,255,.16)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.85rem; }
.foot-legal .bf a { color: var(--foot-credit, #5CC6E2); }

/* Sticky mobile bar */
.mbar { display: none; }

@media (max-width: 1279px) { .hdr-phone { display: none; } }
@media (max-width: 1099px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .hdr-actions .btn { display: none; }
  .hdr.open .nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--hdr-bg, var(--bg)); border-bottom: 1px solid var(--hdr-line, var(--line)); padding: 10px var(--gutter, 16px) 18px; gap: 2px; }
  .hdr.open .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .split, .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
  .g3, .g2, .reviews { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--mbar-bg, var(--surface)); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -10px 24px -18px rgba(0,0,0,.45); }
  .mbar .btn { min-height: 52px; padding: 0 12px; width: 100%; }
}
@media (max-width: 560px) {
  .g4, .foot-grid, .steps { grid-template-columns: 1fr; }
  .brand-name small { display: none; }
  .hdr .wrap { min-height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.compare .photo-card { max-width: calc(50% - 20px); }
.compare .photo-shot { display: none; }
.compare .after .photo-slot { justify-content: flex-end; }
.brand { min-width: 0; flex-shrink: 1; }
.brand-name { min-width: 0; overflow-wrap: anywhere; }
.menu-btn { flex-shrink: 0; }
.stack > .btn, .prose > .btn, .stack > .btn-row, .card > .btn { justify-self: start; }

/* ==========================================================================
   Motion engine (shared). bf.js adds html.mo only when the visitor has not
   asked for reduced motion; each site's own signature motion lives at the end
   of site.css. Without JS nothing is hidden.
   ========================================================================== */
@keyframes bf-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes bf-rv   { from { opacity: 0; transform: translate(var(--rv-x, 0), var(--rv-y, 26px)) scale(var(--rv-s, 1)); } to { opacity: 1; transform: none; } }
html.mo .rv:not(.in) { opacity: 0; }
html.mo .rv.in { animation: var(--rv-anim, bf-rv) var(--rv-dur, .8s) cubic-bezier(.2,.7,.2,1) var(--d, 0ms) backwards; }

html.mo .hero-copy > *, html.mo .page-head .wrap > *, html.mo .cover-copy > *, html.mo .hero-in > *, html.mo .hero-txt > *, html.mo .hero-head > * { animation: bf-rise .85s cubic-bezier(.2,.7,.2,1) both; }
html.mo :is(.hero-copy, .page-head .wrap, .cover-copy, .hero-in, .hero-txt, .hero-head) > :nth-child(2) { animation-delay: .1s; }
html.mo :is(.hero-copy, .page-head .wrap, .cover-copy, .hero-in, .hero-txt, .hero-head) > :nth-child(3) { animation-delay: .2s; }
html.mo :is(.hero-copy, .page-head .wrap, .cover-copy, .hero-in, .hero-txt, .hero-head) > :nth-child(4) { animation-delay: .3s; }
html.mo :is(.hero-copy, .page-head .wrap, .cover-copy, .hero-in, .hero-txt, .hero-head) > :nth-child(5) { animation-delay: .4s; }
html.mo :is(.hero-copy, .page-head .wrap, .cover-copy, .hero-in, .hero-txt, .hero-head) > :nth-child(n+6) { animation-delay: .5s; }

/* Buttons lift with a quick shine */
html.mo .btn { position: relative; overflow: hidden; isolation: isolate; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .2s ease, box-shadow .2s ease; }
html.mo .btn::after { content: ""; position: absolute; inset: -2px -40%; z-index: -1; pointer-events: none; background: linear-gradient(90deg, transparent 30%, var(--shine, rgba(255,255,255,.35)) 50%, transparent 70%); transform: translateX(-130%) skewX(-18deg); }
html.mo .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(0,0,0,.45); }
html.mo .btn:hover::after { transition: transform .7s ease; transform: translateX(130%) skewX(-18deg); }
html.mo .btn:active { transform: none; }

/* Cards and reviews lift; photos inside them ease in on hover */
html.mo .card, html.mo .review { transition: transform .3s ease, box-shadow .3s ease, border-color .2s ease, background-color .2s ease; }
html.mo .card:hover, html.mo .review:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -24px rgba(0,0,0,.45); }
html.mo .card .photo img, html.mo .lift-img .photo img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
html.mo .card:hover .photo img, html.mo .lift-img:hover .photo img { transform: scale(1.045); }

/* Stars light up in turn */
html.mo .stars.mo-stars svg { opacity: .2; transform: scale(.6); transition: opacity .3s ease, transform .4s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--i, 0) * 90ms); }
html.mo .stars.mo-stars.in svg { opacity: 1; transform: none; }

/* Header gains a shadow once the page scrolls; FAQ answers ease open */
html.mo .hdr { transition: box-shadow .3s ease; }
html.mo .hdr.scrolled { box-shadow: 0 10px 24px -18px rgba(0,0,0,.5); }
html.mo .faq details[open] > div { animation: bf-rise .35s ease both; }
html.mo .brand svg { transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
html.mo .brand:hover svg { transform: rotate(-10deg) scale(1.06); }

/* Effect layers injected by a site's theme */
.mo-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.mo-fx > * { position: absolute; }
.has-fx { position: relative; isolation: isolate; }
.has-fx > .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .mo-fx { display: none; } }
