:root {
  /* Palette from the logo: white, the sphere's cool silver, the blue-to-teal crescent, and a navy ink.
     Layout: one left-aligned 1200px column; white sections, a mist band for work, a gradient band for contact.
     Motion idea: the logo's orb assembles and follows the cursor; type stretches with the scroll. */
  --white: #FFFFFF;
  --mist: #F2F7F9;
  --ink: #0B2236;
  --ink-2: #2B4155;
  --muted: #5B6E80;
  --line: #DDE6EC;
  --blue: #0063A6;
  --teal: #13B5C9;
  --accent: #0063A6;
  --grad: linear-gradient(120deg, #005E9C 0%, #0A8FBE 55%, #15B8CB 100%);
  --grad-deep: linear-gradient(120deg, #00548C 0%, #0675A4 100%);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.2, .7, .1, 1);
  --ease-spring: cubic-bezier(.3, 1.4, .5, 1);
  color-scheme: light;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; font-stretch: 100%; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(19, 181, 201, .25); }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
section[id], .svc-block[id] { scroll-margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 12px;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: color .35s var(--ease-out), border-color .3s, box-shadow .4s var(--ease-out), translate .5s var(--ease-out);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .45s var(--ease-out); }
.btn:hover::before { transform: none; }
.btn-primary { color: #fff; background: var(--grad-deep); box-shadow: 0 14px 28px -16px rgba(0, 84, 140, .85); }
.btn-primary::before { background: var(--ink); }
.btn-primary:hover { box-shadow: 0 18px 34px -16px rgba(11, 34, 54, .7); }
.btn-ghost { color: var(--ink); background: var(--white); border-color: var(--line); }
.btn-ghost::before { background: var(--mist); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { color: var(--ink); background: #fff; }
.btn-light::before { background: var(--ink); }
.btn-light:hover { color: #fff; }
.more { display: inline-flex; align-items: center; font-weight: 650; font-size: 15.5px; text-decoration: none; color: var(--accent); padding-bottom: 3px; background: var(--grad) left bottom / 100% 2px no-repeat; transition: background-size .45s var(--ease-out), color .25s; }
.more:hover { color: var(--ink); background-size: 35% 2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; view-transition-name: site-header; background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: transform .45s var(--ease-out), border-color .25s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.hide { transform: translateY(-100%); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); transform-origin: left center; transform: scaleX(var(--prog, 0)); pointer-events: none; }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; font-size: 20px; font-stretch: 110%; letter-spacing: -.01em; color: var(--ink); }
.brand img { width: auto; height: 34px; flex: none; transition: transform .7s var(--ease-spring); }
.brand:hover img { transform: rotate(-18deg) scale(1.06); }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav > a, .nav-drop-btn { font: inherit; font-size: 15px; font-weight: 560; color: var(--ink); text-decoration: none; padding: 6px 0; background: var(--grad) left bottom / 0 2px no-repeat; transition: background-size .35s var(--ease-out), color .2s; }
.nav > a:hover, .nav > a[aria-current="page"], .nav-drop-btn:hover, .nav-drop-btn.is-current { background-size: 100% 2px; }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 7px; border: 0; cursor: pointer; }
.chev { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .35s var(--ease-out); }
.nav-drop.open .chev { transform: rotate(180deg); }
.drop { position: absolute; right: -14px; top: calc(100% + 14px); min-width: 250px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 28px 50px -26px rgba(0, 60, 100, .45); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .2s, transform .35s var(--ease-out), visibility 0s .35s; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop.open .drop { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .35s var(--ease-out); }
@media (hover: hover) and (min-width: 861px) {
  .nav-drop:hover .drop { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .35s var(--ease-out); }
  .nav-drop:hover .chev { transform: rotate(180deg); }
}
.nav .drop a { position: relative; display: block; padding: 10px 12px 10px 26px; border-radius: 9px; font-size: 15px; text-decoration: none; transition: background-color .2s, color .2s, padding-left .3s var(--ease-out); }
.nav .drop a::before { content: ""; position: absolute; left: 11px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--grad); opacity: .35; transition: opacity .2s; }
.nav .drop a:hover { background: var(--mist); color: var(--accent); padding-left: 30px; }
.nav .drop a:hover::before, .nav .drop a[aria-current="page"]::before { opacity: 1; }
.nav .drop a[aria-current="page"] { color: var(--accent); font-weight: 650; }
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang { position: relative; display: inline-flex; border: 1px solid var(--line); border-radius: 9px; padding: 2px; background: #fff; }
.lang button { position: relative; z-index: 1; font: inherit; font-size: 12.5px; font-weight: 700; font-stretch: 90%; border: 0; background: none; padding: 5px 9px; border-radius: 7px; cursor: pointer; color: var(--muted); transition: color .3s; }
.lang button[aria-pressed="true"] { color: #fff; }
.lang-pill { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px); border-radius: 7px; background: var(--ink); transition: transform .4s var(--ease-out); }
.lang[data-active="ro"] .lang-pill { transform: translateX(100%); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .nav { position: absolute; left: 0; right: 0; top: 72px; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(16px, 4vw, 40px) 28px; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100vh - 72px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .4s var(--ease-out), visibility 0s .4s; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .4s var(--ease-out); }
  .nav > a { font-size: 26px; font-weight: 750; font-stretch: 108%; padding: 12px 0; border-bottom: 1px solid var(--line); background: none; }
  .nav > a[aria-current="page"] { color: var(--accent); }
  .menu-open .nav > a { animation: lift .5s var(--ease-out) backwards; }
  .menu-open .nav > a:nth-child(2) { animation-delay: .04s; }
  .menu-open .nav > a:nth-child(3) { animation-delay: .08s; }
  .nav-drop { position: static; padding-top: 18px; }
  .nav-drop-btn { pointer-events: none; font-size: 13px; color: var(--muted); padding: 0 0 4px; background: none; }
  .nav-drop-btn .chev { display: none; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0; border: 0; box-shadow: none; background: none; transition: none; }
  .nav .drop a { padding: 8px 0 8px 16px; font-size: 17px; border-radius: 0; }
  .nav .drop a::before { left: 0; }
  .nav .drop a:hover { background: none; padding-left: 16px; }
  .menu-btn { display: inline-block; }
  .header-tools { margin-left: auto; }
}

/* ---------- Shared motion ---------- */
@keyframes fade { from { opacity: 0; } }
@keyframes lift { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise { from { transform: translateY(110%); } }
@keyframes settle { from { font-stretch: 78%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes show { to { opacity: 1; } }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .1em; margin: -.06em 0 -.1em; }
.w-i { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .is-split .w-i { animation: rise 1s var(--ease-out) backwards; animation-delay: calc(var(--i) * 50ms + .08s); }
  .is-split { animation: settle 1.6s var(--ease-out) backwards; }
  .js [data-split]:not(.is-split) { opacity: 0; animation: show 0s 1.2s forwards; }
  .load-lift { animation: lift 1s var(--ease-out) backwards; animation-delay: var(--ld, .45s); }
}
.pre { transform: translateY(46px); }
.pre.in { transform: none; transition: transform 1.15s var(--ease-out) var(--d, 0s); }

/* ---------- The orb (built from the logo's shapes) ---------- */
.orb { display: block; width: 100%; height: auto; overflow: visible; }
.orb g { transform-box: fill-box; transform-origin: center; }
.orb .p-outer { transform: translate(calc(var(--mx, 0) * -12px), calc(var(--my, 0) * -12px)); transition: transform .9s var(--ease-out); }
.orb .p-mid { transform: translate(calc(var(--mx, 0) * 8px), calc(var(--my, 0) * 8px)); transition: transform .9s var(--ease-out); }
.orb .p-sphere { transform: translate(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 18px)); transition: transform .8s var(--ease-out); }
.orb .light { transform: translate(calc(var(--mx, 0) * 70px), calc(var(--my, 0) * 60px)); transition: transform 1s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .orb .a-outer { animation: orb-in 1.5s var(--ease-out) .1s backwards, spin 70s linear 1.6s infinite; }
  .orb .a-mid { animation: mid-in 1.4s var(--ease-out) .3s backwards, drift 16s ease-in-out 1.7s infinite; }
  .orb .a-sphere { animation: sphere-in 1.2s var(--ease-spring) .6s backwards; }
  .orb .a-ring { animation: fade 1.2s .9s backwards, spin 90s linear infinite reverse; }
}
@keyframes orb-in { from { opacity: 0; transform: scale(.55) rotate(-70deg); } }
@keyframes mid-in { from { opacity: 0; transform: translate(50px, 40px) scale(.7); } }
@keyframes sphere-in { from { opacity: 0; transform: scale(.35); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-9px, 7px); } 66% { transform: translate(7px, -7px); } }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow-x: clip; padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.hero::before { content: ""; position: absolute; right: -18%; top: -30%; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(closest-side, rgba(21, 184, 203, .16), rgba(0, 99, 166, .06) 55%, transparent 76%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 5.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.hero .lede { margin-top: 30px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.orb-wrap { position: relative; width: 100%; max-width: 540px; justify-self: end; will-change: transform; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .orb-wrap { order: -1; width: min(70vw, 340px); margin: -8px -9vw -16px 0; }
}

/* ---------- Inner page title card (brand gradient, light follows the cursor) ---------- */
.page-head { padding-top: clamp(16px, 2.5vw, 28px); }
.ph-card {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: clamp(22px, 3vw, 34px);
  padding: clamp(36px, 6vw, 88px) clamp(24px, 5.5vw, 80px) clamp(36px, 5.5vw, 76px);
  color: #fff;
  background: linear-gradient(120deg, #00548C 0%, #066FA0 50%, #0C97BC 100%);
  background-size: 180% 180%;
  box-shadow: 0 40px 80px -52px rgba(0, 60, 100, .7);
}
.ph-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(560px circle at var(--px, 78%) var(--py, 22%), rgba(255, 255, 255, .2), transparent 48%); transition: background .2s; }
.ph-card::after { content: ""; position: absolute; z-index: -1; right: -12%; bottom: -55%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 189, 204, .55), rgba(23, 189, 204, 0)); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .ph-card { animation: card-in .9s var(--ease-out) backwards, grad-pan 18s ease-in-out 1s infinite alternate; }
  .ph-card::after { animation: glow-drift 14s ease-in-out infinite alternate; }
}
@keyframes card-in { from { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes grad-pan { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes glow-drift { from { transform: translate(0, 0); } to { transform: translate(-12%, -10%); } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .75); margin-bottom: clamp(20px, 3vw, 32px); }
.crumbs a { color: #fff; text-decoration: none; background: linear-gradient(#fff, #fff) left bottom / 0 1px no-repeat; transition: background-size .3s var(--ease-out); }
.crumbs a:hover { background-size: 100% 1px; }
.crumbs .sep { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.ph-card h1 { font-size: clamp(2.8rem, 7.6vw, 6.2rem); font-weight: 800; letter-spacing: -.04em; line-height: .98; max-width: 14ch; }
.ph-card .page-intro { margin-top: clamp(20px, 2.6vw, 30px); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 52ch; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(26px, 3.4vw, 40px); }
.ph-chips a, .ph-chips span { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); transition: background-color .25s, color .25s, border-color .25s; }
.ph-chips a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.ph-card .updated { margin-top: 18px; font-size: 14.5px; color: rgba(255, 255, 255, .75); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section.mist { background: var(--mist); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; font-stretch: 108%; line-height: 1.04; letter-spacing: -.025em; }
.h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 18px; background: var(--grad); transform-origin: left; transition: transform 1s var(--ease-out) .25s; }
.pre:not(.in) .h2::after { transform: scaleX(0); }
.sec-head p { color: var(--muted); max-width: 44ch; }

/* ---------- Services: titles stretch with the scroll, text wipes to the brand gradient on hover ---------- */
.svc-list { border-top: 1px solid var(--ink); }
.svc { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: 10px 40px; align-items: center; padding: clamp(22px, 2.8vw, 32px) 0; border-bottom: 1px solid var(--line); }
.svc::after, .svc-block::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.svc:hover::after, .svc-block:hover::after { transform: scaleX(1); }
.svc-t { font-size: clamp(2rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; white-space: nowrap; font-stretch: 75%; }
.wipe { display: inline-block; color: transparent; -webkit-background-clip: text; background-clip: text; background-image: var(--grad), linear-gradient(var(--ink), var(--ink)); background-size: 0% 100%, 100% 100%; background-repeat: no-repeat; transition: background-size .7s var(--ease-out); }
.svc:hover .wipe, .svc-block:hover .wipe { background-size: 100% 100%, 100% 100%; }
.svc-d { color: var(--muted); font-size: 16.5px; line-height: 1.5; transition: color .3s, transform .5s var(--ease-out); }
.svc:hover .svc-d { color: var(--ink); transform: translateX(6px); }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } }
.svc-block { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 20px 56px; padding: clamp(32px, 4.5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.svc-block .svc-t { grid-column: 1 / -1; }
.svc-block .svc-d { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 44ch; }
.incl { display: grid; gap: 12px; align-content: start; }
.incl li { position: relative; padding-left: 24px; color: var(--muted); font-size: 16px; line-height: 1.45; }
.incl li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(19, 181, 201, .12); }
@media (max-width: 760px) { .svc-block { grid-template-columns: 1fr; } }

/* ---------- Work ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 44px; align-items: start; }
@media (min-width: 861px) { .grid .card:nth-child(even) { margin-top: 130px; } }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; gap: 52px; } }
.card { display: flex; flex-direction: column; gap: 8px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.card h3 { font-size: 22px; font-weight: 750; font-stretch: 106%; letter-spacing: -.01em; line-height: 1.2; }
.cat { font-size: 12.5px; font-weight: 600; color: var(--ink-2); font-stretch: 94%; white-space: nowrap; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.grid-foot { margin-top: clamp(48px, 6vw, 80px); }
.work-list { border-top: 1px solid var(--ink); padding-top: clamp(48px, 6vw, 88px); }

/* Mock screens drawn in CSS: they scroll with the page, tilt and catch the light on hover */
.mk { position: relative; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; background: var(--bg); color: var(--fg); box-shadow: 0 0 0 1px rgba(11, 34, 54, .06), 0 34px 60px -38px rgba(0, 60, 100, .55); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease-out), box-shadow .5s; }
.mk::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 0%), rgba(255, 255, 255, .38), transparent 45%); opacity: 0; transition: opacity .5s; }
@media (hover: hover) { .mk:hover::after { opacity: 1; } .mk:hover { box-shadow: 0 0 0 1px rgba(11, 34, 54, .06), 0 44px 70px -36px rgba(0, 60, 100, .6); } }
.mk.tilting { transition: transform .15s linear, box-shadow .5s; }
.mk-bar { position: absolute; top: 0; left: 0; right: 0; height: 26px; display: flex; align-items: center; gap: 5px; padding: 0 12px; background: var(--bg); border-bottom: 1px solid rgba(127, 127, 127, .2); z-index: 2; }
.mk-bar i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .25; }
.mk-bar b { flex: 1; max-width: 46%; margin-inline: auto; height: 11px; border-radius: 6px; background: currentColor; opacity: .1; }
.mk-page { position: absolute; left: 0; right: 0; top: 26px; padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 12px; will-change: transform; }
.mk-nav { display: flex; align-items: center; gap: 9px; height: 14px; flex: none; }
.mk-logo { width: 34px; height: 10px; border-radius: 2px; background: var(--a); }
.mk-sp { flex: 1; }
.mk-nav i { width: 20px; height: 4px; border-radius: 2px; background: currentColor; opacity: .4; }
.mk-l { height: 6px; border-radius: 3px; background: currentColor; opacity: .7; width: var(--w, 70%); flex: none; }
.mk-l.t { height: 11px; opacity: 1; }
.mk-l.s { height: 4px; opacity: .35; }
.mk-btn { width: 58px; height: 15px; border-radius: 4px; background: var(--a); flex: none; }
.mk-hero { border-radius: 7px; background: var(--b); padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: var(--h, 120px); flex: none; }
.mk-g { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 10px; flex: none; }
.mk-t { aspect-ratio: var(--r, 3 / 4); border-radius: 5px; background: var(--c); }
.mk-box { border-radius: 7px; background: var(--b); padding: 12px; display: flex; flex-direction: column; gap: 7px; flex: none; }
.mk-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.mk-cal i { aspect-ratio: 1; border-radius: 3px; background: var(--c); }
.mk-cal i.on { background: var(--a); }
.mk-row { display: flex; gap: 9px; align-items: center; flex: none; }
.mk-pill { height: 15px; flex: 1; border-radius: 8px; background: var(--c); }
.mk-pill.on { background: var(--a); }
.mk-map { position: relative; height: var(--h, 120px); border-radius: 7px; flex: none; background-color: var(--b); background-image: linear-gradient(rgba(255, 255, 255, .6) 2px, transparent 2px), linear-gradient(90deg, rgba(255, 255, 255, .6) 2px, transparent 2px); background-size: 28px 24px; }
.mk-map i { position: absolute; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--a); }
.mk-chart { display: flex; align-items: flex-end; gap: 6px; height: 90px; padding: 10px; border-radius: 7px; background: var(--b); flex: none; }
.mk-chart i { flex: 1; height: var(--h); background: var(--a); border-radius: 2px 2px 0 0; }
.mk-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; flex: none; }
.mk-kpi div { border-radius: 7px; background: var(--b); padding: 10px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Contact band (gradient, from the logo) ---------- */
.band { position: relative; overflow: hidden; color: #fff; background: var(--grad-deep); padding-block: clamp(72px, 9vw, 128px); }
.band::before, .band::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.band::before { width: 640px; height: 640px; right: -180px; top: -220px; border: 1px dashed rgba(255, 255, 255, .22); }
.band::after { width: 420px; height: 420px; right: -40px; top: -80px; background: radial-gradient(circle at 35% 40%, rgba(255, 255, 255, .22), rgba(21, 184, 203, .25) 45%, transparent 70%); }
@media (prefers-reduced-motion: no-preference) { .band::before { animation: spin 120s linear infinite; } }
.band .wrap { position: relative; z-index: 1; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.band .h2::after { background: #fff; opacity: .7; }
.band p { color: rgba(255, 255, 255, .82); max-width: 42ch; margin-top: 18px; }
.band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } }
.mail { display: inline-block; font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 750; font-stretch: 100%; letter-spacing: -.02em; color: var(--ink); text-decoration: none; line-height: 1.2; padding-bottom: 4px; background: var(--grad) left bottom / 100% 2px no-repeat; transition: font-stretch .6s var(--ease-out), color .3s, translate .5s var(--ease-out); }
.mail:hover { font-stretch: 116%; color: var(--accent); }
.band .mail { color: #fff; background-image: linear-gradient(#fff, #fff); }
.band .mail:hover { color: #fff; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px 72px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.label { font-size: 13.5px; font-weight: 650; color: var(--muted); }
.contact-side .mail { margin-top: 8px; }
.contact-side .company { margin-top: 44px; }
.contact-side .where { margin-top: 18px; color: var(--muted); max-width: 40ch; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 40px 80px -50px rgba(0, 60, 100, .45); }
.form { display: grid; gap: 28px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.field { position: relative; display: grid; gap: 2px; }
.field label { font-size: 13.5px; font-weight: 650; color: var(--muted); transition: color .25s; }
.field:focus-within label { color: var(--accent); }
.input { font: inherit; font-size: 17px; width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); }
.input:focus { outline: none; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field.has-err::after { transform: none; }
.input[aria-invalid="true"] { border-bottom-color: #C8352B; }
textarea.input { min-height: 150px; resize: vertical; }
.err { color: #B3261E; font-size: 13.5px; margin-top: 6px; }
.err:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-note a { color: var(--accent); }
.form-status { font-size: 15px; padding: 12px 14px; border-radius: 10px; background: rgba(19, 181, 201, .12); color: #0B4F5C; }
.form-status:empty { display: none; }

/* ---------- Legal documents ---------- */
.legal { padding-block: clamp(32px, 4.5vw, 56px) clamp(80px, 9vw, 128px); }
.legal .wrap { max-width: 860px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(36px, 5vw, 56px); }
.legal-tabs a { text-decoration: none; font-size: 14.5px; font-weight: 600; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, background-color .25s, color .25s; }
.legal-tabs a:hover { border-color: var(--ink); }
.legal-tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.doc h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.doc h1::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 20px; background: var(--grad); }
.updated { color: var(--muted); font-size: 14.5px; margin-top: 18px; }
.doc .lead { font-size: 19px; line-height: 1.6; margin-top: 28px; color: var(--ink); }
.doc h2 { font-size: 22px; font-weight: 750; font-stretch: 106%; letter-spacing: -.01em; line-height: 1.25; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 17px; font-weight: 700; margin-top: 24px; }
.doc p, .doc li { max-width: 68ch; color: var(--ink-2); line-height: 1.68; }
.doc p { margin-top: 12px; }
.doc ul { margin-top: 12px; display: grid; gap: 8px; }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.doc a { color: var(--accent); text-underline-offset: 3px; }
.doc strong { font-weight: 700; color: var(--ink); }
.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 600px; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--muted); font-weight: 650; background: var(--mist); }
tbody tr:last-child td { border-bottom: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; background: var(--mist); padding: 2px 6px; border-radius: 4px; }
mark.todo { background: #FFE58A; color: inherit; padding: 0 4px; border-radius: 3px; }
.note-lang { margin-top: 52px !important; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted) !important; }
@media (prefers-reduced-motion: no-preference) { .doc > :not(h1) { animation: lift .9s var(--ease-out) backwards; animation-delay: .3s; } }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--mist); border-top: 1px solid var(--line); padding-top: 44px; font-size: 14.5px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-nav a, .legal-links a { text-decoration: none; background: var(--grad) left bottom / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease-out), color .2s; }
.footer-nav a:hover, .legal-links a:hover { background-size: 100% 1.5px; color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; }
.company { color: var(--muted); line-height: 1.75; }
.company strong { color: var(--ink); font-weight: 650; }
.legal-links { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.anpc-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.anpc { display: inline-block; border-radius: 12px; transition: transform .35s var(--ease-out); }
.anpc:hover { transform: translateY(-3px); }
.anpc img { display: block; width: 250px; max-width: 100%; height: auto; }
.copy-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding-block: 18px 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
@media (max-width: 620px) { .legal-links { align-items: flex-start; } .anpc-row { justify-content: flex-start; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
.section.tight-top { padding-top: clamp(40px, 5vw, 72px); }
