/* ==========================================================================
   MAX BUSINESS BAY — Design System
   Light brand theme from the logo: azure blue wordmark + magenta/orange M-mark
   Sora + Inter + Playfair Display
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg-0: #ffffff;
  --bg-1: #f3f9fe;
  --bg-2: #ffffff;
  --bg-3: #e7f2fb;
  --tint-warm: #fff6e8;
  --ink: #143049;
  --muted: #4f6b84;
  --faint: #8ba1b5;

  /* logo palette */
  --brand: #1493d6;      /* azure blue (wordmark) */
  --brand-deep: #0e7cb8;
  --brand-2: #5cc0f0;
  --magenta: #d12472;    /* M-mark left arch */
  --orange: #f7a11a;     /* M-mark center */
  --teal: #2ab6a5;       /* M-mark accent */

  --grad-brand: linear-gradient(120deg, #2ba6e4 0%, #1493d6 45%, #0e7cb8 100%);
  --grad-mark: linear-gradient(120deg, #d12472 0%, #f7a11a 100%);
  --grad-tri: linear-gradient(90deg, #d12472, #f7a11a 50%, #1493d6);

  --line: rgba(20, 48, 73, 0.1);
  --line-brand: rgba(20, 147, 214, 0.32);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 60px -16px rgba(16, 60, 94, 0.18);
  --shadow-soft: 0 10px 34px -10px rgba(16, 60, 94, 0.12);
  --shadow-brand: 0 12px 40px -8px rgba(20, 147, 214, 0.4);
  --radius: 18px;
  --radius-lg: 28px;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 84px;
  --wa: #25d366;

  /* legacy aliases (older markup may reference these) */
  --gold: var(--brand);
  --gold-2: var(--brand-2);
  --gold-3: var(--brand-deep);
  --gold-grad: var(--grad-brand);
  --line-gold: var(--line-brand);
  --cream: var(--bg-1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* <picture> must not create a box, or `img{height:100%}` inside cards breaks */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(20, 147, 214, 0.25); color: var(--ink); }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: #c6dcec; border-radius: 8px; border: 2px solid var(--bg-1); }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* focus */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
/* line-height is restated here: these classes are also used on <p> (the homepage
   headline is a <p> so production's hidden <h1>Home</h1> stays verbatim), and a
   <p> would otherwise inherit the body's 1.7 leading. */
.display { font-size: clamp(2.6rem, 6.2vw, 4.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.15; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; }
p { color: var(--muted); }
/* 600 (not the UA default 700) — we ship Inter 600, so no synthetic bold */
strong, b { color: var(--ink); font-weight: 600; }

.text-gold, .text-brand {
  background: var(--grad-mark);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-blue {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-shimmer {
  background: linear-gradient(110deg, #d12472 15%, #f7a11a 35%, #1493d6 55%, #d12472 85%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* nowrap: the split-text animation wraps each word in an inline-block, and a line
   break is allowed BETWEEN atomic inlines even across an &nbsp;. Keep the accent
   phrase whole. Released below 700px, where it would overflow a narrow screen. */
.accent-word { font-family: var(--font-accent); font-style: italic; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
@media (max-width: 700px) { .accent-word { white-space: normal; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--magenta);
}
.eyebrow::before { content: ''; width: 42px; height: 1px; background: var(--grad-mark); }
.eyebrow.center::after { content: ''; width: 42px; height: 1px; background: var(--grad-mark); }

/* ---------- Layout ---------- */
.container { width: min(1200px, 92vw); margin-inline: auto; }
.container.wide { width: min(1360px, 94vw); }
/* `clip` (not `hidden`) so decorative .orb blobs never widen the page,
   without turning every section into a scroll container. */
.section { padding-block: clamp(84px, 11vw, 148px); position: relative; overflow: clip; }
.section.tight { padding-block: clamp(56px, 7vw, 96px); }

.sec-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .h2 { margin: 18px 0 16px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3.4vw, 48px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.2vw, 28px); }

/* ambient orbs — logo-color pastels */
.orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  filter: blur(90px); opacity: 0.5; will-change: transform;
  animation: orbFloat 14s var(--ease-io) infinite alternate;
}
.orb.gold, .orb.orange { background: radial-gradient(circle, rgba(247, 161, 26, 0.35), transparent 65%); }
.orb.blue { background: radial-gradient(circle, rgba(20, 147, 214, 0.28), transparent 65%); }
.orb.teal { background: radial-gradient(circle, rgba(42, 182, 165, 0.3), transparent 65%); }
.orb.pink { background: radial-gradient(circle, rgba(209, 36, 114, 0.22), transparent 65%); }
@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, -50px, 0) scale(1.15); }
}

/* subtle grid texture */
.bg-grid::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 48, 73, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 48, 73, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
}

/* alternate soft section background */
.bg-soft { background: linear-gradient(180deg, var(--bg-1), var(--bg-0)); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background: var(--bg-0);
  transition: transform 0.9s var(--ease-io), visibility 0.9s;
}
#preloader .pl-logo { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; letter-spacing: 0.06em; color: var(--ink); opacity: 0; animation: plFade 0.8s 0.15s var(--ease) forwards; }
#preloader .pl-bar { width: 180px; height: 2px; background: var(--bg-3); border-radius: 2px; overflow: hidden; }
#preloader .pl-bar i { display: block; width: 40%; height: 100%; background: var(--grad-tri); border-radius: 2px; animation: plSlide 1.1s var(--ease-io) infinite; }
@keyframes plFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes plSlide { from { transform: translateX(-120%); } to { transform: translateX(460%); } }
body.loaded #preloader { transform: translateY(-100%); visibility: hidden; }

/* ---------- Page transition veil ---------- */
#veil {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  background: linear-gradient(160deg, #ffffff, var(--bg-1));
  transform: scaleY(0); transform-origin: top;
}
#veil.active { transform: scaleY(1); transform-origin: bottom; transition: transform 0.55s var(--ease-io); pointer-events: all; }

/* ---------- Scroll progress ---------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9980;
  background: var(--grad-tri); transform-origin: left; transform: scaleX(0);
}

/* ---------- Custom cursor ---------- */
#cursor-dot, #cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; will-change: transform; }
#cursor-dot { width: 7px; height: 7px; background: var(--magenta); }
#cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(20, 147, 214, 0.65);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
#cursor-ring.hovering { width: 64px; height: 64px; border-color: rgba(247, 161, 26, 0.9); background: rgba(20, 147, 214, 0.08); }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
@media (hover: none), (pointer: coarse) { #cursor-dot, #cursor-ring { display: none !important; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  transition: background 0.45s var(--ease), box-shadow 0.45s, backdrop-filter 0.45s, height 0.45s;
  height: var(--header-h); display: flex; align-items: center;
}
.site-header.scrolled {
  height: 68px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 12px 40px -18px rgba(16, 60, 94, 0.2);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; z-index: 2; }
.brand img { height: 58px; width: auto; transition: transform .4s var(--ease), height .45s var(--ease); }
.site-header.scrolled .brand img { height: 48px; }
.brand:hover img { transform: scale(1.05) rotate(-2deg); }
.brand .brand-txt { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em; line-height: 1.1; color: var(--ink); }
.brand .brand-txt small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); }
.nav-links a {
  position: relative; font-family: var(--font-head); font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--muted); padding: 8px 2px; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 2px; height: 2px; width: 100%;
  background: var(--grad-mark); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform 0.42s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-deep); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

