/* ==========================================================================
   Erraji Immobilier — الراجي للعقارات
   Global Stylesheet | Navy & Gold Luxury Theme | RTL Arabic
   ========================================================================== */

:root {
  /* Palette — Navy & Gold Luxury */
  --navy-900: #0a1930;
  --navy-800: #0e2444;
  --navy-700: #143156;
  --navy-600: #1c4272;
  --gold-500: #c9a227;
  --gold-400: #d8b74a;
  --gold-300: #e7cf7e;
  --cream:    #f7f4ec;
  --sand:     #efe9db;
  --ink:      #1a2233;
  --muted:    #5c6577;
  --line:     #e4ded1;
  --white:    #ffffff;

  --grad-navy: linear-gradient(135deg, #0a1930 0%, #143156 55%, #1c4272 100%);
  --grad-gold: linear-gradient(135deg, #c9a227 0%, #e7cf7e 100%);

  --shadow-sm: 0 2px 10px rgba(10, 25, 48, .06);
  --shadow-md: 0 12px 30px rgba(10, 25, 48, .10);
  --shadow-lg: 0 24px 60px rgba(10, 25, 48, .16);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --header-h: 78px;

  --font: "Tajawal", "Cairo", system-ui, "Segoe UI", Tahoma, sans-serif;
  --font-display: "Cairo", "Tajawal", system-ui, sans-serif;
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.3; color: var(--navy-900); font-weight: 800; }

/* Layout ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: 90px 0; }
.section--tight { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--grad-navy); color: var(--white); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; color: var(--gold-500); text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-500); display: inline-block; }
.section--navy .eyebrow { color: var(--gold-400); }

.section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section--navy .section-title { color: var(--white); }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.center .section-sub { margin-inline: auto; }
.section--navy .section-sub { color: rgba(255,255,255,.8); }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 50px; cursor: pointer;
  border: 2px solid transparent; transition: .25s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--gold { background: var(--grad-gold); color: var(--navy-900); box-shadow: 0 8px 22px rgba(201,162,39,.35); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(201,162,39,.45); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-3px); }
.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy-900); }
.btn--block { width: 100%; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 12px; background: var(--grad-navy);
  display: grid; place-items: center; color: var(--gold-400);
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  border: 1.5px solid var(--gold-500);
}
.brand__text { line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; color: var(--navy-900); }
.brand__tag { font-family: var(--font-display); font-size: 1.32rem; color: var(--gold-500); font-weight: 800; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 9px 16px; border-radius: 40px; color: var(--ink); transition: .2s;
}
.nav a:hover { color: var(--navy-900); background: var(--sand); }
.nav a.active { color: var(--gold-500); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-900); font-family: var(--font-display); }
.header-phone svg { width: 18px; height: 18px; color: var(--gold-500); }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: var(--white); border-radius: 12px; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.burger span { width: 22px; height: 2px; background: var(--navy-900); transition: .3s; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1100; background: var(--grad-navy);
  color: var(--white); display: flex; flex-direction: column; padding: 26px;
  transform: translateX(-100%); transition: transform .35s ease; visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu__close { background: rgba(255,255,255,.1); border: none; color: var(--white); width: 46px; height: 46px; border-radius: 12px; font-size: 1.6rem; cursor: pointer; }
.mobile-menu a { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-menu a:hover { color: var(--gold-400); }
.mobile-menu .btn { margin-top: 30px; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(10,25,48,.95) 0%, rgba(14,36,68,.82) 45%, rgba(20,49,86,.55) 100%);
}
.hero__inner { padding: 120px 0 130px; max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(201,162,39,.16);
  border: 1px solid rgba(201,162,39,.4); color: var(--gold-300);
  padding: 8px 16px; border-radius: 40px; font-size: .85rem; font-weight: 700; margin-bottom: 22px;
}
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.2; margin-bottom: 20px; }
.hero h1 .accent { color: var(--gold-400); }
.hero p { font-size: 1.18rem; color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 54px; flex-wrap: wrap; }
.hero__stat b { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold-400); display: block; }
.hero__stat span { font-size: .92rem; color: rgba(255,255,255,.75); }

/* Trust bar --------------------------------------------------------------- */
.trustbar { background: var(--navy-900); color: rgba(255,255,255,.9); }
.trustbar__inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; padding: 24px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-family: var(--font-display); }
.trust-item svg { width: 26px; height: 26px; color: var(--gold-400); flex: none; }

/* Grid helpers ------------------------------------------------------------ */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Feature / benefit cards ------------------------------------------------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); transition: .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.card__icon {
  width: 62px; height: 62px; border-radius: 16px; background: var(--sand);
  display: grid; place-items: center; margin-bottom: 20px; color: var(--navy-700);
}
.card__icon svg { width: 30px; height: 30px; }
.card:hover .card__icon { background: var(--grad-gold); color: var(--navy-900); }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card__num { position: absolute; top: 18px; left: 22px; font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: var(--sand); z-index: 0; }
.card__num + * { position: relative; }

