/* ==========================================================================
   Legal Service Point — GLOBAL STYLESHEET
   --------------------------------------------------------------------------
   TO CHANGE THE WHOLE WEBSITE COLOUR: edit only the "BRAND COLOURS" block
   below (the first 4 lines are enough). Every page updates automatically.
   ========================================================================== */
:root {
  /* ---------- BRAND COLOURS (edit these) ---------- */
  --primary: #3b32ff;      /* main brand colour: buttons, links, highlights */
  --accent:  #ffc233;      /* second colour: call-to-action buttons, strips */
  --ink:     #0e0d2b;      /* dark sections: hero, footer, page banners */
  --page:    #f2f3fb;      /* light page background */

  /* ---------- SUPPORTING COLOURS ---------- */
  --card:       #ffffff;   /* forms and light surfaces */
  --text:       #25243f;   /* body text on light backgrounds */
  --muted:      #62618a;   /* secondary text on light backgrounds */
  --on-primary: #ffffff;   /* text placed on the primary colour */
  --on-accent:  #0e0d2b;   /* text placed on the accent colour */
  --on-ink:     #ffffff;   /* headings on dark sections */
  --on-ink-muted: #b7b6d6; /* body text on dark sections */
  --danger:     #ff4d6d;   /* form errors */

  /* ---------- FONTS ---------- */
  --font-head: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;

  /* ---------- DERIVED (no need to edit) ---------- */
  --primary-light: color-mix(in srgb, var(--primary) 55%, #fff);
  --tint: color-mix(in srgb, var(--primary) 9%, transparent);
  --line: color-mix(in srgb, var(--text) 14%, transparent);
  --line-ink: color-mix(in srgb, #fff 16%, transparent);
  --shadow: 0 30px 60px -30px color-mix(in srgb, var(--ink) 45%, transparent);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 26px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); font-size: 1.02rem; line-height: 1.75;
  background: var(--page); color: var(--text); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); font-weight: 800; }
:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--page); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

