/* =========================================================
   JRL JSS — Brand theme (light default)
   Preto + dourado + marfim, alinhado ao site original.
   Dark mode opcional via [data-theme="dark"].
   ========================================================= */

:root {
  --gold: #be9335;
  --gold-bright: #d6b15f;
  --gold-deep: #8a641e;

  --ink: #0a0a0a;
  --ink-soft: #161616;
  --forest: #0a0a0a;
  --forest-2: #202020;

  --cream: #fbf8f1;
  --bone: #faf7f0;
  --sand: #f1e8d8;
  --white: #ffffff;

  --muted: #5f5a51;
  --muted-dark: #b9b1a4;
  --line: rgba(10, 10, 10, 0.12);
  --line-strong: rgba(10, 10, 10, 0.22);
  --line-light: rgba(251, 248, 241, 0.14);

  --bg: #faf7f0;
  --surface: #ffffff;
  --surface-2: #f1e8d8;
  --text: #0a0a0a;
  --text-muted: #5f5a51;
  --border: rgba(10, 10, 10, 0.12);
  --inverse-bg: #0a0a0a;
  --inverse-text: #fbf8f1;

  --shadow-sm: 0 14px 40px rgba(10, 10, 10, 0.06);
  --shadow-md: 0 28px 70px rgba(10, 10, 10, 0.12);
  --shadow-lg: 0 50px 120px rgba(10, 10, 10, 0.18);
}

[data-theme="dark"] {
  --gold: #d2a94f;
  --gold-bright: #e3c177;
  --gold-deep: #e0bc70;

  --bg: #0b0b0b;
  --surface: #121212;
  --surface-2: #181511;
  --text: #f5f0e6;
  --text-muted: #a9a196;
  --border: rgba(245, 240, 230, 0.14);

  --bone: #0b0b0b;
  --sand: #171410;
  --white: #121212;
  --muted: #a9a196;
  --line: rgba(245, 240, 230, 0.14);
  --line-strong: rgba(245, 240, 230, 0.26);

  --shadow-sm: 0 16px 40px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 28px 70px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 50px 120px rgba(0, 0, 0, 0.55);
}

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--text);
}

h1, h2, h3, .display { color: var(--text); }
em, .italic { color: var(--gold-deep); }
.eyebrow { color: var(--gold-deep); }
.lede, .section-head p, .manifesto-copy p { color: var(--text-muted); }
.section--dark .lede,
.section--forest .lede { color: var(--text-muted); }
.text-link { border-color: var(--line-strong); color: var(--text); }
.text-link:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.section--dark .text-link,
.section--forest .text-link { border-color: var(--line); color: var(--text); }
.section--dark .text-link:hover,
.section--forest .text-link:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

.section--white { background: var(--surface); color: var(--text); }
.section--sand { background: var(--surface-2); color: var(--text); }
.section--dark { background: var(--bg); color: var(--text); }
.section--forest { background: var(--gold); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 12px 26px rgba(190, 147, 53, 0.18); }
.btn-gold:hover { background: var(--text); color: var(--bg); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { background: var(--gold); color: var(--ink); }
.btn-outline { border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ---------- Header ---------- */
.site-header {
  color: var(--text);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.site-header.is-scrolled {
  background: rgba(250, 247, 240, 0.94);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 34px rgba(10, 10, 10, 0.06);
}
[data-theme="dark"] .site-header.is-scrolled { background: rgba(11, 11, 11, 0.94); background: color-mix(in srgb, var(--bg) 92%, transparent); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35); }
.brand { color: var(--text); }
.brand-sub { color: var(--gold-deep); }
.main-nav a { color: var(--text-muted); }
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a::after { background: var(--gold); }
.header-contact {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
.header-contact:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.lang-switch { border-color: var(--border); color: var(--text-muted); }
.lang-switch:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.menu-toggle { border-color: var(--border); }
.menu-toggle span { background: var(--text); }

.theme-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.theme-toggle:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.theme-toggle svg { width: 15px; height: 15px; position: absolute; transition: opacity 0.25s, transform 0.35s var(--ease); }
.theme-toggle .icon-moon { opacity: 0; transform: rotate(-40deg) scale(0.7); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(40deg) scale(0.7); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: none; }

/* ---------- Mobile menu ---------- */
.mobile-menu { background: var(--bg); color: var(--text); }
.mobile-nav a {
  color: var(--text);
  border-bottom-color: var(--border);
  font-family: var(--display);
  font-size: clamp(1.7rem, 6.2vw, 2.3rem);
  line-height: 1.1;
}
.mobile-nav a small { color: var(--gold-deep); }
.mobile-menu-foot { border-top-color: var(--border); color: var(--text-muted); }
.mobile-menu-foot a { color: var(--text); }
.mobile-menu-foot a:hover { color: var(--gold-deep); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%);
  color: var(--text);
  padding-top: 148px;
}
.hero::before {
  background:
    radial-gradient(circle at 78% 32%, rgba(190, 147, 53, 0.16), transparent 42%),
    radial-gradient(circle at 6% 100%, rgba(190, 147, 53, 0.09), transparent 38%);
}
.hero::after { opacity: 0.035; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { color: var(--text); }
.hero h1 em { color: var(--gold-deep); }
.hero-lede { color: var(--text-muted); }
.hero-assure { color: var(--text-muted); }
.hero-assure svg { color: var(--gold-deep); }
.hero-ghost {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(8rem, 18vw, 18rem);
  line-height: 0.75;
  letter-spacing: 0.06em;
  color: rgba(190, 147, 53, 0.075);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; }

.hero-photo {
  background: var(--surface-2);
  box-shadow: 0 35px 80px rgba(10, 10, 10, 0.16);
}
.hero-photo::after { background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 10, 0.3)); }
.hero-frame { border-color: rgba(190, 147, 53, 0.55); }
.hero-photo--small {
  position: absolute;
  left: -62px;
  bottom: -26px;
  width: 220px;
  height: 168px;
  border-radius: 110px 110px 14px 14px;
  overflow: hidden;
  border: 5px solid var(--surface);
  box-shadow: 0 22px 48px rgba(10, 10, 10, 0.18);
  z-index: 3;
  background: var(--surface);
}
.hero-photo--small img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  color: var(--text);
  box-shadow: 0 18px 38px rgba(10, 10, 10, 0.12);
}
.hero-card--location { left: -30px; top: 52px; bottom: auto; }
.hero-card--location small { color: var(--text-muted); }
.hero-card--markets {
  background: var(--text);
  color: var(--bg);
  right: -18px;
  top: 56px;
}
.hero-card--markets strong { color: var(--gold); }
.hero-card--markets span { color: rgba(251, 248, 241, 0.62); }
.pulse-dot { background: var(--gold-deep); }
.pulse-dot::after { border-color: var(--gold-deep); }
.hero-coord {
  position: absolute;
  right: -72px;
  bottom: 34px;
  transform: rotate(90deg);
  transform-origin: right center;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 26px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  max-width: 620px;
}
.hero-index a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s, gap 0.25s;
}
.hero-index a span { font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0; color: var(--gold-deep); }
.hero-index a:hover { color: var(--text); gap: 12px; }
.hero-foot { border-top-color: var(--border); }
.hero-stat strong { color: var(--gold-deep); }
.hero-stat > span { color: var(--text-muted); }
.scroll-cue { color: var(--text-muted); }
.scroll-cue span { background: var(--line-strong); }
.scroll-cue span::after { background: var(--gold); }

/* ---------- Editorial hero ---------- */
.hero--editorial {
  position: relative;
  display: block;
  min-height: 100svh;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}
.hero--editorial::before {
  background:
    radial-gradient(circle at 8% 88%, rgba(190, 147, 53, 0.09), transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--surface-2) 45%, var(--bg)) 100%);
}
.hero--editorial::after { opacity: 0.025; }
.hero-media {
  position: absolute;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  width: 46%;
  overflow: hidden;
  background: var(--surface-2);
  z-index: 0;
}
.hero-media::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(190, 147, 53, 0.55);
  z-index: 2;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(10, 10, 10, 0.42));
  z-index: 1;
  pointer-events: none;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 1.8s var(--ease);
}
.hero-media:hover img { transform: scale(1.045); }
.hero-media-caption {
  position: absolute;
  left: 30px;
  bottom: 28px;
  z-index: 3;
  color: rgba(251, 248, 241, 0.78);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.8;
  text-transform: uppercase;
}
.hero-media-caption span {
  display: block;
  color: var(--gold-bright);
  font-weight: 800;
  letter-spacing: 0.18em;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  min-height: calc(100svh - var(--header-h));
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: clamp(70px, 11vh, 120px) 0 clamp(56px, 8vh, 90px);
}
.hero--editorial .hero-copy { max-width: 50%; }
.hero--editorial h1 {
  font-family: var(--serif);
  font-size: clamp(3.9rem, 7.8vw, 8rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.035em;
  margin: 22px 0 30px;
}
.hero--editorial h1 em { color: var(--gold-deep); }
.hero-sub {
  max-width: 38ch;
  margin: 0 0 38px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.8;
}
.hero--editorial .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--text);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.25s, border-color 0.25s, gap 0.25s;
}
.hero-link svg { width: 13px; height: 13px; }
.hero-link:hover { color: var(--gold-deep); border-color: var(--gold-deep); gap: 13px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: clamp(52px, 10vh, 110px);
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.hero-meta span {
  color: var(--text-muted);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
}
.hero-meta strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-deep);
  line-height: 1;
}
.hero--editorial + .ticker { position: relative; z-index: 3; }