/* Services overview ------------------------------------------------------- */
.service-card { padding: 0; overflow: hidden; }
.service-card__media { height: 210px; position: relative; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__tag { position: absolute; top: 16px; right: 16px; background: var(--gold-500); color: var(--navy-900); padding: 6px 14px; border-radius: 30px; font-weight: 700; font-size: .82rem; }
.service-card__body { padding: 26px 26px 30px; }
.service-card__body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card__body p { color: var(--muted); font-size: .97rem; margin-bottom: 16px; }
.link-gold { color: var(--gold-500); font-weight: 700; font-family: var(--font-display); display: inline-flex; align-items: center; gap: 6px; }
.link-gold svg { width: 16px; height: 16px; transition: .2s; }
.link-gold:hover svg { transform: translateX(-4px); }

/* Testimonials ------------------------------------------------------------ */
.testimonial {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
}
.testimonial__stars { color: var(--gold-500); margin-bottom: 14px; letter-spacing: 3px; }
.testimonial p { font-size: 1.02rem; margin-bottom: 20px; color: var(--ink); }
.testimonial__author { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-300); }
.testimonial__author b { font-family: var(--font-display); color: var(--navy-900); display: block; }
.testimonial__author span { font-size: .85rem; color: var(--muted); }

/* About split ------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split__badge {
  position: absolute; bottom: -26px; right: -18px; background: var(--grad-gold);
  color: var(--navy-900); padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.split__badge b { font-family: var(--font-display); font-size: 2rem; display: block; line-height: 1; }
.split__badge span { font-size: .85rem; font-weight: 700; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.tick-list { margin: 22px 0; }
.tick-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-weight: 600; color: var(--ink); }
.tick-list svg { width: 22px; height: 22px; color: var(--gold-500); flex: none; margin-top: 3px; }

/* Steps ------------------------------------------------------------------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step__num {
  flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--grad-navy);
  color: var(--gold-400); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; border: 1.5px solid var(--gold-500);
}
.step h3 { font-size: 1.24rem; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* FAQ --------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: var(--white); overflow: hidden; }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; text-align: right; background: none; border: none; padding: 20px 24px; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--navy-900); }
.faq__q span.icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--navy-900); transition: .3s; font-size: 1.3rem; line-height: 1; }
.faq__item.open .faq__q span.icon { background: var(--grad-gold); transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { padding: 0 24px 22px; color: var(--muted); }

/* Listings ---------------------------------------------------------------- */
.filter-bar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 22px; display: grid;
  grid-template-columns: repeat(4, 1fr) auto; gap: 16px; align-items: end;
  margin-top: -70px; position: relative; z-index: 5;
}
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--navy-900); margin-bottom: 7px; font-family: var(--font-display); }
.field select, .field input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .95rem; background: var(--cream); color: var(--ink);
}
.field select:focus, .field input:focus { outline: none; border-color: var(--gold-500); background: var(--white); }

