/* Inter: latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter: latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Montserrat: latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Montserrat: latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   GEMS ACCOUNTING — STYLES
   ========================================================================== */

:root {
  /* Supplied v3 logo: navy wordmark and four warm diamond colours. */
  --navy-950: #121d36;
  --navy-900: #1b2a4a;   /* supplied navy wordmark */
  --navy-800: #243760;
  --navy-700: #2f4677;
  --navy-600: #4a6194;
  --navy-500: #6f85b0;
  --navy-100: #e8ecf4;
  --navy-50: #f4f6fa;
  --red-500: #e0301e;    /* logo diamond 1 (brand #E0301E) */
  --orange-700: #a84308; /* darker companion for readable orange text */
  --orange-600: #dc6900; /* logo diamond 2 (brand #DC6900) */
  --orange-500: #eb8c00; /* logo diamond 3 (brand #EB8C00) */
  --orange-300: #f6ad41; /* logo diamond 4 (brand #F6AD41) */
  --orange-100: #fff0df;
  --brand-gradient: linear-gradient(90deg, var(--orange-300), var(--orange-500) 35%, var(--orange-600) 65%, var(--red-500));
  --ink: #1b2a4a;
  --text: #4a5468;
  --muted: #667085;
  --line: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --danger: #c2410c;
  --success: #1f8a4c;
  --whatsapp: #1fa855;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 35, 60, .06);
  --shadow: 0 8px 24px rgba(15, 35, 60, .08);
  --shadow-lg: 0 24px 60px rgba(15, 35, 60, .16);
  --container: 1200px;
  --header-h: 128px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --font-head: "Montserrat", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-kerning: normal;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--navy-500); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.22; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Layout ---------- */
