/* Self-hosted fonts (SIL Open Font License) */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/IBMPlexSans-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/IBMPlexSans-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/IBMPlexSans-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Manrope-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Manrope-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/Manrope-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Oswald-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Oswald-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* PHANAS Corporation — design system v3
   Headings: Manrope · Body: IBM Plex Sans · Wordmark: Oswald
   Ink surfaces for hero/header/footer, white content surfaces, crimson accent. */

:root {
  --ink: #0E0F12;
  --ink-2: #16171B;
  --ink-3: #1E2025;
  --ink-line: rgba(255,255,255,.09);
  --ink-text: #F2F2F4;
  --ink-muted: #A3A6AE;

  --surface: #FFFFFF;
  --surface-2: #F6F6F7;
  --line: #E6E6EA;
  --text: #121317;
  --muted: #5C606A;

  --crimson: #990000;
  --crimson-hover: #B30000;
  --crimson-soft: #FBEFEF;
  --crimson-on-dark: #FF6B6B;
  --charcoal: #333333;

  --f-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-brand: "Oswald", "Arial Narrow", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --r-lg: 16px;
  --r-md: 10px;
  --r-sm: 8px;
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::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; background: var(--surface); color: var(--text); font-family: var(--f-body); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: var(--crimson); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--crimson); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; margin: 0; color: inherit; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); line-height: 1.12; letter-spacing: -.03em; }
h3 { font-size: 1.1875rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.lede { font-size: 1.125rem; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-body); font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--crimson); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dark .eyebrow { color: var(--crimson-on-dark); }
.dark .lede { color: var(--ink-muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--f-body); font-weight: 600; font-size: .9375rem; padding: .78em 1.3em; border-radius: var(--r-sm); border: 1px solid transparent; background: var(--crimson); color: #fff; text-decoration: none; cursor: pointer; line-height: 1.25; transition: background .2s, border-color .2s, color .2s, transform .2s; white-space: nowrap; }
.btn:hover { background: var(--crimson-hover); }
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(2px); }
.btn--line { background: transparent; color: var(--text); border-color: #CFD0D5; }
.btn--line:hover { background: transparent; border-color: var(--text); }
.dark .btn--line { color: var(--ink-text); border-color: rgba(255,255,255,.22); }
.dark .btn--line:hover { border-color: #fff; background: rgba(255,255,255,.04); }
.btn--white { background: #fff; color: var(--text); }
.btn--white:hover { background: #EDEDEF; }
.link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; color: var(--crimson); }
.link::after { content: "\2192"; transition: transform .2s; }
.link:hover::after { transform: translateX(3px); }
.dark .link { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--ink); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--ink-line); color: var(--ink-text); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand .mark { width: 34px; height: 40px; color: #D6D7DA; flex: none; }
.brand-word { display: grid; gap: 3px; font-family: var(--f-brand); font-weight: 700; font-size: 1.5rem; line-height: 1; letter-spacing: .14em; color: #fff; }
.brand-word small { font-weight: 500; font-size: .53rem; letter-spacing: .16em; color: var(--ink-muted); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { color: var(--ink-muted); text-decoration: none; font-weight: 500; font-size: .9375rem; padding: 8px 14px; border-radius: 6px; transition: color .2s, background .2s; }
.nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: #fff; }
.nav .btn { margin-left: 12px; padding: .62em 1.1em; }
.nav-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--ink-line); border-radius: 8px; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; margin: auto; }
@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--ink-line); padding: 8px var(--gutter) 20px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--ink-line); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; }
}