/* ---------- Ticker ---------- */
.ticker { background: var(--gold); color: var(--ink); }
.ticker-item::after { color: rgba(10, 10, 10, 0.45); }

/* ---------- Manifesto ---------- */
.manifesto-copy p:first-child { color: var(--text); }
.quote-card { background: var(--ink); color: var(--cream); }
.quote-card footer { color: var(--gold); }
.quote-card footer::before { background: var(--gold); }

/* ---------- Bento ---------- */
.bento-card { background: var(--surface); border-color: var(--border); color: var(--text); }
.bento-a, .bento-d { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.bento-a .bento-bg, .bento-d .bento-bg { opacity: 0.14; }
.bento-a .bento-shade, .bento-d .bento-shade {
  background: var(--surface);
  background: linear-gradient(100deg, var(--surface) 20%, color-mix(in srgb, var(--surface) 72%, transparent) 62%, color-mix(in srgb, var(--surface) 40%, transparent));
}
.bento-index, .bento-a .bento-index, .bento-d .bento-index { color: var(--gold-deep); }
.bento-icon, .bento-a .bento-icon, .bento-d .bento-icon { border-color: var(--border); color: var(--gold-deep); }
.bento-body p, .bento-a .bento-body p, .bento-d .bento-body p { color: var(--text-muted); }
.bento-tag, .bento-a .bento-tag, .bento-d .bento-tag { border-color: var(--border); color: var(--text-muted); }
.bento-arrow { background: var(--text); color: var(--bg); }
.bento-a .bento-arrow, .bento-d .bento-arrow { background: var(--gold); color: var(--ink); }

/* ---------- Presence ---------- */
.presence { background: var(--surface-2); color: var(--text); }
.presence .eyebrow { color: var(--gold-deep); }
.presence h2 em { color: var(--gold-deep); }
.presence .lede { color: var(--text-muted); }
.region-tabs { border-top-color: var(--border); }
.region-tab { color: var(--text-muted); border-bottom-color: var(--border); }
.region-tab:hover { color: var(--text); }
.region-tab[aria-selected="true"] { color: var(--gold-deep); }
.region-tab small { color: var(--text-muted); }
.region-tab[aria-selected="true"] small { color: var(--gold-deep); }
.region-panel-head { color: var(--text-muted); }
.region-list { border-top-color: var(--border); }
.region-list li { border-bottom-color: var(--border); }
.region-list a { color: var(--text); }
.region-list a:hover { color: var(--gold-deep); }
.region-price { color: var(--text-muted); }
.globe {
  border-color: rgba(190, 147, 53, 0.42);
  background:
    radial-gradient(circle at 35% 30%, rgba(190, 147, 53, 0.18), transparent 55%),
    radial-gradient(circle at 65% 70%, rgba(190, 147, 53, 0.08), transparent 45%),
    var(--surface);
  box-shadow: inset 0 0 90px rgba(190, 147, 53, 0.08), 0 30px 70px rgba(10, 10, 10, 0.08);
}
.globe::before { border-color: rgba(190, 147, 53, 0.24); }
.globe::after { border-color: rgba(10, 10, 10, 0.12); }
.globe svg { opacity: 0.85; }
.globe-label strong { color: var(--gold-deep); }
.globe-label span { color: var(--text-muted); }
.globe-pin { background: var(--gold-deep); box-shadow: 0 0 0 5px rgba(190, 147, 53, 0.16), 0 0 24px rgba(190, 147, 53, 0.35); }
.globe-pin::after { border-color: rgba(190, 147, 53, 0.5); }
.globe-pin span { background: var(--text); color: var(--bg); }
.globe-pin.is-active { background: var(--text); box-shadow: 0 0 0 6px rgba(190, 147, 53, 0.2); }

/* ---------- Process / dark sections now light ---------- */
.section--dark .section-head p,
.section--forest .section-head p { color: var(--text-muted); }
.section--dark .eyebrow,
.section--forest .eyebrow { color: var(--gold-deep); }
.section--dark em,
.section--forest em { color: var(--gold-deep); }
.section--dark .process-list,
.section--dark .process-item { border-color: var(--border); }
.section--dark .process-item p,
.section--dark .process-intro p { color: var(--text-muted); }
.section--dark .process-tag { color: var(--text-muted); }
.section--dark .process-num { color: var(--gold-deep); }

/* ---------- Real estate ---------- */
.realestate-list { border-top-color: var(--border); }
.realestate-list li { border-bottom-color: var(--border); }
.realestate-list span { color: var(--gold-deep); }
.realestate-badge { background: var(--surface); color: var(--text); }
.realestate-badge svg { color: var(--gold-deep); }

/* ---------- Partners ---------- */
.partners { background: var(--bg); color: var(--text); }
.partners .eyebrow { color: var(--gold-deep); }
.partners h2 em { color: var(--gold-deep); }
.partners .section-head p { color: var(--text-muted); }
.logo-card { background: #f7f3ea; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

/* ---------- Page hero ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%);
  color: var(--text);
}
.page-hero::before {
  background:
    radial-gradient(circle at 78% 20%, rgba(190, 147, 53, 0.2), transparent 46%),
    radial-gradient(circle at 8% 100%, rgba(190, 147, 53, 0.08), transparent 38%);
}
.page-hero::after { opacity: 0.03; }
.page-hero-media { opacity: 0.52; }
.page-hero h1 { color: var(--text); }
.page-hero h1 em { color: var(--gold-deep); }
.page-hero .eyebrow { color: var(--gold-deep); }
.page-lede { color: var(--text-muted); }
.breadcrumb { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { color: var(--gold-deep); }
.page-meta span { border-color: var(--border); color: var(--text-muted); }
.page-meta span::before { background: var(--gold-deep); }

/* ---------- Cards / forms / tables ---------- */
.intro-strip { border-color: var(--border); }
.intro-strip > div { border-right-color: var(--border); }
.intro-strip strong { color: var(--gold-deep); }
.intro-strip span { color: var(--text-muted); }
.country-card { background: var(--surface); border-color: var(--border); }
.country-body > p,
.country-list li { color: var(--text-muted); }
.country-list svg { color: var(--gold-deep); }
.country-price strong { color: var(--gold-deep); }
.country-foot { border-top-color: var(--border); }
.country-foot .mini-arrow { background: var(--surface-2); color: var(--text); }
.country-card:hover .mini-arrow { background: var(--gold); color: var(--ink); }
.country-card--dark { background: var(--ink); color: var(--cream); border: 1px solid rgba(190, 147, 53, 0.35); }
.country-card--dark p { color: rgba(251, 248, 241, 0.66); }
.country-card--dark .tag { border-color: rgba(251, 248, 241, 0.18); color: rgba(251, 248, 241, 0.72); }
.feature-card { background: var(--surface); border-color: var(--border); color: var(--text); }
.feature-card p { color: var(--text-muted); }
.feature-icon { border-color: var(--border); color: var(--gold-deep); }
.plan-card { background: var(--surface); border-color: var(--border); color: var(--text); }
.plan-card .plan-desc, .plan-monthly, .plan-footnote, .billing-note { color: var(--text-muted); }
.plan-card--featured { background: var(--ink); color: var(--cream); border: 1px solid rgba(190, 147, 53, 0.35); }
.plan-card--featured .plan-desc { color: rgba(251, 248, 241, 0.68); }
.plan-card--featured .plan-monthly { color: rgba(251, 248, 241, 0.72); }
.plan-card--featured .plan-kicker { color: var(--gold); }
.plan-card--featured .plan-divider { background: rgba(251, 248, 241, 0.14); }
.plan-card--featured .plan-features svg { color: var(--gold); }
.plan-card--featured .plan-price .currency,
.plan-card--featured .plan-price .value { color: var(--gold); }
.plan-card--featured .plan-price .period { color: rgba(251, 248, 241, 0.6); }
.billing-toggle { background: var(--surface-2); }
.billing-toggle button { color: var(--text-muted); }
.billing-toggle button:hover { color: var(--text); }
.billing-toggle button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.cowork-card { background: var(--surface); border-color: var(--border); color: var(--text); }
.cowork-card small { color: var(--text-muted); }
.option-card { background: var(--surface); border-color: var(--border); color: var(--text); }
.option-card p { color: var(--text-muted); }
.option-card--dark { background: var(--ink); color: var(--cream); border-color: rgba(190, 147, 53, 0.35); }
.option-card--dark p { color: rgba(251, 248, 241, 0.64); }
.table-wrap { background: var(--surface); border-color: var(--border); }
.data-table th { background: var(--surface-2); color: var(--text-muted); }
.data-table td { color: var(--text); }
.data-table th, .data-table td { border-bottom-color: var(--border); }
.data-table tbody tr:hover td { background: var(--surface-2); background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.data-table .em { color: var(--gold-deep); }
.form-card { background: var(--surface); border-color: var(--border); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-muted); opacity: 0.75; }
.contact-card { background: var(--surface); border-color: var(--border); }
.contact-card p, .contact-card a { color: var(--text); }
.contact-card small, .contact-card h3 { color: var(--text-muted); }
.contact-hours li { border-bottom-color: var(--border); color: var(--text-muted); }
.contact-hours li span:last-child { color: var(--text); }
.simulator { background: var(--ink); color: var(--cream); }
.simulator-copy p { color: rgba(251, 248, 241, 0.66); }
.simulator-card { background: var(--cream); color: var(--ink); }
.simulator-card .form-field label,
.sim-cycle,
.sim-note { color: var(--muted); }
.sim-rows > div { border-bottom-color: var(--line); }
.sim-rows dt { color: var(--muted); }
.sim-rows dd { color: var(--ink); }
.sim-rows .sim-total dt { color: var(--ink); }
.sim-rows .sim-total dd { color: var(--gold-deep); }

/* ---------- FAQ ---------- */
.faq-list { border-top-color: var(--border); }
.faq-item { border-bottom-color: var(--border); }
.faq-q { color: var(--text); }
.faq-q:hover { color: var(--gold-deep); }
.faq-icon { border-color: var(--border); }
.faq-icon::before, .faq-icon::after { background: var(--text); }
.faq-a p { color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(180deg, #dba122 0%, var(--gold) 100%); color: var(--ink); }
.cta::before { border-color: rgba(10, 10, 10, 0.18); }
.cta::after { border-color: rgba(10, 10, 10, 0.12); }
.cta .eyebrow { color: var(--ink); }
.cta h2 { color: var(--ink); }
.cta h2 em { color: #4a3500; }
.cta .btn-gold { background: var(--ink); color: var(--bg); }
.cta .btn-gold:hover { background: var(--bg); color: var(--ink); }
.cta .btn-ghost { border-color: rgba(10, 10, 10, 0.35); color: var(--ink); }
.cta .btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.cta-meta { color: rgba(10, 10, 10, 0.68); }
.cta-meta a:hover { color: var(--ink); }
.cta-meta svg { color: var(--ink); }

/* ---------- Footer stays black ---------- */
.site-footer { background: var(--inverse-bg); color: var(--inverse-text); }
.footer-brand p, .footer-col a, .footer-col li, .footer-bottom { color: rgba(251, 248, 241, 0.58); }
.footer-col h3 { color: var(--gold); }
.footer-social a { border-color: rgba(251, 248, 241, 0.16); }
.footer-brand .brand-sub { color: var(--gold-bright); }
.footer-col a:hover, .footer-bottom a:hover { color: var(--gold); }

/* 404 keeps a dark header over the dark canvas */
.site-header--dark { background: rgba(10, 10, 10, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: rgba(251, 248, 241, 0.08); }
.site-header--dark .brand { color: var(--cream); }
.site-header--dark .brand-sub { color: var(--gold-bright); }
.site-header--dark .header-contact { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.site-header--dark .theme-toggle { border-color: rgba(251, 248, 241, 0.2); color: var(--cream); }
.footer-wordmark { background: linear-gradient(180deg, rgba(251, 248, 241, 0.07), rgba(251, 248, 241, 0.012)); -webkit-background-clip: text; background-clip: text; }

/* ---------- Map ---------- */
.map-panel { background: var(--surface-2); border-color: var(--border); }
.map-art rect { fill: var(--surface-2); }
.map-card { background: var(--surface); background: color-mix(in srgb, var(--surface) 96%, transparent); color: var(--text); }
.map-card span, .map-card-kicker { color: var(--text-muted); }
.map-legend { background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--text-muted); }
.map-pin-label { background: var(--text); color: var(--bg); }

/* ---------- Forms / toast / misc ---------- */
.form-field label { color: var(--text-muted); }
.form-check { color: var(--text-muted); }
.form-check a { color: var(--text); }
.toast { background: var(--text); color: var(--bg); border-color: var(--gold); }
.to-top { background: var(--text); color: var(--bg); border-color: rgba(190, 147, 53, 0.4); }
.to-top:hover { background: var(--gold); color: var(--ink); }
.tag { border-color: var(--border); color: var(--text-muted); }

/* =========================================================
   DARK MODE adjustments
   ========================================================= */
[data-theme="dark"] .hero { background: linear-gradient(180deg, #0b0b0b 0%, #171410 100%); }
[data-theme="dark"] .hero::before {
  background:
    radial-gradient(circle at 78% 32%, rgba(210, 169, 79, 0.14), transparent 42%),
    radial-gradient(circle at 6% 100%, rgba(210, 169, 79, 0.06), transparent 38%);
}
[data-theme="dark"] .hero-ghost { color: rgba(210, 169, 79, 0.06); }
[data-theme="dark"] .hero-card { background: rgba(18, 18, 18, 0.94); color: var(--text); }
[data-theme="dark"] .hero-card--markets { background: var(--gold); color: var(--ink); }
[data-theme="dark"] .hero-card--markets strong { color: var(--ink); }
[data-theme="dark"] .hero-card--markets span { color: rgba(10, 10, 10, 0.65); }
[data-theme="dark"] .hero-card--location small { color: var(--text-muted); }
[data-theme="dark"] .page-hero { background: linear-gradient(180deg, #0b0b0b 0%, #171410 100%); }
[data-theme="dark"] .page-hero-media { opacity: 0.38; }
[data-theme="dark"] .bento-a, [data-theme="dark"] .bento-d { background: var(--surface); }
[data-theme="dark"] .bento-shade,
[data-theme="dark"] .bento-a .bento-shade,
[data-theme="dark"] .bento-d .bento-shade {
  background: linear-gradient(100deg, var(--surface) 20%, color-mix(in srgb, var(--surface) 72%, transparent) 62%, color-mix(in srgb, var(--surface) 40%, transparent));
}
[data-theme="dark"] .bento-bg { opacity: 0.1; }
[data-theme="dark"] .presence { background: var(--surface-2); }
[data-theme="dark"] .partners { background: var(--bg); }
[data-theme="dark"] .globe { background: radial-gradient(circle at 35% 30%, rgba(210,169,79,.12), transparent 55%), var(--surface); }
[data-theme="dark"] .logo-card { background: #f7f3ea; }
[data-theme="dark"] .map-art rect { fill: #171410; }
[data-theme="dark"] .map-art g[fill="#ddd4c2"] { fill: #221e18; }
[data-theme="dark"] .map-art path[stroke="#f7f3ea"] { stroke: #0f0d0a; }
[data-theme="dark"] .map-art text { fill: #7d7468; }
[data-theme="dark"] .plan-card--featured,
[data-theme="dark"] .country-card--dark,
[data-theme="dark"] .option-card--dark { border-color: rgba(210, 169, 79, 0.4); }
[data-theme="dark"] .cta { background: linear-gradient(180deg, #dba122 0%, var(--gold) 100%); color: var(--ink); }
[data-theme="dark"] .cta h2, [data-theme="dark"] .cta .eyebrow { color: var(--ink); }
[data-theme="dark"] .cta h2 em { color: #4a3500; }
[data-theme="dark"] .cta-meta { color: rgba(10, 10, 10, 0.68); }
[data-theme="dark"] .footer-wordmark { background: linear-gradient(180deg, rgba(251, 248, 241, 0.05), rgba(251, 248, 241, 0.01)); -webkit-background-clip: text; background-clip: text; }

/* Subtle gold focus ring remains consistent */
:focus-visible { outline-color: var(--gold); }

@media (max-width: 1120px) {
  .hero-index { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; max-width: none; }
  .hero-index a { width: auto; }
  .hero--editorial .hero-copy { max-width: 52%; }
  .hero--editorial h1 { font-size: clamp(3.6rem, 7.2vw, 6.4rem); }
}

@media (max-width: 960px) {
  .hero--editorial {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: var(--header-h);
  }
  .hero-media {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 44vh;
    min-height: 300px;
    order: -1;
  }
  .hero-media img { transform: none; }
  .hero-inner {
    display: block;
    min-height: auto;
    padding: 46px 0 60px;
  }
  .hero--editorial .hero-copy { max-width: none; }
  .hero--editorial h1 { font-size: clamp(3.2rem, 12vw, 4.8rem); }
  .hero-sub { max-width: 46ch; }
  .hero-meta { margin-top: 44px; gap: 24px; }
}
@media (max-width: 960px) {
  .hero-ghost { display: none; }
  .hero-photo--small { width: 150px; height: 120px; left: -18px; bottom: -18px; border-width: 4px; }
  .hero-coord { display: none; }
  .page-hero-media { opacity: 0.22; }
}
@media (max-width: 760px) {
  .hero { background: linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 100%); }
  .hero-ghost { display: none; }
  .hero-card--location { left: -4px; top: 24px; }
  .hero-card--markets { right: -4px; top: 24px; }
  .hero-photo--small { width: 118px; height: 96px; left: -6px; bottom: -14px; }
  .hero-index { gap: 0 18px; }
  .hero-index a { width: calc(50% - 9px); }
  .page-hero-media { opacity: 0.11; }
}
@media (max-width: 460px) {
  .hero-photo--small { display: none; }
  .hero-index { display: none; }
  .theme-toggle { width: 32px; height: 32px; }
  .hero-media { height: 38vh; min-height: 250px; }
  .hero--editorial h1 { font-size: clamp(3rem, 13.5vw, 4.2rem); }
  .hero-meta { gap: 18px; }
  .hero-meta strong { font-size: 1.5rem; }
}
/* ===== Brand identity: Trajan-like display + Montserrat ===== */
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/cinzel-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-normal.woff2") format("woff2");
}

:root {
  --display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --bg: #fffdf9;
  --bone: #fffdf9;
  --surface: #ffffff;
  --surface-2: #faf5ea;
  --sand: #faf5ea;
  --text: #0a0a0a;
  --text-muted: #5f5a51;
  --border: rgba(10, 10, 10, 0.14);
  --header-h: 84px;
}

[data-theme="dark"] {
  --bg: #0b0b0b;
  --bone: #0b0b0b;
  --surface: #121212;
  --surface-2: #181511;
  --sand: #181511;
  --text: #f5f0e6;
  --text-muted: #a9a196;
  --border: rgba(245, 240, 230, 0.16);
}

/* ===== Typography ===== */
body { background: var(--bg); color: var(--text); font-family: var(--sans); }
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.005em;
}
h1 em, h2 em, h3 em, .italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}
h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.08; }
h3 { font-size: clamp(1.15rem, 1.55vw, 1.5rem); line-height: 1.25; }
.section-head h2 { margin-top: 14px; }
.eyebrow { font-family: var(--sans); }

/* ===== Square, gold-outline brand buttons ===== */
.btn {
  border-radius: 0;
  border-width: 2px;
  border-color: var(--gold);
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 22px;
  box-shadow: none;
}
.btn-gold { background: transparent; color: var(--text); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-dark { background: transparent; color: var(--text); border-color: var(--text); }
.btn-dark:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-outline { border-color: var(--border); color: var(--text); }
.btn-outline:hover { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ===== Header ===== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.site-header.is-scrolled { padding: 10px 0; }
.brand { color: var(--text); }
.site-header .brand {
  border: 1px solid var(--text);
  padding: 9px 13px 7px;
  line-height: 0.85;
}
.brand-name { font-size: 1.5rem; letter-spacing: 0.12em; }
.brand-sub { margin-top: 5px; font-size: 0.42rem; letter-spacing: 0.3em; }
.main-nav a {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.header-contact {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--text);
  border-radius: 0;
  padding: 10px 16px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-contact:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.lang-switch {
  border-radius: 0;
  border-width: 1px;
  padding: 8px 10px;
  gap: 6px;
  font-size: 9px;
}
.lang-switch img { width: 16px; height: 11px; object-fit: cover; display: block; }
.theme-toggle { border-radius: 50%; }
.menu-toggle { border-radius: 50%; }

/* ===== Square surfaces ===== */
.bento-card, .feature-card, .country-card, .plan-card, .cowork-card,
.option-card, .contact-card, .form-card, .table-wrap, .simulator,
.simulator-card, .map-panel, .logo-card, .bento-tag, .tag,
.page-meta span, .billing-toggle, .plan-badge, .faq-icon,
.quote-card, .realestate-badge, .hero-card, .map-card, .lightbox img,
.media-frame, .country-media, .gallery-item, .realestate-media .media-frame {
  border-radius: 0;
}

/* ===== Skyline hero ===== */
.hero--skyline {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}
.hero--skyline::before, .hero--skyline::after { display: none; }
.hero-bg {
  position: absolute;
  inset: var(--header-h) 0 0 0;
  z-index: 0;
  overflow: hidden;
  background: var(--surface-2);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.02) 0%, rgba(10, 10, 10, 0.05) 45%, rgba(10, 10, 10, 0.34) 100%);
  pointer-events: none;
}
.hero-bg-caption {
  position: absolute;
  right: 30px;
  bottom: 26px;
  z-index: 2;
  color: rgba(251, 248, 241, 0.75);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.8;
  text-transform: uppercase;
  text-align: right;
}
.hero-bg-caption span { display: block; color: var(--gold-bright); font-weight: 800; }
.hero-panel {
  position: relative;
  z-index: 2;
  width: 46%;
  min-height: calc(100svh - var(--header-h));
  background: var(--bg);
  border-right: 1px solid rgba(190, 147, 53, 0.55);
  display: flex;
  align-items: center;
}
.hero-panel-inner {
  width: min(540px, calc(100% - 80px));
  margin-left: max(24px, calc((100vw - 1240px) / 2));
  padding: 58px 0;
}
.hero--skyline h1 {
  font-family: var(--display);
  font-size: clamp(2.55rem, 4.35vw, 4.15rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.005em;
  margin: 24px 0 26px;
}
.hero--skyline h1 em {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
  font-size: 1.04em;
  letter-spacing: -0.01em;
}
.hero--skyline .eyebrow { color: var(--gold-deep); }
.hero--skyline .hero-sub {
  max-width: 34ch;
  margin: 0 0 34px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}
.hero--skyline .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--text);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.25s, border-color 0.25s, gap 0.25s;
}
.hero-link:hover { color: var(--gold-deep); border-color: var(--gold-deep); gap: 12px; }
.hero-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-locations span { display: inline-flex; align-items: center; gap: 8px; }
.hero-locations span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-deep); }

/* Large faint brand mark, as in the original site */
#servicos { position: relative; overflow: hidden; }
#servicos::before {
  content: "JRL JSS";
  position: absolute;
  left: -18px;
  top: 10px;
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 0.8;
  letter-spacing: 0.04em;
  color: rgba(190, 147, 53, 0.055);
  pointer-events: none;
  white-space: nowrap;
}
#servicos .container { position: relative; z-index: 1; }
.presence { position: relative; overflow: hidden; }
.presence::before {
  content: "JRL JSS";
  position: absolute;
  right: -20px;
  bottom: 20px;
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 0.8;
  letter-spacing: 0.04em;
  color: rgba(190, 147, 53, 0.05);
  pointer-events: none;
  white-space: nowrap;
}
.presence .container { position: relative; z-index: 1; }

/* Pale gold quote, closer to the original tinted callouts */
.quote-card {
  background: rgba(190, 147, 53, 0.10);
  color: var(--text);
  border-left: 3px solid var(--gold);
}
.quote-card p { position: relative; z-index: 1; }
.quote-card::before { color: rgba(190, 147, 53, 0.28); }
.quote-card footer { color: var(--gold-deep); }
.quote-card footer::before { background: var(--gold-deep); }

/* Buttons on black panels need light labels */
.plan-card--featured .btn-gold,
.country-card--dark .btn-gold {
  color: var(--cream);
  border-color: var(--gold);
}
.plan-card--featured .btn-gold:hover,
.country-card--dark .btn-gold:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* CTA: gold field with square outline buttons */
.cta h2 { font-size: clamp(2.3rem, 4.4vw, 4rem); max-width: 20ch; }
.cta .btn-gold { background: transparent; border-color: var(--ink); color: var(--ink); }
.cta .btn-gold:hover { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.cta .btn-ghost { border-color: rgba(10, 10, 10, 0.4); color: var(--ink); }
.cta .btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--gold); }

/* Header mobile: no decorative frame */
@media (max-width: 960px) {
  :root { --header-h: 84px; }
  .site-header .brand { padding: 7px 10px 6px; }
  .brand-name { font-size: 1.32rem; }
  .brand-sub { font-size: 0.38rem; }
  .hero--skyline {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: var(--header-h);
  }
  .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: 43vh;
    min-height: 290px;
    order: 0;
  }
  .hero-panel {
    width: 100%;
    min-height: auto;
    border-right: 0;
    border-top: 1px solid rgba(190, 147, 53, 0.55);
    order: 1;
  }
  .hero-panel-inner {
    width: auto;
    margin: 0;
    padding: 42px 24px 56px;
  }
  .hero--skyline h1 { font-size: clamp(2.3rem, 9vw, 3.35rem); }
  .hero-bg-caption { right: 16px; bottom: 14px; }
}
@media (max-width: 460px) {
  .hero-bg { height: 36vh; min-height: 240px; }
  .hero--skyline h1 { font-size: clamp(2.1rem, 9.5vw, 2.8rem); }
  .hero-locations { gap: 7px 16px; margin-top: 34px; }
}

/* 404 keeps its dark header over the dark canvas */
.site-header.site-header--dark {
  background: rgba(10, 10, 10, 0.9);
  border-bottom-color: rgba(251, 248, 241, 0.1);
}
.site-header.site-header--dark .brand { color: var(--cream); }
.site-header.site-header--dark .brand-sub { color: var(--gold-bright); }
.site-header.site-header--dark .header-contact {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}



/* ===== Full-bleed video hero ===== */
.hero--video {
  position: relative;
  display: block;
  min-height: 100svh;
  padding-top: var(--header-h);
  background: var(--bg);
  overflow: hidden;
}
.hero--video::before, .hero--video::after { display: none; }
.hero--video .hero-bg {
  position: absolute;
  inset: var(--header-h) 0 0 0;
  z-index: 0;
  overflow: hidden;
  background: #232323;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  clip-path: inset(12.4% 0 12.4% 0);
  transform: scale(1.34);
  transform-origin: center;
  filter: saturate(1.12) brightness(1.07) contrast(1.01) sepia(0.05);
}
.hero-video::-webkit-media-controls { display: none !important; }
.hero--video .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.16) 0%, rgba(10, 10, 10, 0.02) 44%, rgba(10, 10, 10, 0.10) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.08) 0%, transparent 38%, rgba(10, 10, 10, 0.28) 100%);
  pointer-events: none;
}
.hero--video .hero-panel {
  position: absolute;
  z-index: 3;
  left: max(24px, calc((100vw - 1240px) / 2));
  bottom: clamp(36px, 8vh, 80px);
  width: min(520px, 44vw);
  min-height: 0;
  padding: clamp(26px, 3vw, 40px);
  background: var(--bg);
  border: 1px solid rgba(190, 147, 53, 0.65);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
}
.hero--video .hero-panel-inner {
  width: auto;
  margin: 0;
  padding: 0;
}
.hero--video .eyebrow { color: var(--gold-deep); }
.hero--video h1 {
  font-size: clamp(2.2rem, 3.7vw, 3.5rem);
  margin: 20px 0 22px;
}
.hero--video .hero-sub {
  max-width: 34ch;
  margin-bottom: 28px;
  font-size: 13.5px;
}
.hero-awards {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.hero-awards img { width: 42px; height: 42px; object-fit: contain; }
.hero-awards span {
  color: var(--text-muted);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-transform: uppercase;
}
.hero-video-toggle {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(251, 248, 241, 0.5);
  background: rgba(10, 10, 10, 0.38);
  color: var(--cream);
  display: grid;
  place-items: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.hero-video-toggle:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.hero-video-toggle svg { width: 15px; height: 15px; }
.hero-video-toggle .icon-play { display: none; }
.hero-video-toggle[aria-pressed="true"] .icon-pause { display: none; }
.hero-video-toggle[aria-pressed="true"] .icon-play { display: block; }
.hero-video-caption {
  position: absolute;
  right: 80px;
  bottom: 26px;
  z-index: 4;
  color: rgba(251, 248, 241, 0.72);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.8;
  text-transform: uppercase;
  text-align: right;
}
.hero-video-caption span { display: block; color: var(--gold-bright); font-weight: 800; }
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(251, 248, 241, 0.68);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-scroll span { display: block; width: 46px; height: 1px; background: rgba(251, 248, 241, 0.35); position: relative; overflow: hidden; }
.hero-scroll span::after { content: ""; position: absolute; inset: 0; background: var(--gold-bright); transform: translateX(-100%); animation: scrollLine 2.8s infinite var(--ease); }

@media (max-width: 960px) {
  .hero--video {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: var(--header-h);
  }
  .hero--video .hero-bg {
    position: relative;
    inset: auto;
    height: 52vh;
    min-height: 320px;
    order: 0;
  }
  .hero--video .hero-panel {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 32px);
    margin: -48px auto 0;
    padding: 28px 24px 30px;
    order: 1;
  }
  .hero--video h1 { font-size: clamp(2rem, 8.5vw, 2.85rem); }
  .hero-video-caption { display: none; }
  .hero-video-toggle { top: 14px; right: 14px; bottom: auto; width: 38px; height: 38px; }
  .hero-scroll { display: none; }
}
@media (max-width: 460px) {
  .hero--video .hero-bg { height: 44vh; min-height: 270px; }
  .hero--video .hero-panel { margin-top: -36px; padding: 24px 20px 26px; }
  .hero-awards img { width: 36px; height: 36px; }
  .hero-awards span { font-size: 7px; }
}


/* ===== Language menu: flag-only button + list ===== */
.lang-switch-wrap { position: relative; flex: 0 0 auto; }
.lang-switch {
  width: 36px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  transition: background 0.25s, border-color 0.25s;
}
.lang-switch:hover { background: var(--surface-2); border-color: var(--gold); }
.lang-switch img { width: 21px; height: 14px; display: block; object-fit: cover; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 130;
  width: 196px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(10, 10, 10, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.lang-switch-wrap.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}
.lang-option:last-child { border-bottom: 0; }
.lang-option img { width: 21px; height: 14px; object-fit: cover; }
.lang-option:hover, .lang-option:focus-visible { background: var(--surface-2); color: var(--gold-deep); }
.lang-option.is-selected { color: var(--gold-deep); }
.lang-option.is-selected::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--gold-deep);
}

@media (max-width: 960px) {
  .lang-switch { display: grid; width: 32px; height: 32px; }
  .header-actions { gap: 10px; }
  .site-header .brand { padding: 7px 9px 6px; }
  .brand-name { font-size: 1.18rem; }
  .brand-sub { font-size: 0.34rem; letter-spacing: 0.24em; }
}


/* ===== Editorial studio hero with contained video ===== */
.hero--studio {
  position: relative;
  display: block;
  min-height: 100svh;
  padding-top: var(--header-h);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
}
.hero--studio::before {
  content: "JRL JSS";
  position: absolute;
  right: -24px;
  top: 9%;
  z-index: 0;
  font-family: var(--display);
  font-size: clamp(7rem, 16vw, 15rem);
  line-height: 0.8;
  letter-spacing: 0.04em;
  color: rgba(190, 147, 53, 0.06);
  white-space: nowrap;
  pointer-events: none;
}
[data-theme="dark"] .hero--studio::before { color: rgba(190, 147, 53, 0.075); }
.hero--studio::after { display: none; }
.hero-studio {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(38px, 6vw, 80px);
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding: clamp(44px, 7vh, 78px) 0 clamp(50px, 8vh, 84px);
}
.hero--studio .eyebrow { color: var(--gold-deep); }
.hero--studio h1 {
  font-size: clamp(2.6rem, 4.2vw, 3.95rem);
  line-height: 1;
  margin: 22px 0 24px;
}
.hero--studio .hero-sub {
  max-width: 36ch;
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}
.hero--studio .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.hero--studio .hero-awards {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}
.hero--studio .hero-awards img { width: 38px; height: 38px; }
.hero--studio .hero-awards span {
  color: var(--text-muted);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.7;
  text-transform: uppercase;
}
.hero--studio .hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 8px 18px;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-meta span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--gold-deep); }

.hero-stage {
  position: relative;
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 540px;
  justify-self: end;
}
.hero-video-card {
  margin: 0;
  border: 1px solid rgba(190, 147, 53, 0.7);
  background: var(--ink);
  overflow: hidden;
}
.hero-video-card .hero-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  clip-path: inset(12.4% 0 12.4% 0);
  transform: scale(1.34);
  transform-origin: center;
  filter: saturate(1.12) brightness(1.07) contrast(1.01) sepia(0.05);
}
.hero-video-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 12px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.hero-video-bar > span {
  color: var(--text-muted);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-video-bar .hero-video-toggle {
  position: static;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}
.hero-video-bar .hero-video-toggle:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.hero-stage-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-photo-card {
  position: relative;
  margin: 0;
  min-height: 178px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.hero-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 10, 0.5));
}
.hero-photo-card figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  color: rgba(251, 248, 241, 0.82);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 178px;
  padding: 22px;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid rgba(190, 147, 53, 0.45);
}
.hero-stat-card strong {
  font-family: var(--display);
  font-size: clamp(3rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 0.8;
  color: var(--gold);
}
.hero-stat-card span {
  margin-top: 14px;
  color: rgba(251, 248, 241, 0.72);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.6;
  text-transform: uppercase;
}
.hero-stat-card small {
  margin-top: 14px;
  color: var(--gold-bright);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-stage-coord {
  color: var(--text-muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: right;
  text-transform: uppercase;
}
.hero--studio .hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.hero--studio .hero-scroll span {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.hero--studio .hero-scroll span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: scrollLine 2.8s infinite var(--ease);
}

@media (max-width: 1120px) {
  .hero--studio h1 { font-size: clamp(2.4rem, 4.1vw, 3.5rem); }
  .hero-stage { max-width: 480px; }
}
@media (max-width: 960px) {
  .hero--studio { min-height: auto; }
  .hero-studio {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: auto;
    padding: 42px 0 54px;
  }
  .hero-stage { max-width: none; justify-self: stretch; }
  .hero--studio h1 { font-size: clamp(2.2rem, 9vw, 3.1rem); }
  .hero-proof { margin-top: 30px; }
  .hero--studio .hero-scroll { display: none; }
  .hero--studio::before { font-size: 7rem; top: auto; bottom: 10px; opacity: 0.7; }
}
@media (max-width: 460px) {
  .hero-studio { padding-top: 34px; }
  .hero--studio h1 { font-size: clamp(2rem, 9.5vw, 2.7rem); }
  .hero-meta { gap: 7px 14px; }
  .hero-stage-row { grid-template-columns: 1fr 1fr; }
  .hero-photo-card, .hero-stat-card { min-height: 150px; }
}


/* Mobile: copy (incl. trust) ? video stage */
@media (max-width: 960px) {
  .hero-copy { display: block; }
  .hero-stage { order: 2; }
}


/* ===== Refino editorial: menos caixas, mais ritmo ===== */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 13px; height: 13px; color: var(--gold-deep); flex: 0 0 auto; }
.hero-video-card, .hero-photo-card, .hero-stat-card { border-radius: 16px; overflow: hidden; }
.hero-video-card { box-shadow: var(--shadow-md); }
.hero-photo-card, .hero-stat-card { box-shadow: var(--shadow-sm); }

.cred-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.cred-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  flex-wrap: wrap;
}
.cred-awards { display: flex; align-items: center; gap: 8px; }
.cred-awards img { width: 32px; height: 32px; object-fit: contain; }
.cred-awards span {
  color: var(--text-muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}
.cred-points { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.cred-points span {
  color: var(--text-muted);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== Doors ===== */
.doors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.door {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 560px;
  overflow: hidden;
  border-radius: 18px;
  color: var(--cream);
  isolation: isolate;
}
.door img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.door:hover img { transform: scale(1.045); }
.door-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.08) 28%, rgba(10, 10, 10, 0.9) 100%);
}
.door-content { display: block; padding: clamp(26px, 3.4vw, 42px); }
.door-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--gold-bright);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.door-kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.door h3 { color: var(--cream); font-size: clamp(1.8rem, 2.7vw, 2.5rem); margin-bottom: 12px; }
.door p { max-width: 42ch; color: rgba(251, 248, 241, 0.72); font-size: 12.5px; line-height: 1.8; }
.door ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 26px; padding: 0; list-style: none; }
.door li { display: inline-flex; align-items: center; gap: 7px; color: rgba(251, 248, 241, 0.72); font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.door li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.door-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(251, 248, 241, 0.5);
  color: var(--cream);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.25s, border-color 0.25s, gap 0.25s;
}
.door-cta svg { width: 13px; height: 13px; }
.door:hover .door-cta { color: var(--gold-bright); border-color: var(--gold-bright); gap: 14px; }

