@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial"), local("Arimo"), local("Liberation Sans"), local("Helvetica"), local("Roboto");
  font-weight: 200 500;
  size-adjust: 105.7%;
  ascent-override: 98.2%;
  descent-override: 21%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Jakarta Fallback";
  src: local("Arial Bold"), local("Arimo Bold"), local("Liberation Sans Bold"), local("Helvetica Bold"), local("Roboto Bold");
  font-weight: 600 800;
  size-adjust: 101.2%;
  ascent-override: 102.6%;
  descent-override: 21.9%;
  line-gap-override: 0%;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-tint: #fff4ee;
  --ink: #0f1b3d;  --ink-soft: #4a5578;
  --line: #e4e7f0;
  --accent: #c4421a;  --accent-dark: #a83a12;
  --accent-soft: #ffe6dc;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 27, 61, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 27, 61, 0.12);
  --max: 1160px;
  --font: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: 96px 0; content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section.soft { background: var(--bg-soft); }
.cs-body, .next-project, .footer { content-visibility: auto; contain-intrinsic-size: auto 500px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 21px; font-weight: 700; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px;
  border-radius: 999px; font-weight: 700; font-size: 16px; transition: .2s ease;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(196, 66, 26, .3); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

.header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid transparent; transition: border .2s;
}
.header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo-mark { width: 36px; height: 36px; }
.logo span em { font-style: normal; color: var(--accent); }
.logo span { white-space: nowrap; }
@media (max-width: 420px) { .logo { font-size: 16px; gap: 8px; } .logo-mark { width: 30px; height: 30px; } }
@media (max-width: 340px) { .logo { font-size: 14px; } .container { width: calc(100% - 28px); } }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav-cta { padding: 11px 20px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 6px auto; transition: .25s; }

.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -260px;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(255, 230, 220, 0) 65%); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { margin: 22px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; align-items: center; }
.badge-row small { color: var(--ink-soft); font-weight: 600; margin-right: 6px; }
.chip {
  font-size: 13px; font-weight: 700; padding: 7px 13px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-soft);
}
.icon, .dot { color: var(--accent); }
.icon svg, .dot svg { width: 24px; height: 24px; }
.contact-way .icon { color: #fff; }
.chat-toggle svg { width: 26px; height: 26px; }
.chat-input button svg { width: 18px; height: 18px; margin: auto; }
.hero-visual { position: relative; }
.hero-visual .shot { border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #fff; }
.hero-visual .shot-main { width: 100%; }
.hero-visual .shot-phone {
  position: absolute; width: 30%; right: -4%; bottom: -10%; border-radius: 22px;
}
.float-card {
  position: absolute; left: -6%; bottom: 8%; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 14px 18px; display: flex; gap: 12px; align-items: center;
  font-size: 14px; font-weight: 600;
}
.float-card .dot { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft);
  display: grid; place-items: center; font-size: 18px; }
.float-card small { display: block; color: var(--ink-soft); font-weight: 500; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat b { display: block; font-size: 30px; font-weight: 800; color: var(--accent); }
.stat span { color: var(--ink-soft); font-size: 15px; }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-card .thumb { background: var(--bg-soft); padding: 28px 28px 0; }
.work-card .thumb img { border-radius: 12px 12px 0 0; box-shadow: var(--shadow); }
.work-card .body { padding: 24px 26px 28px; }
.work-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-soft); }
.tag.concept { background: var(--accent-soft); color: var(--accent-dark); }
.work-card p { color: var(--ink-soft); margin: 8px 0 16px; font-size: 16px; }
.link-more { font-weight: 700; color: var(--accent); display: inline-flex; gap: 8px; }
.tag.real { background: #e3f6ec; color: #17794a; }
.work-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; }
.work-card.featured .thumb { padding: 28px 0 28px 28px; height: 100%; display: flex; align-items: center; }
.work-card.featured .thumb img { border-radius: 12px; }
.work-card.featured .body { padding: 34px 36px; }
.work-card.featured h3 { font-size: 30px; }
.work-card .facts { font-size: 14px; font-weight: 600; color: var(--ink); }
@media (max-width: 860px) {
  .work-card.featured { grid-template-columns: 1fr; }
  .work-card.featured .thumb { padding: 22px 22px 0; }
  .work-card.featured .thumb img { border-radius: 12px 12px 0 0; }
  .work-card.featured .body { padding: 24px 26px 28px; }
  .work-card.featured h3 { font-size: 24px; }
}
.note { font-size: 14px; color: var(--ink-soft); margin-top: 26px; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; transition: border .2s, transform .2s;
}
.service:hover { border-color: var(--accent); transform: translateY(-4px); }
.service .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; }
.service p { color: var(--ink-soft); font-size: 15px; margin: 10px 0 18px; }
.service ul { list-style: none; font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; }
.service li { padding-left: 22px; position: relative; margin-bottom: 7px; }
.service li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.price { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-soft); }
.price b { font-size: 22px; color: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step); font-size: 15px; font-weight: 800;
  color: var(--accent-dark); background: var(--accent-soft); padding: 6px 11px; border-radius: 10px;
  display: inline-block; margin-bottom: 16px;
}
.step p { color: var(--ink-soft); font-size: 15px; margin-top: 8px; }