/* ---------- Dark hero / page head ---------- */
.dark { background: var(--ink); color: var(--ink-text); }
.grid-bg { position: relative; isolation: isolate; overflow: hidden; }
.grid-bg::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--ink-line) 1px, transparent 1px), linear-gradient(90deg, var(--ink-line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 70% 20%, #000 10%, transparent 70%); opacity: .55; }
.grid-bg::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -300px; background: radial-gradient(circle, rgba(153,0,0,.45) 0%, rgba(153,0,0,0) 65%); pointer-events: none; }

.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(64px, 9vw, 128px) clamp(56px, 7vw, 96px); }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 500; color: var(--ink-muted); border: 1px solid var(--ink-line); background: rgba(255,255,255,.03); padding: 6px 14px 6px 8px; border-radius: 999px; }
.pill b { font-weight: 600; color: #fff; background: var(--crimson); padding: 2px 8px; border-radius: 999px; font-size: .75rem; }
.hero h1 { margin-block: 0 22px; color: #fff; }
.hero h1 span { color: var(--crimson-on-dark); }
.hero .lede { margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 44px; align-items: center; }
.creds > span:first-child { font-size: .8125rem; color: var(--ink-muted); margin-right: 6px; }
.creds .chip-d { font-size: .8125rem; font-weight: 600; color: #fff; border: 1px solid var(--ink-line); border-radius: 6px; padding: 5px 10px; background: rgba(255,255,255,.03); }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 100%; display: grid; place-items: center; }
.hero-art .rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .mark { position: relative; width: 44%; height: auto; color: #D6D7DA; filter: drop-shadow(0 20px 50px rgba(153,0,0,.45)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .rings { animation: spin 90s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { display: none; } }

.page-head .wrap { padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); display: grid; gap: 18px; }
.page-head h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); max-width: 20ch; color: #fff; }
.crumbs { font-size: .875rem; color: var(--ink-muted); }
.crumbs a { color: var(--ink-text); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--surface-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head > div { display: grid; gap: 14px; }
.sec-head .lede { justify-self: start; }
.sec-head--single { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Service tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { position: relative; display: grid; gap: 12px; align-content: start; padding: 30px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; background: var(--surface); transition: background .25s; min-height: 230px; }
.tile .ico { width: 28px; height: 28px; color: var(--crimson); margin-bottom: 10px; }
.tile .ico svg { width: 28px; height: 28px; }
.tile p { color: var(--muted); font-size: .9375rem; }
.tile .go { position: absolute; top: 26px; right: 24px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all .25s var(--ease); }
.tile .go svg { width: 14px; height: 14px; transform: rotate(-45deg); transition: transform .25s var(--ease); }
a.tile:hover { background: var(--surface-2); }
a.tile:hover .go { background: var(--crimson); border-color: var(--crimson); color: #fff; }
a.tile:hover .go svg { transform: rotate(0); }
@media (max-width: 1040px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why .sec-head { margin: 0; grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + 32px); }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.point { padding: 28px 28px 28px 0; display: grid; gap: 10px; align-content: start; border-bottom: 1px solid var(--line); }
.point:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
.point .ico { width: 24px; height: 24px; color: var(--crimson); }
.point p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why .sec-head { position: static; } }
@media (max-width: 600px) { .points { grid-template-columns: 1fr; } .point:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--line); position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-head); font-weight: 800; font-size: .875rem; color: var(--crimson); letter-spacing: .02em; }
.steps li::after { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--crimson); }
.steps p { color: var(--muted); font-size: .9375rem; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps, .steps--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps, .steps--3 { grid-template-columns: 1fr; } }

/* ---------- Product (PhishNova) ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.product .sec-head { margin: 0; grid-template-columns: 1fr; }
.product .eyebrow { color: #F2AE2E; }
.feat-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.feat-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--ink-muted); font-size: .9375rem; }
.feat-list li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; border: 1.5px solid #F2AE2E; background: radial-gradient(circle, #F2AE2E 0 3px, transparent 3.5px); }
.feat-list b { color: #fff; font-weight: 600; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }

.mail { background: #fff; color: var(--text); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); font-size: .875rem; }
.mail-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EDEDEF; border-bottom: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.mail-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D3D4D8; }
.mail-bar span { margin-left: 8px; }
.mail-head { padding: 14px 18px; display: grid; gap: 6px; border-bottom: 1px solid var(--line); }
.mail-row { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; }
.mail-row span { color: var(--muted); font-size: .8125rem; }
.mail-row b { font-weight: 500; overflow-wrap: anywhere; }
.mail-body { padding: 18px; display: grid; gap: 10px; justify-items: start; }
.mail-body p { color: #3A3D43; }
.mail-cta { display: inline-flex; align-items: center; gap: 10px; }
.mail-cta span { background: #1F5FBF; color: #fff; padding: 8px 16px; border-radius: 6px; font-weight: 600; font-size: .8125rem; }
.flag { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--crimson); color: #fff; font-style: normal; font-weight: 700; font-size: .6875rem; box-shadow: 0 0 0 4px rgba(153,0,0,.15); }
.mail-legend { list-style: none; margin: 0; padding: 14px 18px 16px; background: #FCF5F5; border-top: 1px solid #F0DADA; display: grid; gap: 8px; }
.mail-legend li { display: flex; gap: 10px; align-items: center; font-size: .8125rem; font-weight: 500; color: #5A2020; }
.channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.channels span { font-size: .8125rem; font-weight: 500; color: var(--ink-text); border: 1px solid var(--ink-line); border-radius: 999px; padding: 5px 12px; }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sector { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; display: grid; gap: 10px; align-content: start; background: var(--surface); }
.sector .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--crimson-soft); color: var(--crimson); display: grid; place-items: center; margin-bottom: 6px; }
.sector .ico svg { width: 22px; height: 22px; }
.sector p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 960px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- Contact band ---------- */
.reach { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.reach-cta { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--ink-text); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 40px); display: grid; gap: 16px; align-content: space-between; }
.reach-cta::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -160px; bottom: -200px; background: radial-gradient(circle, rgba(153,0,0,.55) 0%, rgba(153,0,0,0) 65%); }
.reach-cta h2 { color: #fff; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); }
.reach-cta p { color: var(--ink-muted); }
.phones-inline { display: grid; gap: 4px; }
.phones-inline a { color: #fff; text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.phones-inline a:hover { color: var(--crimson-on-dark); }
.office { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; align-content: start; background: var(--surface); }
.office .city { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; }
.office .city svg { width: 20px; height: 20px; color: var(--crimson); }
.office address { font-style: normal; color: var(--muted); }
@media (max-width: 1000px) { .reach { grid-template-columns: 1fr 1fr; } .reach-cta { grid-column: 1 / -1; } }
@media (max-width: 600px) { .reach { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */
.svc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.svc-menu { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 2px; border-left: 1px solid var(--line); }
.svc-menu a { color: var(--muted); text-decoration: none; font-size: .9375rem; font-weight: 500; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.svc-menu a:hover, .svc-menu a.active { color: var(--text); border-left-color: var(--crimson); }
.svc-list { display: grid; gap: 0; }
.svc { padding-block: 8px 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); display: grid; gap: 28px; }
.svc:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.svc-top { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.svc-top .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--crimson-soft); color: var(--crimson); display: grid; place-items: center; }
.svc-top .ico svg { width: 26px; height: 26px; }
.svc-top h2 { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); margin-bottom: 10px; }
.svc-top p { color: var(--muted); max-width: 64ch; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; background: var(--surface); }
.panel h3 { font-size: 1rem; margin-bottom: 14px; }
.panel--wide { grid-column: 1 / -1; }
.svc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.svc-foot p { color: var(--muted); font-size: .9375rem; max-width: 60ch; }
@media (max-width: 960px) { .svc-layout { grid-template-columns: 1fr; } .svc-menu { display: none; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc-top { grid-template-columns: 1fr; } }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--muted); font-size: .9375rem; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--crimson-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23990000' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks b { color: var(--text); font-weight: 600; }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 640px) { .checks--2 { grid-template-columns: 1fr; } }
.olist { margin: 0; padding: 0; list-style: none; counter-reset: o; display: grid; gap: 12px; }
.olist li { counter-increment: o; display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--muted); font-size: .9375rem; }
.olist li::before { content: counter(o); width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--crimson); color: var(--crimson); font-weight: 700; font-size: .75rem; display: grid; place-items: center; margin-top: 1px; }
.olist b { color: var(--text); font-weight: 600; }
.note { font-size: .875rem; color: var(--muted); background: var(--surface-2); border-radius: var(--r-md); padding: 14px 18px; }

