/* ============================================================
   NOMAD TWIN TOWERS — main stylesheet
   Zero-framework. One file, one request, heavily cacheable.
   ============================================================ */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/fraunces-italic-500.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-var.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
  --ink: #12161e;
  --ink-2: #171c26;
  --ink-3: #202634;
  --cream: #f4f0e7;
  --cream-2: #eae4d6;
  --gold: #cda060;
  --gold-soft: #e2bf8b;
  --text-on-dark: #e9e6de;
  --muted-on-dark: #9aa1ab;
  --muted-on-light: #5c6572;
  --line-on-dark: rgba(205, 160, 96, 0.22);
  --line-on-light: rgba(35, 42, 55, 0.15);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --w: min(1180px, 92vw);
  --pad-y: clamp(4.5rem, 10vw, 8rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-on-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Skip link (keyboard users) ---------- */
.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 100;
  padding: 0.7rem 1.2rem;
  background: var(--gold);
  color: #17130f;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }
.serif-accent { font-style: italic; font-weight: 500; color: var(--gold-soft); }
.lede { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 34rem; }

.section { padding-block: var(--pad-y); scroll-margin-top: 4.2rem; }
.section--light { background: var(--cream); color: #232a37; }
.section--light .eyebrow { color: #92763c; }
.section--light .eyebrow::before { background: #92763c; }
.section--light .lede, .section--light p { color: #47505e; }
.wrap { width: var(--w); margin-inline: auto; }
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: 1.1rem; }

/* Below-fold rendering hint: skip layout/paint until near viewport */
.cv-auto { content-visibility: auto; contain-intrinsic-size: auto 720px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--gold); color: #17130f; }
.btn--solid:hover { background: var(--gold-soft); }
.btn--ghost { color: var(--text-on-dark); }
.btn--ghost:hover { background: rgba(205, 160, 96, 0.12); }
.section--light .btn--ghost { color: #232a37; border-color: #92763c; }
.section--light .btn--ghost:hover { background: rgba(146, 118, 60, 0.1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(18, 22, 30, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-on-dark);
}
/* backdrop-filter establishes a containing block for fixed-position
   descendants, which would otherwise size the fullscreen mobile nav
   (.nav-links, position: fixed; inset: 0) to this header's own box
   instead of the viewport once scrolled + opened — drop it while open. */
.site-header.menu-open {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav-bar {
  width: var(--w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.05rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark { width: 34px; height: 34px; }
.site-footer .brand-mark { width: 30px; height: 30px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: 0.14em;
  color: var(--text-on-dark);
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--gold);
}
.nav-links { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.4rem); }
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  opacity: 0.85;
  transition: opacity 0.25s, color 0.25s;
}
.nav-links a:hover { opacity: 1; color: var(--gold-soft); }
.nav-cta { border: 1px solid var(--gold); padding: 0.55rem 1.2rem; color: var(--gold-soft); }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 60; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--text-on-dark);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 27px; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 55;
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    background: rgba(15, 19, 27, 0.97);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 22, 30, 0.55) 0%, rgba(18, 22, 30, 0) 30%),
    linear-gradient(0deg, rgba(18, 22, 30, 0.92) 0%, rgba(18, 22, 30, 0.25) 45%, rgba(18, 22, 30, 0) 70%);
}
.hero-inner {
  width: var(--w);
  margin-inline: auto;
  padding-block: clamp(6rem, 14vh, 9rem) clamp(3rem, 8vh, 5rem);
  display: grid;
  gap: 1.6rem;
}
.hero h1 { max-width: 15ch; }
.hero .lede { color: #ccc9c1; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.6rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: clamp(1.6rem, 4vh, 3rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-on-dark);
}
.hero-meta div { display: grid; gap: 0.15rem; }
.hero-meta dt {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.hero-meta dd { font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-soft); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-on-dark);
  padding-block: 0.9rem;
  background: var(--ink-2);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee span {
  margin-right: 3.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  white-space: nowrap;
}
.marquee span::after { content: "◆"; margin-left: 3.5rem; color: var(--gold); font-size: 0.5rem; vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Split layouts ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split-media { position: relative; }
.split-media img { width: 100%; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45); }
.split-media::after {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--gold);
  opacity: 0.5;
  z-index: -1;
}
.split-copy { display: grid; gap: 1.2rem; justify-items: start; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-on-light);
  border: 1px solid var(--line-on-light);
  margin-top: clamp(3rem, 7vw, 5rem);
}
.stats > div { background: var(--cream); padding: 1.8rem 1.4rem; display: grid; gap: 0.3rem; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); color: #232a37; }
.stat-num sup { font-size: 0.55em; color: #92763c; }
.stat-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-on-light); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Residences ---------- */
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.6vw, 2rem); max-width: 52rem; margin-inline: auto; }
@media (max-width: 780px) { .res-grid { grid-template-columns: 1fr; max-width: 34rem; } }
.res-card {
  background: var(--ink-2);
  border: 1px solid var(--line-on-dark);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.res-card:hover { transform: translateY(-6px); border-color: rgba(205, 160, 96, 0.55); }
.res-card figure { border-bottom: 1px solid var(--line-on-dark); background: var(--cream); }
.res-card figure img { aspect-ratio: 600 / 440; object-fit: cover; width: 100%; }
.res-body { padding: 1.7rem 1.6rem 1.9rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.res-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.res-title h3 { color: var(--text-on-dark); }
.res-size { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; color: var(--muted-on-dark); white-space: nowrap; }
.res-price { font-family: var(--font-display); font-size: 1.28rem; color: var(--gold-soft); }
.res-price small { font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-on-dark); display: block; margin-bottom: 0.2rem; }
.res-feats { display: grid; gap: 0.5rem; padding-top: 0.4rem; border-top: 1px solid var(--line-on-dark); }
.res-feats li { font-size: 0.88rem; color: #c1c3c0; display: flex; gap: 0.6rem; align-items: baseline; }
.res-feats li::before { content: "—"; color: var(--gold); }
.res-card .btn { margin-top: auto; align-self: flex-start; }
.res-card figure { position: relative; }
.res-toggle {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  display: flex;
  background: rgba(18, 22, 30, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(205, 160, 96, 0.4);
}
.res-toggle button {
  padding: 0.4rem 0.85rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.res-toggle button[aria-pressed="true"] { color: #17130f; background: var(--gold); }
.res-card figure img[hidden] { display: none; }

/* ---------- Amenities ---------- */
.amen-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 1.6rem); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 980px) { .amen-highlights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .amen-highlights { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; } }
.amen-highlight { position: relative; overflow: hidden; }
.amen-highlight img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.6s var(--ease); }
.amen-highlight:hover img { transform: scale(1.05); }
.amen-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 22, 30, 0.88) 0%, rgba(18, 22, 30, 0.18) 48%, rgba(18, 22, 30, 0) 68%);
}
.amen-highlight figcaption { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; z-index: 1; }
.amen-highlight h3 { color: var(--text-on-dark); font-size: 1.15rem; }
.amen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-on-light); border: 1px solid var(--line-on-light); }
@media (max-width: 980px) { .amen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .amen-grid { grid-template-columns: 1fr; } }
.amen {
  background: var(--cream);
  padding: 2rem 1.6rem;
  display: grid;
  gap: 0.8rem;
  align-content: start;
  transition: background-color 0.3s var(--ease);
}
.amen:hover { background: var(--cream-2); }
.amen svg { width: 34px; height: 34px; stroke: #92763c; }
.amen h3 { font-size: 1.06rem; color: #232a37; }
.amen p { font-size: 0.88rem; color: var(--muted-on-light); }

/* ---------- Gallery ---------- */
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.gal-nav { display: flex; gap: 0.6rem; }
.gal-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  transition: background-color 0.25s, opacity 0.25s;
}
.gal-btn:hover { background: rgba(205, 160, 96, 0.12); }
.gal-btn:disabled { opacity: 0.3; cursor: default; }
.gallery-track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-top: 2.4rem;
  padding-bottom: 0.5rem;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gal-item { flex: 0 0 min(560px, 82vw); scroll-snap-align: start; }
.gal-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transition: opacity 0.3s;
}
.gal-item img:hover { opacity: 0.92; }
.gal-item figcaption {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.lightbox {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1080px, 94vw);
}
.lightbox::backdrop { background: rgba(9, 12, 18, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; }
.lightbox-close {
  position: absolute;
  top: -0.2rem;
  right: 0.4rem;
  font-size: 2rem;
  color: var(--cream);
  line-height: 1;
  z-index: 2;
}

/* ---------- Location ---------- */
.loc-list { display: grid; gap: 0; border-top: 1px solid var(--line-on-light); }
.loc-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line-on-light);
  font-size: 0.95rem;
  color: #47505e;
}
.loc-list strong { font-weight: 600; color: #232a37; }
.map-facade {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #d7d3c9;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-on-light);
  overflow: hidden;
}
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(146, 118, 60, 0.12) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgba(146, 118, 60, 0.12) 1px, transparent 1px) 0 0 / 44px 100%;
}
.map-pin { position: relative; display: grid; justify-items: center; gap: 0.9rem; text-align: center; padding: 1rem; }
.map-pin svg { width: 44px; height: 44px; }