/* header CTA — hidden on mobile, where the burger menu takes over */
.nav-cta { flex: 0 0 auto; white-space: nowrap; }

/* hamburger */
.burger { display: none; position: relative; z-index: 9600; width: 46px; height: 46px; background: #fff; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; box-shadow: var(--shadow-soft); }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--brand-deep); border-radius: 2px; transition: transform 0.45s var(--ease), opacity 0.3s, top 0.45s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 9500; display: flex; flex-direction: column; justify-content: center; padding: 10vh 8vw;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  clip-path: circle(0% at calc(100% - 60px) 50px); visibility: hidden;
  transition: clip-path 0.75s var(--ease-io), visibility 0.75s;
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 60px) 50px); visibility: visible; }
.mobile-menu a {
  font-family: var(--font-head); font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 700; padding: 12px 0;
  color: var(--muted); display: flex; align-items: baseline; gap: 18px;
  opacity: 0; transform: translateY(30px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.mobile-menu a i { font-style: normal; font-size: 0.8rem; color: var(--magenta); font-weight: 600; letter-spacing: 0.2em; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--brand); }
body.menu-open .mobile-menu a { opacity: 1; transform: none; }
body.menu-open .mobile-menu a:nth-child(1) { transition-delay: 0.15s; }
body.menu-open .mobile-menu a:nth-child(2) { transition-delay: 0.22s; }
body.menu-open .mobile-menu a:nth-child(3) { transition-delay: 0.29s; }
body.menu-open .mobile-menu a:nth-child(4) { transition-delay: 0.36s; }
body.menu-open .mobile-menu a:nth-child(5) { transition-delay: 0.43s; }
body.menu-open .mobile-menu a:nth-child(6) { transition-delay: 0.5s; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 16px 32px; border-radius: 999px; border: none; cursor: pointer; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.35s, color 0.35s, border-color 0.35s;
  will-change: transform;
}
.btn .arr { display: inline-block; transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-gold, .btn-brand { background: var(--grad-brand); color: #ffffff; box-shadow: var(--shadow-brand); }
.btn-gold:hover, .btn-brand:hover { transform: translateY(-3px); box-shadow: 0 18px 48px -10px rgba(20, 147, 214, 0.55); }
.btn-gold::after, .btn-brand::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-24deg); transition: left 0.7s var(--ease);
}
.btn-gold:hover::after, .btn-brand:hover::after { left: 130%; }
.btn-mark { background: var(--grad-mark); color: #fff; box-shadow: 0 12px 40px -8px rgba(209, 36, 114, 0.4); }
.btn-mark:hover { transform: translateY(-3px); box-shadow: 0 18px 48px -10px rgba(247, 161, 26, 0.55); }
.btn-ghost { background: rgba(255,255,255,0.75); color: var(--brand-deep); border: 1px solid var(--line-brand); }
.btn-ghost:hover { background: rgba(20, 147, 214, 0.1); border-color: var(--brand); transform: translateY(-3px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 16px 44px -10px rgba(37, 211, 102, 0.5); }

/* ---------- Cards ---------- */
.glass-card {
  position: relative; background: var(--glass); border: 1px solid var(--line);
  border-radius: var(--radius); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.glass-card:hover { border-color: var(--line-brand); box-shadow: var(--shadow); }

/* 3D tilt (JS sets --rx/--ry/--gx/--gy) */
.tilt { transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
.tilt .tilt-inner { transform: translateZ(34px); }
.tilt .glare {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 50%), rgba(92, 192, 240, 0.2), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.tilt:hover .glare { opacity: 1; }

/* property card */
.prop-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: #fff; }
.prop-card .pc-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.prop-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.prop-card:hover .pc-media img { transform: scale(1.09); }
.prop-card .pc-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 60, 94, 0.3), transparent 45%);
}
.pc-chip {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-brand); color: var(--brand-deep);
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
}
.pc-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 10px rgba(209, 36, 114, 0.7); }
.prop-card .pc-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.prop-card .pc-body h3 { font-size: 1.28rem; }
.prop-card .pc-body p { font-size: 0.95rem; }
.pc-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand);
}
.pc-link .arr { transition: transform 0.35s var(--ease); }
.prop-card:hover .pc-link .arr { transform: translateX(6px); }

