/* ═══════════════════════════════════════════════════════════════
   UNIVA Theme — main.css
   Converted from HTML mockup. Brand tokens → mockup exact values.
   ═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --indigo:      #201B69;
  --amber:       #F5B62D;
  --charcoal:    #1A1A1A;
  --indigo-dark: #17136B;
  --indigo-mid:  #2E2580;
  --off-white:   #FAFAFA;
  --line:        #E5E5E5;
  --header-h:    72px;
  --container:   1200px;
  /* Legacy aliases for blog/WP-specific styles */
  --primary:     #201B69;
  --primary-h:   #3D2B85;
  --primary-dk:  #17136B;
  --accent:      #F5B62D;
  --accent-h:    #D49A1A;
  --accent-lt:   #FDF0C7;
  --surface:     #FAFAFA;
  --gray-600:    #555555;
  --gray-400:    #999999;
  --gray-200:    #E5E5E5;
  --gray-100:    #F0F0F0;
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;
}

/* ── RESET ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font: 400 16px/28px 'Poppins', sans-serif;
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* Typography scale */
h1 { font: 700 40px/48px 'Poppins', sans-serif; letter-spacing: -0.01em; }
h2 { font: 600 28px/36px 'Poppins', sans-serif; letter-spacing: -0.005em; }
h3 { font: 600 20px/28px 'Poppins', sans-serif; }
h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 500; }
.caption { font: 300 12px/18px 'Poppins', sans-serif; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Reusable eyebrow */
.eyebrow {
  font: 500 12px/18px 'Poppins', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

/* Pattern Cube — isometric cube grid */
.pattern-cube {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='92' viewBox='0 0 80 92'><g fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1'><path d='M40 4 L72 22 L72 58 L40 76 L8 58 L8 22 Z'/><path d='M40 4 L40 40'/><path d='M40 40 L72 22'/><path d='M40 40 L8 22'/><path d='M40 40 L40 76'/></g></svg>");
  background-size: 80px 92px;
  pointer-events: none;
}

/* ── LOGO ── */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 20px/1 'Poppins', sans-serif;
  letter-spacing: 0.04em;
}
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-text { color: #fff; }
.logo--dark .logo-text { color: var(--indigo); }

/* Custom logo (uploaded via WP Admin) */
.site-header .custom-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.site-header .custom-logo { height: 36px; width: auto; }
.site-footer .custom-logo-link { display: inline-flex; align-items: center; }
.site-footer .custom-logo { height: 28px; width: auto; filter: brightness(0) invert(1); }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--indigo);
  height: var(--header-h);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

/* Main nav — bare <a> fallback AND wp_nav_menu <ul><li><a> */
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a,
.main-nav .main-nav-list > li > a {
  color: #fff;
  font: 500 14px/22px 'Poppins', sans-serif;
  transition: color 0.2s ease;
}
.main-nav a:hover,
.main-nav .main-nav-list > li > a:hover,
.main-nav .main-nav-list > li.current-menu-item > a { color: var(--amber); }
/* Flatten WordPress UL/LI so flex gap applies */
.main-nav > ul.main-nav-list {
  display: flex; align-items: center; gap: 32px; list-style: none;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--amber);
  color: var(--amber);
  padding: 8px 20px;
  border-radius: 4px;
  font: 500 14px/22px 'Poppins', sans-serif;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--amber); color: var(--indigo); }

.hamburger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.hamburger span {
  display: block; height: 2px; background: #fff; border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; top: 0; right: 0;
  width: 78%; max-width: 320px; height: 100vh;
  background: var(--indigo);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1200;
  padding: 20px 24px 32px;
  display: flex; flex-direction: column; gap: 0;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

/* Drawer header: logo + close button */
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 8px;
  flex-shrink: 0;
}
.drawer-logo { border-bottom: none !important; padding: 0 !important; }
.drawer-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  padding: 0; flex-shrink: 0;
}
.drawer-close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.drawer-close svg { width: 20px; height: 20px; }

.mobile-drawer a,
.mobile-drawer .mobile-nav-list > li > a {
  color: #fff; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font: 500 16px/24px 'Poppins', sans-serif;
  display: block;
}
.mobile-drawer > .mobile-nav-list { list-style: none; }

/* CTA button in drawer — filled amber, full-width */
.mobile-drawer .drawer-cta {
  display: block; text-align: center;
  margin-top: 20px;
  background: var(--amber); color: var(--indigo) !important;
  border: none; border-bottom: none !important;
  border-radius: 4px;
  padding: 13px 20px;
  font: 600 15px/22px 'Poppins', sans-serif;
  transition: background 0.2s;
}
.mobile-drawer .drawer-cta:hover { background: #D49A1A; }
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1100;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

/* WordPress admin bar offset */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) and (min-width: 601px) {
  .admin-bar .site-header { top: 46px; }
}
@media screen and (max-width: 600px) {
  #wpadminbar { display: none !important; }
  html:root, html.admin-bar { margin-top: 0 !important; }
  .admin-bar .site-header { top: 0 !important; }
}

