/* ===== Variables & reset ===== */
:root {
  --bg: #faf8f3;
  --bg-soft: #f1ece2;
  --panel: #ffffff;
  --line: rgba(20, 24, 30, 0.10);
  --text: #1b1f25;
  --muted: #6a7280;
  --gold: #a9842f;
  --gold-soft: #caa24a;
  --radius: 14px;
  --max: 1180px;
  /* Fonts: Cinzel ≈ logo (engraved roman caps), Cormorant = display heading, Jost = body */
  --font-display: "Cinzel", Georgia, serif;
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; font-weight: 700; }
a { color: inherit; text-decoration: none; }

/* ===== Scroll progress ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  z-index: 200; transition: width 0.1s linear;
}

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6%; transition: background 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 6%;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-word { font-family: var(--font-display); font-weight: 500; letter-spacing: 4px; font-size: 0.9rem; color: var(--gold); }
.logo-img {
  height: 72px; width: auto; display: block;
  transition: height 0.3s;
}
.nav.scrolled .logo-img { height: 60px; }

.nav-links { list-style: none; display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold) !important;
  padding: 7px 18px; border-radius: 30px; transition: all 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--bg) !important; }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 6% 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 70% 18%, rgba(202,162,74,0.22), transparent 60%),
    radial-gradient(55% 60% at 18% 85%, rgba(225,212,188,0.55), transparent 60%),
    linear-gradient(160deg, #fdfbf7, #f3ede2 60%, #faf8f3);
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, 1%); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black, transparent 75%);
  opacity: 0.5;
}
.hero-content { position: relative; z-index: 2; max-width: 880px; }
.hero-logo {
  width: 260px; height: auto; margin: 0 auto 10px; display: block;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 600;
  letter-spacing: 6px; margin-bottom: 20px; text-indent: 6px;
}
.hero-brand span { font-weight: 400; color: var(--gold); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 4px; font-size: 0.8rem;
  color: var(--gold); margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.1; margin-bottom: 24px;
}

/* rotating word */
.rotator { display: inline-block; height: 1.15em; overflow: hidden; vertical-align: bottom; }
.rotator-list { display: flex; flex-direction: column; transition: transform 0.6s cubic-bezier(.7,.1,.2,1); }
.rotator-list span {
  height: 1.15em; line-height: 1.15em;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 13px 30px; border-radius: 30px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.2s; border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(90deg, var(--gold), var(--gold-soft)); color: #1a1206; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(169,132,47,0.3); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-hint span {
  display: block; width: 24px; height: 38px; border: 2px solid var(--muted); border-radius: 14px; position: relative;
}
.scroll-hint span::after {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--gold); border-radius: 2px; animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0% { opacity: 0; top: 6px; } 50% { opacity: 1; } 100% { opacity: 0; top: 20px; } }

