/* ==========================================================================
   SalesOfferDXB — shared styles (premium redesign)
   Dubai real estate marketing site (Rayna Properties)
   Palette: charcoal ink (#212529) + white, one restrained bronze accent.
   ========================================================================== */

:root {
  --ink: #212529;
  --ink-2: #2a2e33;
  --ink-deep: #17181a;
  --paper: #ffffff;
  --paper-soft: #f4f3f1;
  --paper-line: #e4e2de;
  --dark-line: rgba(255,255,255,0.14);
  --dark-line-soft: rgba(255,255,255,0.08);
  --muted-on-dark: rgba(255,255,255,0.68);
  --muted-on-light: #62666b;
  --accent: #b6935a;
  --accent-light: #d4b781;
  --accent-deep: #8c6c3d;
  --green-wa: #25d366;
  --radius: 3px;
  --radius-md: 6px;
  --shadow: 0 30px 70px -30px rgba(0,0,0,0.45);
  --shadow-sm: 0 14px 34px -18px rgba(0,0,0,0.35);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--muted-on-light); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: 108px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--muted-on-dark); }
.section--deep { background: var(--ink-deep); color: #fff; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p { color: var(--muted-on-dark); }
.section--soft { background: var(--paper-soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); display: inline-block; }
.section-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section-head p { font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--accent-deep); }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-white:hover { background: var(--paper-soft); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-outline:hover { border-color: #fff; }
.btn-outline-dark { background: transparent; border-color: rgba(33,37,41,0.35); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--ink); }
.btn-wa { background: var(--green-wa); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 19px 38px; font-size: 0.85rem; }
.btn-sm { padding: 11px 22px; font-size: 0.72rem; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(33, 37, 41, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dark-line-soft);
  box-shadow: 0 12px 30px -20px rgba(0,0,0,0.6);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 2px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 600; color: #fff; font-size: 1.15rem;
  flex-shrink: 0;
}
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-size: 1.05rem; letter-spacing: 0.02em; font-family: 'Playfair Display', serif; }
.brand-text span { display: block; font-size: 0.64rem; color: var(--accent-light); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { color: rgba(255,255,255,0.82); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links a:hover { color: var(--accent-light); }
.nav-links a.pill { color: #fff !important; border: 1px solid rgba(255,255,255,0.35); padding: 9px 18px; border-radius: var(--radius); }
.nav-links a.pill:hover { border-color: #fff; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); color: #fff;
}
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--ink); flex-direction: column; align-items: flex-start; justify-content: center; padding: 40px; gap: 26px; transform: translateX(100%); transition: 0.25s ease; z-index: 150; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-toggle { display: block; position: relative; z-index: 160; }
  .site-header { background: rgba(33,37,41,0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--dark-line-soft); }
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(20,22,24,0.55) 0%, rgba(20,22,24,0.55) 40%, rgba(20,22,24,0.92) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: center;
  padding: 140px 0 90px;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; }
.hero .eyebrow { color: var(--accent-light); }
.hero .eyebrow::before { background: var(--accent-light); }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); color: #fff; }
.hero .lede { font-size: 1.15rem; color: rgba(255,255,255,0.82); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0; margin-top: 56px; border-top: 1px solid var(--dark-line); padding-top: 28px; }
.hero-trust div { padding-right: 40px; margin-right: 40px; border-right: 1px solid var(--dark-line); }
.hero-trust div:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-trust div strong { display: block; font-size: 1.5rem; color: #fff; font-family: 'Playfair Display', serif; font-weight: 600; }
.hero-trust div span { font-size: 0.76rem; color: var(--muted-on-dark); text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 640px) { .hero-trust { gap: 20px 0; } .hero-trust div { padding-right: 20px; margin-right: 20px; flex: 1 1 40%; } }

/* Stat strip */
.stat-strip { background: var(--ink-deep); border-top: 1px solid var(--dark-line-soft); }
.stat-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 24px; }
.stat-item { text-align: center; color: #fff; }
.stat-item strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.7rem; color: var(--accent-light); font-weight: 600; }
.stat-item span { font-size: 0.74rem; color: var(--muted-on-dark); text-transform: uppercase; letter-spacing: 0.03em; }
@media (max-width: 720px) { .stat-strip .container { grid-template-columns: repeat(2, 1fr); } }

/* Cards grid (campaigns) */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.campaign-card {
  background: var(--paper); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--paper-line); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.campaign-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.campaign-media { height: 210px; position: relative; display: flex; align-items: flex-end; padding: 18px; background-size: cover; background-position: center; }
