/* =========================================================
   EASYWORK ENTERPRISE
   RESPONSIVE ENTERPRISE / ERP UI SYSTEM
   UI ONLY - NO BACKEND DEPENDENCIES
   ========================================================= */

:root {
  --bg: #f3f6f4;
  --surface: #ffffff;
  --surface-soft: #f8faf9;
  --surface-muted: #edf2ef;
  --primary: #173d30;
  --primary-deep: #0d2920;
  --primary-mid: #285746;
  --primary-soft: #e9f2ed;
  --accent: #c8a85e;
  --accent-soft: #f7f0df;
  --text: #17231f;
  --muted: #68766f;
  --border: #dce5e0;
  --border-strong: #cbd8d1;
  --success: #18794b;
  --success-soft: #e8f5ee;
  --info: #2c638f;
  --info-soft: #eaf2f8;
  --danger: #a63c3c;
  --shadow-sm: 0 4px 14px rgba(13, 41, 32, .055);
  --shadow: 0 12px 32px rgba(13, 41, 32, .075);
  --shadow-lg: 0 20px 48px rgba(13, 41, 32, .12);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --sidebar-width: 248px;
  --topbar-height: 40px;
  --mobile-header-height: 64px;
  --mobile-bottom-height: 68px;
  --content-max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.sidebar-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--primary); color: #fff; }

.container { width: min(calc(100% - 32px), var(--content-max)); margin-inline: auto; }

