/* ============================================================
   SCM Software Lab — SAP Consulting Website
   Design system v2: clean & minimal — white / light grey,
   dark text, single blue accent, subtle borders & shadows
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --bg-soft: #fafbfc;
  --ink: #16181d;
  --ink-2: #2b2f36;
  --slate: #5f6673;
  --muted: #8a919e;
  --line: #e6e8ec;
  --line-2: #d9dce2;
  --blue: #714B67;
  --blue-dark: #5a3a52;
  --blue-soft: #f5eff3;
  --marker: #ffe999;
  --teal: #12a594;
  --orange: #b45309;
  --pink: #0f62fe;
  --mist: #f5f6f8;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(22, 24, 29, 0.06);
  --shadow-md: 0 8px 28px rgba(22, 24, 29, 0.09);
  --shadow-lg: 0 20px 50px rgba(22, 24, 29, 0.12);
  --radius: 14px;
  --font-head: "Inter", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.25; color: var(--ink); font-weight: 700; letter-spacing: -0.015em; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--bg);
  color: var(--slate);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--slate); transition: color .2s; }
.topbar a:hover { color: var(--blue); }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar i { color: var(--blue); margin-right: 6px; font-size: 12px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; }
.brand-text { line-height: 1.2; }
.brand-text .brand-name { font-weight: 700; font-size: 17.5px; color: var(--ink); letter-spacing: -0.01em; }
.brand-text .brand-tag { font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.main-nav > ul { display: flex; gap: 4px; align-items: center; }
.main-nav a.nav-link {
  display: block; padding: 24px 14px; font-weight: 500; font-size: 14.5px;
  color: var(--ink-2); position: relative; transition: color .2s;
}
.main-nav a.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 15px;
  height: 2px; border-radius: 2px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav li:hover > a.nav-link, .main-nav a.nav-link.active { color: var(--ink); }
.main-nav li:hover > a.nav-link::after, .main-nav a.nav-link.active::after { transform: scaleX(1); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 310px;
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .25s ease; z-index: 100;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: all .18s;
}
.dropdown a i { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 8px; background: var(--bg-alt); color: var(--slate); font-size: 13px; transition: all .18s; }
.dropdown a:hover { background: var(--bg-alt); color: var(--ink); }
.dropdown a:hover i { background: var(--ink); color: #fff; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600;
  font-family: var(--font-head); font-size: 14.5px; padding: 12px 24px;
  border-radius: 6px; cursor: pointer; border: 1px solid transparent; transition: all .22s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(113, 75, 103, .3); }
.btn-warm { background: var(--blue); color: #fff; }
.btn-warm:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(113, 75, 103, .3); }
.btn-ghost { background: var(--white); color: var(--blue); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--blue); background: var(--blue-soft); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--blue); background: var(--blue-soft); }

.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--ink); cursor: pointer; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; color: var(--ink); overflow: hidden;
  background: var(--bg);
  padding: 100px 0 84px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 88% -10%, var(--blue-soft) 0%, transparent 60%),
    radial-gradient(600px 380px at -8% 110%, #f0f1f4 0%, transparent 55%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .35;
  -webkit-mask-image: radial-gradient(700px 500px at 75% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(700px 500px at 75% 20%, #000 0%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase; color: var(--slate);
  background: var(--white); border: 1px solid var(--line-2);
  padding: 7px 16px; border-radius: 40px; margin-bottom: 26px;
}
.hero-kicker i { color: var(--blue); }
.hero h1 { color: var(--ink); font-size: clamp(34px, 4.5vw, 56px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero h1 .grad-text, .page-hero h1 .grad-text, .marker {
  color: inherit;
  background: linear-gradient(180deg, transparent 62%, var(--marker) 62%);
  padding: 0 5px; border-radius: 3px;
}
/* Odoo-style centered hero variant */
.hero-center { max-width: 860px; margin: 0 auto; text-align: center; }
.hero-center p.lead { margin-left: auto; margin-right: auto; }
.hero-center .hero-actions, .hero-center .hero-trust { justify-content: center; }
.hero-center .hero-tagline { font-size: clamp(19px, 2.2vw, 26px); font-weight: 600; color: var(--ink-2); margin-bottom: 14px; letter-spacing: -0.01em; }
.hero p.lead { color: var(--slate); font-size: 18px; max-width: 620px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; color: var(--slate); font-size: 14px; }
.hero-trust span i { color: var(--teal); margin-right: 8px; }

