/* =========================================================
   Corporate / B2B demo — designed by Raymelz
   ========================================================= */
:root {
  --ink: #141b2b;
  --ink-2: #2b3445;
  --muted: #5d6677;
  --line: #e4e8ef;
  --soft: #f4f6fa;
  --soft-2: #eef2f8;
  --navy: #0d1830;
  --navy-2: #15244a;
  --accent: #e5452b;
  --accent-dark: #c4361f;
  --blue: #1f5eff;
  --green: #12a36b;
  --note: #fff6cf;
  --note-ink: #6a5300;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 28, 56, .08);
  --shadow-lg: 0 24px 60px rgba(16, 28, 56, .14);
  --wrap: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Manrope", sans-serif; line-height: 1.2; letter-spacing: -.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; transition: .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--soft-2); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.link-arrow { color: var(--blue); font-weight: 600; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { gap: 10px; }
.link-arrow, .link-arrow svg { transition: .2s; }

/* ---------- Raymelz demo notes ---------- */
.note {
  display: inline-flex; align-items: flex-start; gap: 8px;
  background: var(--note); color: var(--note-ink);
  border: 1px dashed #e3c75a; border-radius: 8px;
  padding: 8px 12px; font-size: 13px; line-height: 1.45; font-weight: 500;
  max-width: 560px;
}
.note b { font-weight: 700; white-space: nowrap; }
.note.center { margin-left: auto; margin-right: auto; }
.note-dark { background: rgba(255, 214, 90, .12); color: #ffe08a; border-color: rgba(255, 214, 90, .45); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c7cfdf; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 22px; align-items: center; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }

/* ---------- Header / nav ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; height: 72px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Manrope"; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px; background: var(--navy);
  display: grid; place-items: center; color: #fff; font-size: 15px; position: relative; overflow: hidden;
}
.logo-mark::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 18px; height: 18px; background: var(--accent); border-radius: 50%; }
.logo small { display: block; font-family: "DM Sans"; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-top: -3px; }

.nav { display: flex; gap: 4px; align-items: center; flex: 1; }
.nav > li { list-style: none; position: relative; }
.nav > li > a, .nav > li > button {
  display: flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 8px;
  font-weight: 500; font-size: 15px; color: var(--ink-2); background: none; border: 0;
}
.nav > li > a:hover, .nav > li > button:hover, .nav > li.open > button { background: var(--soft); color: var(--ink); }
.nav a.active { color: var(--accent); }
.nav .chev { width: 14px; height: 14px; transition: .2s; }
.nav li.open .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: -20px; width: 640px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.mega.narrow { width: 420px; grid-template-columns: 1fr; }
.nav li.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: 10px; }
.mega a:hover { background: var(--soft); }
.mega .mi { flex: 0 0 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--soft-2); color: var(--blue); }
.mega .mi svg { width: 20px; height: 20px; }
.mega strong { display: block; font-size: 14.5px; font-weight: 600; }
.mega span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.mega-head { grid-column: 1 / -1; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; padding: 0 12px 6px; }

.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 10px 18px; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: auto; }
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Generic sections ---------- */
section { padding: 96px 0; }
.soft { background: var(--soft); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
.sec-head p { color: var(--muted); font-size: 18px; }
.sec-head .note { margin-top: 18px; }
.sec-head.left { text-align: left; margin-left: 0; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; background: radial-gradient(1200px 500px at 85% -10%, #fde9e4 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, #e6eeff 0%, transparent 55%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 19px; color: var(--muted); margin-bottom: 32px; max-width: 540px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.avatars { display: flex; }
.avatars img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }
.stars { color: #f5a623; letter-spacing: 1px; }

.hero-visual { position: relative; }
.hero-visual .main-img { border-radius: 20px; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.widget {
  position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 14px 16px; font-size: 13px; animation: float 6s ease-in-out infinite;
}
.widget .w-label { color: var(--muted); font-size: 12px; font-weight: 500; }
.widget .w-val { font-family: "Manrope"; font-weight: 800; font-size: 22px; }
.widget .w-up { color: var(--green); font-weight: 700; font-size: 12px; }
.w1 { top: 28px; left: -40px; }
.w2 { bottom: 60px; left: -56px; width: 210px; animation-delay: -2s; }
.w3 { top: -18px; right: 24px; animation-delay: -4s; display: flex; gap: 10px; align-items: center; }
.w4 { bottom: -22px; right: -18px; animation-delay: -1s; }
.bar { height: 7px; background: var(--soft-2); border-radius: 9px; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #6f97ff); border-radius: 9px; }
.mini-bars { display: flex; gap: 5px; align-items: flex-end; height: 38px; margin-top: 6px; }
.mini-bars i { width: 10px; background: var(--accent); border-radius: 3px; opacity: .85; }
.mini-bars i:nth-child(odd) { background: var(--blue); }
.w3 .dot { width: 34px; height: 34px; border-radius: 50%; background: #e7f7ef; color: var(--green); display: grid; place-items: center; }
.w3 .dot svg { width: 18px; height: 18px; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Logo strip ---------- */
.logos { padding: 44px 0; border-bottom: 1px solid var(--line); }
.logos p { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.logo-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; }
.logo-row span { font-family: "Manrope"; font-weight: 800; font-size: 21px; color: #a3abba; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.logo-row span svg { width: 22px; height: 22px; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: .25s; }
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.p-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; }
.p-ico svg { width: 26px; height: 26px; }
.p-ico.c1 { background: #fde9e4; color: var(--accent); }
.p-ico.c2 { background: #e6eeff; color: var(--blue); }
.p-ico.c3 { background: #e2f6ee; color: var(--green); }
.pillar h3 { font-size: 21px; margin-bottom: 10px; }
.pillar p { color: var(--muted); }

/* ---------- Services grid ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; transition: .25s; position: relative; overflow: hidden;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: .35s; }
.svc:hover { box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before { width: 100%; }
.svc .s-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--soft-2); color: var(--navy-2); display: grid; place-items: center; margin-bottom: 20px; }
.svc .s-ico svg { width: 24px; height: 24px; }
.svc h3 { font-size: 20px; margin-bottom: 10px; }
.svc p { color: var(--muted); flex: 1; margin-bottom: 20px; font-size: 15.5px; }

/* ---------- Stack / accordion ---------- */
.stack { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; text-align: left; background: none; border: 0; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: "Manrope"; font-size: 19px; font-weight: 700; color: var(--ink); }
.acc-btn .num { color: var(--muted); font-size: 14px; font-weight: 600; margin-right: 14px; }
.acc-btn .plus { flex: 0 0 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: .25s; }
.acc-item.open .plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body ul { padding: 0 0 22px 42px; color: var(--muted); }
.acc-body li { margin-bottom: 8px; list-style: none; position: relative; }
.acc-body li::before { content: ""; position: absolute; left: -20px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.stack-visual { position: relative; }
.stack-visual img { border-radius: 20px; aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.stack-badge { position: absolute; left: -28px; bottom: 36px; background: var(--navy); color: #fff; border-radius: 14px; padding: 20px 24px; box-shadow: var(--shadow-lg); }
.stack-badge b { font-family: "Manrope"; font-size: 34px; display: block; line-height: 1; }
.stack-badge span { font-size: 13px; color: #b9c3d8; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ind { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: .25s; display: flex; flex-direction: column; }
.ind:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.ind img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.ind-body { padding: 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tags span { font-size: 11.5px; font-weight: 600; color: var(--blue); background: #ecf1ff; padding: 3px 9px; border-radius: 20px; }
.ind h3 { font-size: 19px; margin-bottom: 8px; }
.ind p { font-size: 14.5px; color: var(--muted); }

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% 0%, rgba(229,69,43,.35), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(31,94,255,.35), transparent 70%); }
.stats-band .wrap { position: relative; }
.stats-band h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 640px; margin-bottom: 14px; }
.stats-band > .wrap > p { color: #b9c3d8; max-width: 620px; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 40px; }
.stat b { font-family: "Manrope"; font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; display: block; line-height: 1.1; }
.stat span { color: #b9c3d8; font-size: 14.5px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: "Manrope"; font-weight: 800; font-size: 15px; color: var(--accent); display: block; margin-bottom: 14px; }
.step::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.step:first-child::after { background: linear-gradient(90deg, var(--accent) 40%, var(--line) 40%); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Trust cards ---------- */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.trust-card { border-radius: 18px; padding: 40px; display: flex; gap: 26px; align-items: flex-start; }
.trust-card.a { background: linear-gradient(135deg, #fff1ec, #ffe3db); }
.trust-card.b { background: linear-gradient(135deg, #eef3ff, #dfe8ff); }
.trust-card .t-ico { flex: 0 0 64px; height: 64px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.trust-card .t-ico svg { width: 30px; height: 30px; }
.trust-card.a .t-ico { color: var(--accent); }
.trust-card.b .t-ico { color: var(--blue); }
.trust-card h3 { font-size: 23px; margin-bottom: 10px; }
.trust-card p { color: var(--ink-2); margin-bottom: 16px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badges span { background: #fff; border-radius: 6px; padding: 5px 10px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }

/* ---------- Testimonials ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.testi .q { font-size: 16.5px; color: var(--ink-2); flex: 1; margin: 14px 0 24px; }
.testi .who { display: flex; gap: 12px; align-items: center; }
.testi .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi .who b { display: block; font-size: 15px; }
.testi .who span { font-size: 13px; color: var(--muted); }

/* ---------- Support cards ---------- */
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sup { position: relative; border-radius: 18px; overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; }
.sup img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sup::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,24,48,.05) 20%, rgba(13,24,48,.88)); }
.sup-body { position: relative; z-index: 1; padding: 32px; }
.sup h3 { font-size: 24px; margin-bottom: 8px; }
.sup p { color: #d6dcea; margin-bottom: 16px; max-width: 440px; }
.sup .link-arrow { color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 96px; }
.cta-box { background: var(--accent); border-radius: 24px; padding: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; color: #fff; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.08); right: -120px; top: -160px; }
.cta-box h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 12px; }
.cta-box p { color: #ffe1da; font-size: 17px; }
.cta-box .cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; position: relative; }
.cta-list { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.cta-list li::before { content: "✓"; margin-right: 8px; font-weight: 700; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 72px 0 64px; background: radial-gradient(900px 400px at 90% -20%, #fde9e4, transparent 60%), var(--soft); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; max-width: 820px; margin-bottom: 18px; }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 700px; margin-bottom: 20px; }

/* ---------- About page ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 16px; font-size: 17px; }
.img-stack { position: relative; padding: 0 0 60px 60px; }
.img-stack img:first-child { border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.img-stack img:last-child { position: absolute; left: 0; bottom: 0; width: 48%; border-radius: 14px; border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
.mv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 110px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl { display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding-bottom: 36px; position: relative; }
.tl::before { content: ""; position: absolute; left: 104px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.tl .yr { font-family: "Manrope"; font-weight: 800; font-size: 20px; color: var(--ink); }
.tl h3 { font-size: 19px; margin-bottom: 6px; }
.tl p { color: var(--muted); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member img { border-radius: 14px; aspect-ratio: 1/1.1; object-fit: cover; width: 100%; margin-bottom: 14px; filter: grayscale(.2); }
.member b { display: block; font-family: "Manrope"; font-size: 18px; }
.member span { color: var(--muted); font-size: 14px; }

/* ---------- Services page ---------- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail.rev > :first-child { order: 2; }
.svc-detail img { border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.svc-detail h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.svc-detail p { color: var(--muted); margin-bottom: 18px; font-size: 17px; }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 24px; }
.checks li { padding-left: 28px; position: relative; font-size: 15px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #e2f6ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a36b' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.subnav { position: sticky; top: 72px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav a { white-space: nowrap; padding: 8px 14px; border-radius: 20px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.subnav a:hover { background: var(--soft); }

/* ---------- Projects page ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filters button { border: 1.5px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 30px; font-weight: 600; font-size: 14px; color: var(--ink-2); transition: .2s; }
.filters button.on, .filters button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: .25s; }
.proj:hover { box-shadow: var(--shadow); }
.proj .ph { position: relative; overflow: hidden; }
.proj img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: .5s; }
.proj:hover img { transform: scale(1.05); }
.proj .cat { position: absolute; left: 14px; top: 14px; background: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.proj-body { padding: 22px; }
.proj-body h3 { font-size: 19px; margin-bottom: 6px; }
.proj-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.proj-meta { display: flex; gap: 18px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.proj-meta b { color: var(--ink); display: block; font-size: 14px; }
.proj.hide { display: none; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.c-info { display: grid; gap: 16px; }
.c-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.c-card .ci { flex: 0 0 46px; height: 46px; border-radius: 12px; background: #fde9e4; color: var(--accent); display: grid; place-items: center; }
.c-card .ci svg { width: 22px; height: 22px; }
.c-card b { display: block; font-size: 16px; margin-bottom: 2px; }
.c-card span, .c-card a { color: var(--muted); font-size: 15px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 24px; }
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); outline: none; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px #e6eeff; }
.field textarea { resize: vertical; min-height: 110px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 12.5px; max-width: 320px; }
.form-ok { display: none; text-align: center; padding: 30px 10px; }
.form-ok .ok-ico { width: 64px; height: 64px; border-radius: 50%; background: #e2f6ee; color: var(--green); display: grid; place-items: center; margin: 0 auto 16px; }
.form-ok .ok-ico svg { width: 32px; height: 32px; }
.form-ok h3 { font-size: 22px; margin-bottom: 6px; }
.form-ok p { color: var(--muted); }
form.sent { display: none; }
form.sent + .form-ok { display: block; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(13,24,48,.55); display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(3px); }
.modal.show { display: flex; }
.modal-box { background: #fff; border-radius: 20px; width: 100%; max-width: 920px; max-height: 92vh; overflow: auto; display: grid; grid-template-columns: 1fr 1.4fr; animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal-side { background: var(--navy); color: #fff; padding: 40px 34px; position: relative; overflow: hidden; }
.modal-side::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(229,69,43,.35); right: -110px; bottom: -110px; }
.modal-side h3 { font-size: 26px; margin-bottom: 12px; }
.modal-side p { color: #b9c3d8; margin-bottom: 24px; font-size: 15px; }
.modal-side ul { list-style: none; display: grid; gap: 12px; font-size: 15px; }
.modal-side li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }
.modal-main { padding: 40px 36px; position: relative; }
.modal-main h3 { font-size: 22px; margin-bottom: 20px; }
.modal-close { position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); display: grid; place-items: center; }
.modal-close svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #b9c3d8; padding: 72px 0 0; font-size: 15px; }
.footer .logo { color: #fff; }
.footer .logo small { color: #8b97b0; }
.f-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; padding-bottom: 48px; }
.f-about p { margin: 18px 0; max-width: 300px; font-size: 14.5px; }
.f-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-family: "DM Sans"; font-weight: 700; letter-spacing: 0; }
.f-col ul { list-style: none; display: grid; gap: 10px; }
.f-col a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--accent); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.f-bottom a { color: #fff; font-weight: 600; }

/* ---------- Floating: WhatsApp + Raymelz ribbon ---------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37,211,102,.4); transition: .2s; }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 28px; height: 28px; }
.ribbon {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 70;
  background: #111; color: #fff; border-radius: 40px; padding: 8px 8px 8px 18px;
  display: flex; align-items: center; gap: 14px; font-size: 13.5px; box-shadow: 0 14px 40px rgba(0,0,0,.3);
  max-width: calc(100% - 110px);
}
.ribbon b { color: #ffd55a; }
.ribbon a.r-go { background: #ffd55a; color: #111; font-weight: 700; padding: 7px 14px; border-radius: 30px; white-space: nowrap; }
.ribbon button { background: none; border: 0; color: #999; width: 26px; height: 26px; display: grid; place-items: center; }
.ribbon button:hover { color: #fff; }
.ribbon.hide { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .industries { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr 1fr; }
  .f-about { grid-column: 1 / -1; }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav, .header-cta .btn-outline { display: none; }
  .menu-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .nav.mobile-open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 24px; max-height: calc(100vh - 72px); overflow: auto; box-shadow: var(--shadow-lg);
  }
  .nav.mobile-open > li > a, .nav.mobile-open > li > button { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 16px; }
  .mega, .mega.narrow { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav li.open .mega { display: grid; }
  .hero .wrap, .stack, .split, .svc-detail, .contact-grid, .cta-box { grid-template-columns: 1fr; }
  .svc-detail.rev > :first-child { order: 0; }
  .hero-visual { margin: 20px 30px 0; }
  .services, .testis, .projects, .mv { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .trust, .support { grid-template-columns: 1fr; }
  .cta-box .cta-row { justify-content: flex-start; }
  .stack-badge { left: 16px; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-side { display: none; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .topbar .tb-left a:not(:first-child), .topbar .tb-right a:not(:last-child) { display: none; }
  .header-cta .btn-primary { display: none; }
  .hero { padding: 48px 0 72px; }
  .hero-visual { margin: 10px 8px 0; }
  .w1 { left: -8px; top: 12px; }
  .w2 { left: -8px; bottom: 30px; width: 180px; }
  .w3 { right: 8px; }
  .w4 { right: -6px; }
  .services, .testis, .projects, .industries, .mv, .process, .form-grid, .checks { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 40px 24px; }
  .trust-card { flex-direction: column; padding: 28px; }
  .img-stack { padding: 0 0 40px 30px; }
  .timeline::before { left: 7px; }
  .tl { grid-template-columns: 1fr; gap: 6px; padding-left: 36px; }
  .tl::before { left: 1px; }
  .logo-row { justify-content: center; }
  .logo-row span { font-size: 17px; }
  .form-card, .modal-main { padding: 26px 20px; }
  .ribbon { left: 16px; right: 86px; transform: none; max-width: none; font-size: 12px; padding-left: 14px; }
  .ribbon .r-text span { display: none; }
}
