:root {
  --bg: #edf0f3;
  --bg-strong: #dfe4e9;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: #ffffff;
  --panel-soft: #f1f3f5;
  --primary: #102d46;
  --primary-2: #1b496d;
  --primary-3: #0c2439;
  --accent: #c5a15a;
  --accent-soft: #f2e8d1;
  --text: #1b2d3d;
  --muted: #5a6875;
  --border: rgba(16, 45, 70, 0.14);
  --shadow: 0 22px 52px rgba(16, 39, 59, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: "Aptos", "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(197, 161, 90, 0.13), transparent 25%),
    linear-gradient(180deg, #f5f6f7 0%, #e9edf1 42%, #f4f5f6 100%);
}

main {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(223, 228, 233, 0.12));
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

main {
  padding-bottom: 80px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 248, 250, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 45, 70, 0.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo span {
  color: var(--accent);
  display: inline-block;
  margin-bottom: 0.08em;
  position: relative;
}

.logo span::after {
  content: "";
  position: absolute;
  right: -0.12em;
  bottom: 0.18em;
  width: 0.3em;
  height: 0.3em;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.92;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-item {
  position: relative;
}

.nav-link,
.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--text);
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav-item:hover > .nav-link,
.nav-link:hover,
.menu-button:hover {
  background: rgba(16, 45, 70, 0.06);
}

.nav-link {
  white-space: nowrap;
}

.nav-link.is-current {
  background: rgba(197, 161, 90, 0.2);
  color: var(--primary);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(197, 161, 90, 0.28);
}

.nav-item.dropdown .nav-link::after {
  content: "";
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
  opacity: 0.75;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: rgba(249, 250, 251, 0.99);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
}

.dropdown-menu a:hover {
  background: rgba(16, 45, 70, 0.06);
}

.cta-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 208px;
  min-height: 64px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: center;
  box-shadow: 0 16px 28px rgba(15, 47, 75, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(15, 47, 75, 0.2);
}

.section {
  padding: 68px 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid rgba(16, 45, 70, 0.07);
}

.market-intro {
  padding: 72px 0 58px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 10%, rgba(197, 161, 90, 0.15), transparent 28%),
    linear-gradient(135deg, #e0e5ea, #f2f4f6);
}

.market-intro .container {
  max-width: 900px;
}

.market-intro h1 {
  margin: 0 auto 18px;
}

.market-intro p {
  max-width: 66ch;
  margin: 0 auto;
}

.market-overview {
  padding-top: 34px;
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.service-overview-card {
  display: flex;
  grid-column: span 2;
  min-width: 0;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(17, 34, 48, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-overview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 161, 90, 0.62);
  box-shadow: var(--shadow);
}

.service-overview-card:focus-visible {
  outline: 3px solid rgba(197, 161, 90, 0.7);
  outline-offset: 4px;
}

.service-overview-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-overview-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.service-overview-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-overview-card h2 {
  max-width: none;
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 1.8vw, 1.8rem);
  line-height: 1.18;
  text-align: left;
}

.service-overview-card p {
  margin-bottom: 18px;
}

.service-overview-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 24px;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.94rem;
  list-style: none;
}

.service-overview-card li {
  position: relative;
  padding-left: 18px;
}

.service-overview-card li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "•";
  font-weight: 800;
}

.service-overview-link {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--primary);
  font-weight: 700;
}

.service-overview-link span {
  color: var(--accent);
  font-size: 1.2em;
  transition: transform 0.2s ease;
}

.service-overview-card:hover .service-overview-link span {
  transform: translateX(4px);
}

.market-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.market-overview-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(16, 39, 59, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.market-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.market-overview-card > img,
.market-regional-art {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.market-overview-card > img {
  height: auto;
  object-fit: cover;
}

.market-overview-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.market-overview-copy .kicker {
  margin: 0 0 12px;
}

.market-overview-copy h2 {
  max-width: none;
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.16;
  text-align: left;
}

.market-overview-copy p {
  margin-bottom: 22px;
}

.market-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--primary);
  font-weight: 700;
}

.market-card-link span {
  color: var(--accent);
  font-size: 1.2em;
  transition: transform 0.2s ease;
}

