/*
Theme Name: MERQEX
Theme URI: https://merqex.com
Author: MERQEX
Description: Premium marketplace growth agency theme for Amazon and Walmart. Customizer-driven content, consultation lead capture, case studies and testimonials.
Version: 3.4.3
Requires at least: 6.3
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: merqex
*/

:root {
  --navy: #0B1F3A;
  --navy-2: #12345B;
  --orange: #FF9900;
  --orange-2: #FFB347;
  --bg: #F7F9FC;
  --white: #FFFFFF;
  --text: #172033;
  --muted: #5B6575;
  --line: #DCE3EC;
  --display: "Bricolage Grotesque", Georgia, serif;
  --body: "IBM Plex Sans", system-ui, Arial, sans-serif;
  --r: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--white); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--orange); color: var(--navy); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.alt { background: var(--bg); }
.dark { background: var(--navy); color: #E6ECF5; position: relative; overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
.dark .lead { color: #B9C5D6; }
.eyebrow { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.dark .eyebrow { color: var(--orange-2); }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 52px; }
.head-row .sec-head { margin-bottom: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: var(--navy); font-family: var(--body); font-weight: 600; font-size: .98rem; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; transition: background .25s, transform .25s var(--ease), box-shadow .25s; min-height: 48px; }
.btn:hover { background: var(--orange-2); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(255, 153, 0, .75); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; box-shadow: none; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; box-shadow: 0 14px 26px -14px rgba(11, 31, 58, .7); }
.btn-sm { padding: 10px 20px; min-height: 42px; font-size: .92rem; }
.link-arrow { display: inline-flex; gap: 6px; color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.link-arrow:hover { color: var(--orange); }

/* header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 24px -18px rgba(11, 31, 58, .45); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.55rem; color: var(--navy); text-decoration: none; letter-spacing: .05em; }
.logo .mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(140deg, var(--navy-2), var(--navy)); display: grid; place-items: center; }
.logo .mark svg { width: 18px; height: 18px; stroke: var(--orange); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.logo span { color: var(--orange); }
.custom-logo-link img { max-height: 44px; width: auto; }
.dark .logo, .site-footer .logo { color: #fff; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > ul { display: flex; align-items: center; gap: 28px; list-style: none; }
.primary-nav a { color: var(--navy); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 0; position: relative; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.has-sub { position: relative; }
.has-sub > button { background: none; border: 0; font: inherit; font-size: .95rem; font-weight: 500; color: var(--navy); cursor: pointer; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; }
.has-sub > button svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .3s var(--ease); }
.has-sub.open > button svg { transform: rotate(180deg); }
.sub-menu { position: absolute; top: calc(100% + 12px); left: -16px; width: 290px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 30px 60px -28px rgba(11, 31, 58, .45); padding: 10px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.has-sub.open .sub-menu, .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 11px 14px; border-radius: 8px; }
.sub-menu a::after { display: none; }
.sub-menu a:hover { background: var(--bg); }
.nav-cta { white-space: nowrap; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; width: 46px; height: 46px; padding: 0; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 110px 0 120px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%); z-index: -1; }
.hero::after { content: ""; position: absolute; width: 700px; height: 700px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(255, 153, 0, .25), transparent 62%); animation: drift 16s ease-in-out infinite alternate; z-index: -1; pointer-events: none; }
@keyframes drift { to { transform: translate(-70px, 50px); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { color: #C5D0E0; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 40px; font-size: .9rem; color: #8FA3BF; }
.hero-proof span::before { content: "\2713\00a0"; color: var(--orange); }
.rise { opacity: 0; transform: translateY(20px); animation: rise .9s var(--ease) forwards; }
.rise.d1 { animation-delay: .12s; }
.rise.d2 { animation-delay: .24s; }
.rise.d3 { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* dashboard mock (illustrative) */
.dash { position: relative; background: linear-gradient(160deg, #143A66, #0E2A4D); border: 1px solid #25507F; border-radius: 18px; padding: 24px; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: .8rem; color: #8FA3BF; }
.dash-tag { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid #2F5F92; border-radius: 999px; padding: 3px 10px; color: #B9C5D6; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi { background: rgba(11, 31, 58, .55); border: 1px solid #25507F; border-radius: 12px; padding: 12px; }
.kpi small { display: block; font-size: .7rem; color: #8FA3BF; }
.kpi b { font-family: var(--display); font-size: 1.15rem; color: #fff; }
.chart { width: 100%; height: 130px; display: block; margin-bottom: 16px; }
.chart .line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .6s var(--ease) forwards; }
.chart .area { opacity: 0; animation: fadein 1s 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.bars-h { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; font-size: .8rem; color: #C5D0E0; }
.bar-track { height: 9px; background: #0B1F3A; border-radius: 6px; overflow: hidden; }
.bar-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-2)); border-radius: 6px; transform-origin: left; transform: scaleX(0); animation: grow 1.4s .9s var(--ease) forwards; }
@keyframes grow { to { transform: scaleX(1); } }
.float-chip { position: absolute; background: #fff; color: var(--navy); font-size: .82rem; font-weight: 600; padding: 9px 15px; border-radius: 999px; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5); white-space: nowrap; animation: float 5s ease-in-out infinite; }
.float-chip.c1 { top: -18px; right: -14px; }
.float-chip.c2 { bottom: 34px; left: -22px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-9px); } }
.dash-note { font-size: .72rem; color: #8FA3BF; margin-top: 14px; }

/* marquee */
.marquee { overflow: hidden; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marq 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: flex; align-items: center; gap: 48px; padding-right: 48px; font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
@keyframes marq { to { transform: translateX(-50%); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 24px; border-right: 1px solid var(--line); text-align: left; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: 2.6rem; color: var(--navy); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat small { color: var(--muted); font-size: .92rem; }
.stat-note { text-align: center; font-size: .78rem; color: var(--muted); padding: 0 0 26px; }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -24px rgba(11, 31, 58, .4); border-color: #C9D5E4; }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); font-size: .97rem; }
.card ul { list-style: none; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.card li { font-size: .82rem; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; color: var(--navy); }
.card .more { display: inline-flex; gap: 6px; margin-top: 20px; font-weight: 600; color: var(--navy); text-decoration: none; }
.card .more:hover { color: var(--orange); }
.icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(140deg, var(--navy-2), var(--navy)); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 22px -12px rgba(11, 31, 58, .6); transition: transform .45s var(--ease); }
.card:hover .icon { transform: scale(1.07) rotate(-4deg); }
.icon svg { width: 26px; height: 26px; stroke: var(--orange); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dark .icon { border: 1px solid #2B5C8C; }
.case-card { border-top: 3px solid var(--navy); padding-top: 26px; }
.case-card .tag { font-size: .82rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.case-card .metric { font-family: var(--display); font-size: 2.2rem; font-weight: 700; color: var(--orange); line-height: 1.1; margin-bottom: 8px; }

/* why */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.pillar { border-top: 3px solid var(--orange); padding-top: 16px; }
.pillar h3 { font-size: 1.05rem; }
.pillar p { color: var(--muted); font-size: .93rem; margin: 0; }
.split-visual { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: 0 34px 64px -40px rgba(11, 31, 58, .4); }
.bars { display: grid; gap: 20px; margin-bottom: 26px; }
.row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: center; font-size: .92rem; color: var(--navy); }
.track { height: 10px; background: #E1E8F1; border-radius: 6px; overflow: hidden; }
.fill { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-2), var(--navy)); border-radius: 6px; transform-origin: left; transform: scaleX(0); }
.in .fill { animation: fillw 1.4s .35s var(--ease) forwards; }
@keyframes fillw { to { transform: scaleX(1); } }
.insight { display: flex; gap: 20px; align-items: center; border-top: 1px solid var(--line); padding-top: 22px; }
.ring { width: 96px; height: 96px; flex: none; }
.ring .arc { stroke-dasharray: 100; stroke-dashoffset: 100; }
.in .ring .arc { animation: arc 1.6s .45s var(--ease) forwards; }
@keyframes arc { to { stroke-dashoffset: 26; } }
.insight p { color: var(--muted); font-size: .95rem; margin: 0; }
.visual-note { font-size: .74rem; color: var(--muted); margin-top: 16px; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: linear-gradient(90deg, var(--orange), rgba(255, 153, 0, .15)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.steps.in::before { transform: scaleX(1); }
.step { padding: 0 24px 0 0; position: relative; }
.step .num { width: 56px; height: 56px; border-radius: 50%; background: var(--navy-2); border: 2px solid var(--orange); display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--orange); margin-bottom: 22px; position: relative; z-index: 1; }
.step h3 { color: #fff; }
.step p { color: #B9C5D6; font-size: .95rem; }

/* cases / testimonials / faq */
.testi-wrap { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.testi { display: none; animation: fadein .6s var(--ease); }
.testi.active { display: block; }
.testi blockquote { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--navy); line-height: 1.4; margin: 0 0 28px; }
.testi cite { font-style: normal; color: var(--muted); font-size: .95rem; }
.testi cite b { display: block; color: var(--navy); font-size: 1.05rem; }
.testi-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.testi-dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; background: #C9D5E4; cursor: pointer; padding: 0; transition: width .4s var(--ease), background .3s; }
.testi-dots button[aria-selected="true"] { width: 32px; background: var(--orange); }
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--orange); line-height: 1; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { color: var(--muted); padding: 0 0 24px; max-width: 720px; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .lead { margin: 0 auto 34px; color: #B9C5D6; }
.cta-band .hero-cta { justify-content: center; }
.cta-band::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 153, 0, .14), transparent 60%); pointer-events: none; }
.cta-band .wrap { position: relative; }

/* contact & forms */
.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-points { list-style: none; margin-top: 30px; display: grid; gap: 18px; }
.contact-points li { display: flex; gap: 14px; align-items: flex-start; color: #C5D0E0; }
.contact-points .dot { width: 42px; height: 42px; border-radius: 12px; background: var(--navy-2); border: 1px solid #2B5C8C; display: grid; place-items: center; flex: none; }
.contact-points svg { width: 18px; height: 18px; stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-points b { color: #fff; display: block; }
.contact-points a { color: #C5D0E0; }
.lead-form { background: #fff; color: var(--text); border-radius: 20px; padding: 40px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.lead-form h3 { font-size: 1.5rem; margin-bottom: 6px; }
.lead-form .sub { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field .req { color: #C2410C; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid #CBD5E1; border-radius: 10px; background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 19px) 55%, calc(100% - 14px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 153, 0, .18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B91C1C; }
.field .err { display: block; color: #B91C1C; font-size: .8rem; margin-top: 5px; min-height: 0; }
.lead-form .btn { width: 100%; font-size: 1rem; padding: 16px; margin-top: 6px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 10px; font-size: .95rem; margin-bottom: 20px; }
.notice.ok { background: #EAF8EF; color: #14532D; }
.notice.err { background: #FDECEC; color: #7F1D1D; }
.form-fine { font-size: .8rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* page header */
.phead { background: var(--bg); padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.phead h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 48px; font-size: 1.9rem; }
.prose h3 { margin-top: 32px; font-size: 1.2rem; }
.prose p, .prose li { color: #2A3447; font-size: 1.02rem; }
.prose ul { padding-left: 22px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; }
.checks { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); box-shadow: inset 0 0 0 4px #fff; }

/* footer */
.site-footer { background: var(--navy); color: #B9C5D6; padding: 80px 0 28px; font-size: .93rem; }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #B9C5D6; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--orange); }
.site-footer .about { margin: 18px 0 22px; max-width: 340px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid #2B5C8C; display: grid; place-items: center; }
.socials svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fbot { border-top: 1px solid #224A74; margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.fbot nav { display: flex; gap: 22px; }
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 70; background: #25D366; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(11, 31, 58, .5); animation: pulse 2.8s infinite; }
.wa-float:hover { background: #3EE07A; }
.wa-float svg { width: 28px; height: 28px; fill: var(--navy); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* scroll reveal */
/* Only hide reveal content when JavaScript is running; without JS everything stays visible. */
.reveal-ready .reveal:not(.in) { opacity: 0; transform: translateY(24px); }
.reveal-ready .reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .45s var(--ease), border-color .45s; transition-delay: var(--d, 0s); }
.reveal-ready .reveal.in { opacity: 1; }

/* responsive */
@media (max-width: 1000px) {
  .hero-grid, .split, .two, .contact-split { grid-template-columns: 1fr; gap: 48px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .primary-nav { position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 24px 40px; gap: 0; overflow-y: auto; transform: translateX(100%); transition: transform .45s var(--ease), visibility .45s; visibility: hidden; }
  .primary-nav.open { transform: none; visibility: visible; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--line); }
  .primary-nav a { display: block; padding: 17px 0; font-size: 1.05rem; }
  .primary-nav a::after { display: none; }
  .has-sub > button { width: 100%; justify-content: space-between; padding: 17px 0; font-size: 1.05rem; }
  .sub-menu { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 12px 12px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub.open .sub-menu { display: block; }
  .nav-cta { margin-top: 22px; width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 68px 0; }
  .hero { padding: 64px 0 80px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .lead-form { padding: 26px 20px; }
  .kpis { grid-template-columns: 1fr 1fr 1fr; }
  .float-chip { display: none; }
  .hero-cta .btn, .head-row .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .fbot { flex-direction: column; }
  .pillars { grid-template-columns: 1fr; }
  .row { grid-template-columns: 100px 1fr; }
  .stat { padding: 26px 14px; }
  .stat b { font-size: 2rem; }
  .wa-float { width: 52px; height: 52px; right: 14px; }
  .card { padding: 26px 22px; }
  .dash { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .rise { opacity: 1; transform: none; }
  .bar-track i, .fill { transform: none; }
  .chart .line { stroke-dashoffset: 0; }
  .ring .arc { stroke-dashoffset: 26; }
  .chart .area { opacity: 1; }
}


/* =====================================================================
   Design layer v3.2: one coherent system.
   Rules: cool luminous glows on navy (never orange-on-navy, which turns
   muddy), orange used crisply for action and emphasis, hairline borders,
   generous rhythm.
   ===================================================================== */
:root {
  --azure: #3B82F6;
  --indigo: #6366F1;
  --btn-grad: linear-gradient(180deg, #FFAA1F 0%, #FF9900 100%);
  --grad-navy: linear-gradient(160deg, #1B4A80 0%, #0B1F3A 80%);
  --ring: 0 0 0 1px rgba(11, 31, 58, .08);
  --shadow-lg: 0 40px 80px -40px rgba(11, 31, 58, .5);
  --shadow-md: 0 18px 40px -24px rgba(11, 31, 58, .35);
}
html { overflow-x: clip; }
::selection { background: var(--orange); color: var(--navy); }

/* Typography rhythm */
h1, h2, h3, h4 { text-wrap: balance; }
h2 { letter-spacing: -.025em; }
.lead { text-wrap: pretty; }
.sec-head h2 + .lead { margin-top: 18px; }

/* Eyebrow: quiet label, not a chip */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; margin-bottom: 18px; font-size: .75rem; letter-spacing: .18em; color: var(--orange); }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--orange); box-shadow: none; }
.dark .eyebrow, .hero .eyebrow { color: var(--orange-2); background: none; }
.dark .eyebrow::before, .hero .eyebrow::before { background: var(--orange-2); }
nav.eyebrow::before { display: none; }

/* Heading accent bar removed; rely on type and space */
.sec-head h2::after { display: none; }

/* Buttons: confident flat orange, soft warm shadow, no red tones */
.btn { background: var(--btn-grad); color: var(--navy); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 24px -14px rgba(255, 153, 0, .85); border: 0; }
.btn:hover { background: linear-gradient(180deg, #FFB63D 0%, #FFA010 100%); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 18px 30px -14px rgba(255, 153, 0, .9); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn.btn-ghost { background: rgba(255, 255, 255, .04); color: #fff; border: 1px solid rgba(255, 255, 255, .28); box-shadow: none; }
.btn.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; box-shadow: none; }
.btn-navy:hover { background: var(--navy-2); color: #fff; box-shadow: var(--shadow-md); }
.btn-ghost-dark { background: transparent; color: var(--navy); border: 1px solid #C9D5E4; box-shadow: none; }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: none; }
.primary-nav a.btn { padding: 10px 22px; color: var(--navy); }
.primary-nav a.btn::after { display: none; }

/* Header */
.site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.logo .mark { background: var(--grad-navy); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }

/* Hero: deep navy with a cool aurora; orange stays crisp */
.hero {
  background:
    radial-gradient(900px 520px at 82% 8%, rgba(59, 130, 246, .34), transparent 62%),
    radial-gradient(760px 520px at 8% 100%, rgba(99, 102, 241, .22), transparent 60%),
    linear-gradient(180deg, #0B1F3A 0%, #09182E 100%);
  padding: 120px 0 128px;
}
.hero::before { background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 35%, #000 20%, transparent 75%); }
.hero::after { width: 520px; height: 520px; right: 6%; top: 8%; background: radial-gradient(circle, rgba(255, 153, 0, .13), transparent 66%); animation: drift 20s ease-in-out infinite alternate; filter: blur(10px); }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.5rem); line-height: 1.05; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--orange); animation: none; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .09em; border-radius: 4px; background: linear-gradient(90deg, var(--orange), rgba(255, 153, 0, 0)); transform-origin: left; transform: scaleX(0); animation: underline 1.2s .9s var(--ease) forwards; }
@keyframes underline { to { transform: scaleX(1); } }
.hero .lead { font-size: 1.18rem; color: #B7C4D8; }
.hero-proof { color: #8DA2BF; }
.hero-proof span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-right: 10px; vertical-align: middle; }

/* Dashboard: glass panel with a cool rim light */
.dash { background: linear-gradient(165deg, rgba(27, 74, 128, .55), rgba(11, 31, 58, .72)); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .12); }
.dash::before { background: linear-gradient(150deg, rgba(120, 170, 255, .55), transparent 38%); }
.kpi { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.kpi small { color: #9FB2CC; }
.bar-track { background: rgba(255, 255, 255, .08); }
.bar-track i { background: linear-gradient(90deg, #FF9900, #FFB347); }
.float-chip { box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .55); }
.float-chip.c2 { bottom: -20px; left: auto; right: 28px; }

/* Marquee: dark band, soft edge fade */
.marquee { background: #081729; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); -webkit-mask-image: none; mask-image: none; padding: 26px 0; }
.marquee-track span { color: #C9D5E6; font-size: 1.05rem; font-weight: 500; letter-spacing: .01em; }
.marquee-track span::after { background: rgba(255, 153, 0, .8); width: 6px; height: 6px; }

/* Stats */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stat b { background: none; color: var(--navy); -webkit-background-clip: border-box; background-clip: border-box; font-size: 3.2rem; letter-spacing: -.03em; }
.stat::after { background: var(--orange); }

/* Sections */
section { padding: 112px 0; }
.alt { background: var(--bg); }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); box-shadow: var(--ring); }
.card::before { background: var(--orange); height: 2px; }
.card:hover { transform: translateY(-5px); border-color: #BFD0E6; box-shadow: var(--shadow-md); }
.card:hover .icon { box-shadow: 0 0 0 6px rgba(255, 153, 0, .12), 0 14px 26px -12px rgba(11, 31, 58, .7); transform: scale(1.05); }
.icon { background: var(--grad-navy); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 22px -12px rgba(11, 31, 58, .75); }
.grid-4 > .card { background: #fff; }
.grid-4 > .card::after { color: #E8EEF6; font-size: 1.5rem; }
.card h3 { letter-spacing: -.01em; }
.card .more { color: var(--navy); }
.card .more svg, .post-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; display: inline-block; transition: transform .35s var(--ease); }
.card:hover .more svg { transform: translateX(4px); }

/* Why section visual */
.split-visual { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 24px; }
.fill { background: linear-gradient(90deg, #1B4A80, var(--navy)); }
.pillar { border-top: 2px solid var(--orange); }

/* Dark sections: cool atmospheric glows */
.dark { isolation: isolate; background: linear-gradient(180deg, #0B1F3A, #09182E); }
.dark::before { content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; left: -280px; top: -320px; background: radial-gradient(circle, rgba(59, 130, 246, .26), transparent 62%); animation: blobA 22s ease-in-out infinite alternate; pointer-events: none; }
.dark::after { content: ""; position: absolute; z-index: -1; width: 680px; height: 680px; right: -260px; bottom: -320px; background: radial-gradient(circle, rgba(99, 102, 241, .22), transparent 62%); animation: blobB 26s ease-in-out infinite alternate; pointer-events: none; }
@keyframes blobA { to { transform: translate(110px, 80px) scale(1.1); } }
@keyframes blobB { to { transform: translate(-90px, -60px) scale(1.06); } }

/* Process: clean timeline (no list markers) */
.steps { list-style: none; padding: 0; margin: 0; }
.step::marker { content: ""; }
.step .num { background: #0F2B4D; border: 1px solid rgba(255, 153, 0, .7); box-shadow: 0 0 0 8px rgba(255, 153, 0, .06); }
.steps::before { background: linear-gradient(90deg, rgba(255, 153, 0, .8), rgba(255, 153, 0, .08)); height: 1px; top: 28px; }

/* CTA band: lifted panel with a luminous top edge */
.cta-band { background: radial-gradient(ellipse 60% 90% at 50% 0%, rgba(59, 130, 246, .3), transparent 70%), linear-gradient(180deg, #0D2748, #09182E); }
.cta-band::before { display: none; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 820px; margin-left: auto; margin-right: auto; }

/* Form */
.lead-form { background: #fff; border: 1px solid rgba(11, 31, 58, .06); box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .7); }
.dark .lead-form h3, .lead-form h3 { color: var(--navy); }
.field input, .field select, .field textarea { border-color: #CBD5E1; background-color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--azure); box-shadow: 0 0 0 4px rgba(59, 130, 246, .16); }
.contact-points .dot { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }

/* Footer */
.site-footer { background: #081729; }
.site-footer h4 { font-family: var(--body); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; color: #8DA2BF; }
.fbot { border-top-color: rgba(255, 255, 255, .08); }

/* Insights */
.insights { position: relative; background: #fff; overflow: hidden; }
.insights::before { display: none; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #BFD0E6; }
.post-media { position: relative; display: block; height: 210px; overflow: hidden; background: var(--grad-navy); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 78% 18%, rgba(59, 130, 246, .5), transparent 55%), radial-gradient(circle at 12% 95%, rgba(99, 102, 241, .35), transparent 60%), var(--grad-navy); }
.post-placeholder svg { width: 52px; height: 52px; stroke: #fff; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .92; transition: transform .8s var(--ease); }
.post-card:hover .post-placeholder svg { transform: scale(1.1) rotate(-4deg); }
.post-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(11, 31, 58, .3)); pointer-events: none; }
.post-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-date { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.post-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.post-body h3 a { color: inherit; text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 100% / 0 2px; transition: background-size .5s var(--ease); }
.post-card:hover h3 a { background-size: 100% 2px; }
.post-body p { color: var(--muted); font-size: .96rem; margin: 0 0 18px; }
.post-link { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--navy); text-decoration: none; }
.post-card:hover .post-link svg { transform: translateX(5px); }
.post-link:hover { color: var(--orange); }
.sample-note { font-size: .78rem; color: var(--muted); margin-top: 22px; }

/* Utilities from earlier versions kept for compatibility */
.gradient-text { color: var(--orange); }

@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  section { padding: 84px 0; }
}
@media (max-width: 640px) {
  section { padding: 68px 0; }
  .hero { padding: 72px 0 84px; }
  .hero h1 em { white-space: normal; }
  .post-grid { grid-template-columns: 1fr; }
  .post-media { height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .post-card, .post-media img, .post-placeholder svg, .hero h1 em::after, .dark::before, .dark::after { transition: none !important; animation: none !important; }
  .hero h1 em::after { transform: scaleX(1); }
}

/* ===== v3.4: image slots (never blank) ===== */
.art { width: 100%; height: 100%; display: block; }
.media-frame { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--grad-navy); box-shadow: var(--shadow-lg); border: 1px solid rgba(11, 31, 58, .08); }
.media-frame img, .media-frame > svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-wide { aspect-ratio: 21 / 9; }
.media-card { position: absolute; left: 22px; right: 22px; bottom: 22px; background: rgba(255, 255, 255, .94); border-radius: 16px; padding: 18px 20px; display: grid; gap: 12px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .5); }
.media-card .visual-note { margin: 0; }
.hero-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .75); border: 1px solid rgba(255, 255, 255, .12); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-media { display: block; margin: -32px -32px 24px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--grad-navy); }
.card-media img, .card-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media img, .card:hover .card-media svg { transform: scale(1.05); }
.case-card { border-top: 1px solid var(--line); padding-top: 32px; }
.card-media + .icon { margin-top: -48px; position: relative; border: 3px solid #fff; }
.post-media svg { width: 100%; height: 100%; object-fit: cover; }
.post-card:hover .post-media svg { transform: scale(1.06); transition: transform 1s var(--ease); }
@media (max-width: 640px) { .card-media { margin: -26px -22px 22px; } .media-wide { aspect-ratio: 16 / 10; } }
