/* =====================================================================
   Hubsvilla — site styles
   Navy + white + one blue accent. Mobile-first. No framework.
   ===================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/jakarta-latin.woff2') format('woff2');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #071226;
  --navy-900: #0B1B33;
  --navy-800: #12284A;
  --navy-700: #1C3A66;
  --blue-700: #1A4FC4;
  --blue-600: #2160E0;
  --blue-100: #DCE7FC;
  --blue-50:  #EEF3FD;
  --ink:      #0B1B33;
  --text:     #33415A;
  --muted:    #56657C;
  --line:     #E1E7F0;
  --line-2:   #CBD5E3;
  --bg:       #FFFFFF;
  --bg-soft:  #F5F7FB;
  --ok:       #0E7A4E;
  --ok-bg:    #E5F5EE;
  --warn:     #8A5A00;
  --warn-bg:  #FDF3DE;
  --err:      #B42318;
  --err-bg:   #FDECEA;
  --wa:       #1FA855;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, .06), 0 1px 1px rgba(11, 27, 51, .04);
  --shadow:    0 10px 30px -12px rgba(11, 27, 51, .18), 0 2px 6px rgba(11, 27, 51, .05);
  --shadow-lg: 0 30px 60px -20px rgba(11, 27, 51, .28);
  --container: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.35rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 6px; }
.ic { flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.35em;
  border-radius: 10px; border: 1.5px solid transparent;
  font-family: var(--font); font-weight: 600; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 16px -6px rgba(33, 96, 224, .55); }
.btn-primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy-900); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--blue-50); color: var(--navy-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-lg { min-height: 52px; padding: .85em 1.6em; font-size: 1.02rem; }
.btn-sm { min-height: 40px; padding: .55em 1em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(10px); } }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; }
.logo-word { font-family: var(--font-head); font-weight: 800; font-size: 1.42rem; letter-spacing: -.03em; color: var(--navy-900); }
.logo-inverse .logo-word { color: #fff; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy-900); cursor: pointer;
}
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* mobile drawer */
.primary-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: #fff; overflow-y: auto; overscroll-behavior: contain;
  padding: 12px 20px 40px; border-top: 1px solid var(--line);
  display: none;
}
.primary-nav.open { display: block; }
.no-js .primary-nav { display: block; position: static; padding: 0 0 12px; border: 0; } /* no-JS: menu always visible */
.no-js .nav-toggle { display: none; }
.no-js .header-inner { flex-wrap: wrap; height: auto; padding-top: 12px; }
.nav-list { list-style: none; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-link {
  white-space: nowrap;
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 4px; background: none; border: 0; cursor: pointer;
  font-weight: 600; font-size: 1.05rem; color: var(--navy-900); text-decoration: none; text-align: left;
}
.nav-link:hover { color: var(--blue-700); }
.dd-toggle .chev { transition: transform .2s var(--ease); }
.dd-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dropdown { display: none; padding: 0 0 14px; }
.dd-toggle[aria-expanded="true"] + .dropdown, .no-js .dropdown { display: block; }
.dd-grid { list-style: none; display: grid; gap: 4px; }
.dd-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--text); }
.dd-link:hover { background: var(--bg-soft); color: var(--text); }
.dd-ic { color: var(--blue-600); margin-top: 2px; }
.dd-link strong { display: block; color: var(--navy-900); font-size: .97rem; }
.dd-link small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.dd-all { display: inline-flex; align-items: center; gap: 6px; margin: 8px 10px 0; font-weight: 600; text-decoration: none; }
.nav-cta { display: grid; gap: 12px; margin-top: 20px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-900); text-decoration: none; padding: 6px 4px; }
body.nav-open { overflow: hidden; }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .primary-nav, .no-js .primary-nav {
    position: static; display: flex; align-items: center; gap: 16px;
    padding: 0; border: 0; overflow: visible; background: none; flex: 1; justify-content: flex-end;
  }
  .no-js .header-inner { flex-wrap: nowrap; height: var(--header-h); padding-top: 0; }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-list > li { border: 0; position: relative; }
  .nav-link { padding: 8px 12px; font-size: .95rem; border-radius: 8px; gap: 4px; }
  .nav-link:hover { background: var(--bg-soft); }
  .dropdown, .no-js .dropdown {
    display: block; visibility: hidden; opacity: 0; transform: translateY(6px);
    position: absolute; top: calc(100% + 10px); left: -20px; width: 640px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 14px; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
  }
  .no-js .has-dd:hover .dropdown, .no-js .has-dd:focus-within .dropdown,
  .dd-toggle[aria-expanded="true"] + .dropdown { visibility: visible; opacity: 1; transform: none; }
  .dd-grid { grid-template-columns: 1fr 1fr; }
  .dd-all { padding: 8px 10px 4px; border-top: 1px solid var(--line); margin: 8px 0 0; width: 100%; }
  .nav-cta { display: flex; align-items: center; gap: 16px; margin: 0; }
  .nav-phone span { font-size: .93rem; }
}
@media (min-width: 1100px) and (max-width: 1399px) { .nav-phone span { display: none; } .nav-phone { padding: 8px; } }
.nav-phone span { white-space: nowrap; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-tint { background: var(--bg-soft); }
.section-dark { background: var(--navy-900); color: #C9D4E6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #9DBBF5; }
.section-dark .section-sub { color: #B4C2D9; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; margin-bottom: 28px; }
.eyebrow {
  display: inline-block; margin: 0 0 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700);
}
.section-sub { font-size: 1.08rem; color: var(--muted); margin: 0; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 640px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600);
}
.icon-chip-sm { width: 44px; height: 44px; border-radius: 10px; }
.icon-chip-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); margin: 0 auto 20px; }