/* feature / amenity flip cards */
.flip { perspective: 1100px; min-height: 240px; }
.flip-inner { position: relative; width: 100%; height: 100%; min-height: inherit; transform-style: preserve-3d; transition: transform 0.85s var(--ease-io); }
.flip:hover .flip-inner, .flip:focus-within .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; text-align: center; padding: 30px;
}
.flip-face.back { transform: rotateY(180deg); background: linear-gradient(150deg, var(--bg-1), #fff); border-color: var(--line-brand); }
.flip-face .fi { font-size: 2rem; }

/* icon tile */
.icon-tile {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(150deg, rgba(20, 147, 214, 0.16), rgba(92, 192, 240, 0.08));
  border: 1px solid var(--line-brand); color: var(--brand-deep);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

/* checklist */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.checklist li::before {
  content: '✓'; flex: 0 0 auto; width: 24px; height: 24px; margin-top: 2px;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 800; color: #fff;
  background: var(--grad-brand); border-radius: 50%;
}

/* spec grid (property pages) */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.spec {
  padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.spec:hover { transform: translateY(-5px); border-color: var(--line-brand); }
.spec .sp-label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); font-family: var(--font-head); font-weight: 600; }
.spec .sp-value { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin-top: 6px; color: var(--ink); }

/* ---------- Stats / counters ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 34px 18px; }
.stat .num {
  font-family: var(--font-head); font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, #1493d6, #d12472); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .lbl { margin-top: 10px; font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); font-family: var(--font-head); font-weight: 600; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; position: relative; background: var(--bg-1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 54px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 54px; white-space: nowrap;
  font-family: var(--font-head); font-size: clamp(1rem, 1.7vw, 1.3rem); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.marquee-track span i { font-style: normal; color: var(--orange); font-size: 0.75em; }
.marquee-track span:nth-child(3n+1) i { color: var(--magenta); }
.marquee-track span:nth-child(3n+2) i { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  /* bottom padding reserves room for .scroll-ind so hero-meta can never sit under it */
  padding-top: var(--header-h); padding-bottom: 120px;
  background: linear-gradient(180deg, #f0f8fe 0%, var(--bg-0) 55%, var(--bg-1) 100%);
}
#hero-canvas { position: absolute; inset: 0; z-index: 1; }
.hero .container { position: relative; z-index: 3; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-copy .display { margin: 22px 0 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-meta { display: flex; gap: 34px; margin-top: 52px; flex-wrap: wrap; }
.hero-meta .hm { border-left: 2px solid var(--line-brand); padding-left: 16px; }
.hero-meta .hm b { display: block; font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.hero-meta .hm small { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }

/* kinetic headline: JS wraps words */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split .w > i {
  /* inherit, not normal: keeps .accent-word italic while <i> stays upright elsewhere */
  display: inline-block; font-style: inherit; transform: translateY(115%) rotate(4deg);
  transition: transform 1s var(--ease); transition-delay: calc(var(--wi, 0) * 70ms + 200ms);
}
body.loaded .split .w > i { transform: none; }

/* hero visual card */
.hero-visual { position: relative; }
.hero-visual .hv-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-brand); box-shadow: var(--shadow), 0 0 80px -30px rgba(20, 147, 214, 0.45);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.8s var(--ease);
}
.hero-visual:hover .hv-frame { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.hero-visual .hv-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(92, 192, 240, 0.18), transparent 45%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hv-badge {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-brand); border-radius: 16px; padding: 14px 20px;
  box-shadow: var(--shadow); animation: floatY 5.5s ease-in-out infinite;
}
.hv-badge .fi {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(150deg, rgba(20, 147, 214, 0.14), rgba(92, 192, 240, 0.05));
  border: 1px solid var(--line-brand); color: var(--brand-deep);
}
.hv-badge .fi svg { width: 22px; height: 22px; }
.hv-badge b { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--ink); }
.hv-badge small { color: var(--muted); font-size: 0.75rem; }
.hv-badge.b1 { top: 8%; left: -9%; }
.hv-badge.b2 { bottom: 10%; right: -7%; animation-delay: 2.2s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* scroll indicator */
.scroll-ind { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--faint); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; }
.scroll-ind .mouse { width: 26px; height: 42px; border: 1.5px solid var(--line-brand); border-radius: 14px; display: flex; justify-content: center; padding-top: 8px; background: rgba(255,255,255,0.7); }
.scroll-ind .mouse i { width: 3px; height: 8px; border-radius: 3px; background: var(--orange); animation: wheel 1.8s var(--ease-io) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 clamp(48px, 7vw, 90px);
}
.page-hero .ph-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .ph-bg img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.page-hero .ph-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.6) 45%, var(--bg-0) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.02em; margin-top: 18px; max-width: 18ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-family: var(--font-head); font-weight: 600; }
.crumbs a { color: var(--muted); transition: color 0.3s; }
.crumbs a:hover { color: var(--brand); }
.crumbs i { font-style: normal; color: var(--orange); }

