/* ==========================================================================
   fvitali.com — Federico Vitali · Sales & MedTech Advisory
   Concept 1 · Minimal & Corporate
   ========================================================================== */

/* Plus Jakarta Sans (variable 200–800), self-hosted — SIL Open Font License */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin.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: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  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 {
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --ink: #0B1F3A;
  --ink-2: #13294A;
  --slate: #55606F;
  --slate-2: #8A93A0;
  --line: #E2E0DA;
  --accent: #2346C9;
  --accent-2: #1B37A3;
  --accent-soft: #E8ECFB;
  --radius: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s !important; } .d2 { transition-delay: .2s !important; } .d3 { transition-delay: .3s !important; } .d4 { transition-delay: .4s !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 12px; font-weight: 600; font-size: 15px; line-height: 1.2; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn-p { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(35, 70, 201, .55); }
.btn-p:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(35, 70, 201, .6); }
.btn-p:hover svg, .btn-s:hover svg { transform: translateX(3px); }
.btn-s { color: var(--ink); padding-inline: 6px; }
.btn-s:hover { color: var(--accent); }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); transform: translateY(-2px); }

/* ---------- Typography helpers ---------- */
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.03em; line-height: 1.06; font-weight: 800; }
h2 span { color: var(--accent); }
.muted { color: var(--slate); }
section { position: relative; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(248, 247, 244, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.01em; font-size: 16px; }
.mono { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; letter-spacing: .04em; }
.links { display: flex; gap: 34px; font-size: 14px; color: var(--slate); font-weight: 500; }
.links a { position: relative; padding: 6px 0; transition: color .2s; }
.links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width .3s var(--ease); }
.links a:hover, .links a.active { color: var(--ink); }
.links a:hover::after, .links a.active::after { width: 100%; }
.nav-r { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 2px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { padding: 5px 10px; border-radius: 999px; color: var(--slate-2); transition: .2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 120px; }
.hero-g { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 8px 14px; border-radius: 999px; margin-bottom: 28px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(35, 70, 201, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(35, 70, 201, 0); } 100% { box-shadow: 0 0 0 0 rgba(35, 70, 201, 0); } }
.hero h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.hero h1 span { color: var(--accent); }
.lead { font-size: 19px; line-height: 1.65; color: var(--slate); margin: 28px 0 38px; max-width: 580px; }
.lead strong { color: var(--ink); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.metrics b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.metrics span { font-size: 13px; color: var(--slate); line-height: 1.45; display: block; margin-top: 6px; }
.portrait { position: relative; }
.portrait::before { content: ""; position: absolute; inset: 36px -28px -28px 36px; border-radius: var(--radius); background: var(--accent); }
.portrait img { position: relative; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 30px 60px -30px rgba(11, 31, 58, .45); }
.float { position: absolute; left: -40px; bottom: 48px; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 20px 50px -20px rgba(11, 31, 58, .35); font-size: 13px; color: var(--slate); max-width: 270px; line-height: 1.5; animation: bob 6s ease-in-out infinite; }
.float b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 4px; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- About ---------- */
.about { background: var(--surface); padding: 120px 0; border-top: 1px solid var(--line); }
.about-g { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.about-photo { position: sticky; top: calc(var(--nav-h) + 32px); }
.about-photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 20%; width: 100%; }
.about-photo figcaption { margin-top: 14px; font-size: 13px; color: var(--slate-2); display: flex; align-items: center; gap: 10px; }
.about-photo figcaption::before { content: ""; width: 24px; height: 1px; background: var(--slate-2); }
.about-txt > p { font-size: 17px; line-height: 1.75; color: var(--slate); margin-top: 22px; }
.about-txt > p strong { color: var(--ink); font-weight: 600; }
.timeline { list-style: none; margin-top: 44px; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); transition: background .3s; }
.timeline li:first-child::before { background: var(--accent); }
.timeline li:hover::before { background: var(--accent); }
.timeline .yr { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--accent); }
.timeline h3 { font-size: 17px; font-weight: 700; margin-top: 2px; letter-spacing: -.01em; }
.timeline p { font-size: 15px; color: var(--slate); line-height: 1.6; margin-top: 4px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 80px; }
.card { border: 1px solid var(--line); border-radius: 20px; padding: 26px; background: var(--bg); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(11, 31, 58, .35); border-color: transparent; }
.card b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.card b small { font-size: .55em; font-weight: 700; color: var(--accent); }
.card span { display: block; margin-top: 12px; font-size: 14px; color: var(--slate); line-height: 1.5; }
.card.hl { grid-column: span 2; grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; padding: 34px; position: relative; overflow: hidden; }
.card.hl::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(35, 70, 201, .55), transparent 70%); }
.card.hl b { font-size: clamp(56px, 7vw, 88px); }
.card.hl b small { color: #8EA4FF; }
.card.hl span { color: #B9C3D3; font-size: 16px; max-width: 360px; }
.card.hl .award { position: relative; z-index: 1; display: flex; gap: 14px; align-items: center; padding-top: 22px; margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: #DCE3EE; line-height: 1.45; }
.card.hl .hl-top { position: relative; z-index: 1; }
.card.hl .award strong { color: #fff; font-size: 15px; }
.card.hl .award svg { width: 34px; height: 34px; flex: none; color: #E2C27A; }

/* ---------- Services ---------- */
.services { padding: 120px 0; }
.s-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.s-head p { color: var(--slate); font-size: 17px; line-height: 1.7; }
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); position: relative; }
.acc-item::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.acc-item.open::before, .acc-item:hover::before { width: 100%; }
.acc-btn { width: 100%; display: grid; grid-template-columns: 80px 56px 1fr 48px; align-items: center; gap: 24px; padding: 34px 0; text-align: left; }
.acc-n { font-size: 14px; font-weight: 600; color: var(--slate); }
.acc-ic { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; transition: .3s; }
.acc-ic svg { width: 26px; height: 26px; }
.acc-item.open .acc-ic, .acc-item:hover .acc-ic { background: var(--accent); color: #fff; }
.acc-t { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.acc-t small { display: block; font-size: 15px; font-weight: 500; color: var(--slate); letter-spacing: 0; margin-top: 6px; }
.acc-plus { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, color .3s; }
.acc-plus svg { width: 18px; height: 18px; }
.acc-item.open .acc-plus { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 0 0 44px 160px; }
.acc-in > div > p { font-size: 16px; line-height: 1.7; color: var(--slate); margin-bottom: 22px; }
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--slate); }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232346C9' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ideal { margin-top: 24px; font-size: 14px; color: var(--slate); padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.ideal b { color: var(--ink); font-weight: 600; }
.acc-in figure { position: relative; }
.acc-in img { border-radius: 16px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--line); }

/* ---------- Method (dark) ---------- */
.method { background: var(--ink); color: #fff; padding: 130px 0; overflow: hidden; }
.method::before { content: ""; position: absolute; width: 700px; height: 700px; left: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(35, 70, 201, .35), transparent 65%); pointer-events: none; }
.method .kicker { color: #8EA4FF; }
.method h2 span { color: #8EA4FF; }
.m-g { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; position: relative; }
.m-head { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
.m-head p { color: #B9C3D3; font-size: 17px; line-height: 1.7; margin: 24px 0 34px; }
.strengths { display: grid; gap: 16px; }
.strength { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 30px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; background: rgba(255, 255, 255, .03); transition: background .35s, border-color .35s, transform .35s var(--ease); }
.strength:hover { background: rgba(255, 255, 255, .06); border-color: rgba(142, 164, 255, .4); transform: translateX(6px); }
.strength .ic { width: 56px; height: 56px; border-radius: 14px; background: rgba(142, 164, 255, .12); color: #8EA4FF; display: grid; place-items: center; }
.strength .ic svg { width: 26px; height: 26px; }
.strength h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.strength p { color: #B9C3D3; font-size: 15px; line-height: 1.65; margin-top: 8px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 110px; padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .12); }
.step { position: relative; }
.step .n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); font-size: 14px; font-weight: 700; margin-bottom: 22px; transition: .3s; }
.step:hover .n, .step:first-child .n { background: var(--accent); border-color: var(--accent); }
.step h3 { font-size: 18px; font-weight: 700; }
.step p { color: #B9C3D3; font-size: 14px; line-height: 1.6; margin-top: 8px; }
.step .tag { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 600; color: #8EA4FF; }

/* ---------- Contact ---------- */
.contact { padding: 130px 0; }
.c-g { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
.c-txt > p { font-size: 17px; line-height: 1.7; color: var(--slate); margin-top: 22px; }
.expect { list-style: none; margin: 36px 0 40px; display: grid; gap: 18px; }
.expect li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; font-size: 15px; color: var(--slate); line-height: 1.55; }
.expect li b { display: block; color: var(--ink); font-weight: 600; }
.expect .n { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.c-links { display: grid; gap: 12px; padding-top: 30px; border-top: 1px solid var(--line); }
.c-links .loc { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16px; color: var(--slate); }
.c-links a { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 16px; transition: color .2s; width: fit-content; }
.c-links a:hover { color: var(--accent); }
.c-links .ci { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; background: var(--surface); transition: .25s; }
.c-links a:hover .ci { background: var(--accent); color: #fff; border-color: var(--accent); }
.c-links svg { width: 18px; height: 18px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 44px; box-shadow: 0 40px 80px -50px rgba(11, 31, 58, .4); }
.form h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.form > p { color: var(--slate); font-size: 15px; margin: 6px 0 28px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 600; }
.field label i { font-style: normal; color: var(--slate-2); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-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='%2355606F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--slate); line-height: 1.55; margin: 6px 0 26px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form .btn-p { width: 100%; padding: 17px 24px; }
.form-note { margin-top: 14px; font-size: 12px; color: var(--slate-2); text-align: center; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 56px 0 40px; font-size: 14px; color: var(--slate); }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.f-top p { max-width: 380px; margin-top: 12px; line-height: 1.6; }
.f-links { display: flex; gap: 28px; flex-wrap: wrap; font-weight: 500; }
.f-links a:hover { color: var(--accent); }
.f-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; color: var(--slate-2); }
.f-bot a:hover { color: var(--ink); }

/* ---------- Simple pages (privacy, thank-you, 404) ---------- */
.page { padding: 100px 0 120px; min-height: 60vh; }
.page .narrow { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.03em; line-height: 1.05; font-weight: 800; margin-bottom: 24px; }
.page h2 { font-size: 22px; letter-spacing: -.01em; margin: 40px 0 12px; }
.page p, .page li { color: var(--slate); font-size: 16px; line-height: 1.75; }
.page ul { padding-left: 20px; margin-top: 8px; }
.page .note { background: var(--accent-soft); color: var(--ink-2); padding: 16px 20px; border-radius: 14px; font-size: 14px; margin: 24px 0 32px; }
.page p a:not(.btn), .page li a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.page p a:not(.btn):hover, .page li a:hover { color: var(--accent-2); }
.center { text-align: center; }
.center .ctas { justify-content: center; margin-top: 36px; }
.check { width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 28px; }
.check svg { width: 34px; height: 34px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .links { gap: 24px; }
  .hero-g, .about-g, .m-g, .c-g { gap: 56px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .links, .nav-r .btn, .nav-r .lang { display: none; }
  .burger { display: grid; }
  .mobile-menu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); background: var(--bg); }
  .nav.open .mobile-menu { grid-template-rows: 1fr; border-bottom: 1px solid var(--line); }
  .mobile-menu > div { overflow: hidden; }
  .mobile-menu nav { display: grid; padding: 8px 0 24px; }
  .mobile-menu nav > a { padding: 14px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-menu .m-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; }
  .mobile-menu .lang { display: flex; }
  .hero { padding: 40px 0 90px; }
  .hero-g, .s-head, .about-g, .m-g, .c-g { grid-template-columns: 1fr; }
  .s-head { gap: 20px; }
  .portrait { max-width: 440px; width: calc(100% - 28px); margin-inline: auto 28px; }
  .float { left: -12px; bottom: 28px; }
  .about-photo, .m-head { position: static; }
  .about-photo { max-width: 520px; }
  .about, .services, .method, .contact { padding: 90px 0; }
  .acc-btn { grid-template-columns: 44px 1fr 40px; gap: 16px; padding: 26px 0; }
  .acc-n { display: none; }
  .acc-ic { width: 44px; height: 44px; border-radius: 12px; }
  .acc-ic svg { width: 22px; height: 22px; }
  .acc-plus { width: 40px; height: 40px; }
  .acc-in { grid-template-columns: 1fr; padding-left: 0; gap: 28px; padding-bottom: 32px; }
  .steps { margin-top: 72px; }
}
@media (max-width: 560px) {
  .metrics { gap: 14px; }
  .metrics b { font-size: 26px; }
  .metrics span { font-size: 12px; }
  .lead { font-size: 17px; }
  .ctas .btn-p { width: 100%; }
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 20px; }
  .card b { font-size: 30px; }
  .card.hl { grid-column: 1 / -1; grid-row: auto; padding: 28px; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .step .n { margin-bottom: 0; grid-row: span 3; }
  .step h3 { align-self: center; }
  .strength { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .strength:hover { transform: none; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 28px 22px; border-radius: 22px; }
  .f-top, .f-bot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