.market-overview-card:hover .market-card-link span {
  transform: translateX(4px);
}

.market-regional-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background:
    radial-gradient(circle at 50% 45%, rgba(197, 161, 90, 0.3), transparent 28%),
    linear-gradient(135deg, var(--primary), var(--primary-3));
  color: #fff;
}

.market-regional-art span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.market-regional-art i {
  width: 76px;
  height: 1px;
  background: var(--accent);
}

.market-detail-hero {
  padding: 82px 0 74px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 10%, rgba(197, 161, 90, 0.16), transparent 28%),
    linear-gradient(135deg, #e0e5ea, #f2f4f6);
}

.market-detail-hero .container {
  max-width: 950px;
}

.market-detail-hero h1 {
  max-width: 23ch;
  margin: 0 auto 18px;
}

.market-detail-hero p {
  max-width: 68ch;
  margin: 0 auto 26px;
}

.market-detail-section {
  background: rgba(241, 243, 245, 0.68);
}

.market-detail-alt {
  background: linear-gradient(135deg, rgba(223, 228, 233, 0.72), rgba(247, 248, 249, 0.94));
}

.market-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.market-detail-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-top: 2px solid rgba(197, 161, 90, 0.8);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(17, 34, 48, 0.05);
  text-align: center;
}

.market-detail-card h3 {
  margin: 10px 0;
  font-size: 1.45rem;
}

.market-detail-card p {
  margin: 0;
}

.market-detail-number {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.market-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
}

.market-question {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
  font-weight: 600;
  text-align: center;
}

.market-closing-note {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
}

.market-section {
  scroll-margin-top: 96px;
}

.market-malaysia {
  background: linear-gradient(135deg, rgba(223, 228, 233, 0.76), rgba(246, 247, 248, 0.92));
}

.market-indonesia {
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.96), rgba(229, 234, 239, 0.82));
}

.market-regional {
  background:
    radial-gradient(circle at 100% 0%, rgba(197, 161, 90, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(218, 225, 232, 0.94), rgba(240, 243, 246, 0.96));
}

.market-section .section-header {
  margin-bottom: 38px;
}

.market-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 390px;
  aspect-ratio: 16 / 6;
  margin: 0 0 42px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg-strong);
  box-shadow: var(--shadow);
}

.market-image::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(12, 36, 57, 0.62));
  content: "";
  pointer-events: none;
}