/* ── SECTION 1 — HERO ── */
.section-hero {
  position: relative;
  background: var(--indigo);
  color: #fff;
  overflow: hidden;
}
.hero-slides-wrap {
  position: relative;
  height: 620px;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease;
  pointer-events: none;
  padding: 80px 40px;
  display: flex; align-items: center;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(32,27,105,0.88) 0%, rgba(32,27,105,0.6) 100%);
}
.hero-slide > .container { position: relative; z-index: 2; width: 100%; }
.hero-slide .hero-copy > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-slide.active .hero-copy > * {
  opacity: 1; transform: translateY(0);
}
.hero-slide.active .hero-copy > *:nth-child(1) { transition-delay: 0.1s; }
.hero-slide.active .hero-copy > *:nth-child(2) { transition-delay: 0.2s; }
.hero-slide.active .hero-copy > *:nth-child(3) { transition-delay: 0.3s; }
.hero-slide.active .hero-copy > *:nth-child(4) { transition-delay: 0.4s; }
.hero-slide.active .hero-copy > *:nth-child(5) { transition-delay: 0.5s; }
.hero-slide .hero-visual-wrap {
  opacity: 0; transform: translateX(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.hero-slide.active .hero-visual-wrap {
  opacity: 1; transform: translateX(0);
}
.section-hero .pattern-cube { position: relative; z-index: 3; }
.hero-slide-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.35); cursor: pointer;
  transition: background 0.3s, transform 0.3s; padding: 0;
}
.hero-dot.active { background: var(--amber); transform: scale(1.35); }

.hero-prev, .hero-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 4;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(4px);
  padding: 0;
}
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-prev:hover, .hero-next:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.7);
}
.hero-prev svg, .hero-next svg { width: 20px; height: 20px; }