/* ---------- Reveal system ---------- */
[data-reveal] { opacity: 0; will-change: transform, opacity; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--rd, 0ms); }
[data-reveal="up"] { transform: translateY(48px); }
[data-reveal="down"] { transform: translateY(-48px); }
[data-reveal="left"] { transform: translateX(-56px); }
[data-reveal="right"] { transform: translateX(56px); }
[data-reveal="scale"] { transform: scale(0.88); }
[data-reveal="blur"] { filter: blur(12px); transform: translateY(24px); }
[data-reveal].revealed { opacity: 1; transform: none; filter: none; }

/* ---------- Media / parallax ---------- */
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.gold-frame, .media-frame.brand-frame { border-color: var(--line-brand); box-shadow: var(--shadow), 0 0 70px -34px rgba(20, 147, 214, 0.5); }
.media-frame .corner { position: absolute; width: 46px; height: 46px; border: 2px solid var(--orange); z-index: 2; }
.media-frame .corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.media-frame .corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
[data-parallax] img { will-change: transform; transform: translateY(var(--py, 0)); transition: transform 0.1s linear; }

/* ---------- Accordion ---------- */
.acc { display: grid; gap: 14px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); overflow: hidden; transition: border-color 0.4s; }
.acc-item.open { border-color: var(--line-brand); }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 26px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.acc-head .ic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-brand); display: grid; place-items: center; color: var(--brand); transition: transform 0.5s var(--ease), background 0.4s; }
.acc-item.open .acc-head .ic { transform: rotate(135deg); background: rgba(20, 147, 214, 0.12); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.acc-body > div { overflow: hidden; }
.acc-body p { padding: 0 26px 24px; font-size: 0.96rem; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 20px 18px 12px; border-radius: 14px;
  background: var(--bg-1); border: 1px solid var(--line); color: var(--ink);
  transition: border-color 0.35s, background 0.35s, box-shadow 0.35s; resize: vertical;
}
.field textarea { min-height: 140px; }
.field label {
  position: absolute; left: 18px; top: 16px; color: var(--faint); pointer-events: none;
  transition: all 0.3s var(--ease); font-size: 0.95rem;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px rgba(20, 147, 214, 0.16);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 7px; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-deep);
}
.field input::placeholder, .field textarea::placeholder { color: transparent; }