/* ===== Services editorial list ===== */
.services-editorial {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(38px, 6vw, 80px);
  align-items: start;
}
.services-intro { position: sticky; top: 120px; }
.services-intro h2 { margin: 14px 0 18px; }
.services-intro > p { max-width: 38ch; color: var(--text-muted); font-size: 13px; line-height: 1.8; }
.services-media { margin: 30px 0 0; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 4.7; }
.services-media img { width: 100%; height: 100%; object-fit: cover; }
.services-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.68)); }
.services-media figcaption {
  position: absolute;
  left: 16px;
  bottom: 13px;
  z-index: 1;
  color: rgba(251, 248, 241, 0.8);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.service-list { border-top: 1px solid var(--border); }
.service-row {
  display: grid;
  grid-template-columns: 50px 1fr 38px;
  gap: 18px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.35s var(--ease), background 0.35s;
}
.service-row:hover { padding-left: 10px; background: var(--surface); }
.service-num { font-family: var(--serif); font-size: 1.55rem; color: var(--gold-deep); line-height: 1; }
.service-body strong { display: block; font-family: var(--display); font-size: clamp(1.1rem, 1.5vw, 1.45rem); font-weight: 500; letter-spacing: 0.01em; }
.service-body small { display: block; margin-top: 4px; color: var(--text-muted); font-size: 11.5px; line-height: 1.6; }
.service-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.service-arrow svg { width: 13px; height: 13px; }
.service-row:hover .service-arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ===== Why ===== */
.why { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 52px); }
.why-item { border-top: 1px solid var(--gold); padding-top: 20px; }
.why-item > span { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-deep); }
.why-item h3 { margin: 14px 0 10px; font-size: clamp(1.3rem, 1.8vw, 1.65rem); }
.why-item p { color: var(--text-muted); font-size: 12.5px; line-height: 1.75; max-width: 34ch; }

