/* ============ Tokens ============ */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --blue: #1e5eff;
  --blue-dark: #1548cc;
  --cyan: #19c2e6;
  --text: #0b1f3a;
  --body: #3d4b63;
  --muted: #6b7a92;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --line: #e3e8f0;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 4px 12px rgba(11, 31, 58, .04);
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 31, 58, .28);
  --head: "Manrope", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--sans); color: var(--body); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg, iframe { display: block; }
::selection { background: var(--blue); color: #fff; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--head); color: var(--text); line-height: 1.15; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1.5px solid transparent;
  font: 600 .93rem var(--sans); cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(30, 94, 255, .6); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn--outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #eaf0ff; }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--full { width: 100%; }

/* ============ Top bar ============ */
.topbar { background: var(--navy); color: #c8d3e6; font-size: .83rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.topbar p, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--cyan); }
.topbar__links { display: flex; gap: 22px; }
.topbar a:hover { color: #fff; }

/* ============ Header ============ */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -12px rgba(11,31,58,.18); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand__logo { width: 38px; height: 38px; flex: none; transition: transform .3s; }
.brand:hover .brand__logo { transform: rotate(-4deg) scale(1.05); }
.brand__name { font: 800 1.3rem/1 "Montserrat", var(--head); letter-spacing: .12em; text-transform: uppercase; margin-right: -.12em; }
.brand__name b { font-weight: inherit; background: linear-gradient(180deg, var(--cyan), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand--light { color: #fff; }
.brand--light .brand__name b { background: linear-gradient(180deg, #7fe3f8, var(--cyan)); -webkit-background-clip: text; background-clip: text; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: .94rem; font-weight: 500; color: var(--body); }
.nav a { position: relative; padding: 6px 0; transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--blue); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-btn span:nth-child(1) { top: 13px; } .menu-btn span:nth-child(2) { top: 20px; } .menu-btn span:nth-child(3) { top: 27px; }
.header.is-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
.header.is-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden; padding: 80px 0 100px;
  background:
    radial-gradient(700px 400px at 85% 20%, rgba(25,194,230,.12), transparent 70%),
    radial-gradient(800px 500px at 60% 100%, rgba(30,94,255,.10), transparent 70%),
    linear-gradient(180deg, #f7f9ff, #fff);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(11,31,58,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,31,58,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #eaf0ff; color: var(--blue); font-size: .84rem; font-weight: 600; margin-bottom: 22px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(30,94,255,.18); }
.hl { background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.15rem; margin-top: 20px; max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: .92rem; font-weight: 500; color: var(--text); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #e3f8ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Hero mockup */
.hero__visual { position: relative; padding: 20px 30px 40px 0; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; animation: floatY 7s ease-in-out infinite; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7deea; }
.mock__bar i:first-child { background: #ff6b6b; } .mock__bar i:nth-child(2) { background: #ffc145; } .mock__bar i:nth-child(3) { background: #3ecf8e; }
.mock__bar span { margin-left: 12px; flex: 1; max-width: 240px; font-size: .72rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.mock__body { display: grid; grid-template-columns: 64px 1fr; min-height: 300px; }
.mock__side { background: var(--navy); padding: 14px 12px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.mock__side b { width: 26px; height: 26px; border-radius: 7px; background: #fff url("assets/logo/zenartin-mark.svg") center/18px no-repeat; margin-bottom: 6px; }
.mock__side span { width: 30px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); }
.mock__side span.on { background: var(--cyan); }
.mock__main { padding: 16px; display: grid; gap: 12px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; }
.mock__kpis small { font-size: .66rem; color: var(--muted); }
.mock__kpis strong { font: 800 1.05rem var(--head); color: var(--text); }
.mock__kpis em { font-style: normal; font-size: .66rem; font-weight: 600; color: #16a34a; }
.mock__kpis em.ok { color: var(--blue); }
.mock__chart { border: 1px solid var(--line); border-radius: 10px; padding: 10px 0 0; height: 110px; overflow: hidden; }
.mock__chart svg { width: 100%; height: 100%; }
.mock__line { stroke-dasharray: 420; stroke-dashoffset: 420; animation: drawLine 2.2s .5s ease forwards; }
.mock__rows { display: grid; gap: 7px; }
.mock__rows span { height: 10px; border-radius: 5px; background: var(--bg-alt); }
.mock__rows span:nth-child(1) { width: 90%; } .mock__rows span:nth-child(2) { width: 75%; } .mock__rows span:nth-child(3) { width: 82%; }

.phone {
  position: absolute; right: 0; bottom: 0; width: 150px; height: 290px; border-radius: 26px; padding: 26px 12px 12px;
  background: #fff; border: 6px solid var(--navy); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 10px;
  animation: floatY 6s ease-in-out -2s infinite; overflow: hidden;
}
.phone__notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 46px; height: 8px; border-radius: 6px; background: var(--navy); }
.phone__head { display: flex; justify-content: space-between; align-items: center; }
.phone__head span { width: 50px; height: 7px; border-radius: 4px; background: var(--line); }
.phone__head b { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.phone__card { border-radius: 12px; padding: 10px; background: linear-gradient(135deg, var(--blue), #3b7bff); color: #fff; display: grid; }
.phone__card small { font-size: .6rem; opacity: .8; }
.phone__card strong { font: 800 .95rem var(--head); white-space: nowrap; }
.phone__bars { display: flex; align-items: flex-end; gap: 5px; height: 40px; margin-top: 6px; }
.phone__bars i { flex: 1; background: rgba(255,255,255,.55); border-radius: 3px; }
.phone__list { display: grid; gap: 8px; }
.phone__list span { height: 24px; border-radius: 8px; background: var(--bg-alt); }

.float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .78rem; animation: floatY 5s ease-in-out infinite; }
.float strong { display: block; color: var(--text); font-size: .8rem; }
.float small { color: var(--muted); }
.float--deploy { left: -26px; bottom: 70px; animation-delay: -1s; }
.float--ai { right: 110px; top: -8px; animation-delay: -3s; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot--ok { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.ai-icon { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--cyan)); font-size: .8rem; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* ============ Tech strip ============ */
.techstrip { border-block: 1px solid var(--line); padding: 26px 0; }
.techstrip .container { display: flex; align-items: center; gap: 30px; }
.techstrip p { font-size: .85rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.techstrip ul { display: flex; flex-wrap: wrap; gap: 10px 30px; font: 700 1rem var(--head); color: #9aa7bb; }

/* ============ Sections ============ */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 80px 0; }
.section__head { max-width: 680px; margin-bottom: 52px; }
.section__head p { margin-top: 14px; font-size: 1.07rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Services */
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.service::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #eaf0ff; color: var(--blue); margin-bottom: 20px; transition: background .3s, color .3s; }
.service__icon svg { width: 26px; height: 26px; }
.service:hover .service__icon { background: var(--blue); color: #fff; }
.service h3 { margin-bottom: 10px; }
.service > p { font-size: .96rem; }
.service ul { margin: 18px 0 22px; display: grid; gap: 8px; font-size: .9rem; color: var(--text); }
.service li { display: flex; align-items: center; gap: 10px; }
.service li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex: none; }
.service__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--blue); }
.service__link svg { width: 16px; height: 16px; transition: transform .2s; }
.service__link:hover svg { transform: translateX(4px); }

/* Why */
.why { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.why__copy > p { margin-top: 14px; font-size: 1.07rem; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 36px; }
.why__list > div { display: flex; gap: 14px; }
.why__icon { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue); }
.why__icon svg { width: 22px; height: 22px; }
.why__list p { font-size: .9rem; margin-top: 4px; }
.why__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stat strong { font: 800 2.4rem var(--head); color: var(--blue); letter-spacing: -.04em; line-height: 1; }
.stat p { font-size: .9rem; margin-top: 8px; }
.why__quote { grid-column: 1 / -1; border-radius: var(--radius); padding: 28px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #dbe4f3; }
.why__quote p { font: 600 1.08rem/1.55 var(--head); color: #fff; }
.why__quote span { display: block; margin-top: 12px; font-size: .88rem; color: var(--cyan); }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 600; color: var(--text); transition: border-color .25s, box-shadow .25s, transform .25s; }
.industry svg { width: 26px; height: 26px; color: var(--blue); flex: none; }
.industry:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }

/* Engagement models */
.model { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.model h3 { font-size: 1.35rem; }
.model__for { color: var(--muted); font-size: .92rem; margin-top: 6px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.model ul { display: grid; gap: 12px; margin: 22px 0 28px; flex: 1; }
.model li { display: flex; gap: 10px; font-size: .95rem; color: var(--text); }
.model li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #eaf0ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e5eff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.model--featured { border: 2px solid var(--blue); box-shadow: var(--shadow); transform: translateY(-8px); }
.model__badge { position: absolute; top: -13px; left: 32px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; counter-reset: s; }
.process::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.process li { position: relative; text-align: center; padding: 0 6px; }
.process span { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font: 800 1rem var(--head); transition: background .3s, color .3s; }
.process li:hover span { background: var(--blue); color: #fff; }
.process h3 { font-size: 1.08rem; margin-bottom: 6px; }
.process p { font-size: .9rem; }

/* Stack */
.stack { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.stack > div { padding: 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack > div:nth-child(3n) { border-right: 0; }
.stack > div:nth-last-child(-n+3) { border-bottom: 0; }
.stack h4 { color: var(--blue); margin-bottom: 6px; }
.stack p { font-size: .93rem; color: var(--text); }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__lead { margin-top: 14px; }
.faq__lead a { color: var(--blue); font-weight: 600; }
.faq__list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font: 700 1.02rem var(--head); color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #eaf0ff; color: var(--blue); font: 600 1.2rem/1 var(--sans); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; }

/* CTA band */
.cta-band { padding: 0 0 100px; }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 50px 56px; border-radius: 22px; color: #c8d3e6; position: relative; overflow: hidden;
  background: radial-gradient(500px 300px at 90% 0%, rgba(25,194,230,.35), transparent 70%), linear-gradient(120deg, var(--navy), #163a7a);
}
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 8px; font-size: 1.05rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__info > p { margin-top: 14px; font-size: 1.05rem; }
.contact__list { display: grid; gap: 20px; margin: 32px 0; }
.contact__list li { display: flex; gap: 16px; }
.contact__list li > span { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #eaf0ff; color: var(--blue); }
.contact__list svg { width: 22px; height: 22px; }
.contact__list p { font-size: .95rem; margin-top: 2px; }
.contact__list a { color: var(--blue); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 220px; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 18px; position: sticky; top: 100px; }
.form h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: .88rem; font-weight: 600; color: var(--text); }
.form input, .form textarea, .form select {
  font: inherit; font-size: .97rem; font-weight: 400; color: var(--text); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a92' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/18px no-repeat; padding-right: 40px; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,94,255,.12); }
.form .is-invalid { border-color: #e5484d; }
.form__note { font-size: .92rem; min-height: 1.3em; color: var(--blue); font-weight: 500; }
.form__privacy { font-size: .8rem; color: var(--muted); margin-top: -10px; }

/* Footer */
.footer { background: var(--navy); color: #a9b6cc; padding-top: 70px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 50px; }
.footer__brand p { margin-top: 16px; max-width: 36ch; }
.footer h4 { color: #fff; margin-bottom: 16px; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; }


/* ============ Our work (case studies) ============ */
.trusted { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.trusted svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.trusted b { color: var(--text); font-weight: 600; }

.case { display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 28px; transition: box-shadow .3s; }
.case:hover { box-shadow: var(--shadow); }
.case--reverse { grid-template-columns: 1fr 1.05fr; }
.case--reverse .case__visual { order: 2; }
.case__visual { position: relative; min-height: 420px; overflow: hidden; }
.case__body { padding: 42px 44px; display: flex; flex-direction: column; }
.case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.tag { font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #fff6dc; color: #946b00; }
.tag--rose { background: #fde8ef; color: #b4235a; }
.loc { display: inline-flex; align-items: center; gap: 5px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.loc svg { width: 16px; height: 16px; }
.case h3 { font-size: 1.9rem; letter-spacing: -.03em; }
.case__body > p { margin-top: 10px; }
.deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin: 26px 0; }
.deliverables li { display: flex; gap: 12px; }
.deliverables li > span { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff6dc; color: #a87a00; }
.deliverables svg { width: 21px; height: 21px; }
.deliverables h4 { font-size: .97rem; }
.deliverables p { font-size: .86rem; margin-top: 2px; line-height: 1.5; }
.case__points { display: grid; gap: 10px; margin: 24px 0; }
.case__points li { display: flex; gap: 10px; color: var(--text); font-size: .95rem; }
.case__points li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: #fde8ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4235a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.case__tags li { font-size: .8rem; font-weight: 500; padding: 5px 12px; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--body); }
.work__cta { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 12px; }
.work__cta p { font: 700 1.15rem var(--head); color: var(--text); }

/* Golden Ride visual */
.case__visual--golden { background: radial-gradient(420px 300px at 70% 30%, rgba(212,160,23,.35), transparent 70%), linear-gradient(150deg, #17140c, #0e0e10 60%, #1c1708); }
.gr-browser { position: absolute; left: 7%; top: 12%; width: 72%; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(0,0,0,.7); }
.gr-browser__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #f3f1ea; }
.gr-browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d8d2c0; }
.gr-browser__bar span { margin-left: 8px; font-size: .62rem; font-weight: 600; color: #6b6450; }
.gr-browser__body { display: grid; grid-template-columns: 42px 1fr; min-height: 170px; }
.gr-browser__body aside { background: #141414; padding: 10px 8px; display: flex; flex-direction: column; gap: 9px; align-items: center; }
.gr-browser__body aside b { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #f5c542, #c9930c); margin-bottom: 4px; }
.gr-browser__body aside span { width: 20px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); }
.gr-browser__body aside span.on { background: #f5c542; }
.gr-browser__main { padding: 10px; display: grid; gap: 8px; align-content: start; }
.gr-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gr-kpis div { border: 1px solid #eee8d8; border-radius: 7px; padding: 6px 7px; display: grid; gap: 4px; }
.gr-kpis small { font-size: .52rem; color: #8a836f; }
.gr-kpis strong { height: 8px; width: 60%; border-radius: 3px; background: #c9930c; }
.gr-table { display: grid; gap: 6px; }
.gr-table span { height: 13px; border-radius: 4px; background: #f6f3ea; }
.gr-phone { position: absolute; width: 128px; height: 250px; border-radius: 22px; border: 5px solid #0a0a0a; background: #fff; overflow: hidden; box-shadow: 0 24px 50px -16px rgba(0,0,0,.8); animation: floatY 6s ease-in-out infinite; }
.gr-phone__notch { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 40px; height: 7px; border-radius: 5px; background: #0a0a0a; z-index: 2; }
.gr-phone--rider { right: 23%; bottom: 7%; }
.gr-phone--driver { right: 5%; bottom: 17%; animation-delay: -3s; background: #121212; }
.gr-map { height: 64%; background-color: #eef0e6; background-image: linear-gradient(#e0e3d6 2px, transparent 2px), linear-gradient(90deg, #e0e3d6 2px, transparent 2px); background-size: 22px 22px; }
.gr-map svg { width: 100%; height: 100%; }
.gr-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; background: #fff; border-radius: 14px 14px 0 0; box-shadow: 0 -6px 14px rgba(0,0,0,.08); display: grid; gap: 7px; }
.gr-sheet small, .gr-driver small { font-size: .58rem; font-weight: 700; color: #8a836f; text-transform: uppercase; letter-spacing: .08em; }
.gr-sheet span { height: 9px; border-radius: 4px; background: #f1eee4; }
.gr-sheet b, .gr-driver b { display: block; text-align: center; font-size: .66rem; padding: 7px; border-radius: 8px; background: linear-gradient(135deg, #f5c542, #c9930c); color: #1a1405; }
.gr-driver { padding: 22px 10px 10px; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.gr-driver small { color: #c9b98a; }
.gr-request { flex: 1; border-radius: 12px; background: #1f1f1f; border: 1px solid #333; padding: 10px; display: grid; gap: 7px; align-content: start; }
.gr-request i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #f5c542, #c9930c); }
.gr-request span { height: 7px; border-radius: 3px; background: #3a3a3a; }
.gr-request span:last-child { width: 60%; }

/* Lovely Hands visual */
.case__visual--lovely { background: radial-gradient(380px 280px at 25% 20%, rgba(244,114,182,.25), transparent 70%), radial-gradient(380px 280px at 85% 90%, rgba(45,212,191,.22), transparent 70%), #fbf6f8; display: grid; place-items: center; padding: 34px; }
.lh-browser { width: 100%; max-width: 440px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px -22px rgba(120, 40, 80, .45); animation: floatY 7s ease-in-out infinite; }
.lh-browser__bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #f8eef2; }
.lh-browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #e7cdd8; }
.lh-browser__bar span { margin-left: 8px; font-size: .62rem; font-weight: 700; color: #b4235a; }
.lh-hero { margin: 12px; padding: 18px; border-radius: 10px; background: linear-gradient(120deg, #f472b6, #fb7185 50%, #fbbf24); display: grid; gap: 7px; }
.lh-hero span { height: 9px; width: 70%; border-radius: 4px; background: rgba(255,255,255,.85); }
.lh-hero span + span { width: 45%; background: rgba(255,255,255,.55); }
.lh-hero b { width: 70px; height: 18px; border-radius: 6px; background: #fff; margin-top: 4px; }
.lh-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 12px 14px; }
.lh-services div { border: 1px solid #f3e3ea; border-radius: 9px; padding: 10px; display: grid; gap: 6px; justify-items: start; }
.lh-services i { width: 22px; height: 22px; border-radius: 7px; background: #fde8ef; }
.lh-services div:nth-child(2n) i { background: #d9f7f1; }
.lh-services span { height: 6px; width: 80%; border-radius: 3px; background: #f1e6eb; }

@media (max-width: 980px) {
  .case, .case--reverse { grid-template-columns: 1fr; }
  .case--reverse .case__visual { order: 0; }
  .case__visual { min-height: 340px; }
}
@media (max-width: 640px) {
  .case__body { padding: 28px 22px; }
  .case h3 { font-size: 1.6rem; }
  .deliverables { grid-template-columns: 1fr; }
  .case__visual { min-height: 300px; }
  .gr-browser { left: 5%; top: 8%; width: 82%; }
  .gr-phone { width: 104px; height: 200px; border-width: 4px; }
  .gr-phone--rider { right: 30%; bottom: 5%; }
  .gr-phone--driver { right: 4%; bottom: 10%; }
  .case__visual--lovely { padding: 22px 16px; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.model--featured.reveal.is-visible { transform: translateY(-8px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .mock__line { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 1240px) {
  .nav { gap: 20px; }
  .header__cta { display: none; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .mobile-nav {
    display: flex; flex-direction: column; gap: 4px; padding: 0 24px; max-height: 0; overflow: hidden;
    background: #fff; border-top: 1px solid transparent; transition: max-height .35s ease, padding .35s ease, border-color .35s;
  }
  .header.is-open .mobile-nav { max-height: 520px; padding: 12px 24px 24px; border-color: var(--line); }
  .mobile-nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--text); }
  .mobile-nav .btn { margin-top: 14px; }

  .hero { padding: 56px 0 80px; }
  .hero__inner, .why, .faq, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 620px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .models { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .model--featured, .model--featured.reveal.is-visible { transform: none; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-inline: auto; }
  .process::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
  .process li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; text-align: left; padding: 0 0 28px; }
  .process span { grid-row: span 2; margin: 0; }
  .process h3 { align-self: end; margin: 6px 0 4px; }
  .stack { grid-template-columns: repeat(2, 1fr); }
  .stack > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .stack > div:nth-child(2n) { border-right: 0; }
  .stack > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .stack > div:nth-last-child(-n+2) { border-bottom: 0; }
  .form { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .techstrip .container { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .topbar p { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 16px; font-size: .78rem; }
  .section { padding: 72px 0; }
  .grid--3, .industries, .why__list, .stack { grid-template-columns: 1fr; }
  .stack > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .stack > div:last-child { border-bottom: 0 !important; }
  .why__panel { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px; }
  .stat strong { font-size: 2rem; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .cta-band__inner { padding: 36px 26px; }
  .cta-band .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__visual { padding: 10px 0 30px; }
  .mock__body { grid-template-columns: 44px 1fr; min-height: 230px; }
  .mock__side span { width: 20px; }
  .mock__kpis strong { font-size: .85rem; }
  .phone { width: 112px; height: 220px; border-width: 5px; padding: 22px 9px 9px; right: -6px; }
  .phone__card strong { font-size: .78rem; }
  .phone__bars { height: 30px; }
  .float--deploy { left: 0; bottom: 20px; }
  .float--ai { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* Form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note.is-success { color: #15803d; }
.form__note.is-error { color: #c2410c; }
.form__note a { text-decoration: underline; }
.form button[disabled] { opacity: .7; cursor: wait; }

@media (max-width: 400px) { .brand__name { font-size: 1.12rem; letter-spacing: .1em; } .brand__logo { width: 32px; height: 32px; } }
