/* ===========================
   UNLEASHED MARKETS — styles.css
   Navy #0F172A | Blue #1E3A8A | Yellow #FBBF24
   =========================== */

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

:root {
  --navy:   #0F172A;
  --blue:   #1E3A8A;
  --yellow: #FBBF24;
  --white:  #FFFFFF;
  --light:  #F8FAFC;
  --grey:   #64748B;
  --border: #E2E8F0;
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--navy); background: var(--white); line-height: 1.6; font-size: 16px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Typography */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 0.95rem; font-weight: 600; }
p  { font-size: 0.95rem; color: var(--grey); line-height: 1.75; }
.highlight { color: var(--yellow); }
.section-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; display: block; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.65); }
.section-light { background: var(--light); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font); font-size: 0.875rem; font-weight: 600; border-radius: 6px; padding: 12px 24px; cursor: pointer; border: 2px solid transparent; transition: all 0.2s ease; white-space: nowrap; }
.btn-primary { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.btn-primary:hover { background: #F59E0B; border-color: #F59E0B; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(251,191,36,0.35); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
/* Hero dark outline button (white border on dark bg) */
.btn-hero-outline {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.65); }
/* Calendar icon CTA */
.btn-cal { display: inline-flex; align-items: center; gap: 8px; }
.btn-lg { padding: 15px 32px; font-size: 0.95rem; }

/* ============================
   NAVIGATION
   ============================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6,14,30,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  height: 70px;
  display: flex; align-items: center;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), #2563EB);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark svg { width: 22px; height: 22px; }
/* Square UM logo mark matching brand */
.logo-mark-sq {
  display: flex; align-items: center; justify-content: center;
  background: #0d1b3e;
  border-radius: 7px;
  padding: 6px 10px;
  line-height: 1;
  flex-shrink: 0;
}
.logo-mark-sq .lm-u { font-size: 1.65rem; font-weight: 900; color: #FBBF24; font-family: 'Inter','Arial Black',Arial,sans-serif; letter-spacing: -1.5px; }
.logo-mark-sq .lm-m { font-size: 1.65rem; font-weight: 900; color: #FFFFFF; font-family: 'Inter','Arial Black',Arial,sans-serif; letter-spacing: -1.5px; }
/* Both lines same size, weight and color */
.logo-text { display: flex; flex-direction: column; gap: 0; }
.logo-text strong { display: block; font-size: 0.82rem; font-weight: 800; color: var(--white); letter-spacing: 0.08em; line-height: 1.3; }
.logo-text small { display: block; font-size: 0.82rem; font-weight: 800; color: var(--white); letter-spacing: 0.08em; line-height: 1.3; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { position: relative; }
.nav-links a.active::after { content:''; position:absolute; bottom:-4px; left:0; right:0; height:2px; background:var(--yellow); border-radius:2px; }
.nav-dropdown { position: relative; }
.nav-dropdown > a { display:flex; align-items:center; gap:4px; cursor:pointer; }
.nav-dropdown > a svg { transition: transform 0.2s; }
.nav-dropdown:hover > a svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 0;
  background: var(--navy); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 8px; min-width: 190px;
  opacity: 0; pointer-events: none; transform: translateY(-6px); transition: all 0.2s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .dropdown-menu { opacity:1; pointer-events:all; transform:translateY(0); }
.dropdown-menu a { display:block; padding:10px 14px; font-size:0.85rem; color:rgba(255,255,255,0.7); border-radius:6px; transition:all 0.15s; }
.dropdown-menu a:hover { color:var(--white); background:rgba(255,255,255,0.06); }
.burger { display:none; background:none; border:none; cursor:pointer; padding:4px; flex-direction:column; gap:5px; }
.burger span { display:block; width:22px; height:2px; background:var(--white); border-radius:2px; transition:all 0.3s; }
.mobile-nav { display:none; }

/* ============================
   HERO
   ============================ */
.hero {
  background: #060e1e;
  min-height: 100vh;
  padding-top: 70px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 60% 75% at 68% 42%, rgba(18,42,110,0.72) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 8% 85%, rgba(251,191,36,0.04) 0%, transparent 55%);
  pointer-events: none;
}
.hero::after {
  content:''; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.22);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.72rem; font-weight: 700; color: var(--yellow);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero > .container > .hero-inner > .hero-content > p { color: rgba(255,255,255,0.68); font-size: 1.1rem; margin-bottom: 36px; max-width: 460px; line-height: 1.75; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-graphic { display: flex; justify-content: center; align-items: center; }
.hero-svg { width: 100%; max-width: 560px; height: auto; display: block; filter: drop-shadow(0 0 30px rgba(251,191,36,0.12)); }
/* Override hero p to be tighter / white */
.hero-content > p { color: rgba(255,255,255,0.72) !important; font-size: 1rem !important; margin-bottom: 36px; max-width: 440px; line-height: 1.7; }

/* UM Hub Graphic */
.hub-wrap { position:relative; width:360px; height:360px; }
.hub-center {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:96px; height:96px; border-radius:50%;
  background: linear-gradient(135deg, #1E3A8A, #2563EB);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  box-shadow: 0 0 0 14px rgba(30,58,138,0.18), 0 0 0 28px rgba(30,58,138,0.07), 0 0 60px rgba(37,99,235,0.3);
  z-index:10;
}
.hub-center .um-u { font-size:1.5rem; font-weight:900; color:var(--yellow); line-height:1; }
.hub-center .um-label { font-size:0.42rem; font-weight:700; color:rgba(255,255,255,0.55); letter-spacing:0.1em; text-transform:uppercase; }
.hub-ring {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  border-radius:50%; border:1px dashed rgba(255,255,255,0.08);
}
.hub-ring-1 { width:190px; height:190px; }
.hub-ring-2 { width:300px; height:300px; }
.hub-ring-3 { width:355px; height:355px; border-style:solid; border-color:rgba(30,58,138,0.25); }
.hub-node {
  position:absolute; top:50%; left:50%;
  width:64px; height:64px; border-radius:50%;
  background:rgba(10,18,36,0.95); border:1px solid rgba(255,255,255,0.1);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:3px; text-align:center; transition:all 0.2s;
}
.hub-node:hover { border-color:rgba(251,191,36,0.5); box-shadow:0 0 20px rgba(251,191,36,0.15); }
.hub-node .ni { font-size:1.1rem; }
.hub-node .nl { font-size:0.44rem; font-weight:600; color:rgba(255,255,255,0.55); line-height:1.2; }
/* 6 positions around a circle */
.hub-node-1 { transform: translate(calc(-50% + 0px),   calc(-50% - 118px)); }
.hub-node-2 { transform: translate(calc(-50% + 102px), calc(-50% - 59px)); }
.hub-node-3 { transform: translate(calc(-50% + 102px), calc(-50% + 59px)); }
.hub-node-4 { transform: translate(calc(-50% + 0px),   calc(-50% + 118px)); }
.hub-node-5 { transform: translate(calc(-50% - 102px), calc(-50% + 59px)); }
.hub-node-6 { transform: translate(calc(-50% - 102px), calc(-50% - 59px)); }

/* ============================
   PAGE HERO (interior pages)
   ============================ */
.page-hero {
  background: #060e1e;
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 80% at 72% 50%, rgba(18,42,110,0.7) 0%, transparent 65%);
}
.page-hero::after {
  content:''; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner {
  position:relative; z-index:1;
  display:grid; grid-template-columns:1fr 1fr;
  gap:64px; align-items:center;
}
.page-hero h1 { color:var(--white); margin-bottom:16px; }
.page-hero .subtitle { color:rgba(255,255,255,0.68); font-size:1.05rem; margin-bottom:32px; line-height:1.75; }
.page-hero-btns { display:flex; gap:16px; flex-wrap:wrap; }
.page-hero-graphic { display:flex; justify-content:center; }

/* Mini hub for interior pages */
.mini-hub-wrap { position:relative; width:260px; height:260px; }
.mini-hub-center {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:72px; height:72px; border-radius:50%;
  background:linear-gradient(135deg,#1E3A8A,#2563EB);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  box-shadow:0 0 0 10px rgba(30,58,138,0.18), 0 0 40px rgba(37,99,235,0.25);
  z-index:5;
}
.mini-hub-center .mu { font-size:1.1rem; font-weight:900; color:var(--yellow); line-height:1; }
.mini-hub-center .ml { font-size:0.38rem; font-weight:700; color:rgba(255,255,255,0.5); letter-spacing:0.08em; }
.mini-ring { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); border-radius:50%; border:1px dashed rgba(255,255,255,0.09); }
.mini-ring-1 { width:140px; height:140px; }
.mini-ring-2 { width:224px; height:224px; }
.mini-node {
  position:absolute; top:50%; left:50%;
  width:48px; height:48px; border-radius:50%;
  background:rgba(10,18,36,0.95); border:1px solid rgba(255,255,255,0.1);
  display:flex; align-items:center; justify-content:center; font-size:1rem;
}
.mn-1 { transform: translate(calc(-50% + 0px),   calc(-50% - 85px)); }
.mn-2 { transform: translate(calc(-50% + 74px),  calc(-50% - 42px)); }
.mn-3 { transform: translate(calc(-50% + 74px),  calc(-50% + 42px)); }
.mn-4 { transform: translate(calc(-50% + 0px),   calc(-50% + 85px)); }
.mn-5 { transform: translate(calc(-50% - 74px),  calc(-50% + 42px)); }
.mn-6 { transform: translate(calc(-50% - 74px),  calc(-50% - 42px)); }

/* ============================
   SECTION HEADERS
   ============================ */
.section-header { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-header.left { text-align:left; margin-left:0; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1rem; }

/* ============================
   CARDS
   ============================ */
.cards-grid { display:grid; gap:24px; }
.col-2 { grid-template-columns: repeat(2,1fr); }
.col-3 { grid-template-columns: repeat(3,1fr); }
.col-4 { grid-template-columns: repeat(4,1fr); }
.col-auto { grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); }

.card {
  background:var(--white); border:1px solid var(--border);
  border-radius:12px; padding:28px; transition:all 0.2s ease;
}
.card:hover { border-color:rgba(251,191,36,0.5); box-shadow:0 8px 32px rgba(0,0,0,0.06); transform:translateY(-2px); }
.card-dark { background:rgba(255,255,255,0.04); border-color:rgba(255,255,255,0.08); color:var(--white); }
.card-dark p { color:rgba(255,255,255,0.58); }
.card-dark:hover { border-color:rgba(251,191,36,0.35); }
.card-icon { width:48px; height:48px; background:rgba(251,191,36,0.1); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:16px; }
.card-dark .card-icon { background:rgba(251,191,36,0.1); }
.card h3 { margin-bottom:8px; font-size:1.05rem; }
.card p { font-size:0.875rem; }

/* Stats bar */
.stats-bar { display:flex; border-top:1px solid rgba(255,255,255,0.08); border-bottom:1px solid rgba(255,255,255,0.08); padding:44px 0; margin:0 0 8px; }
.stat-item { flex:1; text-align:center; padding:0 20px; border-right:1px solid rgba(255,255,255,0.08); }
.stat-item:last-child { border-right:none; }
.stat-num { display:block; font-size:2.2rem; font-weight:800; color:var(--yellow); }
.stat-label { font-size:0.8rem; color:rgba(255,255,255,0.55); margin-top:4px; display:block; }

/* Icon grid */
.icon-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:14px; margin-top:20px; }
.icon-item { display:flex; flex-direction:column; align-items:center; text-align:center; gap:8px; padding:18px 10px; border:1px solid var(--border); border-radius:10px; background:var(--white); transition:all 0.2s; }
.icon-item:hover { border-color:var(--yellow); box-shadow:0 4px 14px rgba(251,191,36,0.08); }
.icon-item .ii { font-size:1.5rem; }
.icon-item span:last-child { font-size:0.72rem; font-weight:600; color:var(--navy); line-height:1.3; }

/* Numbered section */
.section-block { padding:40px 0; border-bottom:1px solid var(--border); }
.section-block:last-child { border-bottom:none; }
.section-num { font-size:0.72rem; font-weight:700; color:var(--yellow); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:8px; }

/* Tags */
.tag { display:inline-block; font-size:0.72rem; font-weight:600; padding:4px 12px; border-radius:100px; background:rgba(251,191,36,0.1); color:var(--yellow); border:1px solid rgba(251,191,36,0.2); }
.tag-white { background:rgba(255,255,255,0.08); color:rgba(255,255,255,0.75); border-color:rgba(255,255,255,0.15); }
.tag-navy { background:rgba(15,23,42,0.08); color:var(--navy); border-color:rgba(15,23,42,0.15); }

/* Market cards */
.market-card { background:var(--white); border:1px solid var(--border); border-radius:12px; overflow:hidden; transition:all 0.2s; }
.market-card:hover { border-color:rgba(251,191,36,0.5); box-shadow:0 8px 32px rgba(0,0,0,0.07); }
.market-header { background:var(--navy); padding:18px 22px; display:flex; align-items:center; gap:12px; }
.market-header .mflag { font-size:1.5rem; }
.market-header h3 { color:var(--white); font-size:0.95rem; flex:1; }
.market-body { padding:20px 22px; }
.market-body p { font-size:0.85rem; margin-bottom:10px; }

/* Article cards */
.article-card { border:1px solid var(--border); border-radius:12px; overflow:hidden; transition:all 0.2s; background:var(--white); }
.article-card:hover { border-color:rgba(251,191,36,0.5); box-shadow:0 8px 32px rgba(0,0,0,0.07); transform:translateY(-2px); }
.article-img { height:170px; background:linear-gradient(135deg,var(--navy) 0%,var(--blue) 100%); display:flex; align-items:center; justify-content:center; font-size:2.5rem; }
.article-body { padding:22px; }
.article-meta { font-size:0.72rem; color:var(--grey); margin-bottom:8px; display:flex; gap:10px; }
.article-body h3 { font-size:0.95rem; margin-bottom:8px; line-height:1.4; }
.article-body p { font-size:0.82rem; }
.read-more { display:inline-flex; align-items:center; gap:5px; font-size:0.78rem; font-weight:600; color:var(--yellow); margin-top:14px; transition:gap 0.2s; }
.read-more:hover { gap:8px; }

/* Process steps */
.process-row { display:flex; gap:0; }
.proc-step { flex:1; text-align:center; position:relative; padding:0 12px; }
.proc-step::after { content:'→'; position:absolute; right:-12px; top:22px; font-size:1.1rem; color:var(--yellow); }
.proc-step:last-child::after { display:none; }
.proc-icon { width:52px; height:52px; border-radius:50%; background:var(--yellow); color:var(--navy); font-size:1.3rem; display:flex; align-items:center; justify-content:center; margin:0 auto 12px; font-weight:800; }
.proc-step h4 { font-size:0.82rem; color:var(--white); margin-bottom:4px; }
.proc-step p { font-size:0.72rem; color:rgba(255,255,255,0.5); }

/* Divider */
.divider { height:1px; background:var(--border); margin:0; }
.divider-dark { background:rgba(255,255,255,0.08); }

/* ============================
   ACQUISITION ECOSYSTEM CARDS
   ============================ */
.eco-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.eco-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 24px 28px;
  position: relative;
  transition: all 0.2s ease;
  overflow: hidden;
}
.eco-card:hover { border-color: rgba(251,191,36,0.4); box-shadow: 0 8px 32px rgba(0,0,0,0.07); transform: translateY(-2px); }
.eco-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.eco-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}
.eco-card p {
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.65;
  flex: 1;
}
.eco-accent {
  width: 40px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  margin-top: 20px;
}
@media (max-width: 900px) {
  .eco-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .eco-cards { grid-template-columns: 1fr; }
}

/* ============================
   ACQUISITION SOLUTIONS CARDS (dark bg, 6-col)
   ============================ */
.sol-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.sol-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 32px 16px 28px;
  transition: all 0.2s ease;
}
.sol-card:hover { border-color: rgba(251,191,36,0.35); background: rgba(255,255,255,0.07); transform: translateY(-2px); }
.sol-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.sol-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 10px;
  line-height: 1.35;
}
.sol-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
/* ============================
   GROWTH FRAMEWORK
   ============================ */