/* ===== Stats band ===== */
.stats-band {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(44px, 6vw, 70px) 0;
  border-top: 1px solid rgba(190, 147, 53, 0.35);
  border-bottom: 1px solid rgba(190, 147, 53, 0.35);
}
.stats-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stats-band-grid strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  font-weight: 500;
  line-height: 0.9;
  color: var(--gold);
}
.stats-band-grid span {
  display: block;
  margin-top: 10px;
  color: rgba(251, 248, 241, 0.6);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.6;
}

/* ===== Softer cards, less grid ===== */
.feature-card, .country-card, .plan-card, .cowork-card, .option-card,
.contact-card, .form-card, .table-wrap, .logo-card, .map-panel,
.quote-card, .realestate-badge, .simulator-card, .gallery-item,
.media-frame, .country-media, .lightbox img {
  border-radius: 16px;
}
.feature-card, .country-card, .plan-card, .cowork-card, .option-card,
.contact-card, .form-card, .table-wrap, .logo-card, .map-panel {
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}
.plan-card--featured { border-radius: 16px; }
.country-card--dark { border-radius: 16px; }
.quote-card { border-radius: 16px; }
.simulator { border-radius: 20px; }

@media (max-width: 960px) {
  .doors-grid { grid-template-columns: 1fr; }
  .door { min-height: 470px; }
  .services-editorial { grid-template-columns: 1fr; }
  .services-intro { position: static; }
  .services-media { aspect-ratio: 16 / 10; max-height: 320px; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-band-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}
@media (max-width: 460px) {
  .door { min-height: 430px; }
  .door-content { padding: 24px 20px; }
  .door ul { gap: 7px 12px; }
  .service-row { grid-template-columns: 38px 1fr 32px; gap: 12px; padding: 20px 0; }
  .cred-inner { align-items: flex-start; }
  .hero-trust { gap: 9px 14px; }
}


/* ===== Refino v2: ritmo, contraste e assimetria ===== */

/* Anchor offset below the sticky header */
section[id], .cta { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Hero: bottom row becomes asymmetric so it stops reading as a 2x2 grid */
@media (min-width: 641px) {
  .hero-stage-row { grid-template-columns: 1.32fr 0.68fr; }
}
.hero-photo-card, .hero-stat-card { min-height: 190px; }

/* Doors: readable over any photograph, and a deliberate vertical offset */
.door-shade {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.22) 0%, rgba(10, 10, 10, 0.55) 44%, rgba(10, 10, 10, 0.95) 100%);
}
.door h3 { max-width: 15ch; }
.door-kicker { color: #efd291; text-shadow: 0 1px 16px rgba(10, 10, 10, 0.7); }
.door h3, .door p, .door li { text-shadow: 0 1px 18px rgba(10, 10, 10, 0.45); }
@media (min-width: 961px) {
  .door { min-height: 520px; }
}
@media (max-width: 960px) {
  .door h3 { font-size: clamp(1.7rem, 6.4vw, 2.1rem); }
  .door { min-height: 500px; }
  .services-media { aspect-ratio: 16 / 10; max-height: 320px; }
  .services-media img { object-position: center 30%; }
}
@media (max-width: 460px) {
  .door { min-height: 470px; }
  .door h3 { font-size: clamp(1.6rem, 6.8vw, 1.95rem); }
  .door p { font-size: 12px; }
}

/* Services: drop the clipped wordmark and use a cleaner photo crop */
#servicos::before { display: none; }
@media (min-width: 961px) {
  .services-media { aspect-ratio: 4 / 4.25; }
  .services-media img { object-position: center 32%; }
}

/* Service rows: on very small screens the number gets its own line */
@media (max-width: 520px) {
  .service-row { grid-template-columns: 1fr 32px; gap: 6px 12px; }
  .service-num { grid-column: 1 / -1; font-size: 1.25rem; }
  .service-body strong { font-size: 1.15rem; }
  .service-arrow { align-self: start; margin-top: 4px; }
}

/* Presence: a touch more depth in the globe and less flat cream */
.presence {
  background:
    radial-gradient(circle at 78% 48%, rgba(190, 147, 53, 0.07), transparent 34%),
    var(--bg);
}
[data-theme="dark"] .presence {
  background:
    radial-gradient(circle at 78% 48%, rgba(190, 147, 53, 0.12), transparent 34%),
    var(--bg);
}
.globe-wrap { position: relative; }
.globe-wrap::before {
  content: "";
  position: absolute;
  inset: 6% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 147, 53, 0.10), transparent 66%);
  pointer-events: none;
}