.container { width: min(1220px, 92%); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.dark { background: var(--ink); color: var(--on-ink-muted); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--on-ink); }
.tone-primary { background: var(--primary); color: color-mix(in srgb, var(--on-primary) 85%, transparent); }
.tone-primary h2, .tone-primary h3 { color: var(--on-primary); }
.title { font-size: clamp(2rem, 4.4vw, 3.6rem); margin-bottom: 22px; }
.lead { font-size: 1.12rem; max-width: 62ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px;
  border-radius: 999px; background: var(--tint); color: var(--primary);
  font-weight: 700; font-size: .86rem; margin-bottom: 22px; line-height: 1.3;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent);
}
.dark .eyebrow, .tone-primary .eyebrow { background: color-mix(in srgb, #fff 12%, transparent); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; font-weight: 700; font-size: .96rem; line-height: 1.2;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 14px 30px -12px var(--primary); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 82%, #000); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: 0 14px 30px -14px var(--accent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); }
.btn-outline { border: 1.5px solid var(--line-ink); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { padding: 12px 22px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .75; cursor: progress; transform: none; }
.btn.loading::after {
  content: ""; width: 16px; height: 16px; border: 2.5px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: spin .7s linear infinite;
}

/* ---------- Header ---------- */
.progress { position: fixed; inset: 0 auto auto 0; height: 4px; width: 0; background: var(--accent); z-index: 200; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 14px 0; transition: padding .35s var(--ease); }
.site-header.scrolled { padding: 8px 0; }
.header-inner {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 9px 10px 9px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 88%, transparent);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px -26px color-mix(in srgb, var(--ink) 60%, transparent);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; }
.brand-mark { width: 40px; height: 40px; border-radius: 13px; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--text); transition: background .3s, color .3s; }
.nav a:not(.btn):hover { background: var(--tint); color: var(--primary); }
.nav a.active { background: var(--primary); color: var(--on-primary); }
.nav a.active:hover { background: var(--primary); color: var(--on-primary); }
.nav-cta { margin-left: 8px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--ink); margin-right: 4px; }
.header-phone i { color: var(--primary); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); place-items: center; align-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.site-header.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1181px) { .header-phone { display: inline-flex; } }
@media (max-width: 980px) {
  .menu-btn { display: grid; }
  .nav {
    position: absolute; top: calc(100% + 12px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px;
    background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; translate: 0 -12px; transition: opacity .3s, translate .4s var(--ease), visibility .3s;
  }
  .site-header.open .nav { opacity: 1; visibility: visible; translate: 0 0; }
  .nav a:not(.btn) { padding: 15px 20px; }
  .nav-cta { margin: 8px 0 0; }
}

/* ---------- Hero (home) ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 150px 0 100px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-ink) 1px, transparent 1px), linear-gradient(90deg, var(--line-ink) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 45%, #000 20%, transparent 75%);
}
.orbit { position: absolute; border-radius: 50%; border: 1.5px solid var(--line-ink); }
.o1 { width: 760px; height: 760px; right: -220px; top: -120px; border-color: color-mix(in srgb, var(--primary-light) 45%, transparent); animation: spin 90s linear infinite; border-style: dashed; }
.o2 { width: 520px; height: 520px; right: -90px; top: 10px; animation: spin 60s linear infinite reverse; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 5.2rem); margin-bottom: 30px; letter-spacing: -.03em; line-height: 1.02; }
.hero h1 em { display: block; font-style: normal; color: var(--accent); }
.hero-lead { font-size: 1.12rem; max-width: 60ch; margin-bottom: 40px; color: var(--on-ink-muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-visual { position: relative; width: 100%; max-width: 500px; margin-inline: auto; aspect-ratio: 1; }
.scales { width: 100%; height: 100%; overflow: visible; }
.scales .ring-a { fill: none; stroke: var(--line-ink); stroke-width: 1.5; }
.scales .ring-b { fill: none; stroke: var(--primary-light); stroke-width: 1.5; stroke-dasharray: 3 12; stroke-linecap: round; transform-origin: 200px 200px; animation: spin 50s linear infinite; }
.scales .solid { fill: var(--primary); }
.scales .gold { fill: var(--accent); }
.scales .stroke { fill: none; stroke: var(--on-ink); stroke-width: 2.5; stroke-linecap: round; }
.scales .beam { transform-origin: 200px 96px; animation: tilt 6s ease-in-out infinite alternate; }
.scales .pan { transform-origin: center; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 20px;
  background: color-mix(in srgb, #fff 10%, transparent); border: 1px solid var(--line-ink); color: #fff;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: bob 6s ease-in-out infinite;
}
.float-chip i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.float-chip b { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.2; }
.float-chip span { font-size: .85rem; color: var(--on-ink-muted); }
.chip-1 { top: 4%; left: -8%; }
.chip-2 { bottom: 4%; right: -2%; animation-delay: -3s; }
.rise { opacity: 0; animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }

/* ---------- Marquee ---------- */
.marquee { background: var(--accent); color: var(--on-accent); overflow: hidden; padding: 22px 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.marq-track { display: flex; width: max-content; animation: marq 36s linear infinite; }
.marquee:hover .marq-track { animation-play-state: paused; }
.marq-group { display: flex; flex-shrink: 0; }
.marq-group span { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; }
.marq-group i { font-size: .8rem; opacity: .7; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 7vw, 100px); align-items: center; }
.about p { margin-bottom: 20px; max-width: 62ch; }
.about .btn { margin-top: 12px; }
.stats { border-left: 3px solid var(--ink); }
.stat { padding: 30px 0 30px clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: 0; }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(3.6rem, 8vw, 6.4rem); line-height: 1; color: var(--primary); letter-spacing: -.04em; }
.stat span { display: block; margin-top: 8px; font-weight: 700; color: var(--muted); }

