/* FINYX SOFTWARE | Public website styles
   Palette: white / light grey, corporate navy, FINYX blue. */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  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: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy-950: #0a1530;
  --navy-900: #0f1d3a;
  --navy-800: #182746;
  --navy-700: #2a3958;
  --ink: #33405a;
  --muted: #5a6680;
  --blue-700: #0758a6;
  --blue-600: #0a6fc2;
  --blue-500: #1588e0;
  --blue-300: #8cc4f2;
  --blue-200: #c9e2f9;
  --blue-100: #e5f1fc;
  --blue-50: #f2f8fe;
  --tint: #f5f8fc;
  --line: #e2e8f1;
  --line-strong: #cfd8e5;
  --white: #fff;
  --success: #12734a;
  --success-bg: #e9f7f0;
  --error: #b42318;
  --error-bg: #fdecea;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 29, 58, .05);
  --shadow: 0 18px 40px -24px rgba(15, 29, 58, .28);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --header-h: 84px;
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 450;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern", "liga";
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); letter-spacing: -.03em; line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.55rem); }
h3 { font-size: 1.25rem; letter-spacing: -.012em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding: 0; margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-200); color: var(--navy-950); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + 2 * var(--gutter)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }
main:focus { outline: none; }
.muted { color: var(--muted); font-size: .95rem; }
.lead { font-size: 1.15rem; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: .7em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: .975rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn .icon { width: 1.05em; height: 1.05em; stroke-width: 2.2; }
.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy-900); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--blue-600); color: var(--blue-700); }
.btn--lg { min-height: 54px; padding: .85em 1.75em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 6px 11px 5px; border-radius: 7px;
  background: #1d6fc4; color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2;
}
a.eyebrow--link { text-decoration: none; }
a.eyebrow--link:hover { background: var(--blue-700); color: #fff; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 6px; background: var(--blue-100); color: var(--blue-700); font-size: .78rem; font-weight: 700; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; border-radius: 6px; }
.brand img { width: 150px; height: auto; }
.site-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__link { display: block; padding: 10px 12px; color: var(--navy-900); font-weight: 600; font-size: .95rem; text-decoration: none; border-radius: 8px; }
.site-nav__link:hover { color: var(--blue-600); }
.site-nav__link.is-active { color: var(--blue-600); }
.site-nav__caret { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 32px; margin-left: -10px; padding: 0; border: 0; background: none; color: var(--navy-900); cursor: pointer; border-radius: 6px; }
.site-nav__caret .icon { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .15s ease; }
.site-nav__caret[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-nav__item--mobile-cta { display: none; }
.site-header__cta { flex: none; min-height: 48px; padding-inline: 1.6em; }
.nav-toggle { display: none; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: -12px; min-width: 320px; padding: 10px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dropdown.is-open .dropdown,
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: none) { .has-dropdown:hover:not(.is-open) .dropdown { opacity: 0; visibility: hidden; } }
.dropdown__link { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--navy-900); text-decoration: none; font-size: .95rem; }
.dropdown__link strong { font-weight: 650; }
.dropdown__link:hover, .dropdown__link[aria-current="page"] { background: var(--blue-50); color: var(--blue-700); }
.dropdown__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-100); color: var(--blue-600); flex: none; }
.dropdown__all { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.dropdown__all a { display: flex; align-items: center; justify-content: space-between; padding: 10px; font-size: .9rem; font-weight: 650; text-decoration: none; border-radius: 10px; }
.dropdown__all a:hover { background: var(--blue-50); }
.dropdown__all .icon { width: 16px; height: 16px; }

/* Breadcrumbs */
.breadcrumbs { background: var(--tint); border-bottom: 1px solid var(--line); font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding-block: 12px; }
.breadcrumbs li { display: flex; align-items: center; color: var(--muted); }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 12px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); transform: rotate(45deg); }
.breadcrumbs a { color: var(--ink); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue-600); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--muted); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); background: linear-gradient(180deg, #f7fafe 0%, #fff 100%); }
.hero__decor { position: absolute; inset: 0; pointer-events: none; background: url("../img/hero-shapes.svg") no-repeat center top / cover; opacity: .9; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { margin-bottom: 22px; max-width: 15.5ch; }
.hero__intro { font-size: clamp(1.05rem, 1.4vw, 1.18rem); max-width: 50ch; color: var(--ink); margin: 0; }
.hero__media { position: relative; }
.hero__media::before {
  content: ""; position: absolute; z-index: 0; left: 6%; right: -4%; bottom: -26px; height: 70%;
  border-radius: 40px 40px 120px 40px; background: linear-gradient(135deg, var(--blue-200), #dceefe 60%, rgba(220, 238, 254, 0));
  transform: rotate(-3deg);
}
.hero__frame { position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--blue-100); box-shadow: 0 30px 60px -36px rgba(15, 29, 58, .45); aspect-ratio: 740 / 672; }
.hero__frame picture, .hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(140deg, var(--blue-50), var(--blue-200)); }
.hero__placeholder img { width: 38%; opacity: .9; }

/* Sections */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--first { padding-top: clamp(48px, 6vw, 72px); }
.section--tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head__intro { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-title-sm { font-size: clamp(1.35rem, 2vw, 1.6rem); margin-bottom: 20px; }

/* Service cards (homepage) */
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 32px 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .15s ease, box-shadow .15s ease; }
.service-card:hover { border-color: var(--blue-300); box-shadow: var(--shadow); }
.service-card:focus-within { border-color: var(--blue-500); }
.service-card__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 24px; border-radius: 14px; background: var(--blue-100); color: var(--blue-600); }
.service-card__icon .icon { width: 28px; height: 28px; stroke-width: 1.7; }
.service-card__title { font-size: 1.3rem; margin-bottom: 10px; }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service-card__title a:focus-visible { outline: none; }
.service-card__title a:focus-visible::after { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.service-card p { color: var(--muted); margin-bottom: 24px; }
.service-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--blue-600); font-weight: 700; font-size: .95rem; }
.service-card__more .icon { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .15s ease; }
.service-card:hover .service-card__more .icon { transform: translateX(3px); }