/* ---------- Top utility bar ---------- */
.topbar {
  min-height: var(--topbar-height);
  background: var(--primary-deep);
  color: #e8f0ec;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner {
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: .68rem;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.topbar-inner a { color: #fff; font-weight: 700; }
.topbar-inner a:hover { text-decoration: underline; }
.topbar-message { opacity: .78; }

/* ---------- Desktop application shell ---------- */
.app-shell {
  min-height: calc(100vh - var(--topbar-height));
  display: flex;
  background: var(--bg);
}
.sidebar {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1100;
  width: var(--sidebar-width);
  height: calc(100vh - var(--topbar-height));
  min-height: 560px;
  flex: 0 0 var(--sidebar-width);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--border);
  box-shadow: 4px 0 20px rgba(13,41,32,.035);
  overflow: hidden;
}
.brand-block {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.brand-mark { width: 38px; height: 38px; object-fit: contain; flex: 0 0 auto; }
.brand-copy { min-width: 0; }
.brand-copy strong, .brand-copy span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-copy strong { color: var(--primary); font-size: .92rem; font-weight: 850; line-height: 1.1; }
.brand-copy span { margin-top: 3px; color: var(--muted); font-size: .61rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.brand-block > strong { color: var(--primary); font-size: .92rem; }
.nav-caption { padding: 20px 18px 7px; color: #8a9690; font-size: .61rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.side-nav {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 5px 10px 14px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd7d1 transparent;
}
.side-nav::-webkit-scrollbar { width: 4px; }
.side-nav::-webkit-scrollbar-thumb { background: #cbd7d1; border-radius: 20px; }
.side-nav a {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #4f5f58;
  font-size: .79rem;
  font-weight: 650;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.side-nav a:hover { background: var(--primary-soft); color: var(--primary); transform: translateX(2px); }
.side-nav a.active { background: var(--primary-soft); border-color: #d8e7df; color: var(--primary); font-weight: 800; }
.side-nav a.active::before { content: ""; position: absolute; left: -1px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 4px 4px 0; background: var(--primary); }
.nav-icon { width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 25px; border-radius: 7px; background: var(--surface-muted); color: #53665d; font-size: .85rem; font-weight: 800; }
.side-nav a.active .nav-icon { background: var(--primary); color: #fff; }
.sidebar-support { margin-top: auto; padding: 14px 12px 16px; border-top: 1px solid var(--border); background: var(--surface-soft); }
.sidebar-support p { margin: 0 0 9px; color: var(--muted); font-size: .61rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.support-link { display: flex; align-items: center; justify-content: center; min-height: 36px; margin-top: 7px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--primary); font-size: .72rem; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.support-link:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); background: var(--primary-soft); }
.support-link.whatsapp-link { background: #25d366; border-color: #25d366; color: #fff; }
.support-link.whatsapp-link:hover { background: #1ebe5d; }

/* ---------- Desktop sidebar toggle ---------- */
.sidebar-toggle { display: none; }

/* ---------- Workspace ---------- */
.workspace { flex: 1; min-width: 0; min-height: calc(100vh - var(--topbar-height)); padding: 30px 32px 52px; overflow-x: hidden; }
.page-header { max-width: var(--content-max); margin: 0 auto 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; padding: 0 2px; }
.page-header-copy { min-width: 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: #83908a; font-size: .68rem; font-weight: 700; }
.breadcrumb b { color: #b4c0ba; }
.eyebrow { margin: 0 0 8px; color: var(--primary); font-size: .66rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.page-header h1 { max-width: 880px; margin: 0; color: var(--primary-deep); font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 850; }
.header-summary { max-width: 720px; margin: 13px 0 0; color: var(--muted); font-size: .95rem; }
.header-cta { flex: 0 0 auto; }
.page-content { width: 100%; max-width: var(--content-max); margin: 0 auto; display: grid; gap: 20px; }

/* ---------- Buttons ---------- */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 17px; border: 1px solid transparent; border-radius: 9px; font-size: .78rem; font-weight: 800; line-height: 1; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 8px 18px rgba(23,61,48,.14); }
.btn-primary:hover { background: var(--primary-deep); }
.btn-secondary { background: #fff; color: var(--primary); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--primary-soft); }
.btn-whatsapp { background: #25d366; color: #fff; border-color: #25d366; }
.btn-whatsapp:hover { background: #1ebe5d; }
.btn-small { min-height: 36px; padding: 8px 12px; font-size: .7rem; }
.btn-icon { font-size: 1rem; font-weight: 500; }

/* ---------- Panels and common content ---------- */
.content-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 25px; }
.panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.panel-heading > div { min-width: 0; }
.panel-heading h2 { margin: 2px 0 0; color: var(--primary-deep); font-size: 1.16rem; line-height: 1.25; font-weight: 820; }
.panel-note { color: var(--muted); font-size: .72rem; }
.section-label { display: inline-flex; margin: 0 0 8px; color: var(--primary); font-size: .61rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.text-link { color: var(--primary); font-size: .74rem; font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero-panel { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 22px; padding: 28px; background: linear-gradient(135deg, #12382b 0%, #1b4938 62%, #245a45 100%); border: 1px solid #214e3d; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: #fff; overflow: hidden; position: relative; }
.hero-panel::after { content: ""; position: absolute; width: 280px; height: 280px; right: -100px; bottom: -140px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.025), 0 0 0 68px rgba(255,255,255,.02); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy .status-badge { margin-bottom: 15px; }
.hero-copy h2 { max-width: 760px; margin: 0; font-size: clamp(1.6rem, 3vw, 2.55rem); line-height: 1.12; letter-spacing: -.03em; }
.hero-copy p { max-width: 700px; margin: 15px 0 0; color: #d6e4de; font-size: .94rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-panel .btn-primary { background: #fff; border-color: #fff; color: var(--primary); box-shadow: none; }
.hero-panel .btn-primary:hover { background: #f3f7f5; }
.hero-panel .btn-secondary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.26); color: #fff; }
.hero-panel .btn-secondary:hover { background: rgba(255,255,255,.14); }
.hero-status-card { align-self: stretch; position: relative; z-index: 1; padding: 20px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; background: rgba(255,255,255,.075); backdrop-filter: blur(8px); }
.status-card-top { display: flex; align-items: center; justify-content: space-between; color: #bcd2c8; font-size: .59rem; font-weight: 850; letter-spacing: .12em; }
.status-card-top i { width: 8px; height: 8px; border-radius: 50%; background: #62c38d; box-shadow: 0 0 0 5px rgba(98,195,141,.13); }
.hero-status-card > strong { display: block; margin-top: 22px; font-size: 1rem; }
.hero-status-card > p { margin: 7px 0 20px; color: #c9dbd3; font-size: .78rem; }
.status-line { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.11); color: #bfd1c9; font-size: .72rem; }
.status-line b { color: #fff; }

/* ---------- Metrics ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric-card { min-width: 0; display: flex; align-items: flex-start; gap: 13px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); }
.metric-icon { width: 38px; height: 38px; flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--primary-soft); color: var(--primary); font-size: .82rem; font-weight: 850; }
.metric-card > div { min-width: 0; display: grid; gap: 3px; }
.metric-label { color: #7b8882; font-size: .6rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.metric-card strong { color: var(--primary-deep); font-size: .94rem; line-height: 1.25; }
.metric-card small { color: var(--muted); font-size: .7rem; }

/* ---------- Actions ---------- */
.quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.action-card { min-width: 0; display: grid; grid-template-columns: 36px minmax(0,1fr) 18px; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.action-card:hover { transform: translateY(-2px); border-color: #c8d9d0; background: #fff; box-shadow: var(--shadow-sm); }
.action-card.featured { border-color: #bcd4c7; background: var(--primary-soft); }
.action-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #fff; color: var(--primary); font-weight: 850; border: 1px solid var(--border); }
.action-card > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.action-card strong { color: var(--primary-deep); font-size: .73rem; }
.action-card small { color: var(--muted); font-size: .63rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.action-card > b { color: #8b9892; font-size: .85rem; }

/* ---------- Product cards ---------- */
.products-preview { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.preview-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-soft); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.preview-card:hover { transform: translateY(-3px); border-color: #c8d9d0; box-shadow: var(--shadow); }
.preview-image { height: 185px; background: var(--surface-muted); overflow: hidden; }
.preview-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.preview-card:hover .preview-image img { transform: scale(1.035); }
.preview-copy { flex: 1; padding: 17px; display: flex; flex-direction: column; align-items: flex-start; }
.meta-label { color: #77857e; font-size: .59rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.preview-copy h3 { margin: 7px 0 5px; color: var(--primary-deep); font-size: 1rem; }
.preview-copy p { margin: 0; color: var(--muted); font-size: .75rem; }
.product-inline { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 15px 0; padding-top: 12px; border-top: 1px solid var(--border); }
.product-inline strong { color: var(--primary); font-size: .67rem; }

/* ---------- Status badges ---------- */
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; font-size: .59rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.status-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-badge.success { color: var(--success); background: var(--success-soft); }
.status-badge.info { color: var(--info); background: var(--info-soft); }
.hero-panel .status-badge { color: #dff5e8; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); }

/* ---------- Process ---------- */
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border: 1px solid var(--border); border-radius: 11px; overflow: hidden; }
.process-card { min-width: 0; display: flex; gap: 13px; padding: 18px; background: var(--surface-soft); border-right: 1px solid var(--border); }
.process-card:last-child { border-right: 0; }
.process-card > span { width: 32px; height: 32px; flex: 0 0 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--primary); color: #fff; font-size: .62rem; font-weight: 850; }
.process-card h3 { margin: 0 0 5px; color: var(--primary-deep); font-size: .8rem; }
.process-card p { margin: 0; color: var(--muted); font-size: .7rem; }

/* ---------- Split / info ---------- */
.split-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.8fr); gap: 28px; align-items: stretch; }
.split-copy h2 { max-width: 680px; margin: 0; color: var(--primary-deep); font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; }
.split-copy p { max-width: 720px; margin: 12px 0 16px; color: var(--muted); font-size: .83rem; }
.info-box { padding: 20px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-soft); }
.info-box-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; color: var(--primary); font-size: .61rem; font-weight: 850; letter-spacing: .12em; }
.info-box-heading b { color: #94a29b; font-size: .8rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 22px; color: #46564f; font-size: .76rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 900; }

/* ---------- Coverage ---------- */
.coverage-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.coverage-card { min-height: 145px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; padding: 18px; border: 1px solid var(--border); border-radius: 11px; background: linear-gradient(145deg, #fff, #f7faf8); position: relative; overflow: hidden; }
.coverage-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border: 1px solid #dfe8e3; border-radius: 50%; }
.coverage-code { position: absolute; top: 14px; right: 15px; color: #9aa7a0; font-size: .62rem; font-weight: 850; }
.coverage-card .meta-label { color: var(--primary); }
.coverage-card strong { color: var(--primary-deep); font-size: .88rem; }
.coverage-card small { max-width: 280px; color: var(--muted); font-size: .68rem; }

/* ---------- CTA ---------- */
.cta-panel { background: var(--primary); border-color: var(--primary); color: #fff; }
.cta-wrap { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.cta-wrap .section-label { color: #c9ddd3; }
.cta-wrap h2 { margin: 0; color: #fff; font-size: 1.35rem; }
.cta-wrap p { margin: 6px 0 0; color: #c7d9d1; font-size: .77rem; }
.action-row { display: flex; flex-wrap: wrap; gap: 9px; flex: 0 0 auto; }
.cta-panel .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.cta-panel .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }

/* ---------- Floating WhatsApp ---------- */
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 1050; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 12px 25px rgba(37,211,102,.22); font-size: .72rem; font-weight: 850; }
.floating-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }

/* ---------- Forms shared by existing pages ---------- */
.enterprise-form { display: grid; gap: 18px; padding: 4px; }
.field-row { display: grid; gap: 16px; }
.two-up { grid-template-columns: repeat(2, minmax(0,1fr)); }
label, .form-field { display: grid; gap: 7px; color: var(--primary-deep); font-weight: 750; font-size: .76rem; }
label > span, .form-field > span { color: var(--primary-deep); }
label em, .form-field em { color: var(--danger); font-style: normal; }
input, textarea, select { width: 100%; border: 1px solid var(--border-strong); border-radius: 9px; background: #fff; color: var(--text); padding: 11px 13px; outline: 0; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
input::placeholder, textarea::placeholder { color: #9aa59f; }
input:focus, textarea:focus, select:focus { border-color: #7ca590; box-shadow: 0 0 0 3px rgba(23,61,48,.08); background: #fff; }
textarea { resize: vertical; min-height: 120px; }
.form-status { min-height: 24px; margin: 0; color: var(--success); font-size: .78rem; font-weight: 700; }

/* ---------- Generic legacy/shared cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.service-panel, .feature-card, .process-card, .contact-info { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); }
.service-panel { padding: 20px; }
.service-panel h3, .feature-card h3, .process-card h3 { color: var(--primary-deep); }
.feature-grid { display: grid; gap: 18px; }
.feature-grid.three-col { grid-template-columns: repeat(3, minmax(0,1fr)); }
.compact-card { padding: 20px; }
.contact-info { padding: 20px; }
.contact-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); color: var(--muted); }
.contact-list strong { color: var(--primary-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; background: var(--primary-deep); transition: opacity .35s ease, visibility .35s ease; }
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader { display: grid; justify-items: center; gap: 12px; color: #fff; font-size: .7rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.loader-ring { width: 34px; height: 34px; border: 3px solid rgba(255,255,255,.18); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive mobile navigation injected by navigation.js ---------- */
.mobile-header, .mobile-bottom-nav, .sidebar-overlay { display: none; }

/* Large tablet / compact desktop */
@media (max-width: 1180px) {
  :root { --sidebar-width: 220px; }
  .workspace { padding-inline: 22px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .quick-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-status-card { max-width: 520px; }
}

/* Tablet */
@media (max-width: 900px) {
  :root { --topbar-height: 34px; }
  .topbar-message { display: none; }
  .topbar-inner { font-size: .59rem; }
  .sidebar { position: fixed; top: 0; left: 0; width: min(310px, 88vw); height: 100dvh; min-height: 0; transform: translateX(-105%); transition: transform .25s ease, box-shadow .25s ease; box-shadow: 12px 0 35px rgba(0,0,0,.18); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay { position: fixed; inset: 0; z-index: 1090; border: 0; padding: 0; background: rgba(8,25,19,.46); backdrop-filter: blur(2px); }
  body.sidebar-open .sidebar-overlay { display: block; }
  .app-shell { min-height: calc(100vh - var(--topbar-height) - var(--mobile-header-height)); }
  .workspace { min-height: auto; padding: 22px 18px calc(var(--mobile-bottom-height) + 28px); }
  .mobile-header { position: sticky; top: 0; z-index: 1200; height: var(--mobile-header-height); display: flex; align-items: center; gap: 12px; padding: 0 14px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); box-shadow: 0 5px 20px rgba(13,41,32,.05); backdrop-filter: blur(12px); }
  .mobile-header-menu { width: 38px; height: 38px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-soft); }
  .mobile-header-menu span { width: 16px; height: 2px; border-radius: 3px; background: var(--primary); }
  .mobile-brand { min-width: 0; flex: 1; display: flex; align-items: center; gap: 9px; }
  .mobile-brand img { width: 30px; height: 30px; }
  .mobile-brand span { min-width: 0; }
  .mobile-brand strong, .mobile-brand small { display: block; line-height: 1.05; white-space: nowrap; }
  .mobile-brand strong { color: var(--primary); font-size: .78rem; font-weight: 850; }
  .mobile-brand small { margin-top: 3px; color: var(--muted); font-size: .49rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
  .mobile-header-action { min-height: 38px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 9px; background: var(--primary); color: #fff; font-size: .64rem; font-weight: 850; }
  .mobile-header-action span { font-size: .95rem; line-height: 1; }
  .mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1300; height: var(--mobile-bottom-height); display: grid; grid-template-columns: repeat(4,1fr); align-items: stretch; padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(13,41,32,.09); backdrop-filter: blur(14px); }
  .mobile-bottom-nav a { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 9px; color: #6d7a74; font-size: .58rem; font-weight: 800; }
  .mobile-bottom-nav a.active { background: var(--primary-soft); color: var(--primary); }
  .mobile-nav-icon { font-size: .95rem; line-height: 1; }
  .floating-whatsapp { right: 14px; bottom: calc(var(--mobile-bottom-height) + 13px); min-height: 38px; padding: 8px 11px; font-size: .62rem; }
  .page-header { align-items: flex-start; margin-bottom: 18px; }
  .page-header h1 { font-size: clamp(1.65rem, 5vw, 2.2rem); }
  .header-summary { font-size: .83rem; }
  .header-cta { display: none; }
  .process-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-card:nth-child(2) { border-right: 0; }
  .process-card:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .feature-grid.three-col { grid-template-columns: 1fr; }
}

/* Phones */
@media (max-width: 640px) {
  :root { --mobile-header-height: 60px; --mobile-bottom-height: 64px; }
  .topbar-inner { width: calc(100% - 22px); }
  .topbar-brand { max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-inner a { font-size: .55rem; }
  .workspace { padding: 18px 12px calc(var(--mobile-bottom-height) + 24px); }
  .page-header { display: block; padding-inline: 1px; }
  .breadcrumb { margin-bottom: 10px; font-size: .6rem; }
  .eyebrow { font-size: .57rem; letter-spacing: .12em; }
  .page-header h1 { font-size: 1.55rem; line-height: 1.16; }
  .header-summary { margin-top: 10px; font-size: .77rem; }
  .content-panel { padding: 17px; border-radius: 11px; }
  .panel-heading { display: block; margin-bottom: 15px; }
  .panel-note { display: block; margin-top: 6px; }
  .panel-heading > .text-link { display: inline-block; margin-top: 8px; }
  .hero-panel { gap: 16px; padding: 20px; border-radius: 15px; }
  .hero-copy h2 { font-size: 1.5rem; }
  .hero-copy p { font-size: .78rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-status-card { padding: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .metric-card { padding: 12px; gap: 9px; }
  .metric-icon { width: 32px; height: 32px; flex-basis: 32px; font-size: .72rem; }
  .metric-label { font-size: .52rem; }
  .metric-card strong { font-size: .72rem; }
  .metric-card small { font-size: .58rem; }
  .quick-actions { grid-template-columns: 1fr; }
  .action-card { padding: 12px; }
  .products-preview { grid-template-columns: 1fr; }
  .preview-image { height: 190px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-card { border-right: 0; border-bottom: 1px solid var(--border); }
  .process-card:last-child { border-bottom: 0; }
  .split-grid { grid-template-columns: 1fr; gap: 16px; }
  .split-copy h2 { font-size: 1.25rem; }
  .coverage-grid { grid-template-columns: 1fr; }
  .coverage-card { min-height: 120px; }
  .cta-wrap { display: block; }
  .cta-wrap h2 { font-size: 1.18rem; }
  .action-row { display: grid; grid-template-columns: 1fr; margin-top: 17px; }
  .action-row .btn { width: 100%; }
  .two-up, .service-grid { grid-template-columns: 1fr; }
  .enterprise-form { gap: 15px; }
  .field-row { gap: 15px; }
  .floating-whatsapp { right: 10px; }
}

@media (max-width: 390px) {
  .mobile-header { padding-inline: 10px; gap: 8px; }
  .mobile-header-action b { display: none; }
  .mobile-header-action { width: 38px; justify-content: center; padding: 7px; }
  .stats-grid { gap: 7px; }
  .metric-card { min-height: 88px; }
  .metric-icon { display: none; }
  .content-panel { padding: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