.campaign-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,24,26,0) 40%, rgba(23,24,26,0.75) 100%); }
.campaign-media .badge { position: relative; z-index: 1; background: var(--accent); color: #fff; font-size: 0.66rem; font-weight: 700; padding: 6px 14px; border-radius: var(--radius); text-transform: uppercase; letter-spacing: 0.08em; }
.campaign-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.campaign-body h3 { font-size: 1.25rem; margin-bottom: 4px; }
.campaign-body .tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); background: var(--paper-soft); border: 1px solid var(--paper-line); padding: 5px 11px; border-radius: var(--radius); }
.campaign-body .btn { margin-top: auto; align-self: flex-start; }
.campaign-card.coming-soon { opacity: 0.8; }
.campaign-card.coming-soon .campaign-media { background-color: var(--ink-2); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.03) 12px, transparent 12px, transparent 24px); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; }
.card-link:hover { color: var(--accent-deep); }

/* Area cards — full-bleed photography with overlay */
.area-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.area-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,24,26,0.05) 0%, rgba(23,24,26,0.35) 55%, rgba(23,24,26,0.92) 100%);
  transition: background 0.3s ease;
  z-index: 0;
}
.area-card:hover::before { background: linear-gradient(180deg, rgba(182,147,90,0.08) 0%, rgba(23,24,26,0.5) 55%, rgba(23,24,26,0.95) 100%); }
.area-card .area-card-body { position: relative; z-index: 1; padding: 26px; width: 100%; }
.area-card .area-card-body::before { display: none; }
.area-card h3 { font-size: 1.2rem; margin-bottom: 8px; color: #fff; }
.area-card p { font-size: 0.88rem; margin-bottom: 4px; color: rgba(255,255,255,0.78); }
.area-card .card-link { color: #fff; }
.area-card .card-link:hover { color: var(--accent-light); }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; z-index: -1; }
.area-card:hover img { transform: scale(1.06); }

/* Feature list — minimal divided rows (replaces icon-grid) */
.feature-list { display: flex; flex-direction: column; }
.feature-row { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--dark-line); }
.feature-row:last-child { border-bottom: 1px solid var(--dark-line); }
.feature-row .num { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--accent-light); font-weight: 600; }
.feature-row h4 { font-size: 1.04rem; margin-bottom: 6px; }
.feature-row p { font-size: 0.92rem; margin-bottom: 0; }
.section--soft .feature-row, .section .feature-row.on-light { border-color: var(--paper-line); }
.section--soft .feature-row .num, .feature-row.on-light .num { color: var(--accent-deep); }