/* Values (why FINYX) : one panel with dividers, distinct from service cards */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.value { padding: clamp(28px, 3.4vw, 44px); }
.value + .value { border-left: 1px solid var(--line); }
.value__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.value__icon { color: var(--blue-600); }
.value__icon .icon { width: 36px; height: 36px; stroke-width: 1.6; }
.value__num { font-size: .85rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.value__title { font-size: 1.2rem; margin-bottom: 10px; }
.value p { color: var(--muted); margin: 0; }

/* Partners / testimonials (hidden until real content exists) */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; list-style: none; }
.logos__item, .logos__item > a { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; color: var(--navy-900); text-decoration: none; }
.logos__item > a { border: 0; padding: 0; }
.logos__img img { max-height: 56px; width: auto; object-fit: contain; }
.logos__name { font-weight: 700; }
.logos__desc { color: var(--muted); font-size: .9rem; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; list-style: none; }
.quote { display: flex; flex-direction: column; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 24px; font-size: 1.02rem; color: var(--navy-800); }
.quote__by { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote__by p { margin: 0; font-size: .92rem; }
.quote__by span { color: var(--muted); }
.quote__photo img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* Contact */
.section--services { padding-top: clamp(32px, 4vw, 48px); }
.section--contact { background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%); }
.contact-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-split__text h2 { margin-bottom: 16px; }
.contact-list { list-style: none; margin: 32px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--blue-600); }
.contact-list a { color: var(--navy-900); font-weight: 600; }
.contact-steps__title { margin-top: 48px; }
.mini-steps { list-style: none; display: grid; gap: 18px; }
.mini-steps li { display: flex; gap: 16px; }
.mini-steps__num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); font-weight: 800; font-size: .9rem; }
.mini-steps h3 { font-size: 1.02rem; margin: 4px 0 4px; }
.mini-steps p { margin: 0; color: var(--muted); font-size: .97rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card__title { font-size: 1.45rem; margin-bottom: 8px; }
.form-card__intro { color: var(--muted); font-size: .95rem; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin: 20px 0 28px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 650; color: var(--navy-900); font-size: .93rem; }
.field__optional { font-weight: 500; color: var(--muted); }
.req { color: var(--error); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--navy-900);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1d3a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(21, 136, 224, .18); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { margin: 0; color: var(--error); font-size: .88rem; font-weight: 600; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue-600); flex: none; }
.field--check label { flex: 1; font-weight: 500; color: var(--ink); font-size: .9rem; line-height: 1.55; }
.field--check .field__error { flex-basis: 100%; padding-left: 32px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; margin: 16px 0; }
.notice p { margin: 0; }
.notice:focus { outline: none; }
.notice--success { background: var(--success-bg); color: var(--success); font-weight: 600; }
.notice--success .icon { width: 22px; height: 22px; stroke-width: 2.4; margin-top: 1px; }
.notice--error { background: var(--error-bg); color: var(--error); font-weight: 600; }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--tint), #fff); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; right: -140px; top: -180px; width: 520px; height: 520px; border-radius: 50%; border: 56px solid rgba(140, 196, 242, .16); pointer-events: none; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; margin-bottom: 18px; }
.page-hero__intro { max-width: 62ch; font-size: clamp(1.05rem, 1.4vw, 1.18rem); margin: 0; }
.page-hero--compact h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.page-hero__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 16px; background: var(--blue-600); color: #fff; }
.page-hero__icon .icon { width: 30px; height: 30px; stroke-width: 1.7; }
.page-hero--service .eyebrow { display: none; }