.hero-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 32px; box-shadow: var(--shadow-md);
}
.hero-panel h3 { color: var(--ink); font-size: 18px; margin-bottom: 18px; }
.hero-panel h3 span { color: var(--blue); }
.hero-panel ul li {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 0;
  border-bottom: 1px solid var(--line); color: var(--slate); font-size: 14.5px;
}
.hero-panel ul li:last-child { border-bottom: none; }
.hero-panel ul li i { color: var(--blue); margin-top: 5px; font-size: 13px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: var(--ink); overflow: hidden; padding: 74px 0 62px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .3;
  -webkit-mask-image: radial-gradient(800px 400px at 85% 10%, #000 0%, transparent 70%);
  mask-image: radial-gradient(800px 400px at 85% 10%, #000 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; max-width: 880px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumb a { color: var(--slate); } .breadcrumb a:hover { color: var(--blue); }
.breadcrumb i { font-size: 10px; }
.page-hero h1 { color: var(--ink); font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.page-hero p { color: var(--slate); font-size: 17.5px; max-width: 760px; }
.page-hero .hero-actions { margin-top: 28px; margin-bottom: 0; }

/* ---------- Stats strip (borderless, Odoo style) ---------- */
.stats-strip { background: var(--bg); border-bottom: 1px solid var(--line); }
.stats-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 38px 12px; border: none; }
.stat:first-child { border: none; }
.stat .num { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; color: var(--blue); }
.stat .lbl { color: var(--slate); font-size: 13.5px; margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section.tint { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.tint + .section.tint { border-top: none; }
.section.dark { background: var(--bg-alt); color: var(--slate); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark h2, .section.dark h3 { color: var(--ink); }
.sec-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; }
.kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; margin-bottom: 13px; color: var(--blue);
}
.sec-head h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 15px; letter-spacing: -0.025em; }
.sec-head p { color: var(--slate); font-size: 16.5px; }
.section.dark .sec-head p { color: var(--slate); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 48px; }

/* Zoho-style borderless feature items (no boxes) */
.card { background: transparent; border: none; border-radius: 0; padding: 0; position: relative; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 19px; color: var(--blue); background: var(--blue-soft); margin-bottom: 18px;
  transition: all .25s;
}
.card:hover .icon { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.06); }
.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 14.5px; margin-bottom: 12px; }
.card ul { margin: 0 0 14px; }
.card ul li { font-size: 13.8px; color: var(--slate); padding: 4px 0 4px 24px; position: relative; }
.card ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--teal); font-size: 11px; top: 7px; }
.card .link-more { font-weight: 600; font-size: 14px; color: var(--blue); display: inline-flex; align-items: center; gap: 7px; }
.card .link-more i { transition: transform .2s; }
.card .link-more:hover i { transform: translateX(4px); }
.section.dark .card h3 { color: var(--ink); }
.section.dark .card p, .section.dark .card ul li { color: var(--slate); }

/* Zoho-style big typographic statement */
.big-statement {
  font-family: var(--font-head); font-size: clamp(26px, 3.8vw, 44px); font-weight: 800;
  text-align: center; line-height: 1.4; letter-spacing: -0.02em;
  max-width: 980px; margin: 0 auto; color: var(--ink);
}
.big-statement .sub { display: block; font-size: clamp(15px, 1.6vw, 18px); font-weight: 500; color: var(--slate); letter-spacing: 0; margin-top: 22px; line-height: 1.7; }