.market-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-image figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(12, 36, 57, 0.58);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.market-section .two-col {
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.market-section .two-col > :first-child {
  max-width: 60ch;
}

.market-section .two-col > :first-child p:last-of-type {
  margin-bottom: 22px;
}

.market-section .two-col ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.market-section .two-col li + li {
  margin-top: 8px;
}

.market-section .highlight-box,
.market-section .quote {
  min-height: 100%;
  padding: clamp(26px, 3vw, 38px);
}

.market-section .btn-row {
  justify-content: center;
  margin-top: 34px;
}

.section-header {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.section-header > p {
  max-width: 66ch;
  margin: 0 auto;
}

.kicker {
  display: table;
  margin-inline: auto;
  margin-bottom: 14px;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.12;
  font-family: "Palatino Linotype", "Book Antiqua", Baskerville, Georgia, serif;
  color: var(--primary);
}

h1,
h2 {
  text-align: center;
  text-wrap: balance;
}

h3 {
  text-align: center;
  text-wrap: balance;
}

.card h3 a,
.service h3 a,
.market h3 a,
.platform h3 a,
.insight h3 a,
.faq-item h3 a {
  color: var(--text);
}

h1 {
  max-width: 24ch;
  margin-inline: auto;
  font-size: clamp(2.4rem, 4.2vw, 3.9rem);
  letter-spacing: -0.045em;
}

h2 {
  max-width: 30ch;
  margin-inline: auto;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.25rem, 1.5vw, 1.6rem);
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

.lead {
  font-size: 1.12rem;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel-strong);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(15, 47, 75, 0.08);
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
  color: #fff;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  padding: 80px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(197, 161, 90, 0.19), transparent 25%),
    linear-gradient(135deg, rgba(223, 228, 233, 0.96), rgba(241, 243, 245, 0.94));
}

.hero.home-hero {
  background:
    radial-gradient(circle at top left, rgba(197, 161, 90, 0.18), transparent 25%),
    linear-gradient(90deg, rgba(223, 228, 233, 0.9) 0%, rgba(241, 243, 245, 0.8) 52%, rgba(241, 243, 245, 0.6) 100%),
    url("assets/markets/malaysia.png") center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-grid > div:first-child {
  text-align: center;
}

.hero-grid > div:first-child > .kicker {
  margin-inline: auto;
}

.hero-grid > div:first-child p {
  max-width: 62ch;
  margin-inline: auto;
}

.hero-grid > div:first-child .btn-row {
  justify-content: center;
}

.hero-card {
  overflow: hidden;
  background: rgba(250, 251, 252, 0.86);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card-content {
  padding: 24px 28px 28px;
}

.hero-card h3 {
  margin-bottom: 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.stat {
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 14px;
  text-align: center;
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--primary);
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.card-grid,
.services-grid,
.market-grid,
.platform-grid,
.insights-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card-grid:has(> :nth-child(5):last-child),
.services-grid:has(> :nth-child(5):last-child),
.market-grid:has(> :nth-child(5):last-child),
.platform-grid:has(> :nth-child(5):last-child),
.insights-grid:has(> :nth-child(5):last-child),
.faq-grid:has(> :nth-child(5):last-child) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.card-grid:has(> :nth-child(5):last-child) > *,
.services-grid:has(> :nth-child(5):last-child) > *,
.market-grid:has(> :nth-child(5):last-child) > *,
.platform-grid:has(> :nth-child(5):last-child) > *,
.insights-grid:has(> :nth-child(5):last-child) > *,
.faq-grid:has(> :nth-child(5):last-child) > * {
  grid-column: span 2;
}

.card-grid:has(> :nth-child(5):last-child) > :nth-child(4),
.services-grid:has(> :nth-child(5):last-child) > :nth-child(4),
.market-grid:has(> :nth-child(5):last-child) > :nth-child(4),
.platform-grid:has(> :nth-child(5):last-child) > :nth-child(4),
.insights-grid:has(> :nth-child(5):last-child) > :nth-child(4),
.faq-grid:has(> :nth-child(5):last-child) > :nth-child(4) {
  grid-column: 2 / span 2;
}

.card-grid:has(> :nth-child(5):last-child) > :nth-child(5),
.services-grid:has(> :nth-child(5):last-child) > :nth-child(5),
.market-grid:has(> :nth-child(5):last-child) > :nth-child(5),
.platform-grid:has(> :nth-child(5):last-child) > :nth-child(5),
.insights-grid:has(> :nth-child(5):last-child) > :nth-child(5),
.faq-grid:has(> :nth-child(5):last-child) > :nth-child(5) {
  grid-column: 4 / span 2;
}

.card,
.service,
.market,
.platform,
.insight,
.faq-item,
.step {
  background: var(--panel);
  border: 1px solid var(--border);
  border-top: 2px solid rgba(197, 161, 90, 0.72);
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: 0 12px 30px rgba(17, 34, 48, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.card:hover,
.service:hover,
.market:hover,
.platform:hover,
.insight:hover,
.faq-item:hover,
.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(17, 34, 48, 0.08);
}

.service h3,
.market h3,
.platform h3,
.insight h3,
.card h3 {
  margin-bottom: 10px;
  line-height: 1.18;
}

.service ul,
.market ul,
.platform ul,
.insight ul,
.faq-item ul,
.meta-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  text-align: left;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
}

.highlight-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-top: 3px solid var(--accent);
  border-radius: 30px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.highlight-box h2,
.highlight-box h3,
.highlight-box p,
.highlight-box li {
  color: rgba(255, 255, 255, 0.9);
}

.center-section {
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 10px;
}

.quote {
  background: linear-gradient(180deg, rgba(250, 251, 252, 0.98), rgba(235, 239, 243, 0.94));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  font-size: 1.06rem;
  box-shadow: 0 12px 28px rgba(17, 34, 48, 0.04);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-shell {
  background: rgba(249, 250, 251, 0.94);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-section {
  background:
    radial-gradient(circle at 8% 0%, rgba(197, 161, 90, 0.1), transparent 27%),
    linear-gradient(135deg, rgba(223, 228, 233, 0.5), rgba(246, 247, 248, 0.88));
}

.contact-container {
  display: grid;
  gap: 34px;
}

.contact-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro h1 {
  max-width: none;
}

.contact-intro p {
  max-width: 68ch;
  margin-inline: auto;
}

.contact-direct-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 20px;
}

.contact-direct-links a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.contact-services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.contact-services li {
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  font-size: 0.9rem;
}

.contact-form-shell {
  width: 100%;
  padding: clamp(24px, 4vw, 42px);
}

.contact-form-shell h2 {
  margin-bottom: 28px;
}

.contact-form-shell .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 18px;
}

.contact-form-shell .field {
  min-width: 0;
}

.contact-form-shell label {
  min-height: 1.5em;
  font-size: 0.95rem;
}

.contact-form-shell input,
.contact-form-shell select {
  min-height: 50px;
}

.contact-form-shell textarea {
  min-height: 96px;
}

.contact-form-shell .field.full {
  grid-column: 1 / -1;
}

.contact-form-shell .field.full:last-child {
  display: grid;
  justify-items: start;
}

.contact-form-shell #form-status {
  margin-bottom: 0;
}

input,
textarea,
select,
button {
  font: inherit;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  color: var(--primary);
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fbfcfd;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(29, 79, 115, 0.6);
  box-shadow: 0 0 0 4px rgba(29, 79, 115, 0.08);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

#form-status {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(30, 165, 116, 0.1);
  border: 1px solid rgba(30, 165, 116, 0.25);
  color: #0e5d42;
}

.site-footer {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-3) 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 28px;
}

.footer-grid a,
.site-footer p {
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1100px) {
  .hero-grid,
  .two-col,
  .process-steps,
  .card-grid,
  .services-grid,
  .market-grid,
  .platform-grid,
  .insights-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .market-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-overview-card,
  .service-overview-card:nth-child(4) {
    grid-column: auto;
  }

  .service-overview-card:nth-child(5) {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }

  .market-overview-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 11px);
    justify-self: center;
  }

  .market-detail-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-shell .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid:has(> :nth-child(5):last-child),
  .services-grid:has(> :nth-child(5):last-child),
  .market-grid:has(> :nth-child(5):last-child),
  .platform-grid:has(> :nth-child(5):last-child),
  .insights-grid:has(> :nth-child(5):last-child),
  .faq-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid:has(> :nth-child(5):last-child) > :nth-child(4),
  .services-grid:has(> :nth-child(5):last-child) > :nth-child(4),
  .market-grid:has(> :nth-child(5):last-child) > :nth-child(4),
  .platform-grid:has(> :nth-child(5):last-child) > :nth-child(4),
  .insights-grid:has(> :nth-child(5):last-child) > :nth-child(4),
  .faq-grid:has(> :nth-child(5):last-child) > :nth-child(4) {
    grid-column: auto;
  }

  .card-grid:has(> :nth-child(5):last-child) > :nth-child(5),
  .services-grid:has(> :nth-child(5):last-child) > :nth-child(5),
  .market-grid:has(> :nth-child(5):last-child) > :nth-child(5),
  .platform-grid:has(> :nth-child(5):last-child) > :nth-child(5),
  .insights-grid:has(> :nth-child(5):last-child) > :nth-child(5),
  .faq-grid:has(> :nth-child(5):last-child) > :nth-child(5) {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }

  .navbar {
    flex-wrap: wrap;
    padding-block: 12px;
    row-gap: 6px;
  }

  .nav-links {
    order: 3;
    flex: 1 0 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 10px;
  }

  .cta-nav {
    margin-left: auto;
  }

  .nav-link {
    padding: 9px 10px;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 8px 0 0 12px;
    background: transparent;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    display: block;
  }
}

