/* =========================================================
   3RD EYE — Corporate stylesheet
   Palette: Navy / Charcoal / White / Electric Blue
   Logo accents (sparingly): Red / Yellow / Green
   ========================================================= */
:root {
  --navy: #071A2B;
  --navy-2: #0B2338;
  --navy-3: #10304C;
  --charcoal: #1D2733;
  --ink: #0E1A26;
  --text: #33414F;
  --muted: #5E6B78;
  --line: #E1E6EC;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --blue: #148CFF;
  --blue-dark: #0A6FD1;
  --red: #E0322B;
  --yellow: #F5B800;
  --green: #1FA855;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(7, 26, 43, .06), 0 8px 24px rgba(7, 26, 43, .06);
  --container: 1200px;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 1000; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: #6FB8FF; }
.accent-bar { display: flex; gap: 4px; margin: 0 0 22px; }
.accent-bar span { width: 26px; height: 3px; border-radius: 2px; }
.accent-bar span:nth-child(1) { background: var(--red); }
.accent-bar span:nth-child(2) { background: var(--yellow); }
.accent-bar span:nth-child(3) { background: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 24px; border-radius: var(--radius); font-weight: 600; font-size: .98rem;
  border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  text-decoration: none !important; font-family: inherit; line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: #A9B7C6; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #D5DEE8; }
.topbar .tb-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .tb-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; opacity: .8; }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: flex; flex-shrink: 0; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.35rem; letter-spacing: .02em; font-weight: 700; }
.brand-text small { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav a.nav-link, .nav button.nav-link {
  display: flex; align-items: center; gap: 6px; padding: 10px 13px; color: var(--charcoal);
  font-weight: 500; font-size: .95rem; border-radius: var(--radius); background: none; border: 0; font-family: inherit; cursor: pointer; white-space: nowrap; line-height: inherit;
}
.nav a.nav-link:hover, .nav button.nav-link:hover { color: var(--blue-dark); text-decoration: none; background: var(--bg-soft); }
.nav a.nav-link[aria-current="page"], .nav .has-sub.active > .nav-link { color: var(--blue-dark); }
.nav .chev { width: 12px; height: 12px; transition: transform .2s; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .chev, .has-sub.open .chev { transform: rotate(180deg); }
.submenu a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 6px; color: var(--ink); text-decoration: none !important; }
.submenu a:hover { background: var(--bg-soft); }
.submenu .sm-ico { flex: 0 0 34px; height: 34px; border-radius: 6px; background: #EAF4FF; color: var(--blue-dark); display: grid; place-items: center; }
.submenu .sm-ico svg { width: 18px; height: 18px; }
.submenu strong { display: block; font-size: .93rem; font-weight: 600; }
.submenu small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.nav .btn { margin-left: 12px; padding: 11px 18px; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; margin: auto; }

/* ---------- Hero ---------- */
.hero, .page-hero { padding: 0; }
.hero { position: relative; background: var(--navy); color: #C9D5E2; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,140,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,140,255,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 85%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 120px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .l { display: block; }
.hero h1 .l:nth-child(2) { color: #6FB8FF; }
.hero .sub { font-size: 1.25rem; color: #fff; font-weight: 500; margin-bottom: 16px; }
.hero p.lead { font-size: 1.07rem; max-width: 560px; margin-bottom: 32px; }
.hero-visual { position: relative; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: #B6C4D3; }
.hero-trust svg { width: 20px; height: 20px; color: var(--green); }

/* network svg animation (subtle) */
.net-link { stroke-dasharray: 4 6; animation: flow 6s linear infinite; }
.net-node-pulse { transform-origin: center; transform-box: fill-box; animation: pulse 3.2s ease-in-out infinite; }
.scan { animation: scan 5s ease-in-out infinite; }
@keyframes flow { to { stroke-dashoffset: -100; } }
@keyframes pulse { 0%,100% { opacity: .15; transform: scale(1); } 50% { opacity: .45; transform: scale(1.6); } }
@keyframes scan { 0%,100% { transform: translateY(0); opacity: 0; } 10%,90% { opacity: .35; } 50% { transform: translateY(150px); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #C9D5E2; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20,140,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(20,140,255,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 90%);
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 90%);
}
.page-hero .container { position: relative; padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); max-width: 820px; }
.page-hero p { max-width: 720px; font-size: 1.1rem; margin-bottom: 0; }
.crumbs { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; margin-bottom: 18px; color: #8FA3B8; }
.crumbs a { color: #B6C4D3; }
.crumbs span { margin: 0 8px; opacity: .6; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #C9D5E2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section-dark .section-head p { color: #A9B7C6; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 30px;
  transition: border-color .2s, box-shadow .2s, transform .2s; position: relative;
}
.card:hover { border-color: #BFD9F5; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card p:last-child { margin-bottom: 0; }
.icon-box {
  width: 52px; height: 52px; border-radius: 8px; display: grid; place-items: center;
  background: #EAF4FF; color: var(--blue-dark); margin-bottom: 22px;
}
.icon-box svg { width: 26px; height: 26px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .93rem; margin-top: 6px; }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
a.card { color: inherit; text-decoration: none; display: block; }
a.card:hover .card-link svg { transform: translateX(4px); }
.card .num { font-family: var(--mono); font-size: .8rem; color: var(--blue-dark); letter-spacing: .1em; position: absolute; top: 30px; right: 30px; }
.card-dark { background: var(--navy-2); border-color: rgba(255,255,255,.08); }
.card-dark h3 { color: #fff; }
.card-dark p { color: #A9B7C6; }
.card-dark .icon-box { background: rgba(20,140,255,.14); color: #6FB8FF; }
.card-dark:hover { border-color: rgba(20,140,255,.5); box-shadow: none; }

.tag-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { font-size: .8rem; padding: 5px 10px; border-radius: 4px; background: var(--bg-soft); color: var(--charcoal); border: 1px solid var(--line); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: #E6F6EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231FA855' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.section-dark .check-list li::before { background-color: rgba(31,168,85,.15); }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
.panel { background: var(--navy); border-radius: 10px; padding: 36px; color: #C9D5E2; position: relative; overflow: hidden; }
.panel h3 { color: #fff; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.stats > div { padding: 30px 28px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats strong { display: block; font-size: 1.55rem; color: var(--ink); font-weight: 600; line-height: 1.1; margin-bottom: 6px; }
.stats span { font-size: .92rem; color: var(--muted); }
.stats-wrap { margin-top: -54px; position: relative; z-index: 2; padding: 0; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.process .step { padding: 0 20px 0 0; position: relative; }
.process .step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--mono); font-size: .85rem; color: #6FB8FF; display: block; margin-bottom: 16px;
}
.process .step .bar { height: 2px; background: rgba(255,255,255,.12); margin-bottom: 22px; position: relative; }
.process .step .bar::after { content: ""; position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.process h3 { font-size: 1.08rem; }
.process p { font-size: .93rem; color: #A9B7C6; }
.section-soft .process .step::before, .process.light .step::before { color: var(--blue-dark); }
.process.light .step .bar { background: var(--line); }
.process.light p { color: var(--muted); }

/* ---------- Industries ---------- */
.industry { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 500; color: var(--ink); }
.industry svg { width: 24px; height: 24px; color: var(--blue-dark); flex: none; }

/* ---------- Partner tiles ---------- */
.tech-cat { border: 1px solid var(--line); border-radius: 8px; padding: 28px; background: #fff; }
.tech-cat h3 { display: flex; align-items: center; gap: 12px; font-size: 1.08rem; }
.tech-cat h3 svg { width: 22px; height: 22px; color: var(--blue-dark); }
.tech-cat ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tech-cat li { font-weight: 500; font-size: .88rem; padding: 7px 12px; border-radius: 4px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--charcoal); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); position: relative; overflow: hidden; padding: 80px 0; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(20,140,255,.25); box-shadow: 0 0 0 60px rgba(20,140,255,.04), 0 0 0 120px rgba(20,140,255,.03);
}
.cta-band .container { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #A9B7C6; margin: 0; max-width: 620px; font-size: 1.05rem; }

/* ---------- Detail blocks (service pages) ---------- */
.detail { display: grid; grid-template-columns: 340px 1fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); }
.detail:first-of-type { border-top: 0; padding-top: 0; }
.detail h3 { font-size: 1.45rem; }
.detail .icon-box { margin-bottom: 18px; }
.detail .d-body p { color: var(--text); }
.detail .d-body .check-list { columns: 2; column-gap: 32px; }
.detail .d-body .check-list li { break-inside: avoid; }

/* ---------- Toc / subnav ---------- */
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 77px; z-index: 50; }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav a { white-space: nowrap; font-size: .9rem; font-weight: 500; color: var(--charcoal); padding: 8px 14px; border-radius: 4px; }
.subnav a:hover { background: var(--bg-soft); text-decoration: none; color: var(--blue-dark); }

/* ---------- Values ---------- */
.value { padding: 28px; border-left: 3px solid var(--blue); background: #fff; border-radius: 0 8px 8px 0; box-shadow: 0 1px 2px rgba(7,26,43,.05); }
.value.r { border-left-color: var(--red); }
.value.y { border-left-color: var(--yellow); }
.value.g { border-left-color: var(--green); }
.value h3 { font-size: 1.1rem; }
.value p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Tiers ---------- */
.tier { border: 1px solid var(--line); border-radius: 10px; padding: 34px; background: #fff; display: flex; flex-direction: column; }
.tier.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow); }
.tier .t-label { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 8px; }
.tier h3 { font-size: 1.4rem; }
.tier > p { color: var(--muted); font-size: .96rem; }
.tier .check-list { margin: 10px 0 26px; flex: 1; }
.tier .check-list li { font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-of-type { padding-top: 0; }
.contact-item .icon-box { margin: 0; width: 46px; height: 46px; flex: none; }
.contact-item h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p { margin: 0; color: var(--muted); }
form.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 38px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink); padding: 12px 14px;
  border: 1px solid #CDD5DE; border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,140,255,.15); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: var(--radius); font-size: .92rem; display: none; }
.form-status.ok { display: block; background: #E6F6EC; color: #11663A; }
.form-status.err { display: block; background: #FDECEC; color: #9E1F1A; }
.hp { position: absolute !important; left: -9999px !important; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #05131F; color: #8FA3B8; font-size: .93rem; }
.site-footer .f-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding: 72px 0 52px; }
.site-footer h4 { color: #fff; font-size: .82rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #B6C4D3; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-text small { color: #8FA3B8; }
.footer-brand-logo { background: #fff; border-radius: 8px; padding: 10px 14px; display: inline-block; margin-bottom: 20px; }
.footer-brand-logo img { height: 54px; width: auto; }
.site-footer .f-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; }
.f-contact li { display: flex; gap: 10px; }
.f-contact svg { width: 16px; height: 16px; margin-top: 4px; flex: none; color: #6FB8FF; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav > ul { gap: 0; }
  .nav a.nav-link, .nav button.nav-link { padding: 10px 9px; font-size: .92rem; }
  .nav .btn { margin-left: 6px; padding: 10px 14px; }
}
@media (max-width: 1100px) {
  .site-footer .f-top { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer .f-top > div:first-child { grid-column: 1 / -1; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
}
@media (max-width: 1060px) {
  .menu-toggle { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); background: #fff; border-top: 1px solid var(--line); flex-direction: column; align-items: stretch;
    padding: 16px 24px 32px; overflow-y: auto; display: none;
  }
  .nav.open { display: flex; animation: navIn .2s ease; }
  .nav > ul { flex-direction: column; }
  .nav a.nav-link, .nav button.nav-link { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; justify-content: space-between; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 4px 0 8px; min-width: 0; }
  .has-sub.open .submenu { display: block; }
  .has-sub:hover .submenu { opacity: 1; }
  .nav .btn { margin: 20px 0 0; }
  .hero .container { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 88px; }
  .hero-visual { max-width: 520px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .detail { grid-template-columns: 1fr; gap: 20px; }
  .subnav { top: 77px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  section { padding: 68px 0; }
  .topbar .tb-right, .topbar .tb-left .tb-hide { display: none; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  form.contact-form { padding: 24px; }
  .detail .d-body .check-list { columns: 1; }
  .site-footer .f-top { grid-template-columns: 1fr 1fr; }
  .brand-text small { display: none; }
  .brand img { height: 42px; }
  .hero-trust { gap: 14px 22px; }
  .stats strong { font-size: 1.5rem; }
  .stats > div { padding: 22px 18px; }
  .card { padding: 24px; }
  .card .num { top: 24px; right: 24px; }
}