.ticks { list-style: none; display: grid; gap: 8px; margin: 0 0 16px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.ticks .ic { color: var(--ok); margin-top: 4px; }
.ticks-no .ic { color: var(--muted); }
.ticks-lg li { font-size: 1rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ticks-lg li:last-child { border-bottom: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 64px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(33, 96, 224, .10), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
@media (min-width: 900px) { .hero { padding: 88px 0 96px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 64px; } }
.h1-accent { color: var(--blue-600); display: block; }
.hero .lead { margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-ctas.center { justify-content: center; }
.hero-points { list-style: none; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: .97rem; }
.hero-points .ic { color: var(--ok); margin-top: 3px; }
@media (max-width: 479px) { .hero-ctas .btn { width: 100%; } }

.hero-visual { position: relative; min-height: 380px; }
.hv-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
.hv-status { position: relative; z-index: 1; padding: 20px 20px 16px; max-width: 460px; margin-left: auto; }
.hv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hv-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.hv-tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.hv-rows { list-style: none; }
.hv-rows li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.hv-task { flex: 1; color: var(--ink); font-weight: 500; }
.hv-ic { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 8px; }
.hv-ic.ok { background: var(--ok-bg); color: var(--ok); }
.hv-ic.rev { background: var(--blue-50); color: var(--blue-600); }
.hv-ic.prog { background: var(--warn-bg); color: var(--warn); }
.pill { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-rev { background: var(--blue-50); color: var(--blue-700); }
.pill-prog { background: var(--warn-bg); color: var(--warn); }
.hv-foot { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: .85rem; color: var(--muted); }
.hv-hand { position: relative; z-index: 2; margin: 16px auto 0 0; max-width: 300px; padding: 16px 18px; background: var(--navy-900); border-color: var(--navy-800); color: #C9D4E6; }
.hv-mini-title { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9DBBF5; margin: 0 0 8px; }
.hv-steps { list-style: none; counter-reset: s; display: grid; gap: 6px; font-size: .88rem; }
.hv-steps li { counter-increment: s; display: flex; gap: 10px; }
.hv-steps li::before { content: counter(s); flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: .72rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.hv-steps strong { color: #fff; }
@media (max-width: 979px) { .hero-visual { min-height: 0; } .hv-status { margin: 0 auto; } .hv-hand { margin: 12px auto 0 0; } }

/* ---------- trust bar ---------- */
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 28px 0; }
.trust-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ic { color: var(--blue-600); margin-top: 2px; }
.trust-item p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.trust-item strong { display: block; color: var(--ink); font-size: .97rem; }

/* ---------- stats (only rendered when verified numbers are configured) ---------- */
.stats { background: var(--navy-900); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num { display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: #fff; }
.stat-lbl { color: #B4C2D9; font-size: .9rem; }

/* ---------- services ---------- */
.service-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.service-card { display: flex; flex-direction: column; padding: 28px; transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.service-card:hover { box-shadow: var(--shadow); border-color: var(--blue-100); transform: translateY(-2px); }
.svc-top { margin-bottom: 18px; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a:hover { color: var(--blue-700); }
.service-card > p { font-size: .96rem; }
.svc-benefit { font-weight: 600; color: var(--ink); font-size: .95rem; border-left: 3px solid var(--blue-600); padding-left: 12px; margin-top: auto; }
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- industries ---------- */
.industry-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .industry-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
.industry-card { padding: 24px; }
.industry-card h3 { margin-top: 16px; }
.industry-card h3 a { color: inherit; text-decoration: none; }
.industry-card h3 a:hover { color: var(--blue-700); }
.industry-card p { font-size: .95rem; margin-bottom: 12px; }

/* ---------- why ---------- */
.why-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-item { background: #fff; padding: 28px 24px; }
.why-ic { color: var(--blue-600); margin-bottom: 14px; }
.why-item h3 { font-size: 1.05rem; }
.why-item p { font-size: .93rem; margin: 0; }
.why-cta { background: var(--blue-50); }
.why-cta p { margin-bottom: 16px; }

/* ---------- process ---------- */
.process { list-style: none; display: grid; gap: 20px; counter-reset: p; }
@media (min-width: 700px) { .process { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .process { grid-template-columns: repeat(4, 1fr); } }
.proc-step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.proc-num { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue-600); color: #fff; font-weight: 800; font-family: var(--font-head); margin-bottom: 16px; }
.proc-step p { margin: 0; font-size: .94rem; }

/* ---------- tools ---------- */
.tools-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.tool-chip { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .92rem; color: var(--ink); }
.tools-note { text-align: center; color: var(--muted); font-size: .82rem; max-width: 620px; margin: 24px auto 0; }
.tools-h { font-size: 1rem; margin: 28px 0 12px; }
.two-col .tools-row { justify-content: flex-start; margin: 0; }

/* ---------- proof / info ---------- */
.proof-grid, .info-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .proof-grid { grid-template-columns: repeat(3, 1fr); } .info-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.proof-card, .info-card { padding: 28px; }
.proof-ic { color: var(--blue-600); margin-bottom: 14px; }
.proof-card p, .info-card p { margin: 0; font-size: .95rem; }

/* ---------- pricing ---------- */
.price-grid { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px; }
.price-card.featured { border: 2px solid var(--blue-600); box-shadow: var(--shadow); }
.featured-tag { position: absolute; top: -13px; left: 28px; margin: 0; background: var(--blue-600); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.price-pre { color: var(--muted); font-size: .9rem; }
.price strong { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price-unit { color: var(--muted); }
.price-pitch { color: var(--muted); font-size: .95rem; }
.price-sub { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 8px 0 10px; }
.price-card .btn { margin-top: auto; }
.price-grid-compact .price-card { padding: 26px 24px; }
.price-grid-compact .price-pitch { margin-bottom: 20px; }
.price-foot { text-align: center; color: var(--muted); font-size: .88rem; margin: 20px 0 0; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .about-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.about-actions { margin-top: 24px; }
.about-facts { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; box-shadow: var(--shadow-sm); }
.about-facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.about-facts div:last-child { border-bottom: 0; }
.about-facts dt { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about-facts dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 600; color: var(--ink); font-size: 1.02rem; min-height: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue-700); }
.faq-chev { color: var(--muted); transition: transform .2s var(--ease); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq-body { padding: 0 22px 18px; }
.faq-body p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 100%); color: #C9D4E6; padding: 64px 0; }
.cta-inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr auto; gap: 48px; } }
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { margin: 0; max-width: 640px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- contact & form ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.contact-list { list-style: none; display: grid; gap: 18px; margin: 28px 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { color: var(--blue-600); margin-top: 3px; }
.cl-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 600; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .contact-form { padding: 36px; } }
.enq-type { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.enq-type legend { font-weight: 600; color: var(--ink); margin-bottom: 10px; font-size: .95rem; padding: 0; }
.seg { display: grid; gap: 8px; }
@media (min-width: 560px) { .seg { grid-template-columns: repeat(3, 1fr); } }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: 8px 10px; border: 1.5px solid var(--line-2); border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--text); transition: all .15s; }
.seg input:checked + span { border-color: var(--blue-600); background: var(--blue-50); color: var(--blue-700); }
.seg input:focus-visible + span { outline: 3px solid var(--blue-600); outline-offset: 2px; }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; min-width: 0; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.req { color: var(--err); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff;
  font-size: 1rem; /* >=16px prevents iOS zoom */
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2356657C' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(33, 96, 224, .15); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .15); }
.field-hint { margin: 6px 0 0; font-size: .84rem; color: var(--muted); }
.field-err { margin: 6px 0 0; font-size: .86rem; color: var(--err); font-weight: 600; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 12px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.form-status.success { background: var(--ok-bg); color: var(--ok); }
.form-status.error { background: var(--err-bg); color: var(--err); }
.form-status:focus { outline: none; }
.js [data-when="consultation"][hidden] { display: none; }

/* what happens next (beside the form) */
.next-steps { margin-top: 8px; padding: 22px 24px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.next-steps h3 { font-size: 1rem; margin-bottom: 12px; }
.next-steps ol { padding-left: 1.2em; display: grid; gap: 8px; font-size: .94rem; }
.next-steps li::marker { font-weight: 800; color: var(--blue-600); }

/* ---------- page heroes, breadcrumbs ---------- */
.breadcrumbs { padding-top: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line-2); }
.breadcrumbs a { color: var(--muted); }
.page-hero { padding: 40px 0 64px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .page-hero { padding: 56px 0 88px; } }
.page-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); max-width: 860px; }
.page-hero .lead { margin-bottom: 28px; }
.page-hero-sm { padding-bottom: 40px; }
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .page-hero-grid { grid-template-columns: 1.4fr .8fr; gap: 56px; } }
.glance { padding: 28px; }
.glance-h { font-size: 1.1rem; margin: 16px 0 12px; }
.glance-note { font-size: .92rem; color: var(--muted); }
.glance-price { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink); }
.status-page { text-align: center; padding: 72px 0 96px; }
.status-page .lead { margin: 0 auto 28px; }
.status-page .related { text-align: left; margin-bottom: 28px; }

.problem-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
.problem { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.prob-ic { color: var(--err); background: var(--err-bg); border-radius: 50%; padding: 4px; width: 28px; height: 28px; }
.problem h3 { font-size: 1rem; margin-bottom: 4px; }
.problem p { margin: 0; font-size: .94rem; }
.two-col { display: grid; gap: 48px; }
@media (min-width: 980px) { .two-col { grid-template-columns: 1fr 1fr; gap: 72px; } }
.aud-list { list-style: none; display: grid; gap: 14px; }
.aud-list li { padding-left: 16px; border-left: 3px solid var(--blue-100); }
.aud-list strong { color: var(--ink); }
.num-list { padding-left: 1.3em; display: grid; gap: 14px; }
.num-list li::marker { font-weight: 800; color: var(--blue-600); }
.num-list strong { color: var(--ink); }
.related { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .related { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; font-weight: 600; color: var(--ink); }
.related a:hover { border-color: var(--blue-600); color: var(--blue-700); }
.related .ic { color: var(--blue-600); }

/* international */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tz-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .94rem; }
.tz-table th, .tz-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tz-table thead th { background: var(--bg-soft); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tz-table tbody th { color: var(--ink); font-weight: 600; }
.tz-table tr:last-child th, .tz-table tr:last-child td { border-bottom: 0; }
.table-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }
.market-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .market-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .market-grid { grid-template-columns: repeat(3, 1fr); } }
.market { padding: 22px; border: 1px solid var(--line); border-radius: 12px; }
.market p { margin: 0; font-size: .95rem; }

/* case-study template */
.case-grid { display: grid; gap: 24px; }
.case-card { padding: 28px; }
.case-flag { background: var(--warn-bg); color: var(--warn); font-weight: 700; font-size: .82rem; padding: 8px 12px; border-radius: 8px; }
.case-dl div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.case-dl dt { font-weight: 700; color: var(--ink); }
.case-dl dd { margin: 2px 0 0; color: var(--muted); }

/* legal prose */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #A9B7CD; padding: 64px 0 0; font-size: .94rem; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; } }
.foot-brand p { margin: 18px 0 20px; max-width: 360px; }
.foot-h { font-family: var(--font); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot-col ul { list-style: none; display: grid; gap: 4px; }
.site-footer a { color: #C9D4E6; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-contact span { display: inline-flex; gap: 8px; align-items: center; min-height: 32px; }
.foot-contact .ic { color: #7FA3E8; }
.social { list-style: none; display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.social a:hover { background: rgba(255, 255, 255, .15); text-decoration: none; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.foot-bottom p { margin: 0; }
.foot-legal { list-style: none; display: flex; gap: 20px; }

/* ---------- floating WhatsApp & mobile bar ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: none; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -10px rgba(11, 27, 51, .25);
}
.mobile-cta a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: .95rem; }
.mc-wa { background: #fff; border: 1.5px solid var(--wa); color: #12733A; }
.mc-wa .ic { color: var(--wa); }
.mc-book { background: var(--blue-600); color: #fff; }
.mc-book:hover { color: #fff; }
body { padding-bottom: 76px; }
@media (min-width: 900px) {
  .mobile-cta { display: none; }
  .wa-float { display: inline-flex; }
  body { padding-bottom: 0; }
}

/* ---------- reveal (only with JS, only without reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .mobile-cta, .wa-float, .cta-band, .contact-form, .site-footer .social { display: none !important; }
  body { padding: 0; color: #000; }
  .section { padding: 24px 0; }
}
