/* ==========================================================
   CAPATiA — Minimal tech premium
   Tokens → base → components → sections → responsive
   ========================================================== */
:root {
  --blue: #0B4DFF;
  --blue-deep: #072F99;
  --cyan: #00D4FF;
  --ink: #161A22;
  --mist: #F4F7FA;
  --white: #FFFFFF;
  --line: #E3E8EF;
  --muted: #566073;
  --muted-light: #A9B4C6;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(22, 26, 34, .05), 0 4px 14px rgba(22, 26, 34, .05);
  --shadow-md: 0 2px 4px rgba(22, 26, 34, .04), 0 18px 40px -12px rgba(11, 77, 255, .18);
  --shadow-lg: 0 30px 80px -20px rgba(7, 47, 153, .35), 0 8px 24px rgba(22, 26, 34, .08);
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon svg, .icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); display: inline-block; flex: none; }
.dot--live { box-shadow: 0 0 0 0 rgba(0, 212, 255, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(0, 212, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em;
  border: 1px solid transparent; border-radius: 12px; cursor: pointer;
  padding: 12px 20px; font-size: .95rem; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn--sm { padding: 9px 16px; font-size: .875rem; border-radius: 10px; }
.btn--lg { padding: 16px 26px; font-size: 1rem; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -8px rgba(11, 77, 255, .7); }
.btn--primary:hover { background: #0A42E0; transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(11, 77, 255, .75), 0 0 0 4px rgba(0, 212, 255, .18); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--cyan { background: var(--cyan); color: var(--ink); box-shadow: 0 10px 28px -10px rgba(0, 212, 255, .8); }
.btn--cyan:hover { transform: translateY(-2px); background: #33DDFF; }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--muted); padding: 8px 14px; border-radius: 10px; transition: color .2s, background .2s; }
.nav a:hover, .nav a.active { color: var(--ink); background: var(--mist); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; align-items: center; gap: 2px; font-family: var(--font-head); font-size: .8rem; font-weight: 600; color: var(--muted); }
.lang button { background: none; border: 0; padding: 6px 6px; cursor: pointer; color: inherit; border-radius: 6px; transition: color .2s; }
.lang button:hover { color: var(--ink); }
.lang button.is-active { color: var(--blue); }
.lang--mobile { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 40px; isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(22, 26, 34, .16) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 72% 40%, #000 20%, transparent 75%);
}
.hero__dots--dark { background-image: radial-gradient(circle, rgba(255, 255, 255, .22) 1.2px, transparent 1.4px); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 85% 30%, #000 10%, transparent 70%); }
.hero__glow { position: absolute; width: 760px; height: 760px; right: -200px; top: -240px; background: radial-gradient(circle, rgba(11, 77, 255, .16), transparent 62%); filter: blur(10px); }
/* Slanted shapes echo the logo's rising movement */
.hero__slash { position: absolute; transform: skewX(-38deg); border-radius: 28px; }
.hero__slash--1 { width: 120px; height: 760px; right: 33%; top: -140px; background: linear-gradient(180deg, rgba(0, 212, 255, .0), rgba(0, 212, 255, .14) 60%, rgba(11, 77, 255, .10)); }
.hero__slash--2 { width: 60px; height: 520px; right: 27%; top: 40px; background: linear-gradient(180deg, rgba(11, 77, 255, 0), rgba(11, 77, 255, .10)); }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .82rem; font-weight: 500; color: var(--blue-deep); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 12px; box-shadow: var(--shadow-sm); }
.hero h1 { font-size: clamp(2.35rem, 5vw, 4.25rem); margin-top: 22px; line-height: 1.04; letter-spacing: -.035em; }
.grad { background: linear-gradient(100deg, var(--blue) 10%, var(--cyan) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 24px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 34px; }
.hero__tags li { font-family: var(--font-head); font-size: .78rem; font-weight: 500; color: var(--muted); padding: 5px 12px; border-radius: 999px; background: var(--mist); }

/* Hero visual */
.hero__visual { position: relative; padding: 24px 0 48px 36px; }
.win { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; animation: floaty 9s ease-in-out infinite; }
@keyframes floaty { 50% { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg) translateY(-10px); } }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FAFBFD; }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #DDE3EC; }
.win__url { margin-left: 14px; height: 22px; flex: 1; max-width: 220px; border-radius: 7px; background: var(--mist); }
.win__body { display: grid; grid-template-columns: 56px 1fr; }
.win__side { display: flex; flex-direction: column; gap: 14px; align-items: center; padding: 20px 0; border-right: 1px solid var(--line); background: #FAFBFD; }
.win__side b { width: 22px; height: 22px; border-radius: 7px; background: #DDE3EC; }
.win__side b:first-child { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.win__main { padding: 22px 22px 24px; }
.win__head { display: flex; justify-content: space-between; align-items: flex-start; }
.win__head small { display: block; color: var(--muted); font-size: .76rem; }
.win__head strong { font-family: var(--font-head); font-size: 1.9rem; letter-spacing: -.03em; line-height: 1.1; }
.pill { font-size: .72rem; font-weight: 600; color: var(--blue); background: rgba(11, 77, 255, .08); padding: 4px 10px; border-radius: 999px; }
.chart { width: 100%; height: 150px; margin-top: 10px; overflow: visible; }
.chart__grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; fill: none; }
.chart__line { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s .7s var(--ease) forwards; vector-effect: non-scaling-stroke; }
.chart__area { opacity: 0; animation: fade 1.2s 1.6s forwards; }
.chart__end { fill: #fff; stroke: var(--cyan); stroke-width: 3; opacity: 0; animation: fade .4s 2.7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.kpis div { background: var(--mist); border-radius: 12px; padding: 10px 12px; }
.kpis small { display: block; font-size: .68rem; color: var(--muted); }
.kpis b { font-family: var(--font-head); font-size: 1rem; letter-spacing: -.02em; }

.phone { position: absolute; left: -28px; bottom: 0; width: 144px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 14px 12px 14px; display: flex; flex-direction: column; gap: 9px; animation: floaty2 8s ease-in-out infinite; }
@keyframes floaty2 { 50% { transform: translateY(-14px); } }
.phone__notch { width: 44px; height: 6px; border-radius: 6px; background: #E3E8EF; margin: 0 auto 4px; }
.phone__row { display: flex; align-items: center; gap: 8px; }
.phone__row span { flex: 1; height: 9px; border-radius: 5px; background: #E3E8EF; }
.phone__row i { width: 22px; height: 22px; border-radius: 8px; background: var(--mist); }
.phone__row--a span { background: var(--ink); max-width: 60px; }
.phone__card { border-radius: 14px; padding: 12px; background: linear-gradient(135deg, var(--blue), #2E9BFF); display: grid; gap: 7px; }
.phone__card span { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .55); }
.phone__card span:first-child { width: 55%; background: #fff; }
.phone__btn { margin-top: 4px; height: 30px; border-radius: 10px; background: var(--cyan); }

.chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; font-size: .8rem; font-weight: 500; box-shadow: var(--shadow-md); white-space: nowrap; font-family: var(--font-head); }
.chip--1 { right: -6px; top: 0; animation: floaty2 7s -2s ease-in-out infinite; }
.chip--2 { right: 18px; bottom: 6px; color: var(--blue-deep); animation: floaty2 9s -4s ease-in-out infinite; }
.chip--2 .ico { width: 16px; height: 16px; color: var(--blue); }

/* stagger on load */
html.js .stagger > * { opacity: 0; transform: translateY(22px); animation: up .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 100ms); }
@keyframes up { to { opacity: 1; transform: none; } }
html.js .hero__visual { opacity: 0; animation: fade 1.2s .5s forwards; }

/* strip */
.strip { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); font-family: var(--font-head); font-size: .88rem; font-weight: 500; color: var(--muted); }
.strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 132px) 0; }
.section--mist { background: var(--mist); }
.section__head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue)); border-radius: 2px; }
.kicker--light { color: var(--cyan); }
.section h2, .contact h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.section__lead { margin-top: 20px; font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.section__lead--light { color: var(--muted-light); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(11, 77, 255, .28); }

.icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--blue); background: rgba(11, 77, 255, .07); }
.icon svg { width: 26px; height: 26px; }
.icon--sm { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.icon--sm svg { width: 22px; height: 22px; }

/* Services */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 32px 30px 34px; position: relative; overflow: hidden; }
.pillar::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; background: radial-gradient(circle, rgba(0, 212, 255, .18), transparent 65%); opacity: 0; transition: opacity .4s; }
.pillar:hover::after { opacity: 1; }
.pillar__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.num { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--muted-light); letter-spacing: .06em; }
.pillar h3 { font-size: 1.6rem; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 1rem; }
.ticks { margin-top: 22px; display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding-left: 26px; font-size: .95rem; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg) translateY(-3px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.split__item { display: flex; gap: 18px; align-items: flex-start; padding: 28px 30px; border-radius: var(--radius); background: var(--mist); }
.split__item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.split__item p { color: var(--muted); font-size: .98rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; position: relative; }
.step { position: relative; padding-top: 56px; }
.step::before { content: ""; position: absolute; left: 0; right: -28px; top: 18px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) calc(var(--d, 0ms) + 200ms); }
.step:last-child::before { right: 0; background: linear-gradient(90deg, var(--blue), transparent); }
.step.in::before { transform: scaleX(1); }
html:not(.js) .step::before { transform: none; }
.step__n { position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--blue); color: var(--blue); font-family: var(--font-head); font-weight: 600; font-size: .95rem; z-index: 1; }
.step:last-child .step__n { background: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(0, 212, 255, .25); }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .98rem; }