/* ---------- Feature / checklist rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.checklist li { display: flex; gap: 13px; padding: 9px 0; color: var(--slate); font-size: 15px; }
.checklist li i { color: var(--blue); background: var(--blue-soft); width: 25px; height: 25px; flex: 0 0 25px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; margin-top: 3px; }
.section.dark .checklist li { color: var(--slate); }
.checklist li strong { color: var(--ink); }

.info-panel {
  background: transparent; border: none; border-left: 3px solid var(--blue);
  border-radius: 0; padding: 10px 0 10px 36px; color: var(--slate); box-shadow: none;
}
.info-panel h3 { color: var(--ink); margin-bottom: 14px; font-size: 21px; }
.info-panel .big-grad { font-size: 44px; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.info-panel strong { color: var(--ink); }
.section.tint .info-panel { box-shadow: none; }

/* ---------- Process: connected timeline ---------- */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process.cols-5 { grid-template-columns: repeat(5, 1fr); }
.process.cols-6 { grid-template-columns: repeat(6, 1fr); }
.p-step { background: transparent; border: none; border-radius: 0; padding: 0 26px 0 0; position: relative; }
.p-step::before {
  counter-increment: step; content: "0" counter(step);
  font-weight: 700; font-size: 13px;
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--line-2); color: var(--ink);
  margin-bottom: 20px; position: relative; z-index: 1; transition: all .25s;
}
.p-step::after {
  content: ""; position: absolute; top: 21px; left: 42px; right: 0;
  height: 2px; background: var(--line);
}
.p-step:last-child::after { display: none; }
.p-step:hover::before { background: var(--blue); border-color: var(--blue); color: #fff; }
.p-step h4 { font-size: 16px; margin-bottom: 8px; }
.p-step p { color: var(--slate); font-size: 13.5px; padding-right: 6px; }
.section.dark .p-step::before, .section.tint .p-step::before { background: var(--white); }

/* ---------- Bento area: borderless feature layout with hairline dividers ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 44px 40px; }
.b-card { background: transparent; border: none; border-radius: 0; padding: 0; position: relative; display: flex; flex-direction: column; }
.b-card .icon {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  font-size: 18px; color: var(--blue); background: var(--blue-soft); margin-bottom: 16px; transition: all .25s;
}
.b-card:hover .icon { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.06); }
.b-card h3 { font-size: 17.5px; margin-bottom: 9px; }
.b-card p { color: var(--slate); font-size: 14px; margin-bottom: 12px; flex: 1; }
.b-card .link-more { font-weight: 600; font-size: 13.5px; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.b-card .link-more i { transition: transform .2s; }
.b-card .link-more:hover i { transform: translateX(4px); }
.b-card.b-lg { grid-column: span 2; grid-row: span 2; padding-right: 40px; border-right: 1px solid var(--line); }
.b-card.b-lg h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; }
.b-card.b-lg p { font-size: 15.5px; flex: 0; }
.b-card.b-lg .b-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.b-card.b-lg .b-tags span { font-size: 12.5px; font-weight: 600; color: var(--blue); background: var(--blue-soft); border-radius: 30px; padding: 5px 13px; }
.b-card.b-lg .b-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.b-card.b-lg .b-stat { font-size: 13px; color: var(--muted); }
.b-card.b-lg .b-stat strong { display: block; font-size: 28px; color: var(--blue); font-weight: 800; letter-spacing: -0.02em; }

/* ---------- Pillars — columns split by hairlines (Apple style) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillars.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pillars.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 8px 36px; }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar .ph-icon { font-size: 26px; color: var(--blue); margin-bottom: 16px; }
.pillar .ph-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.pillar h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -0.015em; }
.pillar p { color: var(--slate); font-size: 14.5px; margin-bottom: 12px; }
.pillar ul li { font-size: 13.8px; color: var(--slate); padding: 4px 0 4px 24px; position: relative; }
.pillar ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--teal); font-size: 11px; top: 7px; }

/* ---------- Vertical timeline (Linear style) ---------- */
.vtimeline { max-width: 760px; margin: 0 auto; counter-reset: vt; }
.vt-item { position: relative; padding: 0 0 38px 58px; }
.vt-item::before {
  counter-increment: vt; content: counter(vt, decimal-leading-zero);
  position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--line-2); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--ink);
  z-index: 1; transition: all .25s;
}
.vt-item::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.vt-item:last-child { padding-bottom: 0; }
.vt-item:last-child::after { display: none; }
.vt-item:hover::before { border-color: var(--blue); color: var(--blue); }
.vt-item h4 { font-size: 17px; margin-bottom: 6px; }
.vt-item p { color: var(--slate); font-size: 14.5px; }
.section.tint .vt-item::before { background: var(--bg-alt); }