/* Real estate media: softer, less framed */
.realestate-media .media-frame { border-radius: 18px; overflow: hidden; }
.realestate-badge { border-radius: 999px; }

/* CTA: keep the gold statement, but add a faint layered wordmark for depth */
.cta { background: linear-gradient(160deg, #c99a35 0%, #be9335 48%, #a67f2a 100%); }
.cta-inner::before {
  content: "JRL JSS";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: clamp(7rem, 19vw, 17rem);
  line-height: 0.8;
  letter-spacing: 0.04em;
  color: rgba(10, 10, 10, 0.035);
  white-space: nowrap;
  pointer-events: none;
}


/* ===== 404: keep the dark canvas readable after the brand h1 override ===== */
.notfound h1 { color: var(--cream); }
.notfound h1 em { color: var(--gold); }
.notfound .eyebrow { color: var(--gold-bright); }
.notfound .btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.notfound .btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }
.notfound .btn-ghost { color: var(--cream); border-color: rgba(251, 248, 241, 0.35); }
.notfound .btn-ghost:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }


/* ===== Dark mode fixes: light cards and map ===== */

/* The simulator is intentionally a cream "paper" card, so inside it the
   light-theme tokens must stay light even when the page is dark. */
[data-theme="dark"] .simulator-card {
  --ink: #0a0a0a;
  --text: #0a0a0a;
  --text-muted: #5f5a51;
  --muted: #5f5a51;
  --gold-deep: #8a641e;
  --border: rgba(10, 10, 10, 0.18);
  --line: rgba(10, 10, 10, 0.14);
  color: #0a0a0a;
}
[data-theme="dark"] .simulator-card input,
[data-theme="dark"] .simulator-card select,
[data-theme="dark"] .simulator-card textarea,
[data-theme="dark"] .simulator-card option {
  background: #fffdf9;
  color: #0a0a0a;
  border-color: rgba(10, 10, 10, 0.18);
}
[data-theme="dark"] .simulator-card .select-wrap svg { color: #5f5a51; }
[data-theme="dark"] .simulator-card .btn { color: #0a0a0a; border-color: #0a0a0a; }
[data-theme="dark"] .simulator-card .btn:hover { background: #0a0a0a; border-color: #0a0a0a; color: #fbf8f1; }

/* Map: the road strokes are inherited from <g stroke=...>, so the previous
   selector did not reach them. Keep the map dark and the labels readable. */
[data-theme="dark"] .map-art g[stroke="#f7f3ea"] path { stroke: #2f2a22; }
[data-theme="dark"] .map-art path[stroke="#cfc6b6"] { stroke: #332e26; }
[data-theme="dark"] .map-art text { fill: #b3a999; }

/* 404 utility links were too faint on the dark canvas. */
.notfound-links { color: rgba(247, 243, 234, 0.66); }


/* Dark mode: table headers a little clearer */
[data-theme="dark"] .data-table th { color: #cfc6b8; }

/* Dark mode: the globe grid was drawn with near-black strokes, so most
   meridians disappeared against the dark background. Keep the gold outer
   ring and bring the inner grid back with a subtle ivory line. */
[data-theme="dark"] .globe svg [stroke="rgba(10,10,10,.08)"],
[data-theme="dark"] .globe svg [stroke="rgba(10,10,10,.12)"],
[data-theme="dark"] .globe svg [stroke="rgba(10,10,10,.07)"],
[data-theme="dark"] .globe svg [stroke="rgba(10,10,10,.10)"],
[data-theme="dark"] .globe svg [stroke="rgba(10,10,10,.06)"],
[data-theme="dark"] .globe svg [stroke="rgba(10,10,10,.09)"] {
  stroke: rgba(251, 248, 241, 0.14);
}


/* Dark mode: keep native form widgets consistent with the dark fields */
[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field select,
[data-theme="dark"] .form-field textarea {
  color-scheme: dark;
}
[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.35);
  opacity: 0.7;
  cursor: pointer;
}
[data-theme="dark"] .simulator-card input,
[data-theme="dark"] .simulator-card select,
[data-theme="dark"] .simulator-card textarea {
  color-scheme: light;
}


/* ===== Partner logo wall: no boxes, larger marks, slower loop ===== */
.logo-track {
  gap: 34px;
  padding-block: 12px;
  animation-duration: 90s;
}
.logo-card {
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.logo-card:hover { transform: none; }
.logo-card img {
  max-width: 220px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}
[data-theme="dark"] .logo-card {
  background: transparent;
  border: 0;
  box-shadow: none;
}
[data-theme="dark"] .logo-card img {
  filter: grayscale(1) invert(1) brightness(1.1);
  opacity: 0.82;
}
[data-theme="dark"] .logo-card:hover img { opacity: 1; }

@media (max-width: 960px) {
  .logo-track { gap: 26px; animation-duration: 80s; }
  .logo-card img { max-width: 180px; max-height: 90px; }
}


/* Keep the stats numbers from shifting while they count up */
.stats-band-grid strong { font-variant-numeric: tabular-nums; }


/* Inner page heroes: keep the photo present instead of washed out by the
   cream background, while preserving the fade behind the text. */
@media (min-width: 961px) {
  .page-hero-media {
    opacity: 0.82;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 52%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 52%);
  }
  [data-theme="dark"] .page-hero-media { opacity: 0.7; }
  .page-hero-media img { filter: saturate(1.08) contrast(1.04); }
}


/* ===== Home hero: slightly larger copy block ===== */
.hero--studio .eyebrow { font-size: 11px; }
.hero--studio h1 {
  font-size: clamp(2.75rem, 4.6vw, 4.25rem);
  margin: 24px 0 26px;
}
.hero--studio .hero-sub {
  max-width: 38ch;
  margin-bottom: 34px;
  font-size: 15px;
  line-height: 1.75;
}
.hero--studio .hero-actions { gap: 16px 26px; }
.hero--studio .btn { font-size: 13px; padding: 17px 30px; }
.hero--studio .hero-link { font-size: 10.5px; }
.hero--studio .hero-trust {
  gap: 12px 24px;
  margin-top: 24px;
  font-size: 9px;
}
.hero--studio .hero-trust svg { width: 14px; height: 14px; }

@media (max-width: 1120px) {
  .hero--studio h1 { font-size: clamp(2.5rem, 4.6vw, 3.8rem); }
}
@media (max-width: 960px) {
  .hero--studio h1 { font-size: clamp(2.4rem, 9.6vw, 3.35rem); }
  .hero--studio .btn { padding: 16px 26px; }
}
@media (max-width: 460px) {
  .hero--studio h1 { font-size: clamp(2.2rem, 10.2vw, 2.95rem); }
  .hero--studio .hero-sub { font-size: 14.5px; }
  .hero--studio .hero-link { font-size: 10px; }
}


/* ===== Video credits page ===== */
.credits-inner { max-width: 860px; margin-inline: auto; }
.credits h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin: 12px 0 18px; }
.credits .lede { max-width: 62ch; }
.credit-list { list-style: none; padding: 0; margin: 42px 0 30px; }
.credit-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.credit-item:last-child { border-bottom: 1px solid var(--border); }
.credit-index {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold-deep);
  line-height: 1;
}
.credit-item h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 6px;
}
.credit-item p { margin: 0; color: var(--text-muted); font-size: 12.5px; line-height: 1.7; }
.credit-item a, .credit-license a { color: var(--text); border-bottom: 1px solid var(--border); }
.credit-item a:hover, .credit-license a:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.credit-license { color: var(--text-muted); font-size: 12px; line-height: 1.7; margin: 0 0 32px; }


/* Partner logo wall: more air between marks */
.logo-track {
  gap: clamp(48px, 5vw, 84px);
  animation-duration: 110s;
}
@media (max-width: 960px) {
  .logo-track {
    gap: 40px;
    animation-duration: 100s;
  }
}


/* Featured dark plan card: keep its title legible on the dark surface */
.plan-card--featured h3 { color: var(--cream); }


/* =========================================================
   General detail pass: more visible lines, larger microcopy
   and visual anchors in the text-heavy sections
   ========================================================= */

:root { --border: rgba(10, 10, 10, 0.18); }
[data-theme="dark"] { --border: rgba(251, 248, 241, 0.22); }

.eyebrow { font-size: 11.5px; letter-spacing: 0.22em; }
.hero-trust { font-size: 9.5px; }
.hero-video-bar > span { font-size: 8.5px; }

/* Credibility strip: less fragile */
.cred-inner { padding: 18px 0; }
.cred-strip { border-bottom: 1px solid rgba(190, 147, 53, 0.38); }
.cred-awards img { width: 40px; height: 40px; }
.cred-awards span { font-size: 8.5px; }
.cred-points span { font-size: 9px; letter-spacing: 0.12em; }

/* Doors and services: more legible supporting copy */
.door-kicker { font-size: 9px; }
.door p { font-size: 13.5px; }
.door li { font-size: 10px; }
.door-cta { font-size: 10px; }
.services-intro > p { font-size: 14px; }
.service-row { padding: 28px 0; }
.service-num { font-size: 1.8rem; }
.service-body small { font-size: 12.5px; }
.service-arrow { width: 38px; height: 38px; border-width: 1.5px; }
.service-arrow svg { width: 14px; height: 14px; }

/* Process: add a real visual anchor and stronger numbers */
.process-intro p { font-size: 14px; }
.process-item p { font-size: 14px; }
.process-tag { font-size: 9px; }
.process-num { font-size: 2rem; }
.process-media {
  position: relative;
  margin: 32px 0 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface-2);
}
.process-media img { width: 100%; height: 100%; object-fit: cover; }
.process-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(10, 10, 10, 0.62));
}
.process-media figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  color: rgba(251, 248, 241, 0.86);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Why: icons, stronger rules and readable body copy */
.why-item { border-top-width: 2px; padding-top: 24px; }
.why-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-deep);
  background: rgba(190, 147, 53, 0.09);
}
.why-icon svg { width: 23px; height: 23px; }
.why-item > span { display: block; margin-bottom: 8px; font-size: 1.8rem; }
.why-item h3 { font-size: clamp(1.4rem, 1.9vw, 1.75rem); }
.why-item p { font-size: 14px; }