/* Work */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work__card { padding: 14px 14px 28px; }
.work__card h3 { font-size: 1.25rem; margin: 6px 14px 10px; }
.work__card p { color: var(--muted); font-size: .96rem; margin: 0 14px; }
.work__mock { height: 200px; border-radius: 12px; background: var(--mist); position: relative; overflow: hidden; display: grid; place-items: center; }
.work__mock::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(22, 26, 34, .13) 1px, transparent 1.3px); background-size: 16px 16px; }
.work__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 18px 14px 12px; flex-wrap: wrap; }
.tag { font-family: var(--font-head); font-size: .74rem; font-weight: 600; color: var(--blue); }
.soon { font-size: .7rem; font-weight: 500; color: var(--muted); border: 1px dashed #C4CCD9; border-radius: 999px; padding: 2px 10px; }
.bars { position: relative; display: flex; align-items: flex-end; gap: 12px; height: 120px; }
.bars i { width: 26px; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--blue), #6C93FF); transition: height .8s var(--ease); }
.bars i:nth-child(even) { background: linear-gradient(180deg, var(--cyan), #8BE9FF); }
.work__card:hover .bars i { transform: scaleY(1.06); transform-origin: bottom; }
.work__mock--mobile { grid-auto-flow: column; gap: 14px; }
.mini-phone { position: relative; width: 82px; height: 146px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; transition: transform .5s var(--ease); }
.mini-phone span { height: 8px; border-radius: 4px; background: #E3E8EF; }
.mini-phone span:first-child { background: linear-gradient(90deg, var(--blue), var(--cyan)); width: 60%; }
.mini-phone b { margin-top: auto; height: 22px; border-radius: 8px; background: var(--blue); }
.mini-phone--2 { transform: translateY(16px); }
.mini-phone--2 b { background: var(--cyan); }
.work__card:hover .mini-phone { transform: translateY(-6px); }
.work__card:hover .mini-phone--2 { transform: translateY(10px); }
.work__mock--flow svg { position: relative; width: 78%; }
.work__mock--flow path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 5 6; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.work__mock--flow circle { fill: #fff; stroke: var(--blue); stroke-width: 2.5; }
.work__mock--flow circle.c { fill: var(--cyan); stroke: var(--cyan); }

/* Values */
.values { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.values__intro { position: sticky; top: 110px; }
.mission { margin-top: 26px; font-family: var(--font-head); font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.45; letter-spacing: -.015em; font-weight: 500; }
.vision { margin-top: 22px; color: var(--muted); max-width: 34em; padding-left: 18px; border-left: 3px solid var(--cyan); }
.vision strong { color: var(--ink); }
.values__list { display: grid; gap: 14px; }
.values__list li { display: flex; gap: 18px; align-items: center; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.values__list li:hover { transform: translateX(8px); border-color: rgba(11, 77, 255, .3); box-shadow: var(--shadow-sm); }
.values__list h3 { font-size: 1.1rem; margin-bottom: 2px; }
.values__list p { color: var(--muted); font-size: .95rem; }

/* ---------- Dark wrapper: slanted top echoes the logo ---------- */
.dark { background: var(--ink); color: #fff; clip-path: polygon(0 clamp(40px, 6vw, 96px), 100% 0, 100% 100%, 0 100%); margin-top: -1px; position: relative; }
.contact { position: relative; padding: clamp(120px, 14vw, 200px) 0 clamp(64px, 9vw, 112px); isolation: isolate; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__glow { position: absolute; width: 700px; height: 700px; left: -220px; bottom: -300px; background: radial-gradient(circle, rgba(11, 77, 255, .5), transparent 65%); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.contact__mail { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; font-family: var(--font-head); font-weight: 500; color: #fff; padding: 12px 18px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; transition: border-color .2s, background .2s; }
.contact__mail:hover { border-color: var(--cyan); background: rgba(0, 212, 255, .08); }
.contact__mail .ico { color: var(--cyan); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 500; color: #D5DCE8; }
.field label em { font-style: normal; color: var(--muted-light); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 13px 14px; color: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23A9B4C6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(0, 212, 255, .06); box-shadow: 0 0 0 4px rgba(0, 212, 255, .15); }
.field.invalid input, .field.invalid textarea { border-color: #FF7A7A; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.form__status { font-size: .92rem; color: var(--cyan); min-height: 1.4em; }
.form__status.error { color: #FF9A9A; }

/* Footer */
.footer { border-top: 1px solid rgba(255, 255, 255, .1); padding: 40px 0 44px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px; align-items: start; }
.footer__brand img { height: 30px; width: auto; }
.footer__brand p { margin-top: 14px; color: var(--muted-light); font-size: .92rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__nav a { color: #D5DCE8; font-size: .92rem; transition: color .2s; }
.footer__nav a:hover { color: var(--cyan); }
.footer__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; color: var(--muted-light); font-size: .85rem; }
.lang--footer { color: var(--muted-light); }
.lang--footer button:hover { color: #fff; }
.lang--footer button.is-active { color: var(--cyan); }

/* Reveal on scroll */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .card.reveal.in { transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms), box-shadow .35s var(--ease), border-color .35s; }
html.js .card.reveal.in:hover { transform: translateY(-6px); transition-delay: 0ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .pillars, .work { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step::before { right: -28px; }
  .step:nth-child(2)::before { right: 0; background: linear-gradient(90deg, var(--blue), transparent); }
  .values, .contact__grid { grid-template-columns: 1fr; }
  .values__intro { position: static; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__meta { align-items: flex-start; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .header__cta, .header__actions .lang { display: none; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 12px var(--gutter) 24px; background: rgba(255, 255, 255, .98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(22, 26, 34, .2); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .lang--mobile { display: inline-flex; margin-top: 10px; padding-left: 6px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .split, .form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::before, .step:nth-child(2)::before { right: 0; }
  .hero__visual { padding: 12px 0 56px 0; }
  .win { transform: none; animation: none; }
  .win__side { display: none; }
  .win__body { grid-template-columns: 1fr; }
  .phone { width: 118px; left: -4px; padding: 11px 9px; gap: 7px; }
  .chip--1 { right: 0; top: -8px; }
  .chip--2 { right: 0; }
  .hero__cta .btn { width: 100%; }
  .strip { justify-content: flex-start; font-size: .82rem; }
  .form__foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  html.js .reveal, html.js .stagger > *, html.js .hero__visual { opacity: 1; transform: none; }
  .chart__line { stroke-dashoffset: 0; }
  .chart__area, .chart__end { opacity: 1; }
  .step::before { transform: scaleX(1); }
}

/* ---------- Review fixes (2026-11) ---------- */
/* Hero mock: neutral skeleton instead of invented metrics */
.win__title { display: grid; gap: 8px; }
.win__title span { display: block; height: 9px; width: 88px; border-radius: 5px; background: #DDE3EC; }
.win__title span:last-child { height: 18px; width: 130px; border-radius: 7px; background: linear-gradient(90deg, var(--ink), #3A4253); }
.pill--blank { width: 44px; height: 22px; }
.kpis small { height: 7px; width: 60%; border-radius: 4px; background: #DDE3EC; }
.kpis b { display: block; height: 12px; width: 75%; margin-top: 7px; border-radius: 5px; background: #C9D3E1; }
.kpis div:first-child b { background: linear-gradient(90deg, var(--blue), var(--cyan)); }

/* Live case study: AureaCellar */
.case { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: 14px; margin-bottom: clamp(48px, 7vw, 80px); }
.case__shot { display: block; border-radius: 12px; overflow: hidden; background: #0C0D10; box-shadow: var(--shadow-sm); }
.case__shot img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.case:hover .case__shot img { transform: scale(1.025); }
.case__body { padding: 12px clamp(8px, 2vw, 24px) 12px 0; }
.case__meta { margin: 0 0 12px; }
.case h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.case p { color: var(--muted); }
.case__facts { margin: 20px 0 26px; display: grid; gap: 8px; }
.case__facts li { position: relative; padding-left: 26px; font-size: .95rem; font-weight: 500; }
.case__facts li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg) translateY(-3px); }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; color: #0A7A55; background: rgba(16, 185, 129, .1); border-radius: 999px; padding: 3px 10px 3px 8px; }
.live .dot { background: #10B981; }
/* Second case: Mon Frigo (image on the right on desktop) */
.case--rev { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
.case--rev .case__body { order: 1; padding: 12px 0 12px clamp(8px, 2vw, 24px); }
.case--rev .case__shot { order: 2; }
.case__shot--fridge { background: #F8F6F8; display: grid; place-items: center; padding: 20px 0; }
.case__shot--fridge img { width: auto; max-width: 100%; max-height: 440px; }
.case__bar { color: var(--muted-light); font-weight: 400; margin-inline: .08em; }
.badge { font-size: .72rem; font-weight: 600; color: var(--blue-deep); background: rgba(11, 77, 255, .08); border-radius: 999px; padding: 3px 10px; }
.work__sub { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.work--two { grid-template-columns: repeat(2, 1fr); }

/* Language switch: 44px touch targets */
.lang button { min-width: 44px; min-height: 44px; padding: 6px 8px; }

/* No sticky "hover" lift on touch screens */
@media (hover: none) {
  .card:hover, html.js .card.reveal.in:hover, .values__list li:hover { transform: none; }
}

@media (max-width: 1024px) {
  .case { grid-template-columns: 1fr; }
  .case__body, .case--rev .case__body { padding: 4px 10px 14px; order: 2; }
  .case--rev { grid-template-columns: 1fr; }
  .case--rev .case__shot { order: 1; }
  .work--two { grid-template-columns: 1fr; }
}
