/* =========================================================
   Corposol — main stylesheet
   ========================================================= */
:root {
  --brand: #1455a6;
  --brand-600: #0f4789;
  --brand-50: #eef4fc;
  --brand-100: #dbe8f8;
  --accent: #14b8a6;
  --accent-2: #f59e0b;
  --ink: #0b1b33;
  --ink-2: #1e2d45;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, .06), 0 1px 3px rgba(11, 27, 51, .08);
  --shadow: 0 10px 30px -12px rgba(11, 27, 51, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 27, 51, .28);
  --container: 1200px;
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #cbd5e1; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-50);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.section-dark .eyebrow { background: rgba(255,255,255,.08); color: #7dd3fc; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section-dark .section-head p { color: #94a3b8; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 14px 24px; border-radius: 12px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(20,85,166,.6); }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.btn-accent { background: linear-gradient(135deg, #14b8a6, #0ea5e9); color: #fff; box-shadow: 0 8px 22px -8px rgba(14,165,233,.6); }
.btn-accent:hover { color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.btn-light:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { color: var(--brand-600); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-family: var(--font-head); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.topbar { background: var(--ink); color: #cbd5e1; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #e2e8f0; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; }
.topbar .tb-links { display: flex; gap: 22px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11,27,51,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 40px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-head); font-weight: 600; font-size: .96rem;
  color: var(--ink-2); padding: 10px 14px; border-radius: 10px;
  background: none; border: 0; cursor: pointer;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li.open > button { color: var(--brand); background: var(--brand-50); }
.menu > li > a.active, .menu > li > button.active { color: var(--brand); }
.menu .chev { width: 16px; height: 16px; transition: transform .2s; }
.menu > li.open .chev { transform: rotate(180deg); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 18px; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, 8px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 14px; min-width: 300px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.menu > li.open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1081px) {
  .menu > li:hover > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .menu > li:hover .chev { transform: rotate(180deg); }
}
.dropdown.mega { display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 4px; width: 640px; }
.dropdown.mega.wide { grid-template-columns: repeat(3, minmax(220px, 1fr)); width: 820px; }
.dd-item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; color: var(--ink-2); align-items: flex-start; }
.dd-item:hover { background: var(--bg-soft); color: var(--ink); }
.dd-item .ic { flex: 0 0 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.dd-item .ic svg { width: 20px; height: 20px; }
.dd-item strong { display: block; font-family: var(--font-head); font-size: .93rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.dd-item span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.dd-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding: 12px 12px 4px; display: flex; justify-content: space-between; align-items: center; font-size: .88rem; }
.dd-foot span { color: var(--muted); }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.burger svg { width: 22px; height: 22px; color: var(--ink); }

@media (max-width: 1080px) {
  .topbar .tb-hide { display: none; }
  .burger { display: grid; }
  .nav-cta .btn { display: none; }
  .menu-wrap {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--nav-bottom, 116px)); background: #fff;
    overflow-y: auto; padding: 16px 20px 40px;
    transform: translateY(-8px); opacity: 0; transition: transform .2s ease, opacity .2s ease, visibility .2s;
    visibility: hidden;
    border-top: 1px solid var(--line);
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .menu-wrap { transform: none; opacity: 1; visibility: visible; }
  .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu > li > a, .menu > li > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; }
  .dropdown, .dropdown.mega, .dropdown.mega.wide {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; width: auto; min-width: 0; padding: 0 0 8px 8px;
    display: none; grid-template-columns: 1fr;
  }
  .menu > li.open > .dropdown { display: grid; transform: none; }
  .dd-item > span:last-child > span { display: none; }
  .dd-item { align-items: center; padding: 8px 12px; }
  .dd-item .ic { flex-basis: 32px; height: 32px; }
  .menu-wrap .mobile-cta { display: grid; gap: 10px; margin-top: 18px; }
}
@media (min-width: 1081px) { .menu-wrap .mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(20,184,166,.28), transparent 60%),
              radial-gradient(900px 600px at -10% 110%, rgba(20,85,166,.55), transparent 60%),
              linear-gradient(160deg, #0b1b33 0%, #0e2547 55%, #0b1b33 100%);
  color: #cbd5e1;
  padding: 96px 0 110px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  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: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(90deg, #5eead4, #38bdf8 60%, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #b6c3d6; font-size: 1.2rem; max-width: 600px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .eyebrow { background: rgba(255,255,255,.08); color: #7dd3fc; border: 1px solid rgba(255,255,255,.1); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; color: #e2e8f0; }
.hero-points svg { width: 18px; height: 18px; color: #5eead4; }

/* hero mockup */
.mock { position: relative; }
.mock-window {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px; padding: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  backdrop-filter: blur(10px);
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mock-body { display: grid; grid-template-columns: 70px 1fr; gap: 12px; }
.mock-side { background: rgba(255,255,255,.05); border-radius: 12px; padding: 10px; display: grid; gap: 10px; align-content: start; }
.mock-side i { height: 10px; border-radius: 6px; background: rgba(255,255,255,.14); }
.mock-side i:first-child { background: #38bdf8; }
.mock-main { display: grid; gap: 12px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpi { background: rgba(255,255,255,.07); border-radius: 12px; padding: 12px; }
.mock-kpi b { display: block; color: #fff; font-family: var(--font-head); font-size: 1.15rem; }
.mock-kpi small { color: #94a3b8; font-size: .72rem; }
.mock-chart { background: rgba(255,255,255,.05); border-radius: 12px; padding: 14px; height: 150px; display: flex; align-items: flex-end; gap: 8px; }
.mock-chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #38bdf8, rgba(56,189,248,.25)); }
.mock-chart span:nth-child(3n) { background: linear-gradient(180deg, #5eead4, rgba(94,234,212,.25)); }
.mock-rows { background: rgba(255,255,255,.05); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .78rem; color: #cbd5e1; }
.mock-row em { font-style: normal; font-size: .68rem; padding: 2px 8px; border-radius: 999px; background: rgba(94,234,212,.15); color: #5eead4; }
.mock-row em.warn { background: rgba(245,158,11,.15); color: #fbbf24; }
.mock-phone {
  position: absolute; right: -18px; bottom: -40px; width: 150px;
  background: #0b1b33; border: 6px solid #1e293b; border-radius: 26px; padding: 12px 10px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
}
.mock-phone .notch { width: 50px; height: 6px; border-radius: 6px; background: #1e293b; margin: 0 auto 10px; }
.mock-phone .pcard { background: rgba(255,255,255,.07); border-radius: 10px; padding: 8px; margin-bottom: 8px; font-size: .66rem; color: #cbd5e1; }
.mock-phone .pcard b { display: block; color: #fff; font-size: .74rem; }
.mock-phone .btnx { background: linear-gradient(135deg, #14b8a6, #0ea5e9); border-radius: 8px; text-align: center; color: #fff; font-size: .68rem; padding: 6px; font-weight: 700; }
.float-badge {
  position: absolute; left: -30px; top: -26px;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px;
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); font-size: .82rem;
}
.float-badge .ic { width: 34px; height: 34px; border-radius: 10px; background: #dcfce7; color: #16a34a; display: grid; place-items: center; }
.float-badge .ic svg { width: 18px; height: 18px; }
.float-badge b { display: block; font-family: var(--font-head); }

/* page hero (inner pages) */
.page-hero { padding: 72px 0 80px; }
.page-hero .lead { max-width: 760px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .85rem; color: #94a3b8; }
.breadcrumb a { color: #cbd5e1; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #475569; }
.page-hero .hero-grid { grid-template-columns: 1.3fr .7fr; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 26px; backdrop-filter: blur(8px);
}
.hero-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; color: #e2e8f0; font-size: .95rem; }
.hero-card li svg { flex: 0 0 18px; width: 18px; height: 18px; color: #5eead4; margin-top: 3px; }

/* ---------- Logos / tech strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: #fff; }
.strip .container { display: flex; align-items: center; gap: 28px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; justify-content: center; }
.strip p { margin: 0; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.chip { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.section-dark .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #e2e8f0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card p { color: var(--muted); font-size: .97rem; }
.card h3 { margin-bottom: .45em; }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-50), #e6fffb); color: var(--brand); margin-bottom: 20px;
}
.card .ic svg { width: 26px; height: 26px; }
a.card { color: inherit; }
a.card:hover, .card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card .link-arrow { margin-top: auto; padding-top: 6px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; }
.card-tags li { font-size: .75rem; font-weight: 600; color: var(--brand); background: var(--brand-50); padding: 3px 9px; border-radius: 999px; }
.section-soft .card { box-shadow: var(--shadow-sm); }

/* industry tiles */
.ind-tile { display: flex; gap: 16px; align-items: center; padding: 20px; }
.ind-tile .ic { margin: 0; flex: 0 0 48px; width: 48px; height: 48px; }
.ind-tile h3 { font-size: 1.02rem; margin: 0 0 2px; }
.ind-tile p { margin: 0; font-size: .86rem; }
.ind-tile .arrow { margin-left: auto; color: var(--muted); }
.ind-tile .arrow svg { width: 18px; height: 18px; }
a.ind-tile:hover .arrow { color: var(--brand); }

/* feature list */
.checklist { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.checklist.two { grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
.panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 22px; padding: 36px; }
.panel-dark { background: linear-gradient(160deg, #0b1b33, #12305c); border-radius: 22px; padding: 36px; color: #cbd5e1; }
.panel-dark h2, .panel-dark h3, .panel-dark h4 { color: #fff; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1.1; }
.stat span { color: #94a3b8; font-size: .92rem; }

/* process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 800; font-size: 1.9rem;
  background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* products */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.product + .product { margin-top: 28px; }
.product .p-body { padding: 44px; }
.product .p-visual { display: grid; place-items: center; padding: 40px; min-height: 320px; }
.product .tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.pv-watrio { background: linear-gradient(135deg, #064e3b, #10b981); }
.pv-upnextly { background: linear-gradient(135deg, #312e81, #6366f1); }
.pv-apartment { background: linear-gradient(135deg, #0b1b33, #1455a6); }
.pv-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 18px; padding: 22px; width: 100%; max-width: 320px; backdrop-filter: blur(6px); }
.pv-card .row { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); border-radius: 12px; padding: 10px 12px; margin-top: 10px; font-size: .85rem; }
.pv-card .row i { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: rgba(255,255,255,.3); }
.pv-card .row small { display: block; opacity: .75; font-size: .74rem; }
.pv-card h4 { color: #fff; margin: 0; display: flex; align-items: center; gap: 8px; }
.pv-card h4 svg { width: 20px; height: 20px; }
.product-mini { display: flex; flex-direction: column; }
.product-mini .p-visual { min-height: 180px; border-radius: 14px; margin: -8px -8px 22px; display: grid; place-items: center; }
.product-mini .p-visual svg { width: 56px; height: 56px; color: #fff; }

/* testimonials */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.quote-card blockquote { margin: 0; font-size: 1.02rem; color: var(--ink-2); }
.quote-card .stars { color: #f59e0b; display: flex; gap: 2px; }
.quote-card .stars svg { width: 16px; height: 16px; fill: currentColor; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent)); }
.quote-card .who b { display: block; color: var(--ink); font-family: var(--font-head); }
.quote-card .who span { font-size: .85rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--brand-100); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--brand); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .ans { padding: 0 0 20px; color: var(--text); }
.faq .ans p:last-child { margin: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px 56px;
  background: radial-gradient(600px 300px at 90% 0%, rgba(20,184,166,.45), transparent 60%), linear-gradient(135deg, #1455a6, #0b1b33);
  color: #dbeafe; display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: flex-end; }

/* blog */
.post-card { padding: 0; overflow: hidden; }
.post-card .thumb { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .thumb.gen { display: grid; place-items: center; color: #fff; }
.post-card .thumb.gen svg { width: 54px; height: 54px; opacity: .9; }
.post-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.meta { font-size: .82rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.meta .cat { color: var(--brand); font-weight: 600; }
.post-card h3 { font-size: 1.15rem; }
.article { max-width: 780px; margin: 0 auto; font-size: 1.07rem; }
.article h2 { font-size: 1.6rem; margin-top: 1.8em; }
.article h3 { font-size: 1.25rem; margin-top: 1.5em; }
.article img { border-radius: 14px; margin: 1.5em auto; }
.article ul, .article ol { margin: 0 0 1.2rem; }
.article li { margin-bottom: .5em; }
.article blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--accent); background: var(--bg-soft); border-radius: 0 12px 12px 0; font-style: italic; }
.article table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--bg-soft); font-family: var(--font-head); color: var(--ink); }
.table-wrap { overflow-x: auto; }
.article .callout { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 14px; padding: 22px 24px; margin: 2em 0; }
.article .callout p:last-child { margin: 0; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 32px 0 0; }
.tags li { font-size: .82rem; background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }

/* legal */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal li { margin-bottom: .5em; }
.legal .updated { color: var(--muted); font-size: .92rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.contact-list .ic { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; }
.contact-list a, .contact-list b { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(20,85,166,.12); }
.hp { position: absolute; left: -10000px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.form-status.ok { display: block; background: #dcfce7; color: #166534; }
.form-status.err { display: block; background: #fee2e2; color: #991b1b; }

/* footer */
.site-footer { background: #07142a; color: #94a3b8; padding: 80px 0 0; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.foot-brand p { max-width: 320px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.foot-contact { display: grid; gap: 8px; margin-top: 18px; }
.foot-contact a, .foot-contact span { display: inline-flex; gap: 8px; align-items: flex-start; }
.foot-contact svg { flex: none; margin-top: 3px; }
.foot-contact svg { width: 16px; height: 16px; color: #5eead4; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); }
.socials a:hover { background: var(--brand); }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* whatsapp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 80px; }
  .hero-grid, .page-hero .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .mock { max-width: 520px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .product { grid-template-columns: 1fr; }
  .product .p-visual { min-height: 220px; order: -1; }
  .cta-band { grid-template-columns: 1fr; padding: 44px 32px; }
  .cta-band .btn-row { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .checklist.two, .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .product .p-body, .panel, .panel-dark, .form { padding: 26px; }
  .mock-phone { display: none; }
  .float-badge { left: 10px; top: -20px; }
  .topbar .tb-links { gap: 14px; }
  .btn { white-space: normal; }
}
.eyebrow svg { width: 14px; height: 14px; flex: 0 0 14px; }
.ind-groups { align-items: start; }
.ind-group h3 { font-size: 1.05rem; }
.ind-group h3 a { color: var(--ink); display: flex; gap: 10px; align-items: center; }
.ind-group h3 svg { width: 22px; height: 22px; color: var(--brand); }
.ind-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .93rem; }
.ind-group li a { color: var(--text); }
.ind-group li a:hover { color: var(--brand); }
.fine-print { font-size: .8rem; color: var(--muted); margin: 10px 4px 0; line-height: 1.5; }

/* Workflow strip (manufacturing solution pages) */
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 10px; align-items: center; }
.flow li { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 999px; padding: 8px 16px 8px 8px; font-weight: 600; font-size: .95rem; position: relative; }
.flow li:not(:last-child) { margin-right: 22px; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -24px; color: #5eead4; font-weight: 700; }
.flow .n { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: .8rem; flex: 0 0 26px; }
.section-dark .flow-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section-dark .flow-card h3 { color: #fff; }
.section-dark .flow-card p { color: rgba(255,255,255,.72); }
.flow-n { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.flow-mini { font-size: .82rem; color: var(--brand); background: var(--brand-50); border-radius: 8px; padding: 8px 10px; }
@media (max-width: 640px) { .flow { display: none; } .flow + .grid { margin-top: 0 !important; } }

/* Quote form inside the closing CTA band */
.cta-form { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; text-align: left; }
.cta-form .form { padding: 28px; box-shadow: none; color: var(--text); }
.cta-form .form h3 { margin: 0 0 14px; color: var(--ink); }
.cta-form .field { margin-bottom: 12px; }
.cta-form .field textarea { min-height: 84px; }
.cta-form .btn-row { margin-top: 22px; }
.cta-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cta-points li { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.cta-points svg { width: 18px; height: 18px; flex: 0 0 18px; }
@media (max-width: 900px) { .cta-form { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 520px) { .cta-points { grid-template-columns: 1fr; } .cta-form .form { padding: 20px; } .cta-form .form-row { grid-template-columns: 1fr; gap: 0; } }

/* Mobile quick-contact bar */
.m-bar { display: none; }
@media (max-width: 768px) {
  .m-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11,27,51,.25); padding-bottom: env(safe-area-inset-bottom); }
  .m-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; font-size: .78rem; font-weight: 600; color: var(--ink); }
  .m-bar a svg { width: 22px; height: 22px; }
  .m-bar a:nth-child(2) { color: #128c7e; }
  .m-bar .m-quote { background: var(--brand); color: #fff; }
  .wa-float { display: none; }
  body { padding-bottom: 62px; }
}
.cta-form .btn-row { justify-content: flex-start; }
.cta-form .form .form-note { font-size: .82rem; margin-top: 10px; }
.cta-form .form .form-status { font-size: .92rem; }

/* Blog: topic filter + table of contents */
.topic-chips { justify-content: flex-start; margin-bottom: 32px; }
.topic-chips a.chip { display: inline-block; text-decoration: none; }
.topic-chips a.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin: 0 0 32px; }
.toc b { font-family: var(--font-head); color: var(--ink); }
.toc ol { margin: 10px 0 0; padding-left: 20px; }
.toc li { margin: 4px 0; }
.article h2[id] { scroll-margin-top: 96px; }

/* CTA quote band — layout fixes (v2) */
.cta-band.cta-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 48px; padding: 56px; }
.cta-form > div:first-child { padding-top: 8px; }
.cta-form h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; }
.cta-form .cta-points { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
.cta-form .cta-points li { align-items: flex-start; }
.cta-form .cta-points svg { margin-top: 3px; }
.cta-form .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-form .btn-row .btn { justify-content: center; }
.cta-form .form { width: 100%; max-width: 560px; justify-self: end; }
@media (max-width: 1100px) {
  .cta-band.cta-form { grid-template-columns: 1fr; gap: 28px; padding: 44px 40px; }
  .cta-form .cta-points { grid-template-columns: 1fr 1fr; }
  .cta-form .form { max-width: none; justify-self: stretch; }
}
@media (max-width: 640px) {
  .cta-band.cta-form { padding: 28px 18px; border-radius: 20px; gap: 22px; }
  .cta-form .cta-points { grid-template-columns: 1fr; }
  .cta-form .btn-row .btn { flex: 1 1 100%; }
  .cta-form .form { padding: 20px 16px; border-radius: 16px; }
}

/* Tablet (641–900px): three compact columns avoid lone cards in 3/6/9/15-card grids */
@media (min-width: 641px) and (max-width: 900px) {
  .grid-3 > .card { padding: 20px; }
  .grid-3 > .card h3 { font-size: 1rem; }
  .grid-3 > .card p { font-size: .88rem; }
  .ind-tile { gap: 10px; }
  .post-card .body { padding: 16px; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .grid-3:has(> .post-card) { grid-template-columns: repeat(2, 1fr); }
}
.post-card .body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Blog article photo */
.article-figure { margin: 0 0 28px; }
.article-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; display: block; background: var(--bg-soft); }
.article-figure figcaption { font-size: .78rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.article-figure figcaption a { color: inherit; text-decoration: underline; }

/* Phone refinements */
@media (max-width: 640px) {
  .chips { gap: 8px; }
  .chip { font-size: .8rem; padding: 6px 11px; }
  .card { padding: 20px; }
  .grid { gap: 14px; }
  .section-head h2 { font-size: clamp(1.45rem, 6vw, 1.8rem); }
  .hero h1, .page-hero h1 { font-size: clamp(1.75rem, 8vw, 2.3rem); }
  .hero-card { padding: 20px; }
  .flow-card { padding: 18px; }
  .steps .step { padding: 18px; }
  .article { font-size: 1rem; }
  .toc { padding: 16px 18px; }
}
@media (min-width: 420px) and (max-width: 640px) {
  .grid-4:not(:has(.post-card)) { grid-template-columns: repeat(2, 1fr); }
  .grid-4 > .card h3 { font-size: .98rem; }
  .grid-4 > .card p { font-size: .86rem; }
}