/* ---------- Generic content ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 18px; color: var(--muted); font-size: 1.0625rem; max-width: 64ch; }
.prose strong { color: var(--text); }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat-row > div { padding: 26px 24px; display: grid; gap: 6px; }
.stat-row > div + div { border-left: 1px solid var(--line); }
.stat-row b { font-family: var(--f-head); font-weight: 800; font-size: 1.625rem; letter-spacing: -.02em; color: var(--text); }
.stat-row span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 900px) { .stat-row { grid-template-columns: 1fr 1fr; } .stat-row > div:nth-child(3) { border-left: 0; } .stat-row > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .stat-row { grid-template-columns: 1fr; } .stat-row > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.cards3 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; display: grid; gap: 10px; align-content: start; background: var(--surface); }
.card .ico { width: 24px; height: 24px; color: var(--crimson); margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 960px) { .cards3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cards3 { grid-template-columns: 1fr; } }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; isolation: isolate; }
.final .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(56px, 7vw, 88px); }
.final h2 { color: #fff; max-width: 20ch; }
.final p { color: var(--ink-muted); margin-top: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); background: var(--surface); }
.form h2 { font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: .875rem; font-weight: 600; color: var(--text); padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.req { color: var(--crimson); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .9375rem; color: var(--text); background: var(--surface); border: 1px solid #D5D6DA; border-radius: var(--r-sm); padding: 11px 13px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235C606A' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(153,0,0,.12); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; font-size: .875rem; color: var(--text); border: 1px solid #D5D6DA; padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--crimson); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-foot small { color: var(--muted); font-size: .8125rem; max-width: 44ch; }
.form-status { font-size: .9375rem; padding: 12px 14px; border-radius: var(--r-sm); }
.form-status.ok { background: #EAF6EF; color: #1B6B3F; border: 1px solid #BFE3CD; }
.form-status.err { background: var(--crimson-soft); color: var(--crimson); border: 1px solid #EBC9C9; }
.hp { position: absolute !important; left: -9999px !important; }
.aside { display: grid; gap: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--ink-muted); font-size: .9375rem; padding-block: 64px 28px; border-top: 1px solid var(--ink-line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.3fr); gap: 36px; }
.site-footer h4 { font-family: var(--f-body); font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer address + address { margin-top: 16px; }
.site-footer address b { color: var(--ink-text); font-weight: 600; display: block; }
.foot-about p { margin-top: 18px; max-width: 34ch; }
.foot-call { margin-top: 24px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--ink-line); display: grid; place-items: center; color: var(--ink-text); }
.social a:hover { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.social svg { width: 16px; height: 16px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: .8125rem; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.nf .wrap { padding-block: clamp(80px, 12vw, 160px); display: grid; gap: 18px; justify-items: start; }
.nf .code { font-family: var(--f-head); font-weight: 800; font-size: clamp(4rem, 10vw, 7rem); line-height: 1; color: var(--crimson-on-dark); letter-spacing: -.04em; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero .wrap > div:first-child > * { animation: rise .7s var(--ease) both; }
  .hero .wrap > div:first-child > *:nth-child(2) { animation-delay: .06s; }
  .hero .wrap > div:first-child > *:nth-child(3) { animation-delay: .12s; }
  .hero .wrap > div:first-child > *:nth-child(4) { animation-delay: .18s; }
  .hero .wrap > div:first-child > *:nth-child(5) { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
.split > .sec-head { margin: 0; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .offices { grid-template-columns: 1fr; } }
.aside .reach-cta h2 { font-size: 1.5rem; }
.sec-head > div { justify-items: start; }
.sec-head > .actions { display: flex; }
.product .sec-head > .actions { margin-top: 8px; }

.link { padding-block: 4px; }
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.375rem; color: var(--text); margin-top: 16px; }
.legal h2:first-child { margin-top: 0; }