/* ---------- Directory index list (Stripe style) ---------- */
.dir-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 70px; }
.dir-item { padding: 24px 0 22px; border-top: 1px solid var(--line); }
.dir-item h3 { font-size: 17px; margin: 0; }
.dir-item h3 a { color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 14px; transition: color .2s; }
.dir-item h3 a i { font-size: 12px; color: var(--muted); transition: transform .2s, color .2s; }
.dir-item h3 a:hover { color: var(--blue); }
.dir-item h3 a:hover i { transform: translateX(5px); color: var(--blue); }
.dir-item p { color: var(--slate); font-size: 13.8px; margin-top: 7px; padding-right: 30px; }

/* ---------- Stacked icon rows with dividers ---------- */
.icon-rows { max-width: 900px; margin: 0 auto; }
.icon-row {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 26px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.icon-row:first-child { border-top: 1px solid var(--line); }
.icon-row .ir-icon {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  font-size: 17px; color: var(--blue); background: var(--blue-soft); transition: all .25s;
}
.icon-row:hover .ir-icon { background: var(--blue); color: #fff; transform: rotate(-6deg); }
.icon-row h3 { font-size: 16.5px; margin-bottom: 4px; }
.icon-row p { color: var(--slate); font-size: 14px; margin: 0; }
.icon-row .ir-link { font-weight: 600; font-size: 13.5px; color: var(--blue); white-space: nowrap; }
.icon-row .ir-link i { font-size: 11px; transition: transform .2s; margin-left: 5px; }
.icon-row .ir-link:hover i { transform: translateX(4px); }

/* ---------- Trusted-by logo strip ---------- */
.logo-strip-wrap { padding: 30px 0 8px; text-align: center; }
.logo-strip-wrap .ls-label { font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 22px; }
.logo-strip { display: flex; justify-content: center; align-items: center; gap: 44px; flex-wrap: wrap; }
.logo-strip img { height: 34px; width: auto; filter: grayscale(1); opacity: .55; transition: filter .25s, opacity .25s; }
.logo-strip img:hover { filter: none; opacity: 1; }

/* ---------- Browser-frame mockup ---------- */
.mockup { background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; }
.m-top { display: flex; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); align-items: center; }
.m-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.m-top i:nth-child(1) { background: #f06050; }
.m-top i:nth-child(2) { background: #e4a900; }
.m-top i:nth-child(3) { background: #2e937a; }
.m-top .m-url { flex: 1; height: 18px; margin-left: 10px; border-radius: 9px; background: var(--bg-alt); border: 1px solid var(--line); }
.m-body { display: grid; grid-template-columns: 96px 1fr; min-height: 250px; }
.m-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.m-side span { height: 8px; border-radius: 4px; background: var(--line-2); }
.m-side span:first-child { background: var(--blue); }
.m-main { padding: 16px; }
.m-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.m-kpi { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.m-kpi .v { font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -0.02em; }
.m-kpi .l { font-size: 10.5px; color: var(--muted); }
.m-chart { display: flex; gap: 8px; align-items: flex-end; height: 108px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.m-chart span { flex: 1; border-radius: 4px 4px 0 0; background: var(--blue-soft); }
.m-chart span.hi { background: var(--blue); }
.m-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.m-col { border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: var(--bg-soft); }
.m-col .m-col-h { height: 9px; width: 60%; border-radius: 4px; background: var(--blue); margin-bottom: 10px; }
.m-col:nth-child(2) .m-col-h { background: #e4a900; }
.m-col:nth-child(3) .m-col-h { background: #2e937a; }
.m-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 8px; margin-bottom: 8px; }
.m-card i { display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 5px; }
.m-card i:last-child { width: 55%; margin-bottom: 0; }

/* ---------- Yellow ribbon quote ---------- */
.ribbon { background: var(--marker); padding: 66px 0; }
.ribbon blockquote {
  font-size: clamp(19px, 2.4vw, 27px); font-weight: 600; color: #3f3521;
  text-align: center; max-width: 880px; margin: 0 auto 20px; line-height: 1.5; letter-spacing: -0.015em;
}
.ribbon .r-who { text-align: center; color: #6d5e35; font-size: 14px; font-weight: 600; }

/* ---------- Odoo-style apps grid ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 30px 14px; }
.app-tile { text-align: center; display: block; }
.app-tile .tile {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 10px;
  display: grid; place-items: center; color: #fff; font-size: 22px;
  box-shadow: 0 6px 16px rgba(22, 24, 29, .14);
  transition: transform .22s, box-shadow .22s;
}
.app-tile:hover .tile { transform: translateY(-5px) scale(1.05); box-shadow: 0 12px 26px rgba(22, 24, 29, .2); }
.app-tile span { font-size: 13px; font-weight: 600; color: var(--ink-2); display: block; line-height: 1.35; }
.app-tile:hover span { color: var(--blue); }
/* Odoo-ish app icon palette, cycling */
.app-tile:nth-child(8n+1) .tile { background: #714B67; }
.app-tile:nth-child(8n+2) .tile { background: #00A09D; }
.app-tile:nth-child(8n+3) .tile { background: #F06050; }
.app-tile:nth-child(8n+4) .tile { background: #6460AC; }
.app-tile:nth-child(8n+5) .tile { background: #2E937A; }
.app-tile:nth-child(8n+6) .tile { background: #E4A900; }
.app-tile:nth-child(8n+7) .tile { background: #21B799; }
.app-tile:nth-child(8n) .tile { background: #985184; }
.apps-more { text-align: center; margin-top: 34px; color: var(--slate); font-size: 14.5px; }
.apps-more a { color: var(--blue); font-weight: 700; }
.apps-more a:hover { text-decoration: underline; }

/* ---------- Marquee (product ticker) ---------- */
.marquee {
  overflow: hidden; position: relative; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee + .marquee { margin-top: 14px; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marqueeX 46s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .chip { flex: 0 0 auto; }
@keyframes marqueeX { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Editorial numbered feature rows ---------- */
.feature-editorial { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.feature-editorial .fe-intro { position: sticky; top: 110px; }
.feature-editorial .fe-intro h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; letter-spacing: -0.025em; }
.feature-editorial .fe-intro p { color: var(--slate); margin-bottom: 26px; }
.f-row { display: grid; grid-template-columns: 78px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.f-row:first-child { padding-top: 0; }
.f-row .f-num {
  font-size: 34px; font-weight: 800; line-height: 1; color: transparent;
  -webkit-text-stroke: 1.5px var(--line-2); letter-spacing: -0.02em; padding-top: 3px;
  transition: all .3s;
}
.f-row:hover .f-num { -webkit-text-stroke-color: var(--blue); }
.f-row h4 { font-size: 16.5px; margin-bottom: 7px; }
.f-row p { color: var(--slate); font-size: 14.5px; }

/* ---------- Industry tabs — Zoho-style underline tabs, no box ---------- */
.tabs { display: block; background: transparent; border: none; border-radius: 0; box-shadow: none; }
.tab-list {
  display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 2px;
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 0; margin-bottom: 38px;
}
.tab-btn {
  width: auto; text-align: center; padding: 13px 16px 15px; border: none; border-radius: 0;
  background: none; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  color: var(--slate); display: inline-flex; align-items: center; gap: 9px; transition: all .2s;
  position: relative; margin-bottom: -1px; border-bottom: 2px solid transparent;
}
.tab-btn i { width: auto; height: auto; background: transparent; color: var(--muted); font-size: 14px; transition: color .2s; }
.tab-btn:hover { color: var(--ink); background: transparent; }
.tab-btn:hover i { color: var(--blue); }
.tab-btn.active { background: transparent; color: var(--blue); box-shadow: none; border-bottom-color: var(--blue); }
.tab-btn.active i { background: transparent; color: var(--blue); }
.tab-panel { display: none; padding: 0; max-width: 900px; margin: 0 auto; }
.tab-panel.active { display: block; animation: tabFade .35s ease; }
@keyframes tabFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tab-panel h3 { font-size: 24px; margin-bottom: 12px; letter-spacing: -0.02em; }
.tab-panel > p { color: var(--slate); font-size: 15.5px; margin-bottom: 22px; }
.tab-panel .checklist { columns: 2; column-gap: 40px; margin-bottom: 24px; }
.tab-panel .checklist li { break-inside: avoid; }

/* ---------- Quote slider ---------- */
.quote-slider { max-width: 800px; margin: 0 auto; text-align: center; position: relative; }
.q-mark { font-size: 40px; color: var(--blue); opacity: .25; margin-bottom: 8px; }
.q-slide { display: none; }
.q-slide.active { display: block; animation: tabFade .4s ease; }
.q-slide blockquote { font-size: clamp(17px, 2vw, 21px); font-weight: 500; color: var(--ink-2); line-height: 1.65; letter-spacing: -0.01em; margin-bottom: 28px; }
.q-slide .t-who { justify-content: center; }
.q-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; }
.q-arrow {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white);
  color: var(--ink); cursor: pointer; font-size: 14px; transition: all .2s;
}
.q-arrow:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.q-dots { display: flex; gap: 8px; }
.q-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); border: none; cursor: pointer; transition: all .25s; padding: 0; }
.q-dot.active { background: var(--blue); width: 22px; border-radius: 5px; }

/* ---------- Chips / tags ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--white); border: 1px solid var(--line); color: var(--ink-2);
  padding: 9px 18px; border-radius: 40px; font-size: 13.5px; font-weight: 500;
  transition: all .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.section.dark .chip { background: var(--white); border-color: var(--line); color: var(--ink-2); }
.section.dark .chip:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Tables — minimal, no box (Zoho style) ---------- */
.table-wrap { overflow-x: auto; border-radius: 0; border: none; box-shadow: none; background: transparent; }
table.data { width: 100%; border-collapse: collapse; background: transparent; min-width: 680px; }
table.data th {
  background: transparent; color: var(--muted); text-align: left; padding: 12px 18px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.4px;
  border-bottom: 2px solid var(--ink);
}
table.data td { padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--slate); vertical-align: top; }
table.data tr:hover td { background: var(--bg-soft); }
table.data td strong { color: var(--ink); }

/* ---------- Accordion (FAQ) — minimal divider style, no boxes ---------- */
.accordion { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.acc-item { background: transparent; border: none; border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: 0; overflow: hidden; }
.acc-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  padding: 22px 6px; font-family: var(--font-head); font-weight: 600; font-size: 16.5px;
  color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .2s;
}
.acc-q:hover { color: var(--blue); }
.acc-q i { color: var(--muted); transition: transform .3s; flex: 0 0 auto; font-size: 13px; }
.acc-item.open .acc-q { color: var(--blue); }
.acc-item.open .acc-q i { transform: rotate(180deg); color: var(--blue); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-a-inner { padding: 0 6px 24px; color: var(--slate); font-size: 14.5px; max-width: 740px; }

/* ---------- Testimonials ---------- */
.t-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .22s, box-shadow .22s; }
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t-stars { color: #eab308; margin-bottom: 15px; font-size: 13px; letter-spacing: 2px; }
.t-card p.quote { color: var(--slate); font-size: 14.5px; margin-bottom: 22px; }
.t-who { display: flex; align-items: center; gap: 13px; }
.t-who .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--ink); background: var(--bg-alt); border: 1px solid var(--line-2); }
.t-who .name { font-weight: 600; font-size: 14.5px; }
.t-who .role { color: var(--muted); font-size: 12.5px; }

/* ---------- CTA band (Odoo purple gradient) ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #714B67 0%, #4b3245 100%); padding: 84px 0; color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 340px at 85% -20%, rgba(255, 233, 153, .18), transparent 65%),
              radial-gradient(500px 300px at 5% 120%, rgba(255, 255, 255, .08), transparent 60%);
}
.cta-band .container { position: relative; z-index: 1; text-align: center; max-width: 780px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 16px; letter-spacing: -0.025em; }
.cta-band p { color: rgba(255, 255, 255, .78); font-size: 16.5px; margin-bottom: 32px; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }
.cta-band .btn-warm { background: #fff; color: var(--blue); }
.cta-band .btn-warm:hover { background: var(--marker); color: #3f3521; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info-card { background: transparent; color: var(--slate); border-radius: 0; padding: 10px 0; border: none; }
.contact-info-card h3 { color: var(--ink); font-size: 22px; margin-bottom: 12px; }
.contact-info-card > p { font-size: 14.5px; margin-bottom: 28px; }
.ci-row { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.ci-row:last-of-type { border-bottom: none; }
.ci-row .ci-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 11px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--blue); font-size: 16px; }
.ci-row h4 { color: var(--ink); font-size: 15px; margin-bottom: 3px; }
.ci-row p, .ci-row a { color: var(--slate); font-size: 14px; }
.ci-row a:hover { color: var(--blue); }
.contact-info-card h4 { color: var(--ink); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 40px; box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 22px; margin-bottom: 8px; }
.form-card > p { color: var(--slate); font-size: 14.5px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { font-weight: 600; font-size: 13.5px; }
.form-group label span { color: var(--blue); }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 15px;
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(113, 75, 103, .15);
}
.map-embed { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 56px; }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); color: var(--slate); border-top: 1px solid var(--line); }
.footer-top { padding: 70px 0 46px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 42px; }
.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; margin-bottom: 20px; max-width: 320px; }
.f-social { display: flex; gap: 10px; }
.f-social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); color: var(--slate); transition: all .2s; font-size: 14px;
}
.f-social a:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.site-footer h4 { color: var(--ink); font-size: 15.5px; margin-bottom: 20px; }
.f-links li { margin-bottom: 10px; }
.f-links a { font-size: 14px; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; color: var(--slate); }
.f-links a i { font-size: 10px; color: var(--muted); }
.f-links a:hover { color: var(--blue); padding-left: 4px; }
.f-contact li { display: flex; gap: 12px; margin-bottom: 15px; font-size: 14px; }
.f-contact li i { color: var(--blue); margin-top: 5px; font-size: 13px; }
.f-contact a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer-bottom a { color: var(--slate); } .footer-bottom a:hover { color: var(--blue); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Back to top ---------- */
#toTop {
  position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 12px;
  background: var(--ink); color: #fff; border: none; cursor: pointer; font-size: 16px;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: all .3s; z-index: 998;
}
#toTop.show { opacity: 1; visibility: visible; }
#toTop:hover { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .process { grid-template-columns: repeat(2, 1fr); }
  .process.cols-5, .process.cols-6 { grid-template-columns: repeat(3, 1fr); }
  .process .p-step { padding-bottom: 26px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-card.b-lg { grid-column: span 2; grid-row: span 1; }
  .apps-grid { grid-template-columns: repeat(5, 1fr); }
  .m-kpis, .m-cols { grid-template-columns: repeat(2, 1fr); }
  .m-col:nth-child(3) { display: none; }
  .feature-editorial { grid-template-columns: 1fr; gap: 40px; }
  .feature-editorial .fe-intro { position: static; }
  .tabs { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); }
  .tab-btn { white-space: nowrap; width: auto; flex: 0 0 auto; }
  .hero .container { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--white);
    padding: 84px 26px 40px; transform: translateX(100%); transition: transform .3s ease; z-index: 1000;
    overflow-y: auto; border-left: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a.nav-link { color: var(--ink); padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .main-nav a.nav-link::after { display: none; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 8px 10px; min-width: 0; }
  .dropdown a { color: var(--slate); padding: 9px 10px; }
  .nav-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--ink); font-size: 24px; cursor: pointer; display: block; }
  .header-cta .btn { display: none; }
  .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .dir-list { grid-template-columns: 1fr; gap: 0; }
  .icon-row { grid-template-columns: 44px 1fr; }
  .icon-row .ir-link { grid-column: 2; justify-self: start; }
  .pillars, .pillars.cols-2, .pillars.cols-4 { grid-template-columns: 1fr; }
  .pillar { padding: 24px 0; }
  .pillar + .pillar { border-left: none; border-top: 1px solid var(--line); }
  .vt-item { padding-left: 50px; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .pillars.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars.cols-4 .pillar { padding: 22px 30px; }
  .pillars.cols-4 .pillar:nth-child(odd) { border-left: none; padding-left: 0; }
  .pillars.cols-4 .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 861px) { .nav-close { display: none; } }
@media (max-width: 620px) {
  .grid-3, .grid-4, .process, .process.cols-5, .process.cols-6 { grid-template-columns: 1fr; }
  .process .p-step::after { display: none; }
  .bento { grid-template-columns: 1fr; }
  .b-card.b-lg { grid-column: span 1; }
  .apps-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 10px; }
  .tab-panel { padding: 28px 22px; }
  .tab-panel .checklist { columns: 1; }
  .f-row { grid-template-columns: 56px 1fr; gap: 16px; }
  .f-row .f-num { font-size: 26px; }
  .footer-top { grid-template-columns: 1fr; }
  .stats-strip .container { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 58px; }
}