/* form submission feedback */
.form-status {
  min-height: 1.2em; font-size: 0.9rem; font-weight: 600; font-family: var(--font-head);
  color: var(--brand-deep); transition: opacity 0.3s;
}
.form-status:empty { display: none; }
.form-status.error { color: var(--magenta); }

/* contact info tiles */
.ct-tile { display: flex; gap: 20px; align-items: flex-start; padding: 28px; }
.ct-tile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ct-tile p, .ct-tile a { color: var(--muted); font-size: 0.95rem; transition: color 0.3s; }
.ct-tile a:hover { color: var(--brand); }

/* map */
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-brand); box-shadow: var(--shadow-soft); filter: saturate(0.9); transition: filter 0.5s; }
.map-frame:hover { filter: none; }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; text-align: center;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px);
  background:
    radial-gradient(900px 380px at 50% -10%, rgba(20, 147, 214, 0.14), transparent 65%),
    radial-gradient(700px 300px at 15% 110%, rgba(247, 161, 26, 0.12), transparent 60%),
    radial-gradient(700px 300px at 85% 110%, rgba(209, 36, 114, 0.1), transparent 60%),
    linear-gradient(160deg, #fdfeff, var(--bg-1));
  border: 1px solid var(--line-brand);
  box-shadow: var(--shadow-soft);
}
.cta-banner::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, rgba(209, 36, 114, 0.55), transparent 30%, transparent 70%, rgba(20, 147, 214, 0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.cta-banner .h2 { margin: 16px auto 14px; max-width: 22ch; }
.cta-banner .lead { margin-inline: auto; }
.cta-banner .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-1), var(--bg-3)); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(30px, 4vw, 60px); padding-block: clamp(56px, 7vw, 88px); position: relative; z-index: 1; }
.site-footer h3 { font-size: 0.8rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 22px; font-weight: 700; }
.site-footer p { font-size: 0.92rem; }
.f-links { display: grid; gap: 12px; }
.f-links a { position: relative; color: var(--muted); font-size: 0.94rem; width: fit-content; transition: color 0.3s, transform 0.3s var(--ease); }
.f-links a::before { content: '→'; position: absolute; left: -22px; opacity: 0; color: var(--orange); transition: opacity 0.3s, left 0.3s var(--ease); }
.f-links a:hover { color: var(--brand); transform: translateX(20px); }
.f-links a:hover::before { opacity: 1; left: -20px; }
.f-contact { display: grid; gap: 14px; font-size: 0.92rem; color: var(--muted); }
.f-contact a { color: var(--muted); transition: color 0.3s; }
.f-contact a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: var(--faint); position: relative; z-index: 1; }
.footer-big {
  position: absolute; bottom: -0.28em; left: 50%; transform: translateX(-50%); z-index: 0; white-space: nowrap;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 13vw, 11rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(20, 147, 214, 0.14); pointer-events: none; user-select: none;
}