/* ---------- Services list (home) ---------- */
.svc-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.svc-intro { position: sticky; top: 120px; }
.svc-intro p { margin-bottom: 30px; }
.svc-row {
  display: grid; grid-template-columns: 64px 1fr 48px; gap: 24px; align-items: center; padding: 30px 24px;
  border-top: 1px solid var(--line-ink); transition: background .4s var(--ease), padding .4s var(--ease), color .3s, border-radius .4s;
}
.svc-row:last-child { border-bottom: 1px solid var(--line-ink); }
.svc-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: color-mix(in srgb, #fff 8%, transparent); color: var(--accent); font-size: 1.5rem; transition: background .3s, color .3s, transform .5s var(--ease); }
.svc-row h3 { font-size: 1.5rem; margin-bottom: 6px; transition: color .3s; }
.svc-row p { font-size: .96rem; line-height: 1.6; transition: color .3s; }
.svc-go { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-ink); display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease), border-color .3s; }
.svc-row:hover { background: var(--primary); padding-inline: 34px; border-radius: 24px; color: color-mix(in srgb, #fff 85%, transparent); }
.svc-row:hover .svc-ic { background: var(--accent); color: var(--on-accent); transform: rotate(-10deg) scale(1.06); }
.svc-row:hover .svc-go { background: #fff; color: var(--primary); border-color: #fff; transform: rotate(-45deg); }

/* ---------- Why us ---------- */
.why-head { max-width: 760px; margin-bottom: 56px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item { padding: 40px 34px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.why-item:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.why-item i { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 1.4rem; margin-bottom: 26px; transition: transform .5s var(--ease); }
.why-item:hover i { transform: rotate(-14deg) scale(1.1); }
.why-item h3 { font-size: 1.4rem; margin-bottom: 12px; }
.why-item p { color: var(--muted); font-size: .98rem; }
.why-item:nth-child(2) { margin-top: 36px; }
.why-item:nth-child(3) { margin-top: 72px; }

/* ---------- Testimonials ---------- */
.slider { position: relative; max-width: 980px; }
.t-track { display: grid; }
.t-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; translate: 40px 0; transition: opacity .7s var(--ease), translate .8s var(--ease), visibility .7s; }
.t-slide.active { opacity: 1; visibility: visible; translate: 0 0; }
.t-slide::before { content: "\201C"; display: block; font-family: var(--font-head); font-weight: 800; font-size: 8rem; line-height: .7; color: var(--accent); margin-bottom: 10px; }
.t-slide blockquote { font-size: clamp(1.4rem, 3vw, 2.3rem); line-height: 1.38; font-weight: 600; color: var(--on-primary); letter-spacing: -.01em; margin-bottom: 36px; }
.t-slide figcaption { display: flex; align-items: center; gap: 16px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.t-slide figcaption b { display: block; color: #fff; font-size: 1.05rem; line-height: 1.3; }
.t-slide figcaption small { font-size: .92rem; opacity: .8; }
.stars { color: var(--accent); font-size: .9rem; display: flex; gap: 4px; margin-bottom: 18px; }
.slider-ctl { display: flex; align-items: center; gap: 18px; margin-top: 44px; }
.arrow-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, #fff 45%, transparent); display: grid; place-items: center; color: #fff; transition: background .3s, color .3s, transform .3s var(--ease); }
.arrow-btn:hover { background: #fff; color: var(--primary); transform: scale(1.08); }
.dots { display: flex; gap: 8px; }
.dots button { width: 12px; height: 12px; border-radius: 12px; background: color-mix(in srgb, #fff 35%, transparent); transition: width .4s var(--ease), background .3s; }
.dots button.on { width: 44px; background: var(--accent); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); line-height: 1.3; }
.faq-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--primary); transition: transform .45s var(--ease), background .3s, color .3s; }
.faq-item.open .faq-ic { transform: rotate(135deg); background: var(--primary); color: var(--on-primary); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 60px 28px 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding: clamp(36px, 6vw, 72px); border-radius: 40px; background: var(--ink); color: var(--on-ink-muted); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -160px; border: 60px solid var(--primary); opacity: .75; animation: bob 9s ease-in-out infinite; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3.2rem); margin-bottom: 12px; }
.cta-band p { max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-wrap { padding-top: 0; }

/* ---------- Inner page banner ---------- */
.page-hero { padding: 170px 0 clamp(80px, 9vw, 120px); border-radius: 0 0 clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero .orbit { right: -160px; top: -220px; width: 560px; height: 560px; border-color: color-mix(in srgb, var(--primary-light) 45%, transparent); animation: spin 80s linear infinite; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); max-width: 16ch; margin-bottom: 24px; letter-spacing: -.03em; }
.page-hero p { max-width: 60ch; font-size: 1.1rem; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .9rem; margin-bottom: 26px; color: var(--on-ink-muted); }
.crumbs a { color: #fff; font-weight: 600; }
.crumbs a:hover { color: var(--accent); }
.overlap { margin-top: -64px; position: relative; z-index: 2; padding-top: 0; }

/* ---------- Services page (tabs) ---------- */
.tabs { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.tab-list { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 6px; }
.tab-btn { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 20px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); transition: background .3s, color .3s, transform .4s var(--ease); }
.tab-btn i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--primary); transition: background .3s, color .3s; }
.tab-btn:hover { background: var(--tint); transform: translateX(6px); }
.tab-btn[aria-selected="true"] { background: var(--ink); color: #fff; transform: translateX(10px); }
.tab-btn[aria-selected="true"] i { background: var(--accent); color: var(--on-accent); }
.tab-panel { background: var(--card); border: 1px solid var(--line); border-radius: 36px; padding: clamp(30px, 5vw, 64px); }
.tab-panel .big-ic { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-size: 2rem; margin-bottom: 30px; }
.tab-panel h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 24px; }
.tab-panel p { font-size: 1.06rem; margin-bottom: 36px; max-width: 70ch; }
.js .tab-panel:not(.active) { display: none; }
.tab-panel.active { animation: panelIn .6s var(--ease); }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.info-list { display: grid; gap: 18px; }
.info-card { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.info-card:hover { transform: translateX(8px); box-shadow: var(--shadow); }
.info-ic { flex: none; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-size: 1.2rem; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--muted); word-break: break-word; }
.info-card a:hover { color: var(--primary); }
.badge { display: inline-block; margin-left: 8px; padding: 2px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent) !important; font-size: .75rem; font-weight: 800; vertical-align: middle; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 36px; padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); }
.form-card > h2 { font-size: 1.8rem; margin-bottom: 28px; }
.form-card.narrow { max-width: 860px; margin-inline: auto; }
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--page);
  font: inherit; color: var(--text); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: 0; background: var(--card); border-color: var(--primary); box-shadow: 0 0 0 5px var(--tint); }
.field .invalid, .invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 5px color-mix(in srgb, var(--danger) 15%, transparent) !important; animation: shake .4s; }
.check { display: flex; gap: 16px; align-items: flex-start; padding-top: 22px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.check input { flex: none; width: 22px; height: 22px; margin-top: 3px; accent-color: var(--primary); cursor: pointer; }
.check label { cursor: pointer; }
.check a, .form-note a { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.form-note { text-align: center; margin-top: 26px; color: var(--muted); font-size: .96rem; }
.form-icon { width: 76px; height: 76px; border-radius: 24px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 1.9rem; margin-bottom: 24px; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 120px; max-height: calc(100vh - 150px); overflow: auto; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px 18px; margin-left: -2px; border-left: 2px solid transparent; font-size: .9rem; line-height: 1.4; color: var(--muted); transition: color .25s, border-color .25s, padding .3s var(--ease); }
.toc a:hover { color: var(--primary); }
.toc a.active { color: var(--primary); border-color: var(--primary); font-weight: 700; padding-left: 24px; }
.legal-sec { padding: 34px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.legal-sec:first-child { padding-top: 0; }
.legal-sec h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 14px; }
.legal-sec p { max-width: 74ch; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 90px 0 0; position: relative; overflow: hidden; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 48px; }
.site-footer .brand { color: #fff; margin-bottom: 20px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 22px; }
.site-footer li { margin-bottom: 12px; }
.site-footer li a { transition: color .25s, padding .3s var(--ease); }
.site-footer li a:hover { color: var(--accent); padding-left: 6px; }
.f-contact li { display: flex; gap: 14px; align-items: flex-start; }
.f-contact i { color: var(--accent); margin-top: 6px; width: 16px; text-align: center; }
.footer-tag { max-width: 30ch; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: #fff; }
.footer-bottom { margin-top: 70px; padding: 28px 0; border-top: 1px solid var(--line-ink); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .92rem; }
.to-top { position: fixed; right: 22px; bottom: 22px; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; z-index: 90; box-shadow: 0 16px 30px -12px var(--ink); opacity: 0; visibility: hidden; translate: 0 20px; transition: opacity .3s, translate .4s var(--ease), visibility .3s, transform .3s; }
.to-top.show { opacity: 1; visibility: visible; translate: 0 0; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Toast notifications ---------- */
.toast-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 300; display: flex; flex-direction: column; gap: 12px; width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 14px; padding: 18px 46px 22px 18px; border-radius: 22px; background: var(--ink); color: var(--on-ink-muted); border: 1px solid var(--line-ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); animation: toastIn .55s var(--ease); }
.toast.out { animation: toastOut .4s var(--ease) forwards; }
.toast-icon { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.toast-error .toast-icon { background: var(--danger); color: #fff; }
.toast-body b { display: block; color: #fff; font-family: var(--font-head); font-size: 1.02rem; line-height: 1.3; margin-bottom: 2px; }
.toast-body span { font-size: .92rem; line-height: 1.5; display: block; }
.toast-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; color: var(--on-ink-muted); display: grid; place-items: center; transition: background .2s, color .2s; }
.toast-close:hover { background: color-mix(in srgb, #fff 14%, transparent); color: #fff; }
.toast-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--accent); transform-origin: left; animation: bar var(--dur, 5s) linear forwards; }
.toast-error .toast-bar { background: var(--danger); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; translate: 0 44px; transition: opacity .9s var(--ease) var(--d, 0s), translate .9s var(--ease) var(--d, 0s); }
.js .reveal[data-anim="left"] { translate: -56px 0; }
.js .reveal[data-anim="right"] { translate: 56px 0; }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes tilt { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(60px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(60px) scale(.96); } }
@keyframes bar { to { transform: scaleX(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-item:nth-child(2), .why-item:nth-child(3) { margin-top: 0; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .hero { padding: 130px 0 80px; min-height: auto; }
  .hero-grid, .about, .svc-wrap, .faq-wrap, .contact-grid, .legal, .tabs { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; }
  .chip-1 { left: 0; } .chip-2 { right: 0; }
  .svc-intro, .tab-list, .toc { position: static; }
  .tab-list { flex-direction: row; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .tab-btn { flex: none; padding: 12px 16px; }
  .tab-btn:hover, .tab-btn[aria-selected="true"] { transform: none; }
  .toc { display: none; }
  .page-hero { padding-top: 140px; }
  .overlap { margin-top: -40px; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-row { grid-template-columns: 52px 1fr; padding: 24px 12px; }
  .svc-row:hover { padding-inline: 16px; }
  .svc-ic { width: 52px; height: 52px; border-radius: 16px; font-size: 1.2rem; }
  .svc-go { display: none; }
  .faq-a p { padding-right: 0; }
  .toast-wrap { right: 16px; bottom: 16px; }
  .btn { white-space: normal; }
  .brand-name { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .rise { opacity: 1; }
  .js .reveal { opacity: 1; translate: 0 0; }
}

/* ---------- Bundled fonts (no internet needed) ---------- */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/bricolage-grotesque-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/bricolage-grotesque-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/manrope-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/manrope-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/manrope-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/manrope-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/manrope-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'FA Icons'; font-style: normal; font-weight: 900; font-display: block; src: url('fonts/fa-solid-900.woff2') format('woff2'); }
.fa-solid { font-family: 'FA Icons'; font-weight: 900; font-style: normal; display: inline-block; line-height: 1; text-rendering: auto; -webkit-font-smoothing: antialiased; }
.fa-arrow-right::before { content: "\f061"; }
.fa-arrow-up::before { content: "\f062"; }
.fa-building::before { content: "\f1ad"; }
.fa-chevron-left::before { content: "\f053"; }
.fa-chevron-right::before { content: "\f054"; }
.fa-circle-check::before { content: "\f058"; }
.fa-circle-exclamation::before { content: "\f06a"; }
.fa-diamond::before { content: "\f219"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-file-invoice-dollar::before { content: "\f571"; }
.fa-location-dot::before { content: "\f3c5"; }
.fa-phone::before { content: "\f095"; }
.fa-scale-balanced::before { content: "\f24e"; }
.fa-star::before { content: "\f005"; }
.fa-xmark::before { content: "\f00d"; }
.fa-plus::before { content: "+"; font-weight: 900; }
.fa-bars::before { content: "\f0c9"; }
.fa-building-shield::before { content: "\e4d8"; }
.fa-chess-knight::before { content: "\f441"; }
.fa-handcuffs::before { content: "\e4f8"; }
.fa-landmark::before { content: "\f66f"; }
.fa-minus::before { content: "\f068"; }
.fa-network-wired::before { content: "\f6ff"; }
.fa-people-roof::before { content: "\e537"; }
.fa-quote-right::before { content: "\f10e"; }
.fa-scale-unbalanced::before { content: "\f515"; }
.fa-stopwatch::before { content: "\f2f2"; }
.fa-user-graduate::before { content: "\f501"; }
.fa-user-shield::before { content: "\f505"; }
