/* ==========================================================================
   Northblue Ltd — Global Commodities & Real Estate
   ========================================================================== */

:root {
  --ink: #070b2a;
  --ink-2: #0d1442;
  --ink-3: #151d5a;
  --brand: #1d36d8;
  --brand-600: #172bb3;
  --brand-2: #2b9bff;
  --gold: #e9b44c;
  --gold-2: #f6d58a;
  --text: #1a1f3d;
  --muted: #5d6385;
  --line: #e4e7f2;
  --bg: #ffffff;
  --bg-soft: #f4f6fc;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(13, 20, 66, .06);
  --shadow: 0 18px 50px -18px rgba(13, 20, 66, .25);
  --shadow-lg: 0 40px 80px -30px rgba(13, 20, 66, .45);
  --grad: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1220px;
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #c9cdea; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 640px; }
.center .lead { margin-inline: auto; }
.section--dark .lead { color: #a9afd6; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gold-text { background: linear-gradient(120deg, var(--gold), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--brand-2); }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.split { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad); opacity: 0; transition: opacity .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(29, 54, 216, .6); }
.btn:hover::after { opacity: 1; }
.btn i { transition: transform .4s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.9); }
.btn--ghost::after { background: rgba(255,255,255,.08); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --fg: #fff; }
.btn--outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--outline:hover { --fg: #fff; box-shadow: none; }
.btn--gold { --bg: var(--gold); --fg: var(--ink); }
.btn--gold::after { background: linear-gradient(120deg, var(--gold-2), var(--gold)); }
.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--brand); }
.link-arrow i { transition: transform .35s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, height .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,.86); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 1px 0 var(--line); height: 68px;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { height: 38px; width: auto; transition: filter .4s; }
.site-header:not(.scrolled) .brand img { filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 15px; border-radius: 999px;
  font-family: var(--font-head); font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,.82); transition: color .3s, background .3s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,.14); }
.scrolled .nav-links a { color: var(--muted); }
.scrolled .nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.scrolled .nav-links a.active { color: var(--brand); background: rgba(29,54,216,.08); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.site-header:not(.scrolled) .nav-cta .btn { --bg: #fff; --fg: var(--ink); }
.site-header:not(.scrolled) .nav-cta .btn:hover { --fg: #fff; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.12); position: relative;
}
.scrolled .menu-toggle { background: var(--bg-soft); }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.scrolled .menu-toggle span { background: var(--ink); }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span { background: #fff !important; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink);
  padding: calc(var(--nav-h) + 30px) 24px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 44px) 39px);
  transition: clip-path .7s var(--ease);
  overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 39px); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a.m-link {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-head); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 600; color: #fff;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  transform: translateY(100%); transition: transform .6s var(--ease), color .3s;
}
.mobile-menu a.m-link small { font-size: .8rem; color: var(--brand-2); font-weight: 500; }
.mobile-menu a.m-link.active { color: var(--brand-2); }
.menu-open .mobile-menu a.m-link { transform: none; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .05s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .1s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .15s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .2s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: .25s; }
.mobile-menu .m-foot { color: #a9afd6; font-size: .95rem; margin-top: 30px; }
.mobile-menu .m-foot a { color: #fff; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .site-header .brand img { filter: brightness(0) invert(1); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--ink); color: #c9cdea; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 80px;
}
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { color: #b3b9e0; margin-bottom: 36px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator span {
  grid-area: 1 / 1; opacity: 0; transform: translateY(40%) rotateX(-60deg); transform-origin: bottom;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  background: linear-gradient(120deg, var(--brand-2), #8fd0ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.rotator span.on { opacity: 1; transform: none; }
.rotator span.off { opacity: 0; transform: translateY(-40%) rotateX(60deg); }

.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; z-index: 0; }
.blob-1 { width: 620px; height: 620px; background: var(--brand); top: -200px; right: -120px; animation: float 16s ease-in-out infinite; }
.blob-2 { width: 460px; height: 460px; background: #0aa3ff; bottom: -220px; left: -120px; opacity: .3; animation: float 20s ease-in-out infinite reverse; }
.blob-3 { width: 260px; height: 260px; background: var(--gold); top: 40%; right: 30%; opacity: .14; animation: float 14s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,30px) scale(.95); } }
.grid-bg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 70%);
}