/* ---------- Floating buttons ---------- */
#to-top {
  position: fixed; right: 26px; bottom: 100px; z-index: 8900; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line-brand); color: var(--brand-deep); cursor: pointer;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s var(--ease), visibility 0.4s;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}
#to-top.show { opacity: 1; visibility: visible; transform: none; }
#to-top svg { position: absolute; inset: -1px; width: 52px; height: 52px; transform: rotate(-90deg); }
#to-top svg circle { fill: none; stroke: var(--brand); stroke-width: 2; stroke-dasharray: 157; stroke-dashoffset: var(--tt, 157); }
#to-top:hover { background: rgba(20, 147, 214, 0.12); }

.wa-fab {
  position: fixed; right: 22px; bottom: 26px; z-index: 8900; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center; box-shadow: 0 12px 34px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.35s var(--ease);
}
.wa-fab:hover { transform: scale(1.1) rotate(6deg); }
.wa-fab::before, .wa-fab::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: waPulse 2.4s var(--ease) infinite;
}
.wa-fab::after { animation-delay: 1.2s; }
@keyframes waPulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.7); opacity: 0; } }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Lightbox ---------- */
#lightbox {
  position: fixed; inset: 0; z-index: 9700; display: grid; place-items: center; padding: 5vmin;
  background: rgba(243, 249, 254, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
#lightbox.open { opacity: 1; visibility: visible; }
#lightbox img { max-width: 100%; max-height: 88vh; border-radius: 14px; border: 1px solid var(--line-brand); transform: scale(0.92); transition: transform 0.45s var(--ease); box-shadow: var(--shadow); }
#lightbox.open img { transform: scale(1); }
#lightbox .lb-close { position: absolute; top: 24px; right: 28px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-brand); background: #fff; color: var(--ink); font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), background .3s; }
#lightbox .lb-close:hover { transform: rotate(90deg); background: rgba(20, 147, 214, 0.12); }

/* gallery — .g-item also works standalone (e.g. a single lightbox trigger) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g-item { display: block; border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; }
.gallery .g-item { border: 1px solid var(--line); box-shadow: var(--shadow-soft); aspect-ratio: 4/3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.g-item:hover img { transform: scale(1.08); }
.g-item::after {
  content: '⊕'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.55); opacity: 0; transition: opacity 0.4s;
}
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }

/* ---------- Blog / article ---------- */
.post-card { overflow: hidden; border-radius: var(--radius-lg); display: flex; flex-direction: column; background: #fff; }
.post-card .pt-media { aspect-ratio: 16/9; overflow: hidden; }
.post-card .pt-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card:hover .pt-media img { transform: scale(1.07); }
.post-card .pt-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-meta { display: flex; gap: 16px; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); font-family: var(--font-head); font-weight: 600; }
.post-meta i { font-style: normal; color: var(--magenta); }
.article-body { max-width: 760px; margin-inline: auto; display: grid; gap: 24px; }
.article-body p { font-size: 1.05rem; line-height: 1.85; }
.article-body h2 { font-size: 1.6rem; margin-top: 18px; }
.article-body blockquote { border-left: 3px solid var(--brand); padding: 8px 0 8px 24px; font-family: var(--font-accent); font-style: italic; font-size: 1.25rem; color: var(--ink); background: var(--bg-1); border-radius: 0 12px 12px 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 38px; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), transparent); }
.tl-item { position: relative; }
.tl-item::before { content: ''; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--magenta); box-shadow: 0 0 16px rgba(209, 36, 114, 0.5); }
.tl-item h3 { font-size: 1.15rem; margin-bottom: 8px; }