/* CTA band */
.cta-band { padding-block: clamp(56px, 7vw, 88px); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--navy-900); color: #d6deeb; position: relative; overflow: hidden; }
.cta-band__inner::before { content: ""; position: absolute; right: -80px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; border: 48px solid rgba(21, 136, 224, .22); }
.cta-band__inner > * { position: relative; }
.cta-band__title { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band .btn { flex: none; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-grid__img { margin: 32px 0 0; border-radius: var(--radius-lg); overflow: hidden; }
.facts { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); }
.facts__title { font-size: 1.15rem; margin-bottom: 18px; }
.facts dl { margin: 0; display: grid; gap: 16px; }
.facts dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.facts dd { margin: 0; color: var(--navy-900); font-weight: 600; }
.facts ul { list-style: none; display: grid; gap: 4px; }
.facts a { text-decoration: none; }
.facts a:hover { text-decoration: underline; }
.steps { list-style: none; display: grid; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps--1 { grid-template-columns: 1fr; }
.step { position: relative; padding: 0 28px 0 0; }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border-radius: 50%; background: #fff; border: 1.5px solid var(--blue-300); color: var(--blue-700); font-weight: 800; position: relative; z-index: 1; }
.step:not(:last-child)::before { content: ""; position: absolute; top: 22px; left: 44px; right: 0; border-top: 1.5px dashed var(--blue-300); }
.step__title { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Services overview */
.service-rows { list-style: none; display: grid; gap: 20px; }
.service-row { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.service-row:hover { border-color: var(--blue-300); box-shadow: var(--shadow); }
.service-row__head { display: flex; flex-direction: column; gap: 10px; }
.service-row__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--blue-100); color: var(--blue-600); }
.service-row__icon .icon { width: 32px; height: 32px; stroke-width: 1.6; }
.service-row__num { font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.service-row__title { font-size: 1.45rem; margin-bottom: 8px; }
.service-row__title a { color: inherit; text-decoration: none; }
.service-row__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service-row__title a:focus-visible { outline: none; }
.service-row__title a:focus-visible::after { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.service-row__body p { margin: 0; color: var(--muted); }
.service-row__more { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-600); font-weight: 700; white-space: nowrap; }
.service-row__more .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; color: var(--ink); }
.checklist .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--blue-600); stroke-width: 2.4; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.panel-list { list-style: none; display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-list li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 24px; font-weight: 600; color: var(--navy-900); }
.panel-list li + li { border-top: 1px solid var(--line); }
.panel-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--blue-600); stroke-width: 2.4; }