.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(--navy-900); color: #c9d3e3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; 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: #9fb0c8; }
.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); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
/* Let grid children shrink below their content width (prevents mobile overflow) */
.split > *, .grid > *, .app-body > *, .pricing > *, .duo > *, .shift > *, .tool > *, .case > * { min-width: 0; }
html, body { overflow-x: clip; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4;
  text-transform: uppercase; color: var(--orange-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; flex: none; width: 20px; height: 11px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 11'%3E%3Cpath d='M5.5 0 11 5.5 5.5 11 0 5.5z' fill='%23cf6828'/%3E%3Cpath d='M14.5 1.5 18.5 5.5 14.5 9.5 10.5 5.5z' fill='%23eaad57'/%3E%3C/svg%3E") center/contain no-repeat; }
.section-dark .eyebrow { color: var(--orange-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px;
  border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), background-color .25s ease, box-shadow .3s var(--ease), color .25s ease, border-color .25s ease; white-space: nowrap; line-height: 1.2; -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.btn-primary { background: var(--navy-900); color: #fff; box-shadow: 0 6px 18px rgba(15, 35, 60, .25); }
.btn-primary:hover { background: var(--navy-700); color: #fff; box-shadow: 0 10px 24px rgba(15, 35, 60, .28); }
.btn-accent { background: var(--orange-500); color: var(--navy-950); }
.btn-accent:hover { background: var(--orange-300); color: var(--navy-950); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--navy-500); color: var(--navy-700); }
.btn-ghost-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #178c46; color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pills, badges, checks ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .03em; background: var(--navy-100); color: var(--navy-700); }
.pill-accent { background: var(--orange-100); color: var(--orange-700); }
.pill-dark { background: var(--navy-900); color: #fff; }
.pill-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230f233c'%3E%3Cpath d='M8.1 13.4 4.7 10l-1.1 1.1 4.5 4.5 9-9-1.1-1.1z'/%3E%3C/svg%3E") center/14px no-repeat;
}
.section-dark .checks li::before { background-color: rgba(255,255,255,.1); filter: brightness(1.8); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; font-size: .9rem; color: var(--muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row span::before { content: "✓"; color: var(--orange-600); font-weight: 800; }

/* ---------- Demo banner ---------- */
.demo-banner { background: var(--orange-100); color: #7a3a12; font-size: .82rem; text-align: center; padding: 7px 40px 7px 16px; position: relative; }
.demo-banner button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; font-size: 1.1rem; color: inherit; }

/* ---------- Header ---------- */
.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 .3s ease, box-shadow .3s ease, background-color .3s ease; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(15, 35, 60, .06); background: rgba(255,255,255,.96); }
.site-header .nav { transition: height .35s var(--ease); }
.site-header.scrolled .nav { height: 64px; }
.nav { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-900); flex: none; }
.logo:hover { color: var(--navy-900); }
.logo svg { width: 54px; height: 32px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--font-head); font-style: italic; font-weight: 800; font-size: 1.55rem; letter-spacing: .01em; }
.logo-text small { font-family: var(--font-head); font-size: .56rem; font-weight: 600; letter-spacing: .38em; margin-top: 3px; color: var(--navy-700); }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex: 1; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-weight: 600; font-size: .94rem; color: var(--ink); background: none; border: 0; cursor: pointer; border-radius: 8px; }
.nav-link:hover, .nav-item.open > .nav-link { color: var(--navy-700); background: var(--navy-50); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .2s; }
.nav-item.open .chev { transform: rotate(180deg); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.mega {
  position: absolute; top: calc(100% + 10px); left: -20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 24px; display: grid; gap: 24px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s; z-index: 50;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-services { grid-template-columns: repeat(3, 210px) 240px; }
.mega-cols-2 { grid-template-columns: repeat(2, 220px) 240px; }
.mega h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; font-family: var(--font-body); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; color: var(--ink); font-size: .92rem; font-weight: 500; line-height: 1.35; transition: background-color .2s ease, color .2s ease, transform .25s var(--ease); }
.mega ul a:hover { transform: translateX(3px); }
.mega a:hover { background: var(--navy-50); color: var(--navy-700); }
.mega-panel { background: var(--navy-900); color: #c9d3e3; border-radius: var(--radius); padding: 20px; font-size: .9rem; display: flex; flex-direction: column; gap: 10px; }
.mega-panel strong { color: #fff; font-family: var(--font-head); font-size: 1rem; line-height: 1.3; }
.mega-panel a { color: #fff; margin: 0; padding: 8px 12px; background: rgba(255,255,255,.08); font-weight: 600; font-size: .86rem; }
.mega-panel a:hover { background: rgba(255,255,255,.16); color: #fff; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8, 21, 38, .45); opacity: 0; transition: opacity .35s ease; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); background: #fff; transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { overflow-y: auto; padding: 8px 20px 20px; flex: 1; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; padding: 16px 0; font-weight: 700; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.drawer details[open] summary::after { content: "–"; }
.drawer details a { display: block; padding: 8px 0 8px 12px; color: var(--text); }
.drawer details div { padding-bottom: 12px; }
.drawer .drawer-link { display: block; padding: 16px 0; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.3rem; line-height: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; background:
  radial-gradient(900px 500px at 85% -10%, rgba(220,138,50,.16), transparent 60%),
  radial-gradient(800px 600px at -10% 10%, rgba(15,35,60,.08), transparent 60%), var(--bg); }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero h1 .accent { background: linear-gradient(90deg, var(--red-500), var(--orange-600)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .04em; }
.page-hero { padding: 72px 0 64px; background: radial-gradient(700px 300px at 90% 0%, rgba(220,138,50,.12), transparent 70%), linear-gradient(180deg, var(--navy-50), #fff); }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--navy-700); }

/* ---------- Dashboard mockup ---------- */
.app-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: .85rem; }
.app-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.app-top i { width: 10px; height: 10px; border-radius: 50%; background: #dde3eb; }
.app-top .app-title { margin-left: 8px; font-weight: 600; color: var(--muted); font-size: .78rem; }
.app-top .pill { margin-left: auto; }
.app-body { display: grid; grid-template-columns: 150px 1fr; min-height: 380px; }
.app-side { border-right: 1px solid var(--line); padding: 12px 8px; background: #fafbfd; }
.app-side button { transition: background-color .25s ease, color .25s ease; display: flex; width: 100%; align-items: center; justify-content: space-between; text-align: left; padding: 8px 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: .82rem; }
.app-side button.active, .app-side button:hover { background: var(--orange-100); color: var(--orange-700); }
.app-main { padding: 18px; }
.app-panel { display: none; animation: fade .45s var(--ease); }
.app-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.app-greet { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1rem; margin-bottom: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kpi span { display: block; color: var(--muted); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi strong { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--ink); white-space: nowrap; }
.kpi em { display: block; white-space: nowrap; font-style: normal; font-size: .72rem; color: var(--success); font-weight: 600; }
.kpi em.down { color: var(--danger); }
.feed { display: grid; gap: 6px; }
.feed div { display: flex; align-items: center; gap: 10px; line-height: 1.35; padding: 7px 10px; border-radius: 8px; background: var(--bg-soft); font-size: .8rem; }
.feed .tag { flex: none; font-size: .62rem; font-weight: 800; padding: 2px 6px; border-radius: 4px; letter-spacing: .04em; }
.tag-auto { background: #e0ecff; color: #1d4ed8; } .tag-human { background: var(--orange-100); color: var(--orange-700); } .tag-done { background: var(--navy-100); color: var(--navy-700); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin: 8px 0 12px; }
.bars i { flex: 1; background: linear-gradient(180deg, var(--navy-600), var(--navy-900)); border-radius: 4px 4px 0 0; opacity: .85; }
.bars i.neg { background: linear-gradient(180deg, var(--orange-300), var(--orange-600)); }
.mini-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.mini-table td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.mini-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.sample-note { font-size: .7rem; color: var(--muted); text-align: right; padding: 6px 14px; border-top: 1px solid var(--line); background: var(--bg-soft); }

.ask-card { margin-top: 24px; background: var(--navy-900); color: #c9d3e3; border-radius: var(--radius); padding: 20px; }
.ask-card h4 { color: #fff; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.ask-chips button { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 12px; font-size: .8rem; cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.ask-chips button.active, .ask-chips button:hover { background: var(--orange-500); color: var(--navy-950); border-color: var(--orange-500); }
.ask-answer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ask-answer div { background: rgba(255,255,255,.06); border-radius: 10px; padding: 10px 12px; font-size: .85rem; animation: fade .5s var(--ease) both; }
.ask-answer div:nth-child(2) { animation-delay: .06s; } .ask-answer div:nth-child(3) { animation-delay: .12s; } .ask-answer div:nth-child(4) { animation-delay: .18s; }
.ask-answer b { display: block; color: var(--orange-300); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.stat { padding: 26px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; font-style: normal; color: var(--navy-900); letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .9rem; }
.stats-wrap { margin-top: -48px; position: relative; z-index: 2; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 35, 60, .1); border-color: #c9d4e2; }
.card p { color: var(--muted); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-style: normal; font-size: .85rem; letter-spacing: .02em; color: var(--navy-900); background: linear-gradient(135deg, var(--navy-50), var(--orange-100)); border-bottom: 3px solid var(--orange-500); margin-bottom: 18px; }
.service-card { display: flex; flex-direction: column; }
.service-card .link-arrow { margin-top: auto; }
.service-card.highlight { background: var(--navy-900); border-color: var(--navy-900); }
.service-card.highlight h3 { color: #fff; } .service-card.highlight p { color: #9fb0c8; }
.service-card.highlight .card-icon { background: rgba(255,255,255,.1); color: var(--orange-300); }
.service-card.highlight .link-arrow { color: var(--orange-300); }
.service-card.dashed { border-style: dashed; background: var(--bg-soft); }

/* ---------- AI + human / compare ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.duo > div { padding: 32px; }
.duo > div:first-child { background: var(--bg-soft); }
.duo > div:last-child { background: var(--navy-900); color: #c9d3e3; }
.duo > div:last-child h3 { color: #fff; }
.duo h3 { display: flex; align-items: center; gap: 10px; }
.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.role-cards div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.role-cards strong { display: block; font-family: var(--font-head); color: var(--ink); }
.role-cards span { font-size: .88rem; color: var(--muted); }

.shift { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shift-box { border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); background: #fff; }
.shift-box.new { border-color: var(--orange-500); box-shadow: 0 0 0 4px var(--orange-100); }
.shift-label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.shift-box.new .shift-label { color: var(--orange-700); }
.diagram { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 20px 0; }
.node { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .85rem; background: var(--bg-soft); border: 1px solid var(--line); text-align: center; }
.node.you { background: var(--ink); color: #fff; border-color: var(--ink); }
.node.brand { background: var(--navy-700); color: #fff; border-color: var(--navy-700); padding: 12px 20px; }
.node-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.diagram .wire { width: 2px; height: 18px; background: var(--line); }
.shift-count { text-align: center; font-weight: 700; color: var(--ink); }
.shift-box:not(.new) .shift-count { color: var(--danger); }

/* ---------- Steps / tracker ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 24px; 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-style: normal; font-size: 1.6rem; color: var(--orange-600); display: block; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: .93rem; }
.tracker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 32px; }
.tracker::before { content: ""; position: absolute; top: 20px; left: 10%; right: 10%; height: 3px; background: linear-gradient(90deg, var(--orange-600) var(--progress, 0%), var(--line) var(--progress, 0%)); }
.tracker div { text-align: center; position: relative; font-size: .82rem; font-weight: 600; line-height: 1.3; color: var(--muted); padding: 0 4px; overflow-wrap: anywhere; }
.tracker b { width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--line); font-family: var(--font-head); color: var(--muted); transition: background-color .4s ease, border-color .4s ease, color .4s ease, transform .4s var(--ease); }
.tracker div.done b { transform: scale(1.05); }
.tracker div.done b { border-color: var(--orange-600); background: var(--orange-600); color: #fff; }
.tracker div.done { color: var(--ink); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--orange-500); box-shadow: var(--shadow-lg); }
.price-card .pill { position: absolute; top: -12px; left: 28px; }
.price-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.price-card .desc { color: var(--muted); font-size: .93rem; min-height: 48px; }
.price { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 12px 0 2px; }
.price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price .from { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.price-note { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.price-card .checks { margin-bottom: 28px; font-size: .93rem; }
.price-card .btn { margin-top: auto; }
.price-card .btn + .btn { margin-top: 10px; }
.price-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 32px; color: var(--muted); font-size: .92rem; }
.price-strip span::before { content: "✓ "; color: var(--orange-600); font-weight: 800; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .93rem; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { background: var(--bg-soft); font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.table thead th.hl, .table td.hl { background: var(--navy-50); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.c { text-align: center; }
.table th.c { text-align: center; }
.yes { color: var(--orange-600); font-weight: 800; }
.no { color: #b9c1cc; }
.swipe-hint { display: none; font-size: .8rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* ---------- Carousel / testimonials ---------- */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 24px; scroll-behavior: smooth; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 10px; align-items: center; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; }
.carousel-nav button:hover { border-color: var(--navy-500); color: var(--navy-700); }
.carousel-dots { display: flex; gap: 6px; margin-left: 8px; }
.carousel-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line); transition: width .4s var(--ease), background-color .3s ease; }
.carousel-dots i.on { width: 22px; background: var(--orange-600); }
.case { display: grid; grid-template-columns: 320px 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.case-side { background: var(--navy-900); color: #c9d3e3; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.case-side h3 { color: #fff; }
.case-metric { background: rgba(255,255,255,.07); border-radius: 12px; padding: 14px; font-family: var(--font-head); font-weight: 700; color: var(--orange-300); }
.case-body { padding: 32px; display: grid; gap: 18px; }
.case-body h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; font-family: var(--font-body); }
.case-body p { margin: 0; }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--orange-500); letter-spacing: 2px; }
.quote-card blockquote { margin: 0; color: var(--ink); font-size: 1rem; flex: 1; }
.quote-by { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: #fff; font-size: .9rem; flex: none; object-fit: cover; }
.quote-by strong { display: block; color: var(--ink); font-size: .93rem; }
.quote-by span { font-size: .82rem; color: var(--muted); }
.rating-summary { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; }

/* ---------- Trust / team ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.trust-group { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; background: #fff; }
.trust-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
.trust-items div strong { display: block; color: var(--ink); font-size: .95rem; }
.trust-items div span { font-size: .87rem; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease; }
.team-card:hover { transform: translateY(-4px); border-color: #e8c4a3; box-shadow: 0 14px 34px rgb(85 54 20 / 8%); }
.team-avatar { position: relative; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; color: var(--orange-700);
  background: radial-gradient(circle at 32% 28%, #fff 0, #fff3e4 45%, #ffe3c2 100%); border: 1px solid #f1d9bd; box-shadow: inset 0 0 0 5px #fff, 0 6px 18px rgb(184 73 8 / 8%); }
.team-avatar > svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.team-avatar > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.team-initials { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; color: var(--orange-700); }
.team-mark { position: absolute; right: -4px; bottom: 0; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: 0 3px 8px rgb(60 40 20 / 10%); }
.team-mark svg { width: 19px; height: 12px; }
.team-name { font-size: 1.02rem; line-height: 1.3; margin: 0; letter-spacing: -.015em; }
.team-role { font-size: .86rem; color: var(--muted); margin: 4px 0 0; }
.team-cred { display: inline-block; margin: 10px 0 0; padding: 3px 10px; border-radius: 999px; background: var(--orange-100); color: var(--orange-700); font-size: .72rem; font-weight: 700; letter-spacing: .05em; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 420px) {
  .team-card { padding: 22px 12px 20px; }
  .team-avatar { width: 74px; height: 74px; margin-bottom: 12px; }
  .team-avatar > svg { width: 30px; height: 30px; }
  .team-mark { width: 26px; height: 26px; } .team-mark svg { width: 15px; height: 9px; }
  .team-name { font-size: .92rem; }
}

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s ease, box-shadow .3s ease; }
.faq details:hover { box-shadow: var(--shadow-sm); }
.faq details[open] { border-color: var(--navy-500); }
.faq summary { padding: 20px 56px 20px 22px; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--navy-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230f233c'%3E%3Cpath d='M9 4h2v12H9z'/%3E%3Cpath d='M4 9h12v2H4z'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); overflow: hidden; }
.faq-tools { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--text); }
.chip.active, .chip:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.search-input { width: 100%; max-width: 480px; display: block; margin: 0 auto 20px; padding: 14px 18px 14px 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b7a' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 16px center/18px no-repeat; }
.search-input:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 4px var(--navy-100); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 4px var(--navy-100); }
.field.error input, .field.error select { border-color: var(--danger); }
.field .err { display: none; color: var(--danger); font-size: .8rem; margin-top: 4px; }
.field.error .err { display: block; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange-600); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.hp { position: absolute; left: -9999px; }

/* ---------- Modal / wizard ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 21, 38, .55); opacity: 0; transition: opacity .3s ease; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal.open .modal-backdrop { opacity: 1; }
.modal-box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 32px; transform: translateY(16px) scale(.98); opacity: 0; transition: transform .4s var(--ease), opacity .3s ease; }
.modal.open .modal-box { transform: none; opacity: 1; }
.modal-close { position: absolute; top: 14px; right: 14px; }
.wiz-progress { height: 6px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; margin: 8px 0 22px; }
.wiz-progress i { display: block; height: 100%; background: var(--brand-gradient); transition: width .3s; }
.wiz-step-label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.wiz-options { display: grid; gap: 10px; margin: 18px 0 8px; }
.wiz-options button { text-align: left; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 600; color: var(--ink); transition: border-color .2s ease, background-color .2s ease, transform .25s var(--ease); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wiz-options button:hover { transform: translateX(3px); }
.wiz-options button span { font-weight: 400; color: var(--muted); font-size: .85rem; }
.wiz-options button:hover, .wiz-options button.selected { border-color: var(--navy-500); background: var(--navy-50); }
.wiz-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.wiz-result { text-align: center; padding: 8px 0; }
.wiz-price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.03em; }
.wiz-breakdown { text-align: left; background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; margin: 16px 0; font-size: .9rem; }
.wiz-breakdown div { display: flex; justify-content: space-between; padding: 4px 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font-weight: 600; }
.link-btn:hover { color: var(--navy-700); }

/* ---------- Floating / sticky ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 140; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); display: grid; place-items: center; box-shadow: 0 10px 28px rgba(31,168,85,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 145; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 10px; box-shadow: 0 -6px 20px rgba(15,27,45,.08); }
.mobile-bar .btn { flex: 1; padding: 12px; }
.toast { position: fixed; left: 50%; top: 20px; transform: translate(-50%, -160%); transition-timing-function: var(--ease); z-index: 400; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow-lg); transition: transform .3s, visibility .3s; font-weight: 500; max-width: calc(100% - 32px); visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 160; width: min(380px, calc(100% - 120px)); background: var(--ink); color: #d6dde6; border-radius: var(--radius); padding: 16px 18px; display: none; flex-direction: column; gap: 12px; font-size: .84rem; line-height: 1.5; box-shadow: var(--shadow-lg); animation: rise .5s var(--ease) both; }
.cookie.show { display: flex; }
.cookie .btn-row { gap: 8px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie a { color: var(--orange-300); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); border-radius: 28px; padding: 56px; color: #c9d3e3; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -30px; top: -40px; width: 340px; height: 200px; opacity: .14; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 115 67'%3E%3Cpath d='M21.5 24 43 45.5 21.5 67 0 45.5z' fill='%23d23f2d'/%3E%3Cpath d='M45.5 0 67 21.5 45.5 43 24 21.5z' fill='%23cf6828'/%3E%3Cpath d='M69.5 24 91 45.5 69.5 67 48 45.5z' fill='%23dc8a32'/%3E%3Cpath d='M93.5 0 115 21.5 93.5 43 72 21.5z' fill='%23eaad57'/%3E%3C/svg%3E") center/contain no-repeat; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { border-top: 4px solid; border-image: var(--brand-gradient) 1; background: var(--navy-950); color: #9aa9c0; padding: 72px 0 0; font-size: .92rem; }
.site-footer a { color: #c9d3e3; }
.site-footer a:hover { color: var(--orange-300); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.site-footer h4 { color: #fff; font-size: .78rem; white-space: nowrap; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-body); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer .logo, .site-footer .logo:hover { color: #fff; }
.site-footer .logo-text small { color: #9aa9c0; }
.footer-tagline { display: block; margin-top: 10px; font-family: var(--font-head); font-size: .7rem; font-weight: 600; letter-spacing: .24em; color: var(--orange-300); }
.footer-brand p { margin: 16px 0; max-width: 340px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.socials a:hover { background: rgba(255,255,255,.14); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-badge { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px; background: rgba(220,138,50,.14); color: var(--orange-300); font-weight: 600; font-size: .82rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .84rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.disclaimer { font-size: .78rem; color: #7d8ca5; padding-bottom: 32px; max-width: 900px; }

/* ---------- Tools ---------- */
.tool-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.tool { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; margin-bottom: 32px; scroll-margin-top: 8px; }
.tool-input { padding: 32px; }
.tool-output { padding: 32px; background: var(--navy-900); color: #c9d3e3; display: flex; flex-direction: column; gap: 12px; }
.tool-output h4 { color: var(--orange-300); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-body); margin: 0; }
.tool-big { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.tool-lines { display: grid; gap: 6px; font-size: .92rem; }
.tool-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.tool-lines b { color: #fff; }
.tool-output .btn { align-self: flex-start; margin-top: auto; }
.tool-output .note { font-size: .78rem; color: #8a9bb5; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 16px; }
.seg button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--muted); }
.seg button.active { background: var(--navy-900); color: #fff; }
.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check-field input { margin-top: 4px; accent-color: var(--navy-600); width: 18px; height: 18px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .88rem; align-self: flex-start; }
.status.ok { background: rgba(34,197,94,.15); color: #86efac; }
.status.warn { background: rgba(220,138,50,.2); color: var(--orange-300); }
.status.bad { background: rgba(239,68,68,.15); color: #fca5a5; }

/* ---------- Misc ---------- */
.glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.glossary div { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.glossary strong { display: block; color: var(--ink); font-family: var(--font-head); margin-bottom: 4px; }
.glossary span { color: var(--muted); font-size: .92rem; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); }
.contact-card:hover { border-color: var(--navy-500); color: var(--text); }
.contact-card .card-icon { margin: 0; flex: none; }
.contact-card strong { display: block; color: var(--ink); }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.logo-strip { display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: center; align-items: center; opacity: .65; filter: grayscale(1); }
.logo-strip img { height: 32px; width: auto; }
.legal h2 { font-size: 1.5rem; margin-top: 40px; }
.legal { max-width: 800px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.hidden { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-menu, .nav-actions .btn-outline { display: none; }
  .menu-toggle { display: inline-flex; margin-left: 12px; }
  .nav-actions { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .split, .duo, .shift, .trust-grid, .tool, .cta-band, .case { grid-template-columns: 1fr; }
  .grid-3, .pricing { grid-template-columns: 1fr; }
  .pricing { max-width: 480px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .role-cards { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .cta-band .btn-row { justify-content: flex-start; }
  .glossary { grid-template-columns: 1fr; }
  .swipe-hint { display: block; }
  .hero { padding: 48px 0 88px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-actions .btn-primary { display: none; }
  .grid-2, .grid-4, .steps, .form-row, .trust-items { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); gap: 4px; }
  .app-side button { white-space: nowrap; width: auto; padding: 7px 9px; font-size: .78rem; }
  .app-side { gap: 2px; padding: 8px; scrollbar-width: none; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .kpi { padding: 8px; }
  .kpi strong { font-size: .82rem; }
  .app-main { padding: 14px; }
  .ask-answer { grid-template-columns: 1fr; }
  .tracker { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .tracker::before { display: none; }
  .tracker div { display: flex; align-items: center; gap: 12px; text-align: left; }
  .tracker b { margin: 0; flex: none; }
  .mobile-bar { display: flex; }
  .wa-float { display: none; } /* the sticky bottom bar already has WhatsApp */
  .cookie { left: 12px; right: 12px; width: auto; bottom: 80px; padding: 14px 16px; font-size: .8rem; }
  body { padding-bottom: 72px; }
  .modal-box { padding: 24px 20px; }
  .tool-input, .tool-output, .case-side, .case-body, .form-card { padding: 24px; }
  .stat strong { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   CHAT ASSISTANT (assets/js/chatbot.js)
   ========================================================================== */
.chat-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 170; width: 60px; height: 60px; border-radius: 50%; cursor: pointer; color: #fff;
  border: 3px solid transparent; background: linear-gradient(var(--navy-900), var(--navy-900)) padding-box, conic-gradient(from 200deg, var(--red-500), var(--orange-600), var(--orange-500), var(--orange-300), var(--red-500)) border-box;
  box-shadow: 0 12px 30px rgba(15, 35, 60, .32); display: grid; place-items: center; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.chat-launcher:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 16px 36px rgba(15, 35, 60, .38); }
.chat-launcher-icon { position: absolute; display: grid; place-items: center; transition: opacity .25s ease, transform .35s var(--ease); }
.chat-launcher-icon svg { width: 26px; height: 26px; }
.chat-launcher-icon.close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat-launcher.active .chat-launcher-icon.open { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat-launcher.active .chat-launcher-icon.close { opacity: 1; transform: none; }
.chat-badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--red-500); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; animation: pop .4s var(--ease); }
.chat-badge[hidden] { display: none; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

.chat-teaser { position: fixed; right: 20px; bottom: 92px; z-index: 165; width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transform-origin: bottom right; transition: opacity .3s ease, transform .45s var(--ease), visibility .3s; }
.chat-teaser.show { opacity: 1; visibility: visible; transform: none; }
.chat-teaser-body { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 14px 36px 14px 16px; cursor: pointer; font-size: .88rem; color: var(--text); line-height: 1.45; }
.chat-teaser-body strong { display: block; color: var(--ink); margin-bottom: 2px; }
.chat-teaser-x { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border: 0; background: var(--bg-soft); border-radius: 50%; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.chat-teaser-x svg { width: 12px; height: 12px; }

.chat-panel { position: fixed; right: 20px; bottom: 92px; z-index: 180; width: 390px; height: min(640px, calc(100vh - 120px)); background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(15, 35, 60, .28);
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97); transform-origin: bottom right; transition: opacity .3s ease, transform .45s var(--ease), visibility .3s; }
.chat-panel.open { opacity: 1; visibility: visible; transform: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 16px; background: var(--navy-900); color: #fff; border-bottom: 3px solid; border-image: var(--brand-gradient) 1; }
.chat-avatar { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: none; }
.chat-avatar svg { width: 30px; height: 18px; }
.chat-title { flex: 1; min-width: 0; line-height: 1.25; }
.chat-title strong { display: block; font-family: var(--font-head); font-size: .98rem; }
.chat-title span { font-size: .76rem; color: #b8c4d6; display: inline-flex; align-items: center; gap: 6px; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
.chat-head-btn { width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s ease; flex: none; }
.chat-head-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.chat-head-btn svg { width: 17px; height: 17px; }

.chat-log { flex: 1; overflow-y: auto; padding: 18px 14px 8px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; scroll-behavior: smooth; }
.msg { display: flex; gap: 8px; max-width: 100%; animation: msgIn .4s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg.user { justify-content: flex-end; }
.msg-avatar { width: 28px; height: 28px; border-radius: 9px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex: none; margin-top: 2px; }
.msg-avatar svg { width: 20px; height: 12px; }
.msg-body { min-width: 0; max-width: calc(100% - 36px); display: flex; flex-direction: column; gap: 8px; }
.bubble { padding: 10px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; }
.msg.bot .bubble { background: #fff; color: var(--text); border: 1px solid var(--line); border-top-left-radius: 4px; }
.msg.user .bubble { background: var(--navy-900); color: #fff; border-top-right-radius: 4px; max-width: 82%; }
.bubble strong { color: var(--ink); }
.msg.user .bubble strong { color: #fff; }
.bubble a { color: var(--orange-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.bubble .li { display: block; position: relative; padding-left: 14px; }
.bubble .li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; background: var(--orange-600); transform: rotate(45deg); }
.bubble .gap { display: block; height: 8px; }
.msg-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.msg-act { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .8rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: border-color .2s ease, background-color .2s ease, transform .25s var(--ease); }
.msg-act:hover { border-color: var(--orange-500); color: var(--ink); transform: translateY(-1px); }
.msg-act.primary { background: var(--orange-500); border-color: var(--orange-500); color: var(--navy-950); }
.msg-act.wa { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.msg-act.wa:hover { color: #fff; }
.msg-act svg { width: 15px; height: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-q { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--orange-300); background: var(--orange-100); color: var(--orange-700); font-size: .8rem; font-weight: 600; cursor: pointer; transition: background-color .2s ease, color .2s ease, transform .25s var(--ease); animation: msgIn .4s var(--ease) both; }
.chip-q:hover { background: var(--orange-500); border-color: var(--orange-500); color: var(--navy-950); transform: translateY(-1px); }
.typing .bubble { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing .bubble i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .4; animation: blink 1.2s infinite ease-in-out; }
.typing .bubble i:nth-child(2) { animation-delay: .15s; } .typing .bubble i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: .92rem; line-height: 1.4; max-height: 120px; background: var(--bg-soft); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.chat-form textarea:focus { outline: none; border-color: var(--orange-500); box-shadow: 0 0 0 3px var(--orange-100); background: #fff; }
.chat-send { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--navy-900); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; transition: background-color .2s ease, transform .25s var(--ease); }
.chat-send:hover { background: var(--navy-700); transform: translateY(-1px); }
.chat-send svg { width: 18px; height: 18px; }
.chat-foot { margin: 0; padding: 0 12px 10px; background: #fff; font-size: .7rem; color: var(--muted); text-align: center; }

/* Phones: full-screen sheet, launcher above the sticky bottom bar */
@media (max-width: 640px) {
  .chat-launcher { right: 14px; bottom: 82px; width: 54px; height: 54px; }
  .chat-teaser { right: 14px; bottom: 146px; width: min(270px, calc(100vw - 28px)); }
  .chat-panel { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; transform: translateY(24px); }
  .chat-panel.open { transform: none; }
  body.chat-open { overflow: hidden; }
  body.chat-open .chat-launcher, body.chat-open .mobile-bar { display: none; }
  body.cookie-open .chat-launcher, body.cookie-open .chat-teaser { display: none; }
  .chat-form textarea { font-size: 16px; } /* prevents iOS zoom on focus */
}
@media (prefers-reduced-motion: reduce) {
  .msg, .chip-q, .chat-badge { animation: none; }
}

/* ---------- GEMS light brand system ---------- */
p { text-wrap: pretty; }
.btn { border-radius: 10px; }
.btn-primary { background: #ff8700; color: #241a10; box-shadow: 0 6px 16px rgb(242 101 0 / 16%); }
.btn-primary:hover { background: #ffa32d; color: #241a10; box-shadow: 0 8px 20px rgb(242 101 0 / 20%); }
.btn-outline:hover { border-color: var(--orange-600); background: #fffaf4; color: var(--orange-700); }
.site-header { border-bottom: 1px solid var(--line); }
.logo { gap: 9px; }
.logo svg { width: 42px; height: 30px; }
.logo-text b { font-family: var(--font-head); font-size: 1.9rem; letter-spacing: -.055em; color: #000; }
.logo-text small { color: #514e4a; font-size: .43rem; letter-spacing: .065em; margin-top: 6px; font-weight: 700; }
.nav { gap: 24px; position: relative; }
.nav-item { position: static; }
.mega { top: calc(100% - 2px); left: 20px; }
.mega-cols-2 { left: auto; right: 20px; }
.nav-link { font-size: .86rem; padding: 10px; }
.nav-link:hover, .nav-item.open > .nav-link { background: var(--orange-100); color: var(--orange-700); }
.eyebrow::before { width: 8px; height: 8px; background: var(--orange-600); transform: rotate(45deg); }
.hero { background: radial-gradient(ellipse at 90% 10%, #ffedd6 0, transparent 55%), #fffcf8; }
.page-hero { background: radial-gradient(ellipse at 95% 10%, #fff0dd, transparent 60%), #fff; }
.hero h1 .accent { background: none; color: var(--orange-700); }
.app-frame { box-shadow: 0 18px 50px rgb(85 54 20 / 9%); }
.app-side { background: #fffcf8; }
.section-dark, .ask-card, .duo > div:last-child, .mega-panel, .tool-output { background: #fff3e4; color: var(--text); }
.section-dark h2, .section-dark h3, .ask-card h4, .duo > div:last-child h3, .mega-panel strong, .tool-big, .tool-lines b { color: var(--ink); }
.section-dark .section-head p, .tool-output .note { color: var(--muted); }
.section-dark .eyebrow, .tool-output h4, .ask-answer b { color: var(--orange-700); }
.section-dark .checks li::before { background-color: var(--orange-100); filter: none; }
.ask-chips button, .mega-panel a { background: #fff; color: var(--text); border-color: #e8d5c0; }
.ask-chips button:hover, .ask-chips button.active, .mega-panel a:hover { background: #ffdfb8; color: #60330e; }
.ask-answer div { background: rgb(255 255 255 / 80%); }
.tool-lines div { border-color: #ead9c6; }
.tool-output .status.ok { color: #24643a; background: #e6f2e8; }
.tool-output .status.warn { color: #87500d; background: #ffebca; }
.tool-output .status.bad { color: #a52f26; background: #ffe9e5; }
.cta-band { background: #fff0dc; color: var(--text); border: 1px solid #f2dfc5; }
.cta-band h2 { color: var(--ink); }
.cta-band .btn-ghost-light { color: var(--orange-700); border-color: #d9b58c; }
.card:hover { border-color: #e8c4a3; box-shadow: 0 12px 32px rgb(85 54 20 / 7%); }
.site-footer { background: #f8f9fa; color: var(--muted); border-top: 1px solid var(--line); border-image: none; }
.site-footer a, .site-footer .logo, .site-footer .logo:hover { color: var(--text); }
.site-footer a:hover { color: var(--orange-700); }
.site-footer h4 { color: var(--ink); }
.site-footer .logo-text small { color: var(--text); }
.footer-tagline, .footer-badge { color: var(--orange-700); }
.footer-bottom { border-color: var(--line); }
.disclaimer { color: var(--muted); }
.socials a { background: #efeae3; }
.socials a:hover { background: #ffe8ce; }
.cookie { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: 0 8px 32px rgb(60 40 20 / 12%); }
.cookie a { color: var(--orange-700); text-decoration: underline; }
.chat-head { background: #fff4e6; color: var(--ink); }
.chat-title span { color: var(--muted); }
.chat-head-btn { background: #fff; color: var(--ink); }
.chat-head-btn:hover { background: var(--orange-100); color: var(--ink); }
.chat-launcher, .chat-send { background: #b84908; }
.case-side, .service-card.highlight { background: #fff3e4; color: var(--text); border-color: #efdcc5; }
.case-side h3, .service-card.highlight h3 { color: var(--ink); }
.service-card.highlight p { color: var(--muted); }
.case-metric { background: #fff; color: var(--orange-700); }

/* ---------- Legal & privacy ---------- */
.legal-hero { position: relative; overflow: hidden; background: #fffaf3; border-bottom: 1px solid #eee4d6; padding: 24px 0 56px; }
.legal-hero .breadcrumbs { display: flex; align-items: center; gap: 12px; font-size: .76rem; margin: 0 0 40px; }
.legal-hero .breadcrumbs a { color: var(--muted); }
.legal-hero .breadcrumbs [aria-current] { color: var(--ink); }
.legal-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; }
.legal-hero .eyebrow { font-size: .68rem; letter-spacing: .14em; margin-bottom: 20px; }
.legal-hero h1 { font-size: clamp(2.6rem, 4.6vw, 4rem); font-weight: 700; margin-bottom: 20px; letter-spacing: -.025em; }
.legal-hero h1 span { color: var(--orange-700); }
.legal-hero .lead { color: var(--muted); font-size: 1rem; line-height: 1.8; margin-bottom: 26px; }
.legal-meta { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .72rem; }
.legal-meta time { font-weight: 600; color: var(--text); }
.update-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange-600); flex: none; margin-right: 3px; }
.meta-divider { width: 1px; height: 12px; background: #d7c9b7; margin: 0 8px; }
.legal-art { height: 270px; position: relative; max-width: 360px; width: 100%; justify-self: center; }
.art-orbit { position: absolute; border: 1px solid #ecdcc8; border-radius: 50%; left: 50%; top: 45%; transform: translate(-50%, -50%); }
.orbit-one { width: 238px; height: 238px; }
.orbit-two { width: 318px; height: 318px; border-style: dashed; opacity: .65; }
.art-diamond { width: 78px; height: 78px; position: absolute; transform: rotate(45deg); border-radius: 5px; box-shadow: 8px 8px 22px rgb(172 88 11 / 10%); }
.diamond-red { top: 103px; left: 51px; background: #ed241b; }
.diamond-orange { top: 44px; left: 110px; background: #f26500; }
.diamond-gold { top: 103px; left: 169px; background: #ff8700; }
.diamond-amber { top: 44px; left: 228px; background: #ffaf17; }
.art-note { position: absolute; bottom: 0; left: 56px; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border: 1px solid #ede4d9; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgb(93 56 13 / 6%); font-size: .8rem; color: var(--ink); font-weight: 600; }
.art-note svg { width: 26px; height: 26px; color: var(--orange-700); }
.art-note small { display: block; font-size: .67rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.legal-content { background: #fdfcfb; padding: 56px 0 80px; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-sidebar { position: sticky; top: calc(var(--header-h) + 28px); }
.sidebar-label { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding: 0 16px; margin-bottom: 16px; }
.legal-nav { display: grid; gap: 5px; }
.legal-nav a { display: flex; gap: 14px; align-items: center; font-size: .85rem; padding: 13px 16px; border: 1px solid transparent; border-radius: 8px; color: var(--text); font-weight: 500; }
.legal-nav a > span:first-child { font-size: .68rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.legal-nav a[aria-current], .legal-nav a:hover { color: var(--orange-700); background: #fff0df; border-color: #f9dfbe; }
.legal-nav a[aria-current] > span:first-child { color: var(--orange-700); }
.nav-arrow { margin-left: auto; font-size: 1rem; }
.legal-help { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-top: 30px; }
.help-symbol { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #ebc9a6; color: var(--orange-700); border-radius: 50%; font-size: .9rem; margin-bottom: 16px; }
.legal-help h3 { font-size: .93rem; letter-spacing: -.02em; }
.legal-help p { font-size: .79rem; line-height: 1.7; color: var(--muted); margin: 10px 0 18px; }
.legal-help a { color: var(--orange-700); font-size: .78rem; }
.legal-back { display: flex; gap: 12px; padding: 22px 16px; font-size: .75rem; color: var(--muted); }
.legal-articles { min-width: 0; }
.policy-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px 36px; margin-bottom: 24px; scroll-margin-top: 12px; box-shadow: 0 3px 9px rgb(45 34 22 / 2%); }
.policy-heading { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid #f0ece7; }
.policy-number { display: grid; place-items: center; width: 44px; height: 48px; border-radius: 10px; background: #fff4e6; color: var(--orange-700); font-family: var(--font-head); font-weight: 600; font-size: .9rem; flex: none; }
.policy-kicker { color: var(--muted); text-transform: uppercase; font-size: .6rem; letter-spacing: .12em; display: block; margin-bottom: 5px; }
.policy-heading h2 { font-size: 1.35rem; margin: 0; font-weight: 700; letter-spacing: -.02em; }
.policy-heading > svg { margin-left: auto; width: 25px; height: 25px; color: #a0907b; flex: none; }
.policy-copy { font-size: .88rem; line-height: 1.85; color: #605b55; }
.policy-copy p { margin-bottom: 22px; }
.policy-copy p:last-child { margin-bottom: 0; }
.policy-copy strong { color: var(--ink); font-weight: 600; }
.policy-copy p > strong:first-child { display: block; margin-bottom: 4px; }
.policy-copy a { color: var(--orange-700); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-end { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: .7rem; padding: 8px 0; }
@media (max-width: 1080px) {
  .legal-layout { gap: 32px; grid-template-columns: 220px minmax(0, 1fr); }
  .legal-hero-grid { gap: 20px; }
}
@media (max-width: 760px) {
  .legal-hero { padding: 22px 0 38px; }
  .legal-hero-grid { grid-template-columns: 1fr; }
  .legal-hero .breadcrumbs { margin-bottom: 30px; }
  .legal-art { display: none; }
  .legal-hero h1 { font-size: clamp(2.5rem, 8vw, 3.5rem); }
  .legal-content { padding: 24px 0 44px; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-sidebar { position: static; }
  .legal-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .sidebar-label { grid-column: 1 / -1; padding: 0; margin-bottom: 6px; }
  .legal-nav a { padding: 11px 6px; font-size: .72rem; gap: 5px; justify-content: center; background: #fff; border-color: var(--line); }
  .legal-nav .nav-arrow, .legal-help, .legal-back { display: none; }
  .policy-card { padding: 24px; }
  .legal-end { font-size: .65rem; }
}
@media (max-width: 400px) {
  .desktop-break { display: none; }
  .legal-meta { font-size: .66rem; }
  .meta-divider { margin: 0 3px; }
  .policy-card { padding: 22px 18px; }
  .policy-heading { gap: 12px; }
  .policy-heading h2 { font-size: 1.2rem; }
  .legal-nav a > span:first-child { display: none; }
}

/* ---------- Floating actions: WhatsApp + chat, stacked so they never overlap ---------- */
.wa-float.has-chat { right: 24px; bottom: 94px; width: 52px; height: 52px; z-index: 169; transition: opacity .25s ease, transform .35s var(--ease), visibility .25s; }
.wa-float.has-chat svg { width: 26px; height: 26px; }
.wa-float.has-chat::after { display: none; } /* one calm stack, no pulsing ring */
body.chat-open .wa-float { opacity: 0; visibility: hidden; transform: scale(.8); pointer-events: none; }
.chat-teaser { right: 96px; bottom: 26px; }  /* beside the buttons, never on top of them */
.bar-chat { display: none; }

@media (max-width: 640px) {
  .chat-launcher { display: none; }
  .mobile-bar { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .bar-chat { display: grid; place-items: center; position: relative; flex: none; width: 50px; border: 0; border-radius: 10px; background: #b84908; color: #fff; cursor: pointer; }
  .bar-chat svg { width: 22px; height: 22px; }
  .bar-chat .chat-badge { top: -6px; right: -6px; }
  .chat-teaser { right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); border-radius: 16px 16px 4px 16px; }
  .cookie { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ---------- Icon system (line icons from main.js ICON set) ---------- */
svg.i { display: block; flex: none; }
.card-icon { font-style: normal; color: var(--orange-700); }
.card-icon svg { width: 24px; height: 24px; }
.service-card.highlight .card-icon { background: #fff; color: var(--orange-700); }
.service-card.dashed .card-icon { background: #fff; }
.contact-card .card-icon svg { width: 22px; height: 22px; }
.ask-card h4 svg { width: 24px; height: 14px; }
.msg-act svg.i, .btn svg.i { width: 18px; height: 18px; }

/* ---------- Reference-inspired GEMS experience ---------- */
.eyebrow { font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .1em; }
.site-header { background: rgba(255,255,255,.97); box-shadow: 0 6px 28px rgb(37 38 41 / 4%); }
.nav { height: 84px; gap: 20px; }
.site-header.scrolled .nav { height: 74px; }
.nav-menu { flex: 0 1 auto; margin: 0 auto; padding: 5px; gap: 0; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 3px 12px rgb(30 30 30 / 3%); }
.nav-link { padding: 10px 12px; font-size: .78rem; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; border-radius: 999px; white-space: nowrap; }
.nav-actions { gap: 8px; }
.nav-actions .btn { border-radius: 12px; font-size: .8125rem; min-height: 44px; padding: 10px 14px; }
.nav-actions .btn-whatsapp { background: #195c46; }
.nav-actions .btn-whatsapp:hover { background: #124735; }
.logo svg { width: 43px; height: 32px; }
.logo-text { line-height: 1; }
.mega { border-radius: 20px; padding: 26px; box-shadow: 0 20px 50px rgb(40 40 40 / 12%); }
.mega h4 { color: var(--orange-700); font-size: .75rem; line-height: 1.5; }
.mega a { font-size: .875rem; padding-top: 10px; padding-bottom: 10px; }
.mega-panel { background: #fff5e8; border: 1px solid #ffe5c6; }
.mega-company { grid-template-columns: 200px 240px; left: auto; right: 20px; }
.mega-company .mega-panel a { margin-top: auto; }
.btn { min-height: 44px; font-size: .9375rem; font-weight: 600; }
.btn-sm { min-height: 38px; }
.home-page .hero { padding: 72px 0 60px; background: radial-gradient(ellipse at 92% 18%, #fff2e2, transparent 49%), #fff; }
.home-page .hero .split { grid-template-columns: 1fr 1.07fr; gap: 48px; }
.home-page .hero h1 { font-size: clamp(3rem, 4.65vw, 4.2rem); line-height: 1.03; letter-spacing: -.06em; margin: 16px 0 24px; font-weight: 700; }
.home-page .hero h1 .accent { color: #bd4c0b; }
.home-page .hero .eyebrow { margin-bottom: 0; }
.home-page .hero .lead { font-size: 1rem; line-height: 1.8; max-width: 470px; margin-bottom: 26px; }
.home-page .hero .btn-row { align-items: center; gap: 14px; }
.home-page .hero .btn-whatsapp { background: transparent; color: var(--ink); border: 0; box-shadow: none; padding-left: 6px; }
.home-page .hero .btn-whatsapp svg { color: #237c51; }
.home-page .trust-row { font-size: .7rem; gap: 9px 16px; margin-top: 22px; }
.home-page .hero-dashboard { padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 22px 60px rgb(60 45 25 / 9%); transform: rotate(-1deg); }
.hero-dashboard .app-top { background: #fff; border: 0; padding: 8px 7px 17px; gap: 5px; }
.hero-dashboard .app-top i { height: 7px; width: 7px; background: #f2c1a0; }
.hero-dashboard .app-top i:first-child { background: #e8ac9f; }
.hero-dashboard .app-top i:last-of-type { background: #e7d7aa; }
.hero-dashboard .app-title { font-size: .6rem; color: #73777b; }
.portal-demo { font-size: .5rem; letter-spacing: .09em; margin-left: auto; color: #776859; border: 1px solid #eee5dc; padding: 3px 6px; border-radius: 4px; }
.hero-dashboard .app-body { grid-template-columns: 118px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; min-height: 354px; }
.hero-dashboard .app-side { background: #2b2c2e; padding: 20px 8px; border: 0; }
.portal-brand { display: block; padding: 0 9px 23px; color: #fff; font-family: var(--font-head); font-weight: 800; font-style: normal; font-size: 1rem; }
.portal-brand > span { display: block; font-family: var(--font-body); font-style: normal; font-weight: 400; font-size: .5rem; color: #bdbdbd; margin-top: 4px; }
.hero-dashboard .app-side button { font-size: .64rem; font-weight: 500; color: #d0d0d1; margin: 3px 0; padding: 9px 10px; }
.hero-dashboard .app-side button.active, .hero-dashboard .app-side button:hover { background: #45403a; color: #ffbf73; }
.hero-dashboard .app-main { padding: 17px 14px; background: #fafbfc; }
.hero-dashboard .app-greet { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .77rem; letter-spacing: -.02em; margin-bottom: 15px; }
.hero-dashboard .pill { font-size: .46rem; padding: 3px 6px; white-space: nowrap; }
.hero-dashboard .pill-live::before { width: 4px; height: 4px; box-shadow: none; }
.hero-dashboard .kpis { gap: 6px; margin-bottom: 10px; }
.hero-dashboard .kpi { padding: 9px 7px; background: #fff; border-radius: 8px; }
.hero-dashboard .kpi span { font-size: .49rem; }
.hero-dashboard .kpi strong { font-size: .81rem; margin: 3px 0; letter-spacing: -.02em; }
.hero-dashboard .kpi em { font-size: .48rem; }
.dashboard-chart { border: 1px solid var(--line); border-radius: 9px; background: #fff; padding: 10px 10px 6px; margin-bottom: 12px; }
.chart-heading { display: flex; justify-content: space-between; gap: 8px; font-size: .56rem; font-weight: 600; margin-bottom: 5px; }
.chart-legend { display: inline-flex; align-items: center; gap: 4px; font-size: .45rem; color: var(--muted); font-weight: 400; }
.chart-legend i { width: 5px; height: 5px; background: #f58220; border-radius: 50%; }
.chart-legend i + i { background: #9099a2; }
.dashboard-chart svg { width: 100%; height: 80px; overflow: visible; }
.chart-grid { fill: none; stroke: #efefef; stroke-width: 1; stroke-dasharray: 3 4; }
.chart-area { fill: #fff3e5; }
.chart-income { fill: none; stroke: #f58220; stroke-width: 2.5; stroke-linejoin: round; }
.chart-expense { fill: none; stroke: #9099a2; stroke-width: 1.8; stroke-linejoin: round; }
.chart-months { display: flex; justify-content: space-between; font-size: .44rem; color: #7c8289; padding-top: 5px; }
.activity-heading { display: flex; justify-content: space-between; gap: 6px; font-size: .54rem; font-weight: 600; margin-bottom: 6px; }
.activity-heading > span { color: var(--muted); font-size: .45rem; font-weight: 400; }
.hero-dashboard .feed { gap: 3px; }
.hero-dashboard .feed div { background: #fff; padding: 5px; gap: 5px; font-size: .5rem; }
.hero-dashboard .feed .tag { font-size: .4rem; padding: 2px 4px; }
.hero-dashboard .sample-note { display: flex; justify-content: space-between; gap: 6px; background: #fff; border: 0; font-size: .49rem; padding: 12px 5px 2px; }
.sample-status { color: #8a6948; }
.home-page .stats-wrap { margin-top: 0; }
.benefit-strip { display: grid; grid-template-columns: 1.15fr repeat(3, 1fr); gap: 30px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 27px 0; }
.benefit-strip > div { display: flex; align-items: center; gap: 12px; font-size: .8rem; }
.benefit-strip > div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.benefit-strip strong { font-size: .85rem; line-height: 1.5; color: var(--ink); font-weight: 600; }
.benefit-symbol svg { width: 36px; height: 24px; }
.benefit-strip b { font-size: .64rem; color: var(--orange-700); font-weight: 500; }
.home-page .section { padding: 80px 0; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head p { font-size: .97rem; line-height: 1.75; }
.section-head h2 { font-size: clamp(1.9rem, 3.15vw, 2.75rem); }
.service-section-head { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; text-align: left; }
.service-section-head h2 { margin-bottom: 0; }
.service-section-head > p { max-width: 375px; margin: 0 0 5px; }
.home-page #services .grid { gap: 14px; }
.service-card { border-radius: 15px; padding: 24px 22px; box-shadow: 0 3px 9px rgb(30 30 30 / 2%); }
.service-card h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.service-card p { font-size: .9375rem; line-height: 1.7; }
.service-card .card-icon { width: 40px; height: 40px; border: 0; border-radius: 11px; background: #fff2e4; margin-bottom: 22px; }
.service-card .card-icon svg { width: 21px; height: 21px; }
.service-card .link-arrow { font-size: .875rem; color: var(--orange-700); }
.service-card.highlight { background: #fff6eb; border-color: #f4d8b5; }
.service-card.dashed { background: #fafbfc; border-style: dashed; }
.service-card:hover { transform: translateY(-3px); }
.platform-section { border-top: 1px solid #eef0f2; border-bottom: 1px solid #eef0f2; }
.platform-section h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.platform-section .lead { font-size: .96rem; line-height: 1.8; }
.platform-section .checks { gap: 20px; font-size: .85rem; }
.platform-section .checks strong { display: block; margin-bottom: 5px; color: var(--ink); }
.ask-card { margin-top: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 27px; box-shadow: 0 14px 35px rgb(30 30 30 / 5%); }
.ask-card h4 { font-size: 1.05rem; margin-bottom: 14px; }
.ask-card > p { color: var(--muted); font-size: .76rem; }
.ask-chips { gap: 7px; margin: 20px 0; }
.ask-chips button { font-size: .72rem; padding: 8px 11px; border-color: var(--line); }
.ask-chips button.active { background: #fff0dc; border-color: #efc18a; }
.ask-answer { gap: 10px; }
.ask-answer div { background: #f8f9fa; padding: 15px; font-size: .76rem; line-height: 1.75; }
.ask-answer b { font-size: .6rem; }
.duo { border-radius: 18px; }
.duo h3 { flex-wrap: wrap; font-size: 1.05rem; }
.duo .checks { font-size: .88rem; gap: 13px; }
.role-cards > div { border-radius: 12px; }
.price-card { border-radius: 17px; box-shadow: 0 5px 16px rgb(30 30 30 / 3%); }
.price-card.featured { box-shadow: 0 10px 32px rgb(242 101 0 / 8%); background: #fffdf9; }
.quote-card, .trust-group { border-radius: 16px; }
.cta-band { background: #fff3e4; border-radius: 24px; }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.site-footer .logo { margin-bottom: 12px; }
.site-footer { padding-top: 60px; }
.footer-grid { gap: 30px; }
.footer-grid p, .footer-grid li { font-size: .875rem; line-height: 1.8; }
@media (max-width: 1080px) {
  .nav-menu { display: none; }
  .nav-actions { margin-left: auto; }
  .home-page .hero .split { gap: 30px; }
  .home-page .hero h1 { font-size: 3.2rem; }
  .hero-dashboard .app-body { grid-template-columns: 96px minmax(0, 1fr); }
  .hero-dashboard .app-main { padding: 15px 10px; }
  .benefit-strip { gap: 20px; }
  .benefit-strip > div + div { padding-left: 18px; }
}
@media (max-width: 900px) {
  .home-page .hero .split { grid-template-columns: 1fr; gap: 38px; }
  .home-page .hero { padding: 46px 0; }
  .home-page .hero h1 { max-width: 670px; font-size: clamp(3rem, 7vw, 4.3rem); }
  .hero-break { display: none; }
  .home-page .hero .lead { max-width: 570px; }
  .home-page .hero-dashboard { transform: none; width: 100%; max-width: 600px; }
  .hero-dashboard .app-body { grid-template-columns: 130px minmax(0, 1fr); }
  .hero-dashboard .app-main { padding: 20px; }
  .service-section-head { display: block; }
  .service-section-head > p { max-width: 560px; margin: 18px 0 0; }
  .benefit-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .benefit-strip > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .nav, .site-header.scrolled .nav { height: 68px; gap: 10px; }
  .logo svg { width: 35px; height: 27px; }
  .logo-text b { font-size: 1.65rem; }
  .nav-actions .btn-primary { display: inline-flex; font-size: .7rem; min-height: 36px; padding: 9px 11px; }
  .nav-actions .btn-whatsapp { display: none; }
  .menu-toggle { margin-left: 0; width: 44px; height: 44px; }
  .home-page .hero { padding: 38px 0 32px; }
  .home-page .hero h1 { font-size: clamp(2.6rem, 9vw, 3.6rem); margin-top: 18px; }
  .home-page .hero .lead { font-size: .92rem; }
  .home-page .hero .eyebrow { font-size: .62rem; }
  .home-page .hero .btn-row { gap: 8px; }
  .home-page .trust-row { font-size: .65rem; gap: 6px 12px; }
  .hero-dashboard .app-body { grid-template-columns: 1fr; }
  .hero-dashboard .app-side { background: #f8f9fa; padding: 8px; border-bottom: 1px solid var(--line); }
  .portal-brand { display: none; }
  .hero-dashboard .app-side button { color: var(--muted); font-size: .64rem; padding: 7px 8px; margin: 0; }
  .hero-dashboard .app-side button.active, .hero-dashboard .app-side button:hover { background: #ffecd6; color: #9e480b; }
  .hero-dashboard .app-main { padding: 17px 12px; }
  .hero-dashboard .kpi span { font-size: .58rem; }
  .hero-dashboard .kpi strong { font-size: .95rem; }
  .hero-dashboard .kpi em { font-size: .56rem; }
  .hero-dashboard .feed div { font-size: .58rem; }
  .hero-dashboard .sample-note { font-size: .45rem; }
  .hero-dashboard .app-greet { font-size: .85rem; }
  .dashboard-chart svg { height: 100px; }
  .benefit-strip { padding: 24px 0; gap: 24px 15px; }
  .benefit-strip > div { font-size: .68rem; gap: 8px; }
  .benefit-strip strong { font-size: .73rem; }
  .benefit-strip > div + div { padding-left: 15px; }
  .benefit-strip > div:nth-child(3) { padding-left: 0; }
  .home-page .section { padding: 54px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 2rem; }
  .home-page #services .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service-card { padding: 20px 16px; }
  .service-card h3 { font-size: .92rem; }
  .service-card p { font-size: .76rem; }
  .service-card .link-arrow { font-size: .68rem; }
  .service-card .card-icon { margin-bottom: 16px; }
  .ask-card { padding: 22px; }
  .footer-grid { gap: 24px; }
}
@media (max-width: 380px) {
  .home-page #services .grid { grid-template-columns: 1fr; }
  .nav-actions .btn { padding: 9px; }
  .nav-actions .btn span { display: none; }
  .logo { gap: 6px; }
  .logo-text b { font-size: 1.5rem; }
}

/* ---------- Audit guide, careers & partner pages (3 Nov 2026) ---------- */
.zone-grid { margin-top: 20px; }
.zone-card { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 8px; }
.zone-card h3, .role-card h3 { margin: 0; }
.zone-card p, .role-card p { margin: 0; }
.zone-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.zone-auditor { font-size: .92rem; }
.zone-approved { font-size: .85rem; font-weight: 700; color: var(--orange-700); }
.zone-tip { font-size: .88rem; color: var(--muted); border-left: 3px solid var(--orange-300, #eaad57); padding-left: 12px; }
.zone-card .link-arrow, .role-card .link-arrow { margin-top: auto; cursor: pointer; }
.role-card { display: flex; flex-direction: column; gap: 12px; }
.role-card .checks { gap: 6px; }
#checker { margin-bottom: 0; }
@media print {
  .site-header, .site-footer, .mobile-bar, .wa-float, .chat-launcher, .cookie, .demo-banner, .gp-ribbon, .gp-card, .gp-modal, .page-hero .btn-row { display: none !important; }
  main > section:not(#documents) { display: none !important; }
  #documents .btn-row { display: none !important; }
}

/* ---------- Brand lockup: diamonds over GEMS over AUDIT | TAX | ADVISORY (per GEMS logo PDF) ---------- */
.nav { height: 104px; }
.site-header.scrolled .nav { height: 90px; }
.logo { color: #000; }
.logo:hover { color: #000; }
.logo .logo-full { display: block; width: auto; height: 84px; transition: height .35s var(--ease); }
.site-header.scrolled .logo .logo-full { height: 72px; }
.site-footer .logo, .site-footer .logo:hover { color: #000; }
.site-footer .logo .logo-full { height: 96px; }
.drawer-head .logo .logo-full { height: 64px; }
@media (max-width: 640px) {
  :root { --header-h: 84px; }
  .nav, .site-header.scrolled .nav { height: 84px; }
  .logo .logo-full, .site-header.scrolled .logo .logo-full { height: 66px; }
}

/* ==========================================================================
   v3 — GEMS logo palette and Elevate-style layout (November 2026)
   Navy wordmark #1B2A4A · diamonds #F6AD41 #EB8C00 #DC6900 #E0301E · tagline grey #6D6E71
   ========================================================================== */

.h3 { font-size: 1.25rem; }
a { color: var(--navy-700); }
a:hover { color: var(--orange-700); }
.stat strong, .step::before { font-style: normal; }

/* Buttons: navy primary, logo-orange accent */
.btn-primary { background: var(--navy-900); color: #fff; box-shadow: 0 6px 16px rgb(27 42 74 / 18%); }
.btn-primary:hover { background: var(--navy-700); color: #fff; box-shadow: 0 8px 20px rgb(27 42 74 / 22%); }
.btn-accent { background: var(--orange-500); color: var(--navy-950); }
.btn-accent:hover { background: var(--orange-300); color: var(--navy-950); }
.pill-dark { background: var(--navy-900); }
.chip.active, .chip:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #c3cde0; font-size: .78rem; max-height: 40px; overflow: hidden; transition: max-height .3s var(--ease); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.topbar-contact, .topbar-links { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.topbar a, .topbar-hours { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 500; }
.topbar-hours { color: #aab6cc; }
.topbar a:hover { color: var(--orange-300); }
.topbar svg { width: 14px; height: 14px; flex: none; }
.topbar-wa svg { color: #5ee08f; }
.site-header.scrolled .topbar { max-height: 0; }

/* ---------- Header and mega menus ---------- */
.nav { height: 90px; gap: 18px; }
.site-header.scrolled .nav { height: 76px; }
.logo, .logo:hover { color: var(--navy-900); }
.logo .logo-full { height: 72px; }
.site-header.scrolled .logo .logo-full { height: 60px; }
.drawer-head .logo .logo-full { height: 60px; }
.nav-link { color: var(--navy-900); padding: 10px 8px; }
.mega-wide, .mega-fit { gap: 8px 28px; max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; }
.mega-wide { left: 20px; right: 20px; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.mega-wide.has-panel { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)) 240px; }
.mega-fit { left: 20px; right: auto; grid-template-columns: repeat(var(--cols), 250px); }
.mega-fit.has-panel { grid-template-columns: repeat(var(--cols), 250px) 240px; }
.nav-item:last-child .mega-fit { left: auto; right: 20px; }
.mega-wide a, .mega-fit a { padding: 5px 10px; font-size: .82rem; }
.mega .mega-panel a { padding: 9px 12px; }
.mega h4 { position: sticky; top: -26px; background: #fff; padding: 4px 0 6px; margin-bottom: 4px; z-index: 1; }
.drawer-h { display: block; padding: 12px 0 4px 12px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-700); }
.drawer-h:first-child { padding-top: 0; }
@media (max-width: 1180px) {
  .nav-menu { display: none; }
  .menu-toggle { display: inline-flex; margin-left: 12px; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .topbar-hours, .topbar-contact a:nth-child(2) { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 112px; }
  .nav, .site-header.scrolled .nav { height: 74px; }
  .logo .logo-full, .site-header.scrolled .logo .logo-full { height: 58px; }
  .topbar-links a:first-child { display: none; }
  .topbar-contact, .topbar-links { gap: 14px; }
}

/* ---------- Home hero ---------- */
.home-hero { padding: 56px 0 64px; background: radial-gradient(ellipse at 90% 0%, #fff1dd 0, transparent 52%), linear-gradient(180deg, var(--navy-50), #fff); }
.home-hero .split { grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.hero-slide.active { opacity: 1; visibility: visible; transform: none; }
.hero-slide h1, .hero-slide .h1 { font-family: var(--font-head); font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 800; line-height: 1.16; letter-spacing: -.025em; text-wrap: balance; overflow-wrap: break-word; color: var(--ink); margin: 14px 0 18px; }
.hero-slide .accent { color: var(--orange-700); }
.hero-slide .lead { font-size: 1.08rem; line-height: 1.7; max-width: 540px; color: var(--text); margin-bottom: 24px; }
.hero-dots { grid-area: 2 / 1; display: flex; gap: 8px; margin-top: 10px; }
.hero-dots button { width: 28px; height: 30px; padding: 12px 0; border: 0; border-radius: 99px; background: var(--navy-100); background-clip: content-box; cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.hero-dots button[aria-current="true"] { width: 46px; background-color: var(--orange-500); }
.home-page .home-hero .trust-row { font-size: .85rem; margin-top: 18px; }
.home-page .home-hero .btn-whatsapp { background: var(--whatsapp); color: #fff; }
.form-card .eyebrow { margin-bottom: 6px; }
.form-card > h2, .form-card > h3 { margin-bottom: 4px; }
.form-compact { gap: 12px; }
.form-compact textarea { min-height: 64px; }
.form-compact .field input, .form-compact .field select, .form-compact .field textarea { padding: 10px 12px; }
.about-intro .lead { font-size: 1.08rem; color: var(--text); }
.why-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-lists h3 { font-size: 1rem; margin-bottom: 14px; }
.why-lists .checks { font-size: .93rem; gap: 8px; }

/* ---------- Service pages ---------- */
.svc-hero { padding: 48px 0 56px; }
.svc-hero .split { align-items: start; grid-template-columns: 1.1fr .9fr; }
.svc-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.split-top { align-items: start; }
.prose p { font-size: 1.02rem; line-height: 1.75; }
.prose h2 { font-size: 1.45rem; margin-top: 1.5em; }
.prose > h2:first-child, .prose .eyebrow + h2 { margin-top: 0; }
.prose .note { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 28px; }
.zone-flag { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 0; }
.info-pair .card { padding: 32px; }
.svc-jump .chip { text-decoration: none; }

/* ---------- Blog ---------- */
.post-card .pill { align-self: flex-start; margin-bottom: 14px; }
.post-meta { font-size: .8rem; color: var(--muted); }
.post-card .post-meta { margin-bottom: 12px; }
.article-head h1, .article-head .lead { max-width: 820px; }
.article-head .pill { margin-bottom: 14px; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.article-side { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 16px); }
.article-side .form-card { padding: 24px; }
.article-side .form-row { grid-template-columns: 1fr; }

/* ---------- Setup cost calculator ---------- */
.calc-box { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.calc-box h3 { font-size: 1.35rem; margin-top: 14px; }
.calc-field { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.calc-field legend { padding: 0; margin-bottom: 10px; font-size: .9rem; font-weight: 700; color: var(--ink); }
.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-cards { grid-template-columns: repeat(2, 1fr); margin: 0; }
.calc-err { color: var(--danger); font-size: .85rem; margin: 14px 0 0; }
.calc-box .wiz-foot .btn { min-width: 120px; }

/* ---------- Navy call-to-action band and footer ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); color: #c3cde0; border: 0; }
.cta-band h2 { color: #fff; }
.cta-band .btn-ghost-light { color: #fff; border-color: rgb(255 255 255 / 35%); }
.cta-band .btn-ghost-light:hover { background: rgb(255 255 255 / 10%); color: #fff; }
.site-footer { background: var(--navy-950); color: #aab6cc; border-top: 4px solid; border-image: var(--brand-gradient) 1; }
.site-footer a { color: #d5dcea; }
.site-footer a:hover { color: var(--orange-300); }
.site-footer h4 { color: #fff; }
.site-footer .logo, .site-footer .logo:hover { color: #fff; }
.site-footer .logo .logo-full { height: 104px; }
.site-footer .footer-brand p { color: #aab6cc; }
.site-footer .footer-bottom { border-top: 1px solid rgb(255 255 255 / 12%); color: #aab6cc; }
.site-footer .disclaimer { color: #8f9bb3; }
.site-footer .disclaimer a { color: #d5dcea; }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr 1fr; }
.footer-offices address { font-style: normal; display: grid; gap: 4px; margin-bottom: 18px; line-height: 1.5; font-size: .88rem; }
.footer-offices address strong { color: #fff; font-size: .9rem; }

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .article { grid-template-columns: 1fr; }
  .article-side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .home-hero .split, .svc-hero .split { grid-template-columns: 1fr; }
  .home-hero { padding: 36px 0 48px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-lists, .calc-cards, .article-side { grid-template-columns: 1fr; }
  .calc-box { padding: 22px 18px; }
  .info-pair .card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .topbar { transition: none; }
}
.site-footer .socials a { background: rgb(255 255 255 / 8%); color: #fff; }
.site-footer .socials a:hover { background: rgb(255 255 255 / 16%); }
.site-footer .footer-badge { color: var(--orange-300); }

.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .steps-3 { grid-template-columns: 1fr; } }

/* ---------- Horizontal logo lockup: the tagline stays readable at header size ---------- */
.logo .logo-h { display: block; width: auto; height: 60px; transition: height .35s var(--ease); }
.site-header.scrolled .logo .logo-h { height: 52px; }
.site-footer .logo .logo-h { height: 68px; }
.drawer-head .logo .logo-h { height: 44px; }
@media (max-width: 1260px) {
  .nav-menu { display: none; }
  .menu-toggle { display: inline-flex; margin-left: 12px; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .logo .logo-h, .site-header.scrolled .logo .logo-h { height: 46px; }
}
@media (max-width: 560px) {
  .nav-actions .btn-primary { display: none; }
  .menu-toggle { margin-left: auto; }
}

/* ---------- Services index: collapsible groups ---------- */
.svc-group { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.svc-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 56px 20px 24px; position: relative; }
.svc-group > summary::-webkit-details-marker { display: none; }
.svc-group > summary h2 { font-size: 1.25rem; margin: 0; }
.svc-group > summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2px solid var(--navy-600); border-bottom: 2px solid var(--navy-600); transform: rotate(45deg); transition: transform .25s var(--ease); }
.svc-group[open] > summary::after { transform: rotate(225deg); margin-top: -2px; }
.svc-count { font-size: .8rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.svc-group > .grid { padding: 4px 24px 24px; }
.svc-jump { margin-bottom: 12px; }

/* ---------- Phone refinements (from the 390px review) ---------- */
.topbar a { min-height: 38px; }
.service-card .link-arrow { font-size: .875rem; }
@media (max-width: 640px) {
  .eyebrow { font-size: .75rem; }
  .benefit-strip > div { font-size: .85rem; }
  .topbar { font-size: .8rem; }
  .topbar-contact, .topbar-links { gap: 18px; }
  /* Service cards become compact rows: icon left, title, two lines of text */
  .service-card:has(> .card-icon) { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start; padding: 16px; }
  .service-card:has(> .card-icon) .card-icon { grid-row: 1 / span 3; margin: 0; }
  .service-card:has(> .card-icon) h3 { font-size: 1rem; margin: 0; align-self: center; }
  .service-card:has(> .card-icon) p { grid-column: 2; margin: 0; font-size: .86rem; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .service-card:has(> .card-icon) .link-arrow { display: none; }
  .service-card h3 { font-size: 1rem; }
  .service-card p { font-size: .86rem; }
  .service-card .link-arrow { font-size: .82rem; }
  .grid:has(> .service-card > .card-icon) { gap: 10px; }
  .svc-group > summary { padding: 16px 44px 16px 16px; flex-wrap: wrap; gap: 4px 12px; }
  .svc-group > summary::after { right: 18px; }
  .svc-group > summary h2 { font-size: 1.05rem; }
  .svc-group > .grid { padding: 0 12px 14px; }
  .legal-nav a { font-size: .8rem; }
  .section { padding: 64px 0; }
  .svc-hero { padding: 28px 0 40px; }
}
@media (max-width: 640px) {
  .home-page #services .grid, .grid:has(> .service-card > .card-icon) { grid-template-columns: minmax(0, 1fr); }
  .benefit-strip strong { font-size: .85rem; }
  .section-head h2 { font-size: 1.6rem; }
}
@media (max-width: 640px) {
  .service-card:has(> .card-icon) .card-icon { grid-row: 1 / span 2; }
}
@media (max-width: 760px) {
  .legal-nav a, .legal-nav a span { font-size: .78rem; }
  .legal-hero .eyebrow, .legal-page main small { font-size: .75rem; }
}
@media (max-width: 760px) {
  .legal-page .policy-kicker, .legal-page .sidebar-label { font-size: .75rem; }
}

/* Brand typography details shared by service, pricing and tool pages. */
.price, .stat strong, .kpi strong, .wiz-price, .tool-big, .table {
  font-variant-numeric: lining-nums tabular-nums;
}
.field input, .field select, .field textarea { font-size: 1rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
@media (max-width: 640px) {
  .hero-slide h1, .hero-slide .h1 { font-size: clamp(1.875rem, 7.8vw, 2.5rem); line-height: 1.18; }
  .hero-slide .lead { font-size: 1rem; }
  .service-card:has(> .card-icon) p, .service-card p { font-size: .9375rem; line-height: 1.65; }
}

/* ==========================================================================
   PROMOTIONS (assets/js/promos.js): ribbon, welcome offer, scroll card, exit offer
   ========================================================================== */

/* ---------- 1. Ribbon ---------- */
.gp-ribbon { background: linear-gradient(90deg, var(--orange-300), var(--orange-500)); color: var(--navy-950); font-size: .84rem; line-height: 1.4; }
.gp-ribbon .container { display: flex; align-items: center; gap: 10px; min-height: 40px; padding-top: 7px; padding-bottom: 7px; }
.gp-ribbon-track { flex: 1; min-width: 0; display: grid; }
.gp-ribbon-msg { grid-area: 1 / 1; margin: 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; text-align: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .4s ease, transform .5s var(--ease), visibility .4s; }
.gp-ribbon-msg.on { opacity: 1; visibility: visible; transform: none; }
.gp-ribbon-tag { flex: none; background: var(--navy-950); color: #fff; font-family: var(--font-head); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.gp-ribbon-text { font-weight: 500; }
.gp-ribbon a { flex: none; color: var(--navy-950); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; white-space: nowrap; }
.gp-ribbon a:hover { color: var(--navy-700); }
.gp-ribbon-nav { flex: none; display: flex; gap: 2px; }
.gp-ribbon-nav button, .gp-ribbon-x { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--navy-950); font-size: 1.15rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background-color .2s ease; }
.gp-ribbon-nav button:hover, .gp-ribbon-x:hover { background: rgb(18 29 54 / 14%); }
.gp-ribbon :focus-visible { outline-color: var(--navy-950); }

/* ---------- Shared close button and labels ---------- */
.gp-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.15rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background-color .2s ease, transform .3s var(--ease); }
.gp-x:hover { background: var(--navy-50); transform: rotate(90deg); }
.gp-label { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700); }
.gp-label::before { content: ""; width: 8px; height: 8px; background: var(--orange-600); transform: rotate(45deg); }

/* ---------- 3. Scroll card ---------- */
.gp-card { position: fixed; left: 20px; bottom: 20px; z-index: 150; width: 356px; max-width: calc(100vw - 24px); display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding: 22px 46px 20px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; visibility: hidden; opacity: 0; transform: translateY(28px); transition: transform .6s var(--ease), opacity .35s ease, visibility .35s; }
.gp-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--brand-gradient); }
.gp-card.show { visibility: visible; opacity: 1; transform: none; }
.gp-card .gp-x { top: 12px; right: 10px; width: 30px; height: 30px; font-size: 1rem; }
.gp-card-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--orange-100); color: var(--orange-700); display: grid; place-items: center; }
.gp-card-icon svg { width: 24px; height: 24px; }
.gp-tag { display: inline-block; font-family: var(--font-head); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-700); margin-bottom: 5px; }
.gp-card h4 { font-size: 1.02rem; line-height: 1.3; margin: 0 0 5px; }
.gp-card p { font-size: .88rem; line-height: 1.5; color: var(--muted); margin: 0 0 14px; }

/* ---------- 2 + 4. Welcome and exit dialogs ---------- */
.gp-modal { position: fixed; inset: 0; z-index: 310; display: grid; place-items: center; padding: 16px; visibility: hidden; transition: visibility .35s; }
.gp-modal.open { visibility: visible; }
.gp-backdrop { position: absolute; inset: 0; background: rgb(8 21 38 / 58%); opacity: 0; transition: opacity .35s ease; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.gp-modal.open .gp-backdrop { opacity: 1; }
.gp-box { position: relative; width: 100%; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: hidden auto; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgb(8 21 38 / 34%); opacity: 0; transform: translateY(20px) scale(.97); transition: transform .5s var(--ease), opacity .3s ease; }
.gp-box:focus { outline: none; }
.gp-modal.open .gp-box { opacity: 1; transform: none; }
.gp-box h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.22; margin: 12px 0 0; }
.gp-lead { font-size: .97rem; line-height: 1.6; color: var(--text); margin: 0 0 18px; }
.gp-main { padding: 34px 32px 26px; }

.gp-welcome .gp-box { max-width: 800px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.gp-side { position: relative; overflow: hidden; padding: 38px 30px 34px; color: #dbe2ee; background: radial-gradient(120% 90% at 0% 0%, var(--navy-700), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); display: flex; flex-direction: column; }
.gp-side::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--brand-gradient); }
.gp-side .gp-mark { position: absolute; right: -64px; bottom: -30px; width: 310px; opacity: .2; transform: rotate(-8deg); pointer-events: none; }
.gp-side .gp-label { color: var(--orange-300); position: relative; }
.gp-side .gp-label::before { background: var(--orange-300); }
.gp-side h2 { color: #fff; position: relative; }
.gp-points { list-style: none; margin: 0; padding: 24px 0 0; display: grid; gap: 11px; font-size: .9rem; font-weight: 500; position: relative; }
.gp-points li { display: flex; align-items: flex-start; gap: 10px; }
.gp-points svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgb(246 173 65 / 20%); color: var(--orange-300); stroke-width: 2.6; margin-top: 1px; }
.gp-welcome .gp-main { align-self: center; padding-top: 44px; }
.gp-welcome .form { gap: 13px; }
.gp-alt { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; }
.gp-alt a { font-weight: 600; color: var(--orange-700); }
.gp-alt a:hover { color: var(--orange-600); }
.gp-alt .link-btn, .gp-exit .link-btn { font-size: .88rem; font-weight: 500; min-height: 32px; }
.gp-done { text-align: center; padding: 18px 0 8px; }
.gp-done-icon { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: #e7f6ed; color: var(--success); display: grid; place-items: center; }
.gp-done-icon svg { width: 28px; height: 28px; stroke-width: 2.4; }
.gp-done p { color: var(--muted); margin-bottom: 20px; }

.gp-exit .gp-box { max-width: 440px; }
.gp-exit .gp-box::before { content: ""; position: sticky; top: 0; display: block; height: 4px; background: var(--brand-gradient); }
.gp-exit .gp-main { text-align: center; display: grid; justify-items: center; gap: 0; padding: 38px 32px 22px; }
.gp-exit .gp-mark { width: 74px; margin-bottom: 18px; }
.gp-exit h2 { margin-bottom: 10px; }
.gp-exit .btn { margin-top: 10px; white-space: normal; }
.gp-exit .gp-lead { margin-bottom: 8px; }
.gp-exit .link-btn { margin-top: 12px; }

@media (max-width: 720px) {
  .gp-welcome .gp-box { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
  .gp-side { padding: 26px 56px 24px 24px; }
  .gp-side .gp-mark { width: 190px; right: -44px; bottom: -30px; }
  .gp-points { display: none; }
  .gp-welcome .gp-main, .gp-main { padding: 22px 24px 20px; }
}
@media (max-width: 640px) {
  .gp-ribbon { font-size: .8rem; }
  .gp-ribbon .container { gap: 4px; padding-left: 14px; padding-right: 6px; }
  .gp-ribbon-msg { display: block; text-align: left; }
  .gp-ribbon-text { margin-right: 6px; }
  .gp-ribbon-more, .gp-ribbon-nav, .gp-ribbon-tag { display: none; }
  .gp-ribbon-x { width: 36px; height: 36px; }
  .gp-card { left: 12px; right: 12px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); padding: 20px 44px 18px 16px; }
  /* dialogs become bottom sheets on phones */
  .gp-modal { place-items: end center; padding: 0; }
  .gp-box, .gp-welcome .gp-box, .gp-exit .gp-box { max-width: none; max-height: 92vh; max-height: 92dvh; border-radius: 22px 22px 0 0; transform: translateY(100%); opacity: 1; padding-bottom: env(safe-area-inset-bottom); }
  .gp-exit .gp-main { padding: 30px 22px 18px; }
  .gp-welcome .field input { font-size: 16px; }   /* stops iOS zooming on focus */
}