/* ===== Stats ===== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--max); margin: -50px auto 0; position: relative; z-index: 5;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stat { padding: 32px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-num { font-size: 2.6rem; font-weight: 700; color: var(--gold); }
.stat-label { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }

/* ===== Sections ===== */
.section { max-width: var(--max); margin: 0 auto; padding: 110px 6%; }
.section-dark { max-width: none; background: var(--bg-soft); }
.section-dark > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: 56px; text-align: center; }
.kicker { color: var(--gold); letter-spacing: 3px; text-transform: uppercase; font-size: 0.78rem; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 600; letter-spacing: 1px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-top: 12px;
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-lead { font-size: 1.3rem; color: var(--text); }
.check-list { list-style: none; }
.check-list li {
  position: relative; padding: 14px 0 14px 38px; border-bottom: 1px solid var(--line); color: var(--muted);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 12px;
  width: 24px; height: 24px; border-radius: 50%; background: rgba(169,132,47,0.15);
  color: var(--gold); display: grid; place-items: center; font-size: 0.8rem;
}

/* Markets */
.markets-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.market-list { display: flex; flex-direction: column; gap: 14px; }
.market-item {
  text-align: left; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px; cursor: pointer; transition: all 0.25s; color: var(--text);
}
.market-item:hover { border-color: rgba(169,132,47,0.4); transform: translateX(6px); }
.market-item.active { border-color: var(--gold); background: linear-gradient(90deg, rgba(169,132,47,0.12), transparent); }
.market-item h3 { font-size: 1.15rem; }
.market-item p { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

.market-visual { display: block; min-height: 320px; }

/* ===== World map ===== */
.worldmap { width: 100%; }
.worldmap-svg {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 8px 24px rgba(20,24,30,0.10));
}
/* Base land + ocean */
.worldmap-svg path {
  fill: #ddd6c8; stroke: var(--bg); stroke-width: 0.4;
  transition: fill 0.45s ease;
}
/* Highlighted region (path itself, or paths inside a highlighted <g>) */
.worldmap-svg .is-active,
.worldmap-svg .is-active path {
  fill: var(--gold);
}
.map-caption {
  margin-top: 18px; text-align: center;
  font-family: var(--font-display); font-weight: 600; color: var(--gold);
  letter-spacing: 2px; text-transform: uppercase; font-size: 1.05rem;
  transition: opacity 0.3s;
}

/* Services */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(169,132,47,0.45); box-shadow: 0 20px 45px rgba(20,24,30,0.10); }
.service-card:hover::before { transform: scaleX(1); }
.service-img {
  display: block; width: calc(100% + 56px); margin: -32px -28px 0;
  height: 180px; object-fit: cover;
}
.service-icon {
  width: 54px; height: 54px; border-radius: 12px; background: rgba(169,132,47,0.12);
  display: grid; place-items: center; color: var(--gold); margin-bottom: 18px;
}
.service-img + .service-icon {
  position: relative; z-index: 2;
  background: linear-gradient(rgba(169,132,47,0.12), rgba(169,132,47,0.12)), var(--panel);
  box-shadow: 0 0 0 4px var(--panel), 0 8px 18px rgba(20,24,30,0.12);
  margin-top: -27px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-family: var(--font-head); font-weight: 600; margin-bottom: 14px; font-size: 1.6rem; }
.service-card ul { list-style: none; }
.service-card ul li { position: relative; padding: 6px 0 6px 18px; color: var(--muted); font-size: 0.92rem; }
.service-card ul li::before { content: "›"; position: absolute; left: 0; color: var(--gold); }

/* Advantages */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.adv-item {
  display: flex; gap: 18px; align-items: flex-start; padding: 26px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: all 0.25s;
}
.adv-item:hover { border-color: rgba(169,132,47,0.4); }
.adv-item span { font-size: 1.6rem; font-weight: 700; color: var(--gold); opacity: 0.5; }
.adv-item p { font-size: 1.02rem; }

/* Mission */
.mission-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission-card {
  padding: 36px 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, #ffffff, #f7f2e9); transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(20,24,30,0.04);
}
.mission-card:hover { transform: translateY(-6px); border-color: rgba(169,132,47,0.4); }
.mission-card h3 { font-family: var(--font-display); font-weight: 600; color: var(--gold); font-size: 1.5rem; margin-bottom: 12px; }
.mission-card p { color: var(--muted); }

/* Contact */
.contact { max-width: none; background: var(--bg-soft); }
.contact-inner {
  max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.contact-left h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 12px 0 14px;
}
.contact-left > p { color: var(--muted); margin-bottom: 28px; }
.contact-list { list-style: none; }
.contact-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.c-label { color: var(--muted); }
.c-val { color: var(--text); font-weight: 500; }

.contact-form { display: flex; flex-direction: column; gap: 16px; background: var(--panel); border: 1px solid var(--line); padding: 32px; border-radius: var(--radius); }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: 0.85rem; color: var(--muted); }
.contact-form input, .contact-form textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 12px 14px; color: var(--text); font-family: inherit; font-size: 0.95rem; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: 0.85rem; color: var(--gold); min-height: 1em; }

/* Footer */
.footer { padding: 50px 6% 36px; border-top: 1px solid var(--line); text-align: center; }
.footer-top { display: flex; flex-direction: column; gap: 14px; align-items: center; margin-bottom: 18px; }
.footer-logo { width: 150px; height: auto; }
.footer-top p { color: var(--muted); font-size: 0.9rem; }
.footer-copy { color: var(--muted); font-size: 0.85rem; opacity: 0.7; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; gap: 0; background: rgba(250,248,243,0.97);
    backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 360px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px; }
  .nav-cta { border: none; border-radius: 0; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }

  .about-grid, .markets-layout, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .mission-cards { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; }
}