.hero-visual { position: relative; aspect-ratio: 1 / 1.05; }
.hero-card {
  position: absolute; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .2s linear;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card .tag {
  position: absolute; left: 14px; bottom: 14px; padding: 7px 13px; border-radius: 999px;
  background: rgba(7,11,42,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; font-family: var(--font-head); font-size: .78rem; font-weight: 600;
}
.hero-card.c1 { width: 62%; aspect-ratio: 4/5; top: 0; right: 0; }
.hero-card.c1 .tag { left: auto; right: 14px; bottom: auto; top: 14px; }
.hero-card.c2 { width: 52%; aspect-ratio: 1; bottom: 2%; left: 0; }
.hero-card.c3 { width: 40%; aspect-ratio: 4/3; bottom: 0; right: 6%; }
.glass {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.hero-badge {
  position: absolute; top: 14%; left: -4%; z-index: 3; padding: 16px 18px; border-radius: 18px;
  display: flex; gap: 14px; align-items: center; color: #fff; animation: bob 6s ease-in-out infinite;
}
.hero-badge .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font-size: 1.1rem; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.1; }
.hero-badge small { color: #b3b9e0; font-size: .78rem; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.clocks { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 44px; }
.clock { padding: 12px 16px; border-radius: 14px; min-width: 128px; }
.clock small { display: flex; align-items: center; gap: 7px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #8e95c7; }
.clock small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 0 rgba(61,220,151,.7); animation: pulse 2s infinite; }
.clock small.closed::before { background: #8e95c7; animation: none; }
.clock strong { display: block; font-family: var(--font-head); color: #fff; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.6); } 70% { box-shadow: 0 0 0 8px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.35); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px; background: #fff; transform: translateX(-50%); animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--ink); color: #b3b9e0; overflow: hidden;
  padding: calc(var(--nav-h) + 90px) 0 100px;
}
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.2rem); max-width: 18ch; }
.page-hero .lead { color: #b3b9e0; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .hero-bg { position: absolute; inset: 0; z-index: 0; background: center/cover no-repeat; transform: scale(1.08); animation: heroZoom 14s ease-out forwards; }
.page-hero.has-img::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(7,11,42,.96) 0%, rgba(7,11,42,.82) 45%, rgba(7,11,42,.35) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.crumbs { display: flex; gap: 10px; font-size: .85rem; color: #8e95c7; margin-bottom: 26px; font-family: var(--font-head); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--brand-2); }

/* ---------- Marquee ---------- */
.marquee { background: var(--brand); color: #fff; overflow: hidden; padding: 18px 0; position: relative; z-index: 3; }
.marquee.dark { background: var(--ink-2); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; padding: 0 30px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; white-space: nowrap; }
.marquee-item i { color: var(--gold-2); font-size: .85rem; }
.marquee-item em { font-style: normal; font-weight: 400; opacity: .7; font-size: .88rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pillars (two business lines) ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pillar {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; color: #fff; isolation: isolate;
}
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,11,42,.05) 20%, rgba(7,11,42,.92) 85%); transition: background .6s; }
.pillar:hover img { transform: scale(1.07); }
.pillar h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.pillar p { color: #cdd1ee; max-width: 440px; }
.pillar .num { position: absolute; top: 30px; left: 40px; font-family: var(--font-head); font-size: .85rem; letter-spacing: .2em; color: rgba(255,255,255,.75); }
.pillar .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; }
.pillar .arrow {
  position: absolute; top: 26px; right: 26px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 1.1rem;
  transform: rotate(-45deg); transition: transform .5s var(--ease), background .4s, color .4s;
}
.pillar:hover .arrow { transform: rotate(0); background: var(--brand); color: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px;
  font-size: .78rem; font-weight: 500; background: rgba(29,54,216,.08); color: var(--brand);
}
.pillar .chip, .section--dark .chip { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(6px); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; }
.stat { padding: 40px 30px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: rgba(255,255,255,.12); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 700; color: #fff; line-height: 1; margin-bottom: 10px; letter-spacing: -.03em; }
.stat span { color: #a9afd6; font-size: .95rem; }
.stats--light .stat strong { color: var(--ink); }
.stats--light .stat span { color: var(--muted); }
.stats--light .stat + .stat::before { background: var(--line); }

/* ---------- Split / About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.img-stack { position: relative; }
.img-stack .main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.img-stack .main img { width: 100%; height: 100%; object-fit: cover; }
.img-stack .float {
  position: absolute; right: -30px; bottom: 40px; width: 46%; border-radius: 20px; overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 1;
}
.img-stack .float img { width: 100%; height: 100%; object-fit: cover; }
.img-stack .badge {
  position: absolute; left: -24px; top: 40px; background: #fff; border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px; animation: bob 7s ease-in-out infinite;
}
.img-stack .badge strong { font-family: var(--font-head); font-size: 2rem; color: var(--brand); line-height: 1; }
.img-stack .badge span { font-size: .82rem; color: var(--muted); line-height: 1.3; }

.feature-list { display: grid; gap: 22px; margin: 34px 0; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .ico, .icon-box {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(29,54,216,.08); color: var(--brand); font-size: 1.2rem;
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.feature:hover .ico, .card:hover .icon-box { background: var(--grad); color: #fff; transform: rotate(-8deg) scale(1.05); }
.feature h4 { font-size: 1.08rem; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }
.section--dark .feature .ico, .section--dark .icon-box { background: rgba(255,255,255,.08); color: var(--brand-2); }
.section--dark .feature h4 { color: #fff; }
.section--dark .feature p { color: #a9afd6; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-top: 22px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card .idx { position: absolute; top: 24px; right: 28px; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--bg-soft); line-height: 1; transition: color .4s; }
.card:hover .idx { color: rgba(29,54,216,.1); }
.section--dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.section--dark .card p { color: #a9afd6; }
.section--dark .card .idx { color: rgba(255,255,255,.06); }

/* ---------- Commodity cards ---------- */
.commodity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.c-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #fff;
  aspect-ratio: 4/5; cursor: pointer; isolation: isolate; text-align: left; border: 0; padding: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .5s;
}
.c-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.c-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,11,42,0) 30%, rgba(7,11,42,.95) 100%); transition: opacity .5s; }
.c-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29,54,216,.25), rgba(7,11,42,.96)); opacity: 0; transition: opacity .5s var(--ease); }
.c-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.c-card:hover img { transform: scale(1.08); }
.c-card:hover::after { opacity: 1; }
.c-body { padding: 28px; }
.c-cat { font-family: var(--font-head); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.c-card h3 { color: #fff; font-size: 1.6rem; margin: 8px 0 6px; }
.c-more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.c-card:hover .c-more, .c-card:focus-visible .c-more { max-height: 200px; opacity: 1; }
.c-more p { color: #cdd1ee; font-size: .92rem; margin: 6px 0 14px; }
.c-more .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.c-plus {
  position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: .95rem; color: #fff; transition: transform .5s var(--ease), background .4s;
}
.c-card:hover .c-plus { transform: rotate(90deg); background: var(--brand); border-color: transparent; }
.c-card.hide { display: none; }
.c-card.fade-in { animation: cardIn .6s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-btn {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--muted);
  transition: all .35s var(--ease);
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-btn .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: rgba(29,54,216,.1); color: var(--brand); font-size: .72rem; margin-left: 6px; padding: 0 6px; }
.filter-btn.active .count { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(7,11,42,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-box {
  width: min(980px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: #fff; border-radius: var(--radius-lg);
  display: grid; grid-template-columns: .9fr 1.1fr; transform: translateY(30px) scale(.97); transition: transform .5s var(--ease);
  box-shadow: var(--shadow-lg);
}
.modal.open .modal-box { transform: none; }
.modal-media { position: relative; min-height: 320px; }
.modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: 44px 40px; }
.modal-content h3 { font-size: 2rem; margin: 8px 0 12px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; z-index: 3;
  background: #fff; color: var(--ink); font-size: 1.1rem; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease);
}
.modal-close:hover { transform: rotate(90deg); }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: .93rem; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 500; }
.spec-table td { color: var(--ink); font-weight: 500; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: rgba(255,255,255,.1); }
.process .bar { position: absolute; top: 34px; left: 8%; height: 2px; width: 0; max-width: 84%; background: var(--grad); transition: width 2s var(--ease); }
.process.in .bar { width: 84%; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step .dot {
  width: 70px; height: 70px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink-2); border: 1.5px solid rgba(255,255,255,.14); color: var(--brand-2); font-size: 1.3rem;
  position: relative; z-index: 1; transition: background .5s, color .5s, transform .5s var(--ease);
}
.step:hover .dot { background: var(--grad); color: #fff; transform: scale(1.08); }
.step .dot::after {
  counter-increment: step; content: "0" counter(step); position: absolute; top: -6px; right: -10px;
  font-family: var(--font-head); font-size: .7rem; font-weight: 700; background: var(--gold); color: var(--ink);
  padding: 3px 7px; border-radius: 999px;
}
.step h3 { font-size: 1.15rem; }
.step p { font-size: .93rem; color: #a9afd6; }
.section:not(.section--dark) .process::before { background: var(--line); }
.section:not(.section--dark) .step .dot { background: #fff; border-color: var(--line); color: var(--brand); }
.section:not(.section--dark) .step p { color: var(--muted); }

/* ---------- Property feature ---------- */
.property-feature {
  display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--brand-600), var(--brand) 50%, #1b6ef0); color: #dfe3ff; box-shadow: var(--shadow-lg);
  position: relative;
}
.property-feature::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; right: -150px; top: -200px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 60%); pointer-events: none; }
.property-feature .pf-media { position: relative; min-height: 480px; }
.property-feature .pf-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.property-feature .pf-body { padding: clamp(32px, 5vw, 60px); position: relative; z-index: 1; }
.property-feature h2, .property-feature h3 { color: #fff; }
.ribbon {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: #fff; color: var(--brand); font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
}
.ribbon.gold { background: var(--gold); color: var(--ink); }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0; }
.spec { text-align: center; padding: 16px 8px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }
.spec i { font-size: 1.15rem; color: #fff; }
.spec strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: #fff; line-height: 1.2; margin-top: 6px; }
.spec span { font-size: .75rem; color: #c8cffc; }
.specs.light .spec { background: var(--bg-soft); border-color: var(--line); }
.specs.light .spec i { color: var(--brand); }
.specs.light .spec strong { color: var(--ink); }
.specs.light .spec span { color: var(--muted); }

/* ---------- Gallery / Lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery button { border: 0; padding: 0; border-radius: 18px; overflow: hidden; position: relative; background: var(--bg-soft); }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery button:hover img { transform: scale(1.08); }
.gallery button::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(7,11,42,.45); color: #fff; font-size: 1.4rem; opacity: 0; transition: opacity .4s;
}
.gallery button:hover::after { opacity: 1; }
.gallery .label { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); font-family: var(--font-head); font-size: .75rem; font-weight: 600; color: var(--ink); }
.gallery .g-1 { grid-column: span 2; grid-row: span 2; }
.gallery .g-2 { grid-row: span 2; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(4,6,24,.95); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox img { max-height: 78svh; width: auto; margin: 0 auto; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #c9cdea; margin-top: 16px; font-family: var(--font-head); }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font-size: 1.1rem; transition: background .3s; }
.lb-btn:hover { background: var(--brand); }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 24px; top: 24px; }

.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amenity { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .93rem; font-weight: 500; transition: transform .4s var(--ease), border-color .3s; }
.amenity:hover { transform: translateY(-3px); border-color: var(--brand); }
.amenity i { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(29,54,216,.08); color: var(--brand); font-size: .9rem; }

.tabs { display: inline-flex; padding: 6px; border-radius: 999px; background: var(--bg-soft); gap: 4px; flex-wrap: wrap; }
.tab { padding: 10px 20px; border: 0; border-radius: 999px; background: transparent; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--muted); transition: all .35s var(--ease); }
.tab.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: cardIn .6s var(--ease); }
.section--dark .tabs { background: rgba(255,255,255,.06); }
.section--dark .tab { color: #a9afd6; }
.section--dark .tab.active { background: #fff; color: var(--ink); }

/* ---------- Map ---------- */
.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(ellipse at 50% 40%, var(--ink-3), var(--ink) 70%); border: 1px solid rgba(255,255,255,.08); }
.map-wrap svg { display: block; width: 100%; height: auto; }
.map-wrap .land { fill: #1a2366; stroke: #0b1140; stroke-width: .5; transition: fill .4s; }
.map-wrap .land.src { fill: #2c45e0; cursor: pointer; }
.map-wrap .land.src:hover, .map-wrap .land.src.hl { fill: var(--brand-2); }
.map-wrap .land.dim { fill: #1a2366; }
.map-wrap .graticule { fill: none; stroke: rgba(255,255,255,.05); stroke-width: .5; }
.map-wrap .arc { fill: none; stroke: url(#arcGrad); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 4 6; animation: dash 18s linear infinite; opacity: .85; transition: opacity .4s; }
.map-wrap .arc.dim { opacity: .08; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.map-wrap .hub circle.core { fill: var(--gold); }
.map-wrap .hub circle.ring { fill: none; stroke: var(--gold); stroke-width: 1.5; animation: ring 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.map-wrap .hub text { fill: #fff; font-family: var(--font-head); font-size: 11px; font-weight: 600; paint-order: stroke; stroke: var(--ink); stroke-width: 3px; }
.map-tip {
  position: absolute; pointer-events: none; z-index: 5; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--ink);
  font-size: .85rem; box-shadow: var(--shadow); transform: translate(-50%, calc(-100% - 14px)); opacity: 0; transition: opacity .2s; white-space: nowrap;
}
.map-tip strong { font-family: var(--font-head); display: block; }
.map-tip.show { opacity: 1; }
.map-legend { position: absolute; left: 20px; bottom: 18px; display: flex; gap: 18px; font-size: .78rem; color: #a9afd6; flex-wrap: wrap; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.map-fallback { padding: 80px 20px; text-align: center; color: #a9afd6; }

.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.region {
  padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  cursor: pointer; transition: background .4s, border-color .4s, transform .5s var(--ease); text-align: left; color: inherit;
}
.region:hover, .region.active { background: rgba(43,155,255,.1); border-color: rgba(43,155,255,.5); transform: translateY(-4px); }
.region h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; }
.region h3 i { color: var(--brand-2); }
.region ul { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.region li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px dashed rgba(255,255,255,.08); }
.region li span:last-child { color: #8e95c7; text-align: right; }

/* ---------- Offices ---------- */
.office { position: relative; overflow: hidden; }
.office .flag { font-size: 1.8rem; line-height: 1; }
.office h3 { margin-top: 18px; }
.office address { font-style: normal; color: var(--muted); margin-bottom: 18px; }
.office .local { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.office .local strong { font-family: var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.office .tel { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; margin-bottom: 14px; }

/* ---------- Testimonials ---------- */
.t-slider { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.t-track { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; padding: 4px; }
.t-slide { grid-area: 1/1; opacity: 0; transform: translateX(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.t-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.t-slide blockquote { margin: 0 0 34px; font-family: var(--font-head); font-size: clamp(1.25rem, 2.6vw, 1.85rem); line-height: 1.45; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.t-quote { font-size: 2.6rem; color: var(--brand); margin-bottom: 20px; }
.t-person { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; }
.t-person strong { display: block; font-family: var(--font-head); color: var(--ink); }
.t-person span { font-size: .88rem; color: var(--muted); }
.t-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 40px; }
.t-dot { width: 10px; height: 10px; border-radius: 5px; border: 0; background: var(--line); transition: width .5s var(--ease), background .4s; padding: 0; }
.t-dot.active { width: 34px; background: var(--brand); }
.t-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: all .3s; }
.t-arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(44px, 7vw, 80px);
  background: var(--ink); color: #b3b9e0; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; isolation: isolate;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; }
.cta-band .blob-1 { width: 420px; height: 420px; top: -180px; right: -80px; }
.cta-band .blob-2 { width: 300px; height: 300px; bottom: -180px; left: 20%; }
.cta-band > *:not(.blob) { position: relative; z-index: 1; }

/* ---------- Forms ---------- */
.form-card { color: var(--text); background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 50px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 24px 18px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-soft);
  font: inherit; font-size: .97rem; color: var(--ink); transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d6385' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field label { position: absolute; left: 19px; top: 17px; font-size: .97rem; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(29,54,216,.1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: .72rem; color: var(--brand); font-weight: 600; letter-spacing: .03em; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 500; cursor: pointer; transition: all .3s var(--ease); }
.choice span:hover { border-color: var(--brand); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.form-label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 10px; display: block; }
.form-status { display: none; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; font-weight: 500; margin-top: 18px; }
.form-status.ok { display: flex; background: #e8faf1; color: #127a4a; }
.form-status.err { display: flex; background: #fdecec; color: #b42323; }
.btn[disabled] { opacity: .7; pointer-events: none; }
.hp { position: absolute; left: -9999px; }

.contact-info { display: grid; gap: 14px; }
.ci { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: background .3s, transform .4s var(--ease); }
.ci:hover { background: rgba(255,255,255,.09); transform: translateX(4px); }
.ci .icon-box { width: 46px; height: 46px; }
.ci small { display: block; color: #8e95c7; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.ci strong { color: #fff; font-family: var(--font-head); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--brand); font-size: 1.3rem; font-weight: 400; transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq details p { color: var(--muted); padding: 0 50px 22px 0; margin: 0; }

/* ---------- Values / Timeline ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 40px 34px 40px 0; border-bottom: 1px solid var(--line); }
.value + .value { padding-left: 34px; border-left: 1px solid var(--line); }
.value:nth-child(4) { padding-left: 0; border-left: 0; }
.value .k { font-family: var(--font-head); font-size: .8rem; color: var(--brand); font-weight: 700; letter-spacing: .15em; }
.value h3 { margin: 14px 0 10px; }
.value p { color: var(--muted); margin: 0; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv .card { padding: 44px; }
.mv .card.dark { background: var(--ink); border-color: var(--ink); color: #b3b9e0; }
.mv .card.dark h3 { color: #fff; }
.mv .card.dark p { color: #b3b9e0; }
.mv .card.blue { background: var(--grad); border: 0; color: #e6e9ff; }
.mv .card.blue h3 { color: #fff; }
.mv .card.blue p { color: #e6e9ff; }
.mv .card.blue .icon-box, .mv .card.dark .icon-box { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Legal ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2.2em; }
.prose p, .prose li { color: #3d4366; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.toc { position: sticky; top: 100px; display: grid; gap: 4px; }
.toc a { padding: 8px 14px; border-radius: 10px; font-size: .9rem; color: var(--muted); border-left: 2px solid var(--line); }
.toc a:hover, .toc a.active { color: var(--brand); border-color: var(--brand); background: rgba(29,54,216,.05); }
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9afd6; padding: 90px 0 30px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(43,155,255,.6), transparent); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-top h4 { color: #fff; font-size: .95rem; margin-bottom: 20px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .94rem; }
.footer-top a { transition: color .3s; }
.footer-top a:hover { color: #fff; }
.footer-brand img { height: 38px; width: auto; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-brand p { font-size: .94rem; max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; transition: background .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--brand); transform: translateY(-3px); }
.newsletter { display: flex; margin-top: 6px; background: rgba(255,255,255,.06); border-radius: 999px; padding: 5px; border: 1px solid rgba(255,255,255,.1); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 10px 16px; color: #fff; font: inherit; font-size: .92rem; }
.newsletter input::placeholder { color: #8e95c7; }
.newsletter input:focus { outline: none; }
.newsletter button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; flex: none; }
.nl-msg { font-size: .85rem; margin-top: 10px; min-height: 1.2em; color: #3ddc97; }
.nl-msg.err { color: #ff8a8a; }
.footer-word {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 12.5vw, 12rem); line-height: .8; white-space: nowrap; letter-spacing: -.05em;
  margin: 70px 0 30px; text-align: center; user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 22px; }

/* ---------- Utilities: reveal, cursor, top ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.js .reveal-img.in { clip-path: inset(0 0 0 0); }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; }
.js .split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.js .split-words.in .w > span { transform: none; }

.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--grad); z-index: 150; width: 0; }
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); transition: all .5s var(--ease);
}
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--brand); }

.page-loader { display: none; }
.js .page-loader { position: fixed; inset: 0; z-index: 500; background: var(--ink); display: grid; place-items: center; transition: opacity .6s, visibility .6s; }
.page-loader img { width: 64px; animation: loaderPulse 1.2s ease-in-out infinite; }
.loaded .page-loader { opacity: 0; visibility: hidden; }
@keyframes loaderPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.88); opacity: .6; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand, .footer-news { grid-column: span 3; }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-grid, .split, .pillars, .property-feature, .modal-box, .mv, .cta-band { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .commodity-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .process::before, .process .bar { display: none; }
  .values { grid-template-columns: 1fr 1fr; }
  .value, .value + .value { padding: 32px 24px 32px 0; border-left: 0; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery .g-2 { grid-row: span 1; }
  .modal-media { min-height: 240px; }
  .img-stack .float { right: 0; }
  .img-stack .badge { left: 0; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .property-feature .pf-media { min-height: 300px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .commodity-grid, .grid-3, .grid-2, .grid-4, .values, .region-grid, .amenities { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 18px; }
  .stat:nth-child(odd)::before { display: none; }
  .stat:nth-child(even)::before { display: block; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-news { grid-column: span 2; }
  .pillar { min-height: 440px; padding: 28px; }
  .pillar .num { left: 28px; }
  .hero-badge { left: 0; }
  .c-more { max-height: 200px; opacity: 1; }
  .c-card { aspect-ratio: 4/4.4; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .map-legend { position: static; padding: 0 16px 16px; }
  .modal-content { padding: 30px 24px; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-img, .js .split-words .w > span { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Card images ---------- */
.card.has-img { padding-top: 0; }
.card.has-img .idx { display: none; }
.card-img { margin: 0 -32px; height: 190px; overflow: hidden; position: relative; }
.card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,11,42,0) 50%, rgba(7,11,42,.35)); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-img img { transform: scale(1.07); }
.card-img + .icon-box, .card-img + .flag { position: relative; z-index: 1; margin-top: -26px; }
.card-img + .icon-box { background: #fff; box-shadow: var(--shadow-sm); }
.card-img + .flag { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.card-img .city { position: absolute; right: 16px; bottom: 14px; z-index: 1; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Photo backgrounds for text-only blocks ---------- */
.cta-band { background: linear-gradient(100deg, rgba(7,11,42,.97) 0%, rgba(7,11,42,.88) 50%, rgba(7,11,42,.55) 100%), url("../img/ship.jpg") center/cover; }
.section--photo { background: linear-gradient(180deg, rgba(7,11,42,.8), rgba(7,11,42,.92)), url("../img/port.jpg") center/cover; }
.mv .card { position: relative; isolation: isolate; }
.mv .card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.mv .card:hover::before { opacity: .32; transform: scale(1.04); }
.mv .card.dark::before { background-image: url("../img/farm.jpg"); background-size: cover; background-position: center; }
.mv .card.blue::before { background-image: url("../img/towers.jpg"); background-size: cover; background-position: center; mix-blend-mode: luminosity; }