.property-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.property-card__media { height: 230px; position: relative; overflow: hidden; }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.property-card:hover .property-card__media img { transform: scale(1.08); }
.property-card__price { position: absolute; bottom: 14px; right: 14px; background: rgba(10,25,48,.9); color: var(--gold-400); padding: 8px 16px; border-radius: 30px; font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; }
.property-card__type { position: absolute; top: 14px; right: 14px; background: var(--gold-500); color: var(--navy-900); padding: 6px 14px; border-radius: 30px; font-weight: 700; font-size: .8rem; }
.property-card__status { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--navy-900); padding: 6px 12px; border-radius: 30px; font-weight: 700; font-size: .78rem; }
.property-card__body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.property-card__body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.property-card__loc { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.property-card__loc svg { width: 16px; height: 16px; color: var(--gold-500); }
.property-meta { display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.property-meta div { display: flex; align-items: center; gap: 7px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.property-meta svg { width: 18px; height: 18px; color: var(--navy-600); }
.property-card .btn { margin-top: auto; }
.no-results { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 1.1rem; grid-column: 1 / -1; display: none; }

/* Contact ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 7px; color: var(--navy-900); font-family: var(--font-display); font-size: .92rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: .97rem; background: var(--cream); transition: .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold-500); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-success { display: none; background: #edf7ee; border: 1px solid #b7dcbb; color: #276b2f; padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }
.form-success.show { display: block; }

.info-list { margin: 26px 0; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-item__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--grad-navy); color: var(--gold-400); display: grid; place-items: center; }
.info-item__icon svg { width: 22px; height: 22px; }
.info-item b { font-family: var(--font-display); color: var(--navy-900); display: block; margin-bottom: 2px; }
.info-item a, .info-item span { color: var(--muted); }
.info-item a:hover { color: var(--gold-500); }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a { width: 46px; height: 46px; border-radius: 12px; background: var(--sand); display: grid; place-items: center; color: var(--navy-900); transition: .25s; }
.socials a:hover { background: var(--grad-gold); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }

/* Page hero (inner pages) ------------------------------------------------- */
.page-hero { position: relative; color: var(--white); text-align: center; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,25,48,.86), rgba(14,36,68,.9)); }
.page-hero__inner { padding: 96px 0 84px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--gold-400); }

/* CTA band ---------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; text-align: center; color: var(--white); }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(10,25,48,.94), rgba(20,49,86,.8)); }
.cta-band__inner { padding: 84px 0; }
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand__name { color: var(--white); }
.footer-brand .brand__tag { font-size: .95rem; letter-spacing: .04em; margin-top: 7px; display: inline-block; }
.footer-brand p { margin: 18px 0; font-size: .95rem; }
.footer-col h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; }
.footer-col a { display: block; padding: 7px 0; transition: .2s; font-size: .95rem; }
.footer-col a:hover { color: var(--gold-400); padding-right: 5px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .95rem; }
.footer-contact-item svg { width: 18px; height: 18px; color: var(--gold-400); flex: none; margin-top: 4px; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--white); transition: .25s; }
.footer-socials a:hover { background: var(--grad-gold); color: var(--navy-900); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; text-align: center; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-bottom a { color: var(--gold-400); }

/* Reveal animation -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; margin-top: -30px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__inner { padding: 84px 0 90px; }
  .hero__stats { gap: 26px; }
  .split__badge { right: 50%; transform: translateX(50%); }
  .header-cta .btn span.hide-sm { display: none; }
}

@media (max-width: 620px) {
  .site-header .brand__tag { display: none; }
  .footer-brand .brand__tag { display: none; }
}

/* ===== Legal pages ===== */
.legal { max-width: 820px; margin: 0 auto; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.legal h2 { font-family: var(--font-display); font-weight: 800; color: var(--navy-900); font-size: 1.35rem; margin: 32px 0 12px; }
.legal p { color: var(--ink); line-height: 1.95; margin-bottom: 14px; }
.legal ul { margin: 6px 0 16px; padding-right: 22px; list-style: disc; }
.legal li { color: var(--ink); line-height: 1.9; margin-bottom: 8px; }
.legal a { color: var(--gold-500); font-weight: 700; }

/* ===== WhatsApp floating button ===== */
.wa-float { position: fixed; bottom: 22px; left: 22px; z-index: 1000; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); animation: waPulse 2.4s infinite; transition: transform .2s ease; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse { 0% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 620px) { .wa-float { width: 52px; height: 52px; bottom: 18px; left: 18px; } .wa-float svg { width: 28px; height: 28px; } }

/* ===== Footer legal links ===== */
.footer-legal { display: block; margin-top: 8px; }
.footer-legal a { color: rgba(255,255,255,.75); }
.footer-legal a:hover { color: var(--gold-400); }