/* Split section (image + copy) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split-media { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-media.tall img { aspect-ratio: 4/5; }
.split-media.wide img { aspect-ratio: 4/3; }

/* Unit cards */
.unit-card { background: transparent; border: 1px solid var(--dark-line); border-radius: var(--radius-md); padding: 30px 26px; display: flex; flex-direction: column; gap: 14px; text-align: left; transition: border-color 0.2s ease, background 0.2s ease; }
.unit-card:hover { border-color: var(--accent); background: rgba(182,147,90,0.06); }
.unit-card h3 { font-size: 1.12rem; margin-bottom: 0; color: #fff; }
.unit-card p { font-size: 0.9rem; flex: 1; margin-bottom: 0; color: var(--muted-on-dark); }

/* Amenities — compact list beside photo (see .split) */
.amenity-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
@media (max-width: 560px) { .amenity-list { columns: 1; } }
.amenity-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--dark-line); font-size: 0.94rem; break-inside: avoid; }
.amenity-list li svg { flex-shrink: 0; color: var(--accent-light); }
.amenity-list li strong { display: block; color: #fff; font-size: 0.95rem; font-weight: 600; }
.amenity-list li span { display: block; font-size: 0.78rem; color: var(--muted-on-dark); margin-top: 2px; }

/* Brochure CTA — full-bleed photo banner */
.brochure-cta {
  position: relative;
  background-color: var(--ink);
  background-image: linear-gradient(180deg, rgba(23,24,26,0.65), rgba(23,24,26,0.88)), var(--brochure-img);
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
}
.brochure-cta .eyebrow { color: var(--accent-light); justify-content: center; }
.brochure-cta h2 { color: #fff; }
.brochure-cta p { color: var(--muted-on-dark); }

.mid-cta { background: var(--ink-deep); color: #fff; text-align: center; border-top: 1px solid var(--dark-line-soft); border-bottom: 1px solid var(--dark-line-soft); }
.mid-cta h2 { color: #fff; }
.mid-cta p { color: var(--muted-on-dark); max-width: 520px; margin-left: auto; margin-right: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 34px 26px 26px; background: var(--paper); border: 1px solid var(--paper-line); border-radius: var(--radius-md); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -20px; left: 26px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--accent-light); font-family: 'Playfair Display', serif; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.step h4 { margin-top: 12px; font-size: 1.04rem; }
.step p { font-size: 0.92rem; margin-bottom: 0; }

/* Lead form */
.lead-section { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.lead-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: stretch; }
@media (max-width: 900px) { .lead-wrap { grid-template-columns: 1fr; } }
.lead-copy h2 { color: #fff; }
.lead-copy .checklist { list-style: none; padding: 0; margin: 30px 0 0; }
.lead-copy .checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; color: rgba(255,255,255,0.82); font-size: 0.96rem; }
.lead-copy .checklist li svg { flex-shrink: 0; margin-top: 3px; color: var(--accent-light); }
.lead-card { background: #fff; border-radius: var(--radius-md); padding: 36px; color: var(--ink); box-shadow: var(--shadow); }
.lead-card h3 { color: var(--ink); font-size: 1.3rem; }
.lead-card .sub { font-size: 0.88rem; color: var(--muted-on-light); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.76rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius); border: 1px solid var(--paper-line);
  font-family: inherit; font-size: 0.95rem; background: var(--paper-soft); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.consent { font-size: 0.76rem; color: var(--muted-on-light); margin: 10px 0 18px; }
.form-status { font-size: 0.88rem; margin-top: 14px; display: none; padding: 12px 15px; border-radius: var(--radius); }
.form-status.show { display: block; }
.form-status.ok { background: #e8f5ec; color: #1c6b39; }
.form-status.err { background: #fbe9e9; color: #a3282e; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--paper-line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 24px 4px; font-size: 1.02rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: 'Playfair Display', serif; }
.faq-q .plus { font-size: 1.4rem; color: var(--accent); transition: transform 0.2s ease; flex-shrink: 0; margin-left: 16px; font-family: 'Inter', sans-serif; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 4px 22px; font-size: 0.95rem; }

/* Disclosure / compliance */
.disclosure { background: var(--paper-soft); border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 18px 20px; font-size: 0.82rem; color: var(--muted-on-light); margin-top: 24px; }
.disclosure strong { color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink-deep); color: var(--muted-on-dark); padding: 70px 0 30px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; font-family: 'Inter', sans-serif; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 11px; }
.site-footer a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid var(--dark-line-soft); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.78rem; }
.footer-legal { font-size: 0.76rem; color: #6b7076; max-width: 900px; margin-top: 12px; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%; background: var(--green-wa); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -8px rgba(0,0,0,0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55);} 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* Utility */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill { background: var(--ink-2); border: 1px solid var(--dark-line); padding: 9px 18px; border-radius: var(--radius); font-size: 0.82rem; font-weight: 600; color: #fff; }
.breadcrumb { font-size: 0.82rem; color: var(--muted-on-dark); margin-bottom: 14px; }
.breadcrumb a { color: var(--accent-light); }

/* Quick-facts chips (hero, campaign page) */
.hero-chips { display: flex; flex-wrap: wrap; gap: 0; margin-top: 36px; border: 1px solid var(--dark-line); border-radius: var(--radius-md); overflow: hidden; }
.chip-fact { padding: 18px 26px; min-width: 140px; border-right: 1px solid var(--dark-line); }
.chip-fact:last-child { border-right: none; }
.chip-fact span { display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-on-dark); margin-bottom: 6px; }
.chip-fact strong { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: #fff; font-weight: 600; }
.chip-note { font-size: 0.74rem; color: var(--muted-on-dark); opacity: 0.8; margin-top: 16px; max-width: 560px; }

/* Quick-enquiry modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(17,18,20,0.78); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 500; opacity: 0; visibility: hidden; transition: opacity 0.2s ease; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-card { background: #fff; border-radius: var(--radius-md); padding: 38px; max-width: 440px; width: 100%; position: relative; box-shadow: var(--shadow); transform: translateY(14px); transition: transform 0.2s ease; max-height: 88vh; overflow-y: auto; }
.modal-overlay.open .modal-card { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--muted-on-light); }
.modal-card h3 { font-size: 1.3rem; margin-top: 4px; }
.modal-card .sub { font-size: 0.88rem; color: var(--muted-on-light); margin-bottom: 20px; }

/* Sticky mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 190; background: var(--ink); border-top: 1px solid var(--dark-line); box-shadow: 0 -10px 26px rgba(0,0,0,0.35); padding-bottom: env(safe-area-inset-bottom, 0); }
  .mobile-bar-btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 11px 4px 12px; font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: #fff; border: none; background: none; cursor: pointer; font-family: inherit; }
  .mobile-bar-btn.wa { color: #4fdb87; }
  .mobile-bar-btn.primary { background: var(--accent); color: #fff; }
  .wa-float { display: none; }
  body { padding-bottom: 64px; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