/* Stats: visible rules and larger labels */
.stats-band-grid > div { border-top: 1px solid rgba(190, 147, 53, 0.42); padding-top: 22px; }
.stats-band-grid span { font-size: 9px; letter-spacing: 0.18em; }

/* Section copy and legal text a little larger */
.section-head p { font-size: 14px; line-height: 1.8; }
.legal p, .legal li { font-size: 14px; line-height: 1.85; }

/* Presence globe: bring the light-theme grid back */
html:not([data-theme="dark"]) .globe svg [stroke="rgba(10,10,10,.08)"],
html:not([data-theme="dark"]) .globe svg [stroke="rgba(10,10,10,.12)"],
html:not([data-theme="dark"]) .globe svg [stroke="rgba(10,10,10,.07)"],
html:not([data-theme="dark"]) .globe svg [stroke="rgba(10,10,10,.10)"],
html:not([data-theme="dark"]) .globe svg [stroke="rgba(10,10,10,.06)"],
html:not([data-theme="dark"]) .globe svg [stroke="rgba(10,10,10,.09)"] {
  stroke: rgba(10, 10, 10, 0.2);
}
html:not([data-theme="dark"]) .globe svg circle[stroke="rgba(190,147,53,.22)"] {
  stroke: rgba(190, 147, 53, 0.45);
}
html:not([data-theme="dark"]) .globe svg path[stroke="rgba(190,147,53,.26)"] {
  stroke: rgba(190, 147, 53, 0.48);
}
.globe-wrap::before { background: radial-gradient(circle, rgba(190, 147, 53, 0.16), transparent 64%); }