.hero-deco {
  position: absolute; right: -120px; bottom: -120px;
  width: 520px; height: 520px;
  background: linear-gradient(135deg, var(--indigo) 60%, var(--amber) 100%);
  opacity: 0.4; border-radius: 50%; filter: blur(2px);
  pointer-events: none; z-index: 1;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 6fr 4fr; gap: 56px;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: 56px; line-height: 1.08; margin-bottom: 24px; color: #fff; }
.hero h1 em { color: var(--amber); font-style: normal; }
.hero-sub {
  font: 400 16px/28px 'Poppins', sans-serif;
  color: #EDEDED;
  max-width: 540px; margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 4px;
  font: 500 14px/20px 'Poppins', sans-serif;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: scale(1.02); }
.btn-primary {
  background: var(--amber); color: var(--indigo); font-weight: 600;
}
.btn-primary:hover { background: #ffc449; color: var(--indigo); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.75); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.14); border-color: #fff; color: #fff; }
.btn-amber-solid {
  background: var(--amber); color: var(--indigo); font-weight: 600; padding: 14px 32px;
}
.btn-amber-solid:hover { transform: scale(1.03); background: #ffc449; }
.btn-outline-white { border: 1.5px solid #fff; color: #fff; padding: 14px 32px; font-weight: 500; }
.btn-outline-white:hover { background: #fff; color: var(--indigo); transform: scale(1.03); }
.hero-markets {
  font: 300 12px/18px 'Poppins', sans-serif;
  color: #D5D5D5; letter-spacing: 0.04em;
  display: flex; gap: 12px; align-items: center;
}
.hero-visual-wrap { position: relative; }
.hero-visual {
  position: relative; aspect-ratio: 4/3;
  background: var(--indigo-mid); border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none'><path d='M50 50 L100 150 L150 50 L130 50 L100 110 L70 50 Z' fill='%23ffffff' opacity='0.92'/><path d='M120 50 L150 50 L138 75 L128 60 Z' fill='%23F5B62D'/></g></svg>") center / 60% no-repeat;
  pointer-events: none;
}
.hero-visual.has-image::before { display: none; }
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='92' viewBox='0 0 80 92'><g fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1'><path d='M40 4 L72 22 L72 58 L40 76 L8 58 L8 22 Z'/><path d='M40 4 L40 40'/><path d='M40 40 L72 22'/><path d='M40 40 L8 22'/><path d='M40 40 L40 76'/></g></svg>");
  background-size: 80px 92px; pointer-events: none;
}
.hero-visual.has-image::after { opacity: 0.4; }
.hero-badge {
  position: absolute; right: -12px; bottom: 28px;
  background: var(--amber); color: var(--indigo);
  padding: 12px 18px; border-radius: 6px;
  font: 600 14px/18px 'Poppins', sans-serif;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25); z-index: 3;
}
.hero-badge small {
  display: block; font: 500 10px/14px 'Poppins', sans-serif;
  letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7;
}

/* ── SECTION 2 — STATS ── */
.section-stats {
  background: var(--indigo);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.section-stats::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='92' viewBox='0 0 80 92'><g fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'><path d='M40 4 L72 22 L72 58 L40 76 L8 58 L8 22 Z'/><path d='M40 4 L40 40'/><path d='M40 40 L72 22'/><path d='M40 40 L8 22'/><path d='M40 40 L40 76'/></g></svg>");
  background-size: 80px 92px;
  pointer-events: none;
}
.stats-head { text-align: center; margin-bottom: 56px; position: relative; z-index: 2; }
.stats-head .caption {
  font: 600 clamp(1.1rem, 2vw, 1.4rem)/1.4 'Poppins', sans-serif;
  color: rgba(255,255,255,0.70);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative; z-index: 2;
}
.stat-card {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.stat-card:last-child { border-right: none; }
.stat-number {
  font: 700 clamp(2.5rem, 4vw, 3.75rem)/1.1 'Poppins', sans-serif;
  color: #fff;
  letter-spacing: -0.03em;
}
.stat-underline {
  width: 32px; height: 2px; background: var(--amber);
  margin: 10px auto 14px; border-radius: 2px;
  opacity: 0.7;
}
.stat-label {
  font: 600 13px/18px 'Poppins', sans-serif;
  color: rgba(255,255,255,0.90);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.stat-desc {
  font: 300 11px/16px 'Poppins', sans-serif;
  color: rgba(255,255,255,0.50);
}

/* ── SECTION 3 — MARKETS ── */
.section-markets { background: #fff; padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { color: var(--indigo); margin-bottom: 12px; }
.section-head .caption { font-style: normal; color: #555555; font-size: 15px; }
.culture-head .eyebrow { margin-bottom: 12px; }
.markets-grid { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 48px; align-items: stretch; }
.markets-divider { background: linear-gradient(to bottom, transparent, var(--line) 20%, var(--line) 80%, transparent); }
.market-card { padding: 24px 8px; display: flex; flex-direction: column; gap: 20px; }
.market-card h3 { font-size: 24px; color: var(--indigo); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.market-meta {
  display: inline-flex; gap: 16px;
  font: 500 12px/18px 'Poppins', sans-serif; color: #666666;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.market-meta strong { color: var(--indigo); font-weight: 600; }
.platform-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.platform-list li {
  display: flex; align-items: center; gap: 10px;
  font: 500 14px/22px 'Poppins', sans-serif; color: var(--charcoal);
  padding: 10px 14px; background: var(--off-white); border-radius: 6px;
}
.platform-list li::before {
  content: ""; width: 6px; height: 6px;
  background: var(--amber); border-radius: 50%; flex: 0 0 6px;
}
.market-card > p { color: #3D3D3D; line-height: 26px; max-width: 480px; }
.markets-footnote { text-align: center; font-style: italic; color: #666666; margin-top: 48px; }

/* ── SECTION 4 — SERVICES ── */
.section-services {
  position: relative; background: var(--indigo); color: #fff; padding: 80px 0; overflow: hidden;
}
.section-services .section-head h2 { color: #fff; }
.section-services .section-head .caption { color: #D5D5D5; }
.services-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: var(--indigo-mid); border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  border-color: var(--amber); transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.service-icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; background: rgba(245,182,45,0.10); border-radius: 10px;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--amber); }
.service-card h3 { color: #fff; font-weight: 500; margin-bottom: 10px; font-size: 18px; }
.service-card p { color: #E0E0E0; font-size: 15px; line-height: 26px; }

/* ── SECTION 5 — PROCESS ── */
.section-process { background: #F0EFF8; padding: 80px 0; }
.section-process .section-head h2 { color: var(--indigo); }
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-step { position: relative; padding: 0 20px; text-align: left; }
.process-step:not(:first-child) { padding-left: 32px; }
.step-head { display: flex; align-items: center; gap: 0; margin-bottom: 20px; position: relative; }
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--amber); color: var(--indigo);
  font: 700 18px/48px 'Poppins', sans-serif; text-align: center;
  flex: 0 0 48px; position: relative; z-index: 2;
}
.step-connector { flex: 1; height: 0; border-top: 2px dashed rgba(245,182,45,0.4); margin-left: 12px; }
.process-step:last-child .step-connector { display: none; }
.process-step h3 { color: var(--indigo); margin-bottom: 8px; font-size: 18px; }
.process-step p { font: 400 13px/20px 'Poppins', sans-serif; color: #555555; max-width: 240px; }

/* ── SECTION 6 — CULTURE ── */
.section-culture { background: #fff; padding: 80px 0; }
.culture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.culture-head { margin-bottom: 32px; }
.culture-head h2 { color: var(--indigo); margin-bottom: 12px; }
.culture-head p { color: #444444; font-size: 16px; line-height: 28px; max-width: 480px; }
.culture-image-placeholder {
  position: relative; aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--indigo-dark) 0%, var(--indigo-mid) 50%, #3D2B85 100%);
  border-radius: 12px; overflow: hidden;
}
.culture-image-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.culture-image-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='92' viewBox='0 0 80 92'><g fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1'><path d='M40 4 L72 22 L72 58 L40 76 L8 58 L8 22 Z'/><path d='M40 4 L40 40'/><path d='M40 40 L72 22'/><path d='M40 40 L8 22'/><path d='M40 40 L40 76'/></g></svg>");
  background-size: 80px 92px; pointer-events: none;
}
.culture-image-placeholder.has-image::before { display: none; }
.culture-list { display: flex; flex-direction: column; gap: 24px; }
.culture-list li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; }
.culture-icon {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: rgba(245,182,45,0.12); border-radius: 8px; flex: 0 0 36px;
}
.culture-icon svg { width: 20px; height: 20px; stroke: var(--amber); }
.culture-list strong { display: block; font: 500 16px/24px 'Poppins', sans-serif; color: var(--charcoal); margin-bottom: 4px; }
.culture-list p { font: 400 14px/22px 'Poppins', sans-serif; color: #484848; }

/* ── SECTION 7 — JOBS ── */
.section-jobs { background: #F0EFF8; padding: 80px 0; }
.section-jobs .section-head h2 { color: var(--indigo); }
.job-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 22px; border: 1.5px solid var(--indigo); color: var(--indigo);
  background: transparent; border-radius: 6px;
  font: 500 13px/20px 'Poppins', sans-serif; transition: all 0.2s ease;
}
.filter-btn:hover { background: rgba(32,27,105,0.08); }
.filter-btn.active { background: var(--indigo); color: #fff; }
.jobs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.job-card {
  background: #fff; border-left: 3px solid var(--indigo); border-radius: 8px;
  padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  box-shadow: 0 2px 8px rgba(32,27,105,0.06), 0 1px 2px rgba(0,0,0,0.04);
}
.job-card.hidden { display: none; }
.job-card:hover { border-left-color: var(--amber); box-shadow: 0 12px 32px rgba(32,27,105,0.16), 0 4px 8px rgba(0,0,0,0.06); transform: translateY(-3px); }
.job-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.job-card h3 { font-size: 17px; line-height: 24px; color: var(--charcoal); font-weight: 600; }
.job-badges { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; }
.badge { font: 500 11px/16px 'Poppins', sans-serif; padding: 3px 8px; border-radius: 4px; letter-spacing: 0.02em; }
.badge-market { background: var(--indigo); color: #fff; }
.badge-type { background: rgba(245,182,45,0.18); color: #b88914; }
.job-dept {
  font: 500 12px/18px 'Poppins', sans-serif; color: var(--indigo);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.job-desc { color: #3D3D3D; font-size: 14px; line-height: 22px; margin: 4px 0 12px; }
.job-btn { align-self: flex-start; font: 500 13px/20px 'Poppins', sans-serif; color: var(--indigo); transition: color 0.2s ease; }
.job-btn:hover { color: var(--amber); }
.jobs-cta-wrap { text-align: center; margin-top: 40px; }
.jobs-all-btn {
  font: 500 14px/22px 'Poppins', sans-serif; color: var(--amber);
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color 0.2s ease;
}
.jobs-all-btn:hover { border-bottom-color: var(--amber); }

/* ── SECTION 8 — NEWS ── */
.section-news { background: #fff; padding: 80px 0; }
.section-news .section-head h2 { color: var(--indigo); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff; border: 0.5px solid var(--line); border-radius: 8px;
  overflow: hidden; transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 6px rgba(32,27,105,0.05), 0 1px 2px rgba(0,0,0,0.03);
}
.news-card:hover { box-shadow: 0 10px 28px rgba(32,27,105,0.14), 0 4px 8px rgba(0,0,0,0.05); transform: translateY(-3px); }
.news-thumb { aspect-ratio: 16/9; background: var(--indigo-mid); position: relative; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='92' viewBox='0 0 80 92'><g fill='none' stroke='%23ffffff' stroke-opacity='0.10' stroke-width='1'><path d='M40 4 L72 22 L72 58 L40 76 L8 58 L8 22 Z'/><path d='M40 4 L40 40'/><path d='M40 40 L72 22'/><path d='M40 40 L8 22'/><path d='M40 40 L40 76'/></g></svg>");
  background-size: 80px 92px; pointer-events: none;
}
.news-thumb.has-image::before { display: none; }
.news-content { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-tag {
  display: inline-block; background: rgba(32,27,105,0.08); color: var(--indigo);
  font: 500 11px/16px 'Poppins', sans-serif; padding: 4px 10px;
  border-radius: 4px; letter-spacing: 0.03em; align-self: flex-start;
}
.news-card h3 {
  font: 500 16px/24px 'Poppins', sans-serif; color: var(--charcoal);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card a { color: inherit; }
.news-card a:hover h3 { color: var(--indigo); }
.news-excerpt {
  color: #444444; font-size: 14px; line-height: 22px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-date { font: 300 12px/18px 'Poppins', sans-serif; color: #AAAAAA; margin-top: auto; padding-top: 4px; }

/* ── SECTION 9 — CTA ── */
.section-cta {
  position: relative; background: var(--indigo); color: #fff;
  padding: 100px 0; overflow: hidden; text-align: center;
}
.section-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(245,182,45,0.18) 0%, transparent 55%),
              radial-gradient(circle at 80% 20%, rgba(245,182,45,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.section-cta::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='92' viewBox='0 0 80 92'><g fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'><path d='M40 4 L72 22 L72 58 L40 76 L8 58 L8 22 Z'/><path d='M40 4 L40 40'/><path d='M40 40 L72 22'/><path d='M40 40 L8 22'/><path d='M40 40 L40 76'/></g></svg>");
  background-size: 80px 92px; pointer-events: none;
}
.cta-content { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta-content h2 { font: 700 48px/56px 'Poppins', sans-serif; margin-bottom: 20px; letter-spacing: -0.01em; color: #fff; }
.cta-content h2 em { color: var(--amber); font-style: normal; }
.cta-content > p { font: 400 16px/28px 'Poppins', sans-serif; color: #EDEDED; margin-bottom: 36px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── FOOTER ── */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.6); padding: 28px 0 30px; }
.footer-row { padding: 24px 0; }
.footer-row + .footer-row { border-top: 0.5px solid rgba(255,255,255,0.10); }
.footer-tagline-bar { padding: 36px 0; }
.tagline-pillars { display: flex; align-items: center; width: 100%; }
.tagline-pillar {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding: 0 32px; text-align: center;
}
.tagline-pillar::before {
  content: ''; display: block;
  width: 36px; height: 2px; background: var(--amber); border-radius: 2px;
}
.tagline-pillar strong {
  font: 600 24px/32px 'Poppins', sans-serif;
  color: #fff; letter-spacing: 0.08em; text-transform: uppercase;
}
.tagline-divider {
  flex: 0 0 1px; width: 1px; height: 52px;
  background: rgba(255,255,255,0.12);
}
.footer-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding: 32px 0; }
.footer-col h4 {
  font: 600 12px/18px 'Poppins', sans-serif; color: #fff;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px;
}
/* Footer nav — bare <a> and WordPress <ul><li><a> */
.footer-col nav { display: flex; flex-direction: column; gap: 10px; }
.footer-col nav > a,
.footer-col nav ul li a { color: rgba(255,255,255,0.6); font: 400 13px/22px 'Poppins', sans-serif; transition: color 0.2s ease; display: block; }
.footer-col nav > a:hover,
.footer-col nav ul li a:hover { color: var(--amber); }
.footer-col nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col p {
  color: rgba(255,255,255,0.6); font: 400 13px/22px 'Poppins', sans-serif;
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px;
}
.footer-col p svg { width: 16px; height: 16px; stroke: var(--amber); stroke-width: 1.5; flex: 0 0 16px; margin-top: 3px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.06); transition: background 0.2s ease;
}
.social-links a:hover { background: var(--amber); }
.social-links a:hover svg { stroke: var(--indigo); }
.social-links svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 1.5; fill: none; }
.footer-copyright {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; padding-top: 24px;
  font: 300 12px/18px 'Poppins', sans-serif; color: rgba(255,255,255,0.4);
}
.footer-copyright .legal-links { display: flex; gap: 16px; }
.footer-copyright .legal-links a { color: rgba(255,255,255,0.4); transition: color 0.2s ease; }
.footer-copyright .legal-links a:hover { color: var(--amber); }

/* ── ANIMATIONS ── */
.fade-up   { opacity: 0; transform: translateY(30px);  transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in   { opacity: 0;                                transition: opacity 0.6s ease; }
.slide-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.slide-right { opacity: 0; transform: translateX(30px);  transition: opacity 0.6s ease, transform 0.6s ease; }
.is-visible { opacity: 1 !important; transform: translate(0,0) !important; }

/* ══════════════════════════════════════════════════════════════
   WP-SPECIFIC STYLES (blog, archive, single, WP Job Manager)
   ══════════════════════════════════════════════════════════════ */

/* ── PAGE HERO (for inner pages / archive / jobs) ── */
.page-hero {
  position: relative; background: var(--indigo); color: #fff;
  padding: 34px 0; overflow: hidden; text-align: center;
}
.page-hero .pattern-cube { opacity: 0.5; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 0; }
.page-hero p { color: #E0E0E0; margin-top: 12px; font-size: 16px; }

/* ── BLOG GRID / ARCHIVE ── */
.page-content { min-height: 60vh; }
.content-section { background: var(--off-white); padding: 80px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.blog-card {
  background: #fff; border: 0.5px solid var(--line); border-radius: 8px;
  overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(32,27,105,0.14), 0 4px 8px rgba(0,0,0,0.05); }
.blog-card-thumb { display: block; }
.blog-thumb-img { width: 100%; height: 210px; object-fit: cover; }
.blog-thumb-placeholder { width: 100%; height: 210px; background: var(--indigo-mid); }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-meta { font: 300 12px/18px 'Poppins', sans-serif; color: #AAAAAA; }
.blog-card-meta a { color: #b88914; font-weight: 500; }
.blog-card-title { font: 500 16px/24px 'Poppins', sans-serif; color: var(--charcoal); }
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--indigo); }
.blog-card-excerpt { font-size: 14px; line-height: 22px; color: #444444; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-link { align-self: flex-start; font: 500 13px/20px 'Poppins', sans-serif; color: var(--indigo); margin-top: auto; }
.blog-card-link:hover { color: var(--amber); }
.no-posts { text-align: center; color: #888888; padding: 48px 0; font-size: 15px; }

/* ── BLOG LAYOUT WITH SIDEBAR ── */
.blog-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; }
.blog-sidebar { position: sticky; top: 92px; }
.sidebar-widget { background: #fff; border-radius: 12px; padding: 24px; border: 0.5px solid var(--line); }
.sidebar-widget-title {
  font: 600 13px/18px 'Poppins', sans-serif; color: var(--indigo);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px;
}
.cat-list { list-style: none; margin: 0; padding: 0; }
.cat-item { border-bottom: 0.5px solid var(--line); }
.cat-item:last-child { border-bottom: none; }
.cat-item a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; font: 400 14px/20px 'Poppins', sans-serif; color: #3D3D3D;
  transition: color 0.2s ease;
}
.cat-item a:hover { color: var(--indigo); }
.cat-item.cat-active a { color: var(--indigo); font-weight: 600; }
.cat-count {
  font: 500 11px/16px 'Poppins', sans-serif; color: #888888;
  background: var(--off-white); padding: 2px 8px; border-radius: 20px;
}
.cat-item.cat-active .cat-count { background: rgba(32,27,105,0.08); color: var(--indigo); }

/* ── SINGLE POST ── */
.single-layout { max-width: 780px; margin: 0 auto; padding: 60px 0; }
.post-featured-image { margin-bottom: 36px; }
.post-featured-image img { width: 100%; border-radius: 8px; max-height: 460px; object-fit: cover; }
.entry-header { margin-bottom: 32px; }
.entry-meta { font: 300 12px/18px 'Poppins', sans-serif; color: #AAAAAA; margin-bottom: 14px; }
.entry-meta a { color: #b88914; font-weight: 500; }
.entry-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: var(--indigo); line-height: 1.2; margin-bottom: 0; }
.entry-content {
  font-size: 16px; line-height: 1.8; color: var(--charcoal);
}
.entry-content h2 { font-size: 22px; margin: 36px 0 14px; color: var(--indigo); }
.entry-content h3 { font-size: 18px; margin: 28px 0 10px; color: var(--indigo); }
.entry-content p { margin-bottom: 20px; }
.entry-content img { border-radius: 8px; margin: 24px auto; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 20px; list-style: revert; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote {
  border-left: 3px solid var(--amber); margin: 24px 0; padding: 16px 20px;
  background: var(--off-white); border-radius: 0 8px 8px 0;
  font-style: italic; color: #555555;
}
.entry-content a { color: var(--indigo); text-decoration: underline; }
.entry-footer { margin-top: 48px; padding-top: 24px; border-top: 0.5px solid var(--line); }
.btn-back {
  font: 500 13px/20px 'Poppins', sans-serif; color: #888888;
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
}
.btn-back:hover { color: var(--indigo); border-bottom-color: var(--indigo); }

/* ── PAGINATION ── */
.pagination { margin-top: 48px; }
.pagination .nav-links {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 8px;
  font: 500 14px/1 'Poppins', sans-serif; color: #555555;
  background: #fff; transition: all 0.2s ease;
}
.pagination .page-numbers:hover { border-color: var(--indigo); color: var(--indigo); background: rgba(45,27,105,0.04); }
.pagination .page-numbers.current { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.pagination .page-numbers.dots { border-color: transparent; background: transparent; color: #AAAAAA; pointer-events: none; }
.pagination .prev.page-numbers,
.pagination .next.page-numbers { padding: 0 18px; color: var(--indigo); font-weight: 600; gap: 4px; }
.pagination .prev.page-numbers:hover,
.pagination .next.page-numbers:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }

/* ── WP JOB MANAGER OVERRIDES ── */
.job_listings { font-family: 'Poppins', sans-serif; }
ul.job_listings { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
ul.job_listings li.job_listing {
  background: #fff; border-left: 3px solid var(--indigo); border-radius: 8px;
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  list-style: none;
}
ul.job_listings li.job_listing:hover {
  border-left-color: var(--amber); box-shadow: 0 8px 24px rgba(32,27,105,0.10); transform: translateY(-2px);
}
.job_listing .position h3 a { font: 600 17px/24px 'Poppins', sans-serif; color: var(--charcoal); }
.job_listing .position h3 a:hover { color: var(--indigo); }
.job_listing .meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.job_listing .meta .location, .job_listing .meta .date { font: 300 12px/18px 'Poppins', sans-serif; color: #888888; }
.job-type span, .job_listing .job-type span {
  background: rgba(245,182,45,0.18); color: #b88914;
  border-radius: 4px; padding: 3px 8px; font: 500 11px/16px 'Poppins', sans-serif;
}
.job_filters { background: #fff; border: 0.5px solid var(--line); border-radius: 8px; padding: 20px; margin-bottom: 24px; }
.job_filters .search_jobs {
  background: var(--indigo); color: #fff; border-radius: 6px; border: none;
  font: 500 14px/20px 'Poppins', sans-serif; padding: 10px 22px; cursor: pointer;
  transition: background 0.2s;
}
.job_filters .search_jobs:hover { background: var(--indigo-mid); }
.application_button .button, a.application_button {
  display: inline-block; background: var(--amber); color: var(--indigo);
  border-radius: 4px; font: 600 14px/20px 'Poppins', sans-serif;
  padding: 10px 22px; transition: background 0.2s;
}
.application_button .button:hover, a.application_button:hover { background: #ffc449; }

/* ── WPFORMS OVERRIDES ── */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form textarea,
.wpforms-form select {
  font-family: 'Poppins', sans-serif; font-size: 14px;
  border: 0.5px solid var(--line); border-radius: 6px; padding: 12px 16px;
  color: var(--charcoal); background: #fff; width: 100%;
  transition: border-color 0.2s;
}
.wpforms-form input:focus, .wpforms-form textarea:focus {
  outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(32,27,105,0.08);
}
.wpforms-form .wpforms-field-label { font: 500 13px/20px 'Poppins', sans-serif; color: var(--charcoal); }
.wpforms-submit-container .wpforms-submit {
  background: var(--amber); color: var(--indigo); font: 600 14px/20px 'Poppins', sans-serif;
  border: none; border-radius: 4px; padding: 13px 32px; cursor: pointer; width: 100%;
  transition: background 0.2s;
}
.wpforms-submit-container .wpforms-submit:hover { background: #ffc449; }

/* ── JOBS ARCHIVE PAGE ── */
.section-jobs-archive { background: var(--off-white); padding: 80px 0; }
.jobs-archive-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.jobs-archive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── CUSTOM FORMS (contact page, careers modal) ── */
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label { font: 500 13px/20px 'Poppins', sans-serif; color: var(--charcoal); }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  font: 400 14px/22px 'Poppins', sans-serif; color: var(--charcoal);
  background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 11px 16px; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(32,27,105,0.08);
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group 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' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px; cursor: pointer;
}

.btn-submit-full {
  width: 100%; background: var(--amber); color: var(--indigo);
  border: none; border-radius: 6px; padding: 13px 24px;
  font: 600 15px/22px 'Poppins', sans-serif;
  cursor: pointer; transition: background 0.2s; margin-top: 4px;
}
.btn-submit-full:hover { background: #ffc449; }

.form-note {
  margin-top: 12px; text-align: center;
  font: 400 12px/18px 'Poppins', sans-serif; color: #888888;
}

.file-upload-zone {
  position: relative; border: 1.5px dashed var(--line);
  border-radius: 8px; padding: 20px 16px; text-align: center;
  cursor: pointer; transition: border-color 0.2s;
}
.file-upload-zone:hover { border-color: var(--indigo); }
.file-upload-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0;
  cursor: pointer; width: 100%; height: 100%;
}
.file-upload-zone p { font: 400 13px/20px 'Poppins', sans-serif; color: #808080; margin: 0; }
.file-upload-zone .upload-link { color: var(--amber); font-weight: 500; }
.file-upload-zone .file-name { color: var(--indigo); font-weight: 500; font-size: 13px; margin-top: 6px; display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-slides-wrap { height: 580px; }
  .hero h1 { font-size: 44px; line-height: 1.1; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid .stat-card:nth-child(3) { border-right: none; }
  .stats-grid .stat-card:nth-child(4) { grid-column: 1 / 2; border-right: 1px solid rgba(255,255,255,0.10); }
  .stats-grid .stat-card:nth-child(5) { grid-column: 2 / 3; border-right: none; }
  .markets-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .markets-divider { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-timeline { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .jobs-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .culture-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  ul.job_listings { grid-template-columns: 1fr; }
  .jobs-archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font: 700 32px/40px 'Poppins', sans-serif; }
  h2 { font: 600 24px/32px 'Poppins', sans-serif; }
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-slides-wrap { height: 520px; }
  .hero-slide { padding: 60px 16px; }
  .hero h1 { font-size: 34px; line-height: 42px; }
  .hero-sub { font-size: 15px; line-height: 24px; }
  .hero-ctas .btn { padding: 11px 22px; font-size: 13px; }
  .hero-prev, .hero-next { width: 38px; height: 38px; }
  .hero-prev { left: 12px; }
  .hero-next { right: 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stats-grid .stat-card { border-right: 1px solid rgba(255,255,255,0.10); border-bottom: 1px solid rgba(255,255,255,0.10); }
  .stats-grid .stat-card:nth-child(even) { border-right: none; }
  .stats-grid .stat-card:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.10); }
  .stat-number { font-size: 2.25rem; line-height: 1.1; }
  .section-stats, .section-markets, .section-services, .section-process,
  .section-culture, .section-jobs, .section-news { padding: 60px 0; }
  .section-cta { padding: 72px 0; }
  .cta-content h2 { font-size: 34px; line-height: 42px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; gap: 20px; }
  .process-step { padding: 0 !important; display: grid; grid-template-columns: 48px 1fr; gap: 10px; }
  .step-head { margin-bottom: 0; flex-direction: column; height: 100%; grid-row: 1 / 3; }
  .step-connector { width: 2px; height: auto; min-height: 24px; border-top: none; border-left: 2px dashed rgba(245,182,45,0.4); margin: 6px 0 0; align-self: stretch; flex: 1; }
  .news-grid { grid-template-columns: 1fr; }
  .platform-list { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .footer-copyright { flex-direction: column; align-items: flex-start; }
  .hero-badge { right: 16px; bottom: 16px; }
  .content-section { padding: 60px 0; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .blog-grid { grid-template-columns: 1fr; }
  .single-layout { padding: 40px 0; }
  /* Footer tagline: ẩn hoàn toàn trên mobile */
  .footer-tagline-bar { display: none; }
  /* Ẩn vòng trang trí hero */
  .hero-deco { display: none; }
  /* Hero markets flag line — trùng lặp với Markets section */
  .hero-markets { display: none; }
  /* Process: <p> rơi vào cột 48px → đẩy sang cột 2 */
  .process-step > p { grid-column: 2; }
  /* Culture image: ẩn trên mobile */
  .culture-grid > .slide-left { display: none; }
  /* Hero visual — ẩn trên mobile, giữ lại text+CTA */
  .hero-visual-wrap { display: none; }
  /* Markets: giảm gap, thêm viền nổi khối, font h3 nhỏ hơn */
  .markets-grid { gap: 12px; }
  .market-card { padding: 16px 12px; gap: 12px; border: 1px solid rgba(32,27,105,0.12); border-radius: 10px; background: rgba(32,27,105,0.02); }
  .market-card h3 { font-size: 16px; }
  /* MANILA không bị wrapping — stack label+city dọc */
  .market-meta { flex-direction: column; gap: 2px; }
  /* Platform list — giảm spacing 35% */
  .platform-list li { padding: 6px 10px; }
  .platform-list { gap: 6px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 30px; line-height: 38px; }
  .hero-ctas .btn { padding: 12px 18px; font-size: 13px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  /* Ẩn "5 Sàn TMĐT" để có layout 2×2 cân đối */
  .stats-grid .stat-card:nth-child(4) { display: none; }
  .stats-grid .stat-card:nth-child(3) { border-bottom: none; }
  .stats-grid .stat-card:last-child { grid-column: auto; border-right: none; border-bottom: none; }
  .cta-content h2 { font-size: 28px; line-height: 36px; }
  .filter-btn { padding: 8px 14px; font-size: 12px; }
  .footer-brand { flex-direction: column; align-items: flex-start; }
  /* Hero CTA buttons — compact, không full-width */
  .hero-ctas { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .hero-ctas .btn { padding: 10px 18px; font-size: 13px; width: auto; }
  .cta-buttons { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  /* Section padding giảm từ 60px → 44px */
  .section-stats, .section-markets, .section-services, .section-process,
  .section-culture, .section-jobs, .section-news { padding: 44px 0; }
  .section-cta { padding: 52px 0; }
  .content-section { padding: 44px 0; }
  .hero-slides-wrap { height: 480px; }
  .hero-slide { padding: 52px 16px; }
  /* Ẩn sub-description dưới stat */
  .stat-desc { display: none; }
  .stat-card { padding: 20px 12px; }
  /* Footer tagline font nhỏ hơn */
  .tagline-pillar strong { font-size: 15px; letter-spacing: 0.05em; }
  .tagline-pillar::before { width: 28px; }
  .footer-tagline-bar { padding: 24px 0; }
  /* Services — 2 cột để giảm scroll */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-card { padding: 18px 14px; }
  .service-card h3 { font-size: 14px; line-height: 20px; }
  .service-card p { font-size: 12px; line-height: 18px; }
  /* Section head */
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: 14px; line-height: 22px; }
  /* Culture image aspect ratio giảm */
  .culture-image-placeholder { aspect-ratio: 3/2; }
  /* h2 nhỏ hơn */
  h2 { font-size: 22px; line-height: 30px; }
}