.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-list { display: grid; gap: 18px; }
.why-item { display: flex; gap: 16px; }
.why-item .icon { flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); display: grid; place-items: center; font-size: 20px; }
.why-item p { color: var(--ink-soft); font-size: 15px; }
.speed-card { background: var(--ink); color: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); }
.speed-card h3 { font-size: 26px; margin-bottom: 10px; }
.speed-card p { color: #b9c1dc; }
.meter { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.ring { width: 120px; height: 120px; }
.meter b { font-size: 15px; display: block; }
.meter small { color: #b9c1dc; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border: 1px dashed #c9cfe0; border-radius: var(--radius); padding: 28px; }
.quote p { font-size: 16px; margin-bottom: 20px; color: var(--ink-soft); font-style: italic; }
.who { display: flex; gap: 12px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); display: grid;
  place-items: center; font-weight: 800; color: var(--ink-soft); border: 1px solid var(--line); }
.who small { display: block; color: var(--ink-soft); }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member { text-align: center; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.member .avatar { width: 88px; height: 88px; font-size: 28px; margin: 0 auto 16px; background: var(--accent-soft); color: var(--accent-dark); border: 0; }
.member small { color: var(--ink-soft); }

.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 4px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 26px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin-top: 12px; }

.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; background: var(--ink); color: #fff;
  border-radius: 28px; padding: 56px; box-shadow: var(--shadow-lg); }
.contact .lead { color: #b9c1dc; }
.contact-ways { display: grid; gap: 14px; margin-top: 30px; }
.contact-way { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); transition: background .2s; }
.contact-way:hover { background: rgba(255, 255, 255, .12); }
.contact-way .icon { font-size: 20px; }
.contact-way small { display: block; color: #b9c1dc; font-size: 13px; }
.contact-way b { overflow-wrap: anywhere; }
.contact > * { min-width: 0; }
form { display: grid; gap: 14px; }
form[hidden], .hp { display: none; }
.form-note { font-weight: 600; color: #fff; }
.btn:disabled { opacity: .6; cursor: default; }
label { font-size: 14px; font-weight: 600; color: #dfe3f1; }
input, textarea, select {
  width: 100%; margin-top: 6px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 16px;
}
select option { color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.footer { padding: 56px 0 40px; color: var(--ink-soft); font-size: 15px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); }

.cs-hero { padding: 56px 0 40px; }
.back { font-weight: 700; color: var(--ink-soft); display: flex; width: fit-content; gap: 8px; margin-bottom: 28px; }
.back:hover { color: var(--ink); }
.cs-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.cs-meta div { padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.cs-meta small { display: block; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.cs-meta b { font-size: 16px; }
.concept-note { margin-top: 22px; padding: 14px 18px; border-radius: 12px; background: var(--accent-soft);
  color: var(--accent-dark); font-size: 15px; font-weight: 600; }
.cs-shot { background: var(--bg-soft); border-radius: 24px; padding: 40px; margin: 40px 0 0; }
.cs-shot img { border-radius: 14px; box-shadow: var(--shadow-lg); margin-inline: auto; }
.cs-body { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding: 72px 0; }
.cs-body aside { position: sticky; top: 100px; align-self: start; display: grid; gap: 10px; }
.cs-body aside a { color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.cs-body aside a:hover { color: var(--accent); }
.cs-body article section { margin-bottom: 52px; }
.cs-body article h2 { font-size: 30px; }
.cs-body article p { color: var(--ink-soft); margin-bottom: 14px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.feature { padding: 18px; border-radius: 14px; background: var(--bg-soft); }
.feature b { display: block; margin-bottom: 4px; }
.feature span { color: var(--ink-soft); font-size: 15px; }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.swatch { width: 96px; }
.swatch i { display: block; height: 64px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 6px; }
.swatch small { font-size: 13px; color: var(--ink-soft); }
.next-project { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 36px; border-radius: var(--radius); background: var(--bg-soft); margin-bottom: 72px; }

.chat { position: fixed; right: 22px; bottom: 22px; z-index: 100; font-size: 15px; }
.chat-toggle {
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; background: var(--accent);
  color: #fff; font-size: 26px; box-shadow: 0 12px 30px rgba(196, 66, 26, .4); display: grid; place-items: center;
  margin-left: auto; transition: transform .25s;
}
.chat-toggle:hover { transform: scale(1.07); }
.chat-icon-close { display: none; font-size: 22px; }
.chat.open .chat-icon-open { display: none; }
.chat.open .chat-icon-close { display: inline; }
.chat-toggle::before { content: ""; position: absolute; width: 62px; height: 62px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0; }
.motion .chat-toggle::before { animation: ping 2.4s ease-out 3; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.chat-panel {
  position: absolute; right: 0; bottom: 78px; width: 370px; height: min(560px, calc(100vh - 120px));
  background: #fff; border-radius: 22px; box-shadow: 0 24px 70px rgba(15, 27, 61, .22); display: flex;
  flex-direction: column; overflow: hidden; transform-origin: bottom right;
  transform: scale(.9) translateY(10px); opacity: 0; pointer-events: none; transition: .25s cubic-bezier(.2, .7, .2, 1);
}
.chat.open .chat-panel { transform: none; opacity: 1; pointer-events: auto; }
.chat-head { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: var(--ink); color: #fff; }
.chat-head small { display: block; color: #b9c1dc; font-size: 13px; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.msg { max-width: 85%; padding: 11px 14px; border-radius: 16px; line-height: 1.5; animation: rise .3s ease;
  overflow-wrap: anywhere; }
.chat-log { overflow-x: hidden; }
.msg.us { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg-action { display: block; margin-top: 8px; font-weight: 700; color: var(--accent); }
.msg.chips { background: none; padding: 0; max-width: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.msg.chips button { border: 1px solid var(--accent); color: var(--accent-dark); background: #fff; border-radius: 999px;
  padding: 7px 13px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; }
.msg.chips button:hover { background: var(--accent); color: #fff; }
.msg.typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9aa3bf; animation: blink 1s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .15s; }
.msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.msg.form { max-width: 100%; width: 100%; }
.handoff { display: grid; gap: 8px; }
.handoff input, .handoff textarea { margin: 0; background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line);
  padding: 10px 12px; font-size: 15px; border-radius: 10px; }
.handoff button { border: 0; border-radius: 10px; padding: 11px; font: inherit; font-weight: 700; cursor: pointer; }
.handoff .send-msg { background: var(--accent); color: #fff; }
.handoff .send-msg:disabled { opacity: .6; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { margin: 0; flex: 1; background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; padding: 11px 16px; font-size: 15px; }
.chat-input button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff;
  cursor: pointer; font-size: 16px; }
@media (max-width: 480px) {
  .chat { right: 14px; bottom: 14px; }
  .chat-panel { position: fixed; right: 10px; left: 10px; bottom: 88px; width: auto; height: calc(100vh - 110px); }
}


.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.from-left { transform: translateX(-36px); }
.reveal.from-right { transform: translateX(36px); }
.reveal.zoom { transform: scale(.94); }
.reveal.in { opacity: 1; transform: none; }
.stagger > .reveal:nth-child(2) { transition-delay: .1s; }
.stagger > .reveal:nth-child(3) { transition-delay: .2s; }
.stagger > .reveal:nth-child(4) { transition-delay: .3s; }
.stagger > .reveal:nth-child(5) { transition-delay: .4s; }
.stagger > .reveal:nth-child(6) { transition-delay: .5s; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float-slow { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(10px) rotate(1deg); } }
.motion .hero-visual .shot-main { animation: float 7s ease-in-out 1.4s infinite; }
.motion .hero-visual .shot-phone { animation: float-slow 6s ease-in-out 1.6s infinite; }
.motion .float-card { animation: float 5s ease-in-out 2s infinite; }

.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; border-radius: 4px;
  background: var(--accent-soft); z-index: -1; transform: scaleX(0); transform-origin: left;
}
.motion .hero h1 .hl::after { animation: draw .9s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes draw { to { transform: scaleX(1); } }

@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .8; } }
.motion .hero::before { animation: breathe 9s ease-in-out infinite; }

.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg);
}
.btn-primary:hover::after { animation: shine .8s ease; }
@keyframes shine { to { left: 130%; } }

.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .3s ease;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.work-card .thumb img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.work-card:hover .thumb img { transform: scale(1.03) translateY(-4px); }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
.service:hover .icon { animation: wiggle .5s ease; }
.step { transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; }
.motion .marquee-track { animation: scroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-weight: 800; font-size: 20px; color: #5f6a8c; white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.marquee-track span::before { content: "•"; color: var(--accent); }
@keyframes scroll { to { transform: translateX(-50%); } }

.ring .fill { stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.8s cubic-bezier(.2, .7, .2, 1) .3s; }
.speed-card.in .ring .fill { stroke-dashoffset: 16; }



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

@media (max-width: 1024px) {
  .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links li a { display: block; padding: 14px 4px; font-size: 17px; }
  .nav-links li a.nav-cta { display: flex; margin-top: 10px; justify-content: center; }
  .menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn.open span:nth-child(2) { opacity: 0; }
  .menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { padding: 40px 0 72px; }
  .hero-grid, .why, .contact, .cs-body { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 10px; }
  .float-card { left: 0; bottom: -6%; }
  .work-grid, .quotes, .team { grid-template-columns: 1fr; }
  .contact { padding: 34px 22px; }
  .cs-meta { grid-template-columns: 1fr 1fr; }
  .cs-body aside { display: none; }
  .features { grid-template-columns: 1fr; }
  .cs-shot { padding: 18px; }
}
@media (max-width: 560px) {
  .services, .steps, .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