/* ---------- Inline icons (replace emoji) ---------- */
.ic { width: 1.05em; height: 1.05em; flex: 0 0 auto; vertical-align: -0.18em; }
.f-contact a { display: inline-flex; align-items: center; gap: 10px; }
.f-contact a .ic { color: var(--brand); }
.mobile-menu a i.mi { display: inline-flex; align-items: center; color: var(--brand); }
.mobile-menu a i.mi .ic { width: 26px; height: 26px; }

/* ---------- SEO / AEO structure ---------- */
/* Production H1s are preserved verbatim; where the theme hid one, we hide it too. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* subtitle beneath a restored page-hero H1 */
.ph-lead {
  margin-top: 14px; font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--muted); max-width: 44ch; font-weight: 500;
}

/* Phase 2 — answer-first summary block (sits above existing content) */
.answer-block { padding-block: clamp(36px, 5vw, 56px); }
.answer-block .answer-card {
  border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(100deg, var(--bg-1), #fff);
  padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 38px);
  box-shadow: var(--shadow-soft);
}
.answer-block .answer-card p {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem); line-height: 1.75; color: var(--ink); margin: 0;
}
.answer-block .answer-card p + p { margin-top: 12px; }

/* Phase 3 — FAQ */
.faq-section .acc { max-width: 860px; margin-inline: auto; }
.faq-section .acc-head { font-size: 1rem; }

/* ---------- Utilities ---------- */
.divider-glow { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--line-brand), transparent); }
.center { text-align: center; }
.mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 56px; }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */

/* Wide screens: let the content breathe instead of stranding it in a 1360px column. */
@media (min-width: 1600px) {
  .container { width: min(1320px, 92vw); }
  .container.wide { width: min(1560px, 94vw); }
  .display { font-size: clamp(2.6rem, 4.6vw, 5.5rem); }
  .h2 { font-size: clamp(1.9rem, 2.6vw, 3.4rem); }
}
@media (min-width: 2200px) {
  .container { width: min(1440px, 90vw); }
  .container.wide { width: min(1720px, 92vw); }
  .display { font-size: 6rem; }
  .lead { font-size: 1.28rem; max-width: 66ch; }
  body { font-size: 17.5px; }
}

/* Short viewports (laptops, split screens): the scroll cue would collide with hero stats. */
@media (max-height: 720px) {
  .hero { padding-bottom: 64px; }
  .scroll-ind { display: none; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-bottom: 80px; }
  .hero-visual { max-width: 620px; }
  .hv-badge.b1 { left: 0; } .hv-badge.b2 { right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .burger { display: block; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .brand img { height: 46px; }
  .site-header.scrolled .brand img { height: 40px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hv-badge { padding: 10px 14px; }
  .wa-fab { width: 54px; height: 54px; }
  #to-top { right: 20px; bottom: 92px; }
  .section { padding-block: 68px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .split .w > i { transform: none; }
  #hero-canvas { display: none; }
}