.gf-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.gf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 160px;
}
.gf-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.gf-step:hover .gf-icon-wrap { transform: translateY(-3px); }
.gf-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.gf-step p {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.6;
}
.gf-arrow {
  display: flex;
  align-items: center;
  padding-bottom: 48px; /* aligns with icon center */
  flex-shrink: 0;
  margin: 0 4px;
}
@media (max-width: 900px) {
  .gf-row { flex-wrap: wrap; justify-content: center; gap: 32px; }
  .gf-arrow { display: none; }
  .gf-step { max-width: 140px; }
}

@media (max-width: 1100px) {
  .sol-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .sol-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .sol-cards { grid-template-columns: 1fr; }
}

/* ============================
   MARKETS WE SUPPORT CARDS
   ============================ */
.mkt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mkt-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.mkt-card:hover { border-color: rgba(251,191,36,0.5); box-shadow: 0 8px 32px rgba(0,0,0,0.07); transform: translateY(-2px); }
.mkt-flag {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  font-size: 2.4rem;
  line-height: 1;
}
.mkt-body { padding: 20px 20px 12px; flex: 1; }
.mkt-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 8px; }
.mkt-top h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.mkt-body p { font-size: 0.82rem; color: var(--grey); line-height: 1.65; }
.mkt-foot { padding: 12px 20px 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.mkt-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--light);
  color: var(--navy);
  border: 1px solid var(--border);
}
@media (max-width: 900px) { .mkt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mkt-grid { grid-template-columns: 1fr; } }