/* Service detail */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.detail-grid__img { margin: 0 0 36px; border-radius: var(--radius-lg); overflow: hidden; }
.feature-box { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.feature-box__title { font-size: 1.15rem; margin-bottom: 20px; }
.feature-box .checklist { margin-bottom: 28px; }
.link-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.link-card { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s ease; }
.link-card:hover { border-color: var(--blue-300); }
.link-card__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); }
.link-card__title { font-size: 1.12rem; margin-bottom: 6px; }
.link-card__title a { color: inherit; text-decoration: none; }
.link-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.link-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.link-card__arrow { margin-left: auto; margin-top: 6px; color: var(--blue-600); }

/* Prose */
.prose { color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); margin: 1.8em 0 .55em; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--blue-600); }
.prose strong { color: var(--navy-900); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--blue-500); color: var(--navy-800); font-size: 1.08rem; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--navy-900); background: var(--tint); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose code { font-size: .9em; background: var(--tint); padding: .1em .35em; border-radius: 5px; }
.prose--article { font-size: 1.1rem; line-height: 1.75; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__q { font-size: 1.12rem; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.faq summary:hover .faq__q { color: var(--blue-700); }
.faq__chev { width: 22px; height: 22px; color: var(--blue-600); stroke-width: 2; transition: transform .15s ease; }
.faq[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 48px 22px 0; color: var(--ink); }
.side-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: var(--radius); background: var(--navy-900); color: #d6deeb; }
.side-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(140, 196, 242, .14); color: var(--blue-300); margin-bottom: 20px; }
.side-card__title { color: #fff; font-size: 1.25rem; }
.side-card p { margin-bottom: 24px; }

/* Knowledge */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; color: var(--navy-900); text-decoration: none; font-weight: 600; font-size: .92rem; background: #fff; }
.chip:hover { border-color: var(--blue-600); color: var(--blue-700); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip__count { font-size: .78rem; opacity: .7; }
.articles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.article-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.article-card:hover { border-color: var(--blue-300); box-shadow: var(--shadow); }
.article-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue-50); }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; }
.article-card__body { display: flex; flex-direction: column; flex: 1; padding: 28px; border-top: 4px solid var(--blue-600); }
.article-card--img .article-card__body { border-top: 0; }
.article-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .86rem; color: var(--muted); }
.article-card__title { font-size: 1.22rem; line-height: 1.3; margin-bottom: 12px; }
.article-card__title a { color: inherit; text-decoration: none; }
.article-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.article-card__title a:focus-visible { outline: none; }
.article-card__title a:focus-visible::after { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.article-card__excerpt { color: var(--muted); font-size: .97rem; }
.article-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--blue-600); font-weight: 700; font-size: .93rem; }
.article-card__more .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.articles--compact .article-card__body { padding: 24px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 48px; }
.pagination__info { color: var(--muted); font-size: .95rem; }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--tint); border-radius: var(--radius); }

/* Article */
.article__head { padding: clamp(40px, 6vw, 72px) 0 32px; background: linear-gradient(180deg, var(--tint), #fff); }
.article__title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.article__lead { font-size: 1.2rem; color: var(--ink); }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta .icon { width: 16px; height: 16px; }
.article__img { margin-bottom: 40px; }
.article__img img { border-radius: var(--radius-lg); width: 100%; }
.article .prose { padding-bottom: clamp(48px, 6vw, 80px); }

/* Legal */
.def-list { margin: 0 0 48px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.def-list div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 14px 20px; }
.def-list div + div { border-top: 1px solid var(--line); }
.def-list div:nth-child(odd) { background: var(--tint); }
.def-list dt { font-weight: 650; color: var(--navy-900); }
.def-list dd { margin: 0; }

/* 404 */
.notfound { text-align: center; padding-block: clamp(72px, 10vw, 128px); }
.notfound__code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; color: var(--blue-200); letter-spacing: -.04em; margin-bottom: 16px; }
.notfound .btn-row { justify-content: center; }
.notfound__sub { margin-top: 64px; }
.notfound__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.notfound__links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy-900); font-weight: 600; font-size: .94rem; }
.notfound__links a:hover { border-color: var(--blue-600); color: var(--blue-700); }
.notfound__links .icon { width: 18px; height: 18px; color: var(--blue-600); }
.debug { text-align: left; white-space: pre-wrap; font-size: .8rem; background: var(--tint); padding: 16px; border-radius: 10px; margin-top: 32px; }