/* One-page service cards: let the photographs appear */
.bento-a .bento-bg, .bento-d .bento-bg { opacity: 0.32; }
.bento-a .bento-shade, .bento-d .bento-shade {
  background: linear-gradient(100deg, var(--surface) 20%, color-mix(in srgb, var(--surface) 72%, transparent) 62%, color-mix(in srgb, var(--surface) 35%, transparent));
}
[data-theme="dark"] .bento-a .bento-bg,
[data-theme="dark"] .bento-d .bento-bg { opacity: 0.2; }


.process-note {
  grid-column: 2;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid rgba(190, 147, 53, 0.42);
  background: var(--ink);
  color: var(--cream);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
}
.process-note strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.05;
  color: var(--gold);
}
.process-note p {
  margin: 0;
  max-width: 46ch;
  color: rgba(251, 248, 241, 0.7);
  font-size: 13px;
  line-height: 1.7;
}
@media (max-width: 960px) {
  .process-note {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


.process-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.process-right .process-note {
  grid-column: auto;
  margin-top: 0;
}


/* More visible micro-labels and tables */
.hero--studio .hero-awards span,
.hero-meta span { font-size: 8.5px; }
.breadcrumb { font-size: 10.5px; }
.data-table th { font-size: 9.5px; letter-spacing: 0.12em; }
.data-table td { font-size: 13.5px; }
.table-note { font-size: 11.5px; }
.form-field label { font-size: 10.5px; }
.form-check { font-size: 11.5px; }
.form-hint { font-size: 11px; }


.why-banner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-top: 54px;
}
.why-banner figure {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface-2);
}
.why-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.why-banner figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(10, 10, 10, 0.66));
}
.why-banner figcaption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  color: rgba(251, 248, 241, 0.86);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 960px) {
  .why-banner { grid-template-columns: 1fr; margin-top: 36px; }
  .why-banner figure { aspect-ratio: 16 / 10; }
}