@media (max-width: 640px) {
  .card-grid,
  .services-grid,
  .market-grid,
  .platform-grid,
  .insights-grid,
  .faq-grid,
  .form-grid,
  .two-col,
  .mini-grid,
  .footer-grid,
  .process-steps,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .card-grid:has(> :nth-child(5):last-child),
  .services-grid:has(> :nth-child(5):last-child),
  .market-grid:has(> :nth-child(5):last-child),
  .platform-grid:has(> :nth-child(5):last-child),
  .insights-grid:has(> :nth-child(5):last-child),
  .faq-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: 1fr;
  }

  .card-grid:has(> :nth-child(5):last-child) > *,
  .services-grid:has(> :nth-child(5):last-child) > *,
  .market-grid:has(> :nth-child(5):last-child) > *,
  .platform-grid:has(> :nth-child(5):last-child) > *,
  .insights-grid:has(> :nth-child(5):last-child) > *,
  .faq-grid:has(> :nth-child(5):last-child) > * {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }

  .section {
    padding: 58px 0;
  }

  .contact-container {
    gap: 26px;
  }

  .contact-form-shell {
    padding: 22px 18px;
  }

  .contact-form-shell .form-grid {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .contact-form-shell .field.full {
    grid-column: auto;
  }

  .contact-services {
    gap: 8px;
  }

  .market-intro {
    padding: 56px 0 42px;
  }

  .market-overview {
    padding-top: 24px;
  }

  .market-overview-grid,
  .market-question-grid {
    grid-template-columns: 1fr;
  }

  .services-overview-grid {
    grid-template-columns: 1fr;
  }

  .service-overview-card,
  .service-overview-card:nth-child(4),
  .service-overview-card:nth-child(5) {
    grid-column: auto;
    width: auto;
  }

  .market-overview-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .market-overview-card > img,
  .market-regional-art {
    aspect-ratio: 4 / 3;
  }

  .market-overview-copy {
    padding: 20px;
  }

  .market-detail-hero {
    padding: 58px 0 52px;
  }

  .market-detail-section {
    padding: 54px 0;
  }

  .market-section {
    padding: 54px 0;
  }

  .market-image {
    aspect-ratio: 4 / 3;
    margin-bottom: 28px;
    border-radius: 18px;
  }

  .market-image figcaption {
    right: 14px;
    bottom: 14px;
    font-size: 0.82rem;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .navbar {
    min-height: 0;
    justify-content: space-between;
  }

  .cta-nav {
    display: none;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    align-items: start;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(16, 45, 70, 0.12);
  }

  .nav-item {
    min-width: 0;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .dropdown-menu {
    display: none;
  }

  .dropdown:focus-within .dropdown-menu {
    display: block;
    padding: 2px 0 4px 8px;
  }

  .dropdown-menu a {
    padding: 7px 8px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 2.7rem);
  }

  h2 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
  }

  .hero {
    padding: 60px 0 54px;
  }

  .hero-grid {
    gap: 30px;
  }

  .btn-row {
    flex-direction: column;
  }

  .btn,
  .cta-nav {
    width: 100%;
  }

  .hero-card,
  .form-shell,
  .highlight-box {
    padding: 20px 18px;
  }
}

/* =========================================
   RESPONSIVE HAMBURGER MENU
   ========================================= */

/* 1. Desktop - Hide hamburger button */
.site-header .navbar #menuToggle {
    display: none !important;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

/* 2. Hamburger icon styling */
.site-header .navbar #menuToggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #0b1f3a;
    border-radius: 2px;
}

.site-logo {
    display: block;
    width: auto;
    height: 65px;
    max-width: 100%;
    object-fit: contain;
}

/* 3. Mobile View - 768px and below */
@media screen and (max-width: 768px) {

    /* Show hamburger button */
    .site-header .navbar #menuToggle {
        display: flex !important;
    }

    /* Hide CTA button on mobile */
    .site-header .navbar .cta-nav {
        display: none;
    }

    /* Hide navigation menu by default */
    .site-header .navbar .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    /* Show navigation menu when clicked */
    .site-header .navbar .nav-links.active {
        display: flex !important;
    }

    .site-logo {
        width: auto;
        height: 60px;
        max-width: 100%;
        object-fit: contain;
    }
}