/* ---------- Investment ---------- */
.invest-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-on-dark); border: 1px solid var(--line-on-dark); margin-top: clamp(2.5rem, 6vw, 4rem); }
@media (max-width: 880px) { .invest-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .invest-steps { grid-template-columns: 1fr; } }
.invest-steps > div { background: var(--ink-2); padding: 1.8rem 1.5rem; display: grid; gap: 0.5rem; align-content: start; }
.step-no { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.1rem; color: var(--gold); }
.invest-steps h3 { font-size: 1.05rem; color: var(--text-on-dark); }
.invest-steps p { font-size: 0.86rem; color: var(--muted-on-dark); }

/* ---------- Enquiry ---------- */
.enquiry-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 880px) { .enquiry-grid { grid-template-columns: 1fr; } }
.contact-rows { display: grid; gap: 1.4rem; margin-top: 2rem; }
.contact-rows a { display: grid; gap: 0.15rem; }
.contact-rows .lbl { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: #92763c; }
.contact-rows .val { font-family: var(--font-display); font-size: 1.2rem; color: #232a37; transition: color 0.25s; }
.contact-rows a:hover .val { color: #92763c; }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-on-light); }
.field input, .field select, .field textarea {
  font: inherit;
  color: #232a37;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(35, 42, 55, 0.35);
  padding: 0.55rem 0.1rem;
  border-radius: 0;
  transition: border-color 0.25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: #92763c; }
.field input.is-invalid, .field textarea.is-invalid { border-bottom-color: #b0432f; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.4rem; }
.form-note { font-size: 0.8rem; color: var(--muted-on-light); }
.form-status { font-size: 0.88rem; font-weight: 600; color: #92763c; min-height: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-on-dark); padding-block: 3.2rem 2.4rem; background: var(--ink); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.6rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-nav a { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-on-dark); transition: color 0.25s; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-fine { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(205, 160, 96, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.78rem; color: var(--muted-on-dark); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1fa855;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