/* Footer */
.site-footer { background: var(--navy-800); color: #c3cde0; font-size: .95rem; }
.site-footer a { color: #e8eef8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px 48px; }
.site-footer__brand { padding-right: 40px; border-right: 1px solid rgba(255, 255, 255, .12); }
.site-footer__logo { display: inline-block; margin-bottom: 18px; }
.site-footer__logo img { width: 150px; }
.site-footer__text { margin: 0; max-width: 36ch; color: #aebad0; }
.site-footer__title { color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: #aebad0; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex !important; flex-wrap: wrap; gap: 8px 24px !important; align-items: center; }
.site-footer__legal .icon { width: 20px; height: 20px; }

/* Responsive */
@media (max-width: 1080px) {
  .site-nav__link { padding-inline: 9px; font-size: .92rem; }
  .service-row { grid-template-columns: 80px minmax(0, 1fr) auto; }
  .service-row__list { grid-column: 2 / 3; }
  .service-row__more { grid-column: 3; grid-row: 1; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { width: 128px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border-radius: 12px;
    border: 1px solid var(--line-strong); background: #fff; color: var(--navy-900); cursor: pointer; order: 3;
  }
  .nav-toggle .icon { width: 24px; height: 24px; }
  .nav-toggle__close, .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
  .site-header__cta { display: none; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; overflow-y: auto; padding: 16px var(--gutter) 32px;
    background: #fff; border-top: 1px solid var(--line); visibility: hidden; opacity: 0; transition: opacity .15s ease, visibility .15s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .site-nav__link { flex: 1; padding: 16px 4px; font-size: 1.08rem; }
  .site-nav__caret { width: 46px; height: 46px; margin: 0; }
  .dropdown { position: static; min-width: 0; width: 100%; padding: 0 0 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .dropdown::before { display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown:hover:not(.is-open) .dropdown { display: none; }
  .site-nav__item--mobile-cta { display: block; border: 0; padding-top: 24px; }
  body.nav-open { overflow: hidden; }

  .hero__grid, .contact-split, .about-grid, .detail-grid, .faq-grid, .split { grid-template-columns: 1fr; }
  .hero__title { max-width: 18ch; }
  .hero__media { max-width: 620px; }
  .service-cards { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .value + .value { border-left: 0; border-top: 1px solid var(--line); }
  .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts, .feature-box, .side-card { position: static; }
  .steps, .steps--3, .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 0; }
  .step:nth-child(2n)::before { display: none; }
  .site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; border-right: 0; padding-right: 0; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding-top: 28px; }
  .btn-row .btn { flex: 1 1 100%; }
  .form__grid { grid-template-columns: 1fr; }
  .articles { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 18px; padding: 26px; }
  .service-row__head { flex-direction: row; align-items: center; justify-content: space-between; }
  .service-row__list, .service-row__more { grid-column: auto; grid-row: auto; }
  .steps, .steps--3, .steps--4, .steps--2 { grid-template-columns: 1fr; gap: 28px; }
  .step { padding: 0 0 0 64px; }
  .step__num { position: absolute; left: 0; top: -6px; }
  .step::before { display: none; }
  .def-list div { grid-template-columns: 1fr; gap: 2px; }
  .faq__a { padding-right: 0; }
  .site-footer__top { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .breadcrumbs [aria-current] { max-width: 22ch; }
  .pagination { flex-wrap: wrap; gap: 12px; }
}

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

@media print {
  .site-header, .site-footer, .cta-band, .breadcrumbs, .form-card, .nav-toggle { display: none !important; }
  body { color: #000; }
}

/* Homepage contact steps */
.contact-steps__title--home { font-size: 1.1rem; margin: 40px 0 18px; }
.mini-steps h4 { font-size: 1rem; margin: 4px 0 2px; color: var(--navy-900); }