/* ============================
   INSIGHTS PREVIEW
   ============================ */
.ins-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.ins-left { padding-top: 8px; }
.ins-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ins-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  background: var(--white);
}
.ins-card:hover { border-color: rgba(251,191,36,0.5); box-shadow: 0 6px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.ins-img {
  height: 130px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.ins-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--navy);
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}
.ins-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.ins-body h3 { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.4; }
.ins-body p { font-size: 0.8rem; color: var(--grey); line-height: 1.6; flex: 1; }
.ins-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.ins-date { font-size: 0.72rem; color: var(--grey); }
.ins-arrow { font-size: 0.9rem; color: var(--navy); font-weight: 600; transition: transform 0.2s; }
.ins-card:hover .ins-arrow { transform: translateX(3px); }
@media (max-width: 960px) { .ins-layout { grid-template-columns: 1fr; } .ins-left { display: flex; align-items: flex-start; gap: 32px; flex-wrap: wrap; } }
@media (max-width: 640px) { .ins-cards { grid-template-columns: 1fr; } }

/* ============================
   LET'S GROW TOGETHER CTA
   ============================ */
.cta-section {
  background:var(--navy);
  padding:88px 0;
  position:relative; overflow:hidden;
}
.cta-section::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 50% 80% at 50% 110%, rgba(30,58,138,0.5) 0%, transparent 65%);
}
.cta-section::after {
  content:''; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-inner { position:relative; z-index:1; display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.cta-text h2 { color:var(--white); margin-bottom:16px; }
.cta-text p { color:rgba(255,255,255,0.65); margin-bottom:32px; }
.cta-btns { display:flex; gap:16px; flex-wrap:wrap; }
.cta-form { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.1); border-radius:14px; padding:32px; }
.cta-form h3 { color:var(--white); margin-bottom:4px; }
.cta-form > p { font-size:0.8rem; color:rgba(255,255,255,0.45); margin-bottom:22px; }
.form-row { display:flex; gap:12px; }
.form-g { flex:1; margin-bottom:12px; }
.form-g input, .form-g select, .form-g textarea {
  width:100%; background:#ffffff; border:1px solid rgba(255,255,255,0.25);
  border-radius:6px; padding:11px 14px; font-family:var(--font); font-size:0.85rem; color:var(--navy); outline:none; transition:border-color 0.2s;
}
.form-g input::placeholder, .form-g textarea::placeholder { color:#9ca3af; }
.form-g input:focus, .form-g select:focus { border-color:var(--yellow); box-shadow:0 0 0 3px rgba(251,191,36,0.15); }
.form-g select { color:var(--navy); }
.form-g select option { background:#ffffff; color:var(--navy); }
.form-g textarea { resize:vertical; min-height:72px; }

/* ============================
   FOOTER
   ============================ */
footer { background:#07101F; padding:64px 0 0; }
.footer-grid { display:grid; grid-template-columns:2.2fr 1fr 1fr 1fr 1fr; gap:48px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,0.07); }
.footer-brand p { font-size:0.85rem; color:rgba(255,255,255,0.5); margin:16px 0 22px; line-height:1.7; }
.footer-social { display:flex; gap:10px; }
.footer-social a { width:34px; height:34px; border-radius:6px; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.09); display:flex; align-items:center; justify-content:center; font-size:0.85rem; color:rgba(255,255,255,0.6); transition:all 0.2s; }
.footer-social a:hover { background:var(--yellow); color:var(--navy); border-color:var(--yellow); }
.footer-col h4 { font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.12em; color:rgba(255,255,255,0.35); margin-bottom:16px; }
.footer-col li { margin-bottom:10px; }
.footer-col a { font-size:0.85rem; color:rgba(255,255,255,0.55); transition:color 0.2s; }
.footer-col a:hover { color:var(--yellow); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; padding:20px 0; font-size:0.78rem; color:rgba(255,255,255,0.3); }
.footer-links { display:flex; gap:22px; }
.footer-links a { color:rgba(255,255,255,0.35); transition:color 0.2s; }
.footer-links a:hover { color:rgba(255,255,255,0.7); }

/* ============================
   FOOTER V2 (inner pages — 6 cols)
   ============================ */
.footer-grid-v2 {
  display: grid;
  grid-template-columns: 2fr 1.4fr 0.8fr 0.8fr 0.7fr 0.7fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-bottom-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 1100px) {
  .footer-grid-v2 { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid-v2 .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid-v2 { grid-template-columns: 1fr 1fr; }
  .footer-bottom-v2 { flex-direction: column; text-align: center; }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .col-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links, .nav .btn { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: block; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: var(--navy); padding: 28px; z-index: 999; overflow-y: auto; transform: translateX(100%); transition: transform 0.3s; }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-nav a { display: block; padding: 14px 0; font-size: 1rem; color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.07); }
  .mobile-nav a:hover { color: var(--yellow); }
  .hero-inner, .page-hero-inner, .cta-inner { grid-template-columns: 1fr; }
  .hero-graphic, .page-hero-graphic { display: none; }
  .col-2, .col-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-right: none; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .process-row { flex-direction: column; gap: 24px; }
  .proc-step::after { display: none; }
  .cta-form { padding: 24px; }
  .form-row { flex-direction: column; gap: 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}


/* UM mobile scale fix — About/iPhone layout */
@media (max-width: 768px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  .section .container,
  .hero .container,
  footer .container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box;
  }

  .hero-inner,
  .cta-inner,
  .ins-layout,
  .footer-grid,
  .cards-grid,
  .eco-cards,
  .sol-cards,
  .mkt-grid,
  .gf-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 24px !important;
  }

  .hero-content,
  .hero-graphic,
  .card,
  .eco-card,
  .sol-card,
  .mkt-card,
  .gf-step,
  .cta-text,
  .cta-form,
  .footer-brand,
  .footer-col {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .hero h1,
  .page-hero h1,
  h1 {
    font-size: clamp(2rem, 10vw, 3rem) !important;
    line-height: 1.08 !important;
    max-width: 100% !important;
    word-break: normal;
  }

  h2 {
    font-size: clamp(1.5rem, 7vw, 2.1rem) !important;
    line-height: 1.15 !important;
  }

  p,
  li,
  a,
  .subtitle {
    max-width: 100% !important;
  }

  img,
  svg,
  video {
    max-width: 100% !important;
    height: auto !important;
  }

  .hero-svg,
  .about-svg,
  .page-visual svg,
  .hero-graphic svg {
    width: 100% !important;
    max-width: 360px !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }

  .nav-inner {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .nav-links {
    display: none !important;
  }

  .burger {
    display: flex !important;
  }

  .nav .btn {
    display: none !important;
  }

  .mobile-nav.open {
    display: flex !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  .footer-links {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .um-social-links {
    display: flex !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    margin-top: 18px !important;
  }
}



/* UM MOBILE TARGETED FIX — About + Markets sections */
@media (max-width: 768px) {

  /* Stop sideways page movement on iPhone */
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
  }

  /* ABOUT PAGE:
     Built On Experience. Focused On Growth.
     Force the four cards into one clean mobile column */
  .cards-grid.col-4 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .cards-grid.col-4 .card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .cards-grid.col-4 .card h3,
  .cards-grid.col-4 .card p {
    max-width: 100% !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  /* MARKETS PAGE:
     Every Market Is Different.
     The original block uses inline desktop grid styles.
     This forces that specific two-column block to stack on mobile. */
  section .container > div[style*="grid-template-columns:1fr 1fr"],
  section .container > div[style*="grid-template-columns: 1fr 1fr"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  section .container > div[style*="grid-template-columns:1fr 1fr"] > div,
  section .container > div[style*="grid-template-columns: 1fr 1fr"] > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Make the dark 'How We Approach New Markets' box fit the screen */
  section .container > div[style*="grid-template-columns:1fr 1fr"] > div > div[style*="background:var(--navy)"],
  section .container > div[style*="grid-template-columns: 1fr 1fr"] > div > div[style*="background:var(--navy)"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 28px 24px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Market bullet rows */
  section .container > div[style*="grid-template-columns:1fr 1fr"] div[style*="display:flex;gap:16px"],
  section .container > div[style*="grid-template-columns: 1fr 1fr"] div[style*="display:flex;gap:16px"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Keep text readable */
  section .container > div[style*="grid-template-columns:1fr 1fr"] h2,
  section .container > div[style*="grid-template-columns: 1fr 1fr"] h2 {
    font-size: clamp(2rem, 9vw, 2.6rem) !important;
    line-height: 1.12 !important;
  }

  section .container > div[style*="grid-template-columns:1fr 1fr"] p,
  section .container > div[style*="grid-template-columns: 1fr 1fr"] p {
    max-width: 100% !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
}



/* UM MOBILE MENU FIX — keep menu closed until burger is clicked */
@media (max-width: 768px) {
  .nav-links,
  .nav .btn,
  .nav-inner > .btn {
    display: none !important;
  }

  .burger {
    display: flex !important;
  }

  .mobile-nav {
    display: none !important;
    position: fixed !important;
    top: 92px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    background: var(--navy) !important;
    padding: 24px !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
  }

  .mobile-nav.open {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .mobile-nav a {
    display: block !important;
    width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
    white-space: normal !important;
  }
}