/* =========================================================
   Group ecosystem: three-card portfolio (JRL + CVPCore + JETINV)
   ========================================================= */
.ecosystem {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.eco-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}
.eco-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(190, 147, 53, 0));
  z-index: 2;
}
.eco-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(190, 147, 53, 0.42);
}
.eco-media {
  position: relative;
  margin: 0;
  height: 178px;
  overflow: hidden;
  background: var(--surface-2);
}
.eco-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 10, 10, 0.44));
  pointer-events: none;
}
.eco-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.eco-card:hover .eco-media img { transform: scale(1.045); }

.eco-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 26px 0;
}
.eco-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  margin-bottom: 18px;
}
.eco-wordmark { display: flex; flex-direction: column; line-height: 1; }
.eco-wordmark strong {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
}
.eco-wordmark small {
  margin-top: 6px;
  color: var(--gold-deep);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.eco-wordmark--partner strong {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eco-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.eco-seal { width: 46px; height: 46px; flex: 0 0 auto; object-fit: contain; }
.eco-badge {
  flex: 0 0 auto;
  padding: 6px 11px;
  border: 1px solid rgba(190, 147, 53, 0.45);
  border-radius: 100px;
  background: rgba(190, 147, 53, 0.1);
  color: var(--gold-deep);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.eco-body h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 1.6vw, 1.6rem);
  line-height: 1.15;
}
.eco-body > p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.75;
}
.eco-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
}
.eco-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.5;
}
.eco-list svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--gold-deep);
}
.eco-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 26px 26px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.eco-btn svg { width: 14px; height: 14px; flex: 0 0 auto; transition: transform 0.3s; }
.eco-btn:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.eco-btn:hover svg { transform: translate(2px, -2px); }
.eco-btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.eco-btn--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }
.eco-btn--solid { background: var(--text); border-color: var(--text); color: var(--bg); }
.eco-btn--solid:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

@media (max-width: 992px) {
  .eco-grid { grid-template-columns: 1fr; gap: 20px; }
  .eco-media { height: 200px; }
}
@media (max-width: 560px) {
  .eco-media { height: 168px; }
  .eco-body { padding: 20px 20px 0; }
  .eco-btn { margin: 0 20px 20px; }
  .eco-header { align-items: flex-start; }
  .eco-badge { white-space: normal; line-height: 1.4; text-align: right; }
  .eco-wordmark strong { font-size: 1.3rem; }
}


/* Keep the three-card header readable on smaller laptops */
@media (min-width: 993px) and (max-width: 1200px) {
  .eco-header { gap: 8px; }
  .eco-seal { width: 40px; height: 40px; }
  .eco-wordmark--partner strong { font-size: 0.92rem; letter-spacing: 0.05em; }
  .eco-badge { max-width: 92px; white-space: normal; line-height: 1.35; text-align: right; }
}


/* Why banner: both images share the same height */
.why-banner { align-items: stretch; }
.why-banner figure { aspect-ratio: auto; height: clamp(260px, 24vw, 340px); }
@media (max-width: 960px) {
  .why-banner figure { height: auto; aspect-ratio: 16 / 10; }
}

/* Globe pins are interactive buttons */
.globe-pin {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.globe-pin:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.globe-pin:focus-visible span { opacity: 1; transform: translate(-50%, -4px); }


/* Larger tap target for the globe continents without changing the dot */
.globe-pin::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
}


/* Partner logos: light/dark variants */
.logo-swap__light { display: inline-block; }
.logo-swap__dark { display: none; }
[data-theme="dark"] .logo-swap__light { display: none; }
[data-theme="dark"] .logo-swap__dark { display: inline-block; }

.eco-seal {
  width: 64px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}
@media (min-width: 993px) and (max-width: 1200px) {
  .eco-seal { width: 56px; height: 40px; }
}

.cred-awards img {
  width: auto;
  height: 32px;
  max-width: 74px;
  object-fit: contain;
}


@media (max-width: 560px) {
  .eco-header { gap: 8px; }
  .eco-seal { width: 52px; height: 40px; }
  .eco-wordmark--partner strong { font-size: 0.92rem; letter-spacing: 0.05em; }
  .eco-badge { max-width: 92px; white-space: normal; line-height: 1.35; text-align: right; }
}


/* Dark feature card: keep the heading readable on the black panel */
.country-card--dark h3 { color: var(--cream); }
.country-card--dark .eyebrow { color: var(--gold); }
.country-card--dark p:not(.eyebrow) { color: rgba(251, 248, 241, 0.78); }
.country-card--dark .tag {
  color: rgba(251, 248, 241, 0.86);
  border-color: rgba(251, 248, 241, 0.26);
  font-size: 10px;
  padding: 7px 12px;
}


/* Contact form: honeypot and anchor offset */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
#form, #contact-form { scroll-margin-top: 110px; }


/* Real map embed */
.map-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 0;
  filter: grayscale(0.12) saturate(0.94);
}
[data-theme="dark"] .map-embed {
  filter: invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}
@media (max-width: 700px) {
  .map-panel { min-height: 0; }
  .map-embed { position: static; height: 340px; }
  .map-card {
    position: static;
    max-width: none;
    margin: 0;
    border-radius: 0 0 12px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .map-legend { position: static; margin: 12px; }
}
