:root {
  --bg: #ebe7dc;
  --paper: #fffaf0;
  --paper-2: rgba(255, 250, 240, .72);
  --ink: #0f1115;
  --ink-2: #22252d;
  --muted: #68655f;
  --line: rgba(15, 17, 21, .12);
  --line-dark: rgba(255, 250, 240, .15);
  --accent: #ff5637;
  --accent-2: #a3ff72;
  --blue: #5b7cff;
  --radius-xl: 38px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --shadow: 0 30px 90px rgba(15, 17, 21, .14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 0, rgba(255, 86, 55, .22), transparent 32vw),
    radial-gradient(circle at 96% 8%, rgba(91, 124, 255, .16), transparent 30vw),
    linear-gradient(135deg, #f6f0e4 0%, #e7e2d7 44%, #f6efe3 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .28;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

.page-shell {
  width: min(1240px, calc(100% - 28px));
  margin: 14px auto;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper-2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, .82);
  backdrop-filter: blur(20px);
}

.logo { display: inline-flex; gap: 10px; align-items: center; font-weight: 900; letter-spacing: -.04em; }
.logo__mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: 13px; }
.logo__text { white-space: nowrap; }

.nav__links { display: flex; justify-content: center; gap: 4px; }
.nav__links a { padding: 10px 13px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 800; transition: .2s ease; }
.nav__links a:hover { background: rgba(15, 17, 21, .06); color: var(--ink); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: transparent; }
.nav__toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; border-radius: 9px; background: var(--ink); transition: .2s ease; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -.025em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--dark { background: var(--ink); color: var(--paper); }
.button--dark:hover { box-shadow: 0 14px 32px rgba(15, 17, 21, .2); }
.button--accent { border-color: var(--accent); background: var(--accent); color: var(--paper); }
.button--light { border-color: var(--line); background: rgba(255,255,255,.38); }

.hero { padding: clamp(42px, 7vw, 86px) 24px 34px; }
.hero__grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 28px; align-items: stretch; }
.hero__content { display: flex; flex-direction: column; justify-content: center; min-height: 590px; }
.status { display: inline-flex; width: fit-content; gap: 9px; align-items: center; margin-bottom: 24px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.42); color: var(--muted); font-size: 14px; font-weight: 800; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #36b36a; box-shadow: 0 0 0 6px rgba(54,179,106,.14); }
.hero__title { max-width: 760px; font-size: clamp(42px, 6.1vw, 82px); font-weight: 930; line-height: .96; letter-spacing: -.06em; }
.hero__text { max-width: 620px; margin-top: 20px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero__badges span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.34); color: var(--muted); font-size: 13px; font-weight: 800; }

.hero-card { position: relative; display: flex; min-height: 590px; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink); color: var(--paper); isolation: isolate; }
.hero-card::before { content: ""; position: absolute; inset: 18px; z-index: -1; border: 1px solid rgba(255,250,240,.12); border-radius: 24px; background: radial-gradient(circle at 30% 18%, rgba(255,86,55,.52), transparent 26%), radial-gradient(circle at 80% 38%, rgba(163,255,114,.22), transparent 24%); }
.hero-card::after { content: ""; position: absolute; top: 58px; left: 42px; width: 250px; height: 250px; z-index: -1; border-radius: 48px; background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.04)); transform: rotate(-11deg); }
.hero-card__top { display: flex; align-items: start; justify-content: space-between; margin-bottom: 150px; color: rgba(255,250,240,.68); text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.hero-card__top strong { color: var(--paper); font-size: 108px; line-height: .75; letter-spacing: -.08em; }
.hero-card h2 { max-width: 420px; font-size: clamp(32px, 4vw, 52px); line-height: .95; letter-spacing: -.065em; }
.hero-card p { max-width: 420px; margin-top: 16px; color: rgba(255,250,240,.72); font-size: 17px; line-height: 1.7; }
.mini-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mini-stack span { padding: 8px 10px; border: 1px solid var(--line-dark); border-radius: 999px; color: rgba(255,250,240,.76); font-size: 12px; font-weight: 850; }

.trust-strip { display: flex; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(15,17,21,.035); }
.trust-strip span { flex: 1; min-width: max-content; padding: 18px 24px; color: var(--muted); text-align: center; font-weight: 950; letter-spacing: -.035em; }

.section { padding: clamp(58px, 7vw, 92px) 24px; border-bottom: 1px solid var(--line); }
.section--compact { padding-top: 76px; }
.section__head { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; align-items: start; margin-bottom: 28px; }
.kicker { color: var(--accent); font-size: 12px; font-weight: 950; letter-spacing: .17em; text-transform: uppercase; }
h2 { max-width: 850px; font-size: clamp(35px, 5.3vw, 76px); font-weight: 950; line-height: .94; letter-spacing: -.078em; }
.section__text { max-width: 680px; margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.75; }

.case-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter { min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.34); color: var(--muted); cursor: pointer; font-weight: 850; transition: .2s ease; }
.filter:hover, .filter.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.cases { display: grid; gap: 14px; }
.case { display: grid; grid-template-columns: .82fr 1.18fr; gap: 22px; min-height: 330px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.34); transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease; }
.case:hover { transform: translateY(-4px); box-shadow: 0 22px 60px rgba(15,17,21,.1); }
.case.is-hidden { display: none; }
.case__visual { position: relative; min-height: 298px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); }
.case__visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 18% 20%, rgba(255,255,255,.38), transparent 24%), radial-gradient(circle at 86% 80%, rgba(255,255,255,.20), transparent 30%); }
.case__visual--law { background: linear-gradient(135deg, #141820, #556071); }
.case__visual--edu { background: linear-gradient(135deg, #102036, #5b7cff); }
.case__visual--auto { background: linear-gradient(135deg, #221a12, #c47c34); }
.case__visual--shop { background: linear-gradient(135deg, #331225, #ff5c95); }
.case__visual--design { background: linear-gradient(135deg, #25211d, #bda989); }
.case__visual--medical { background: linear-gradient(135deg, #103237, #65d0c3); }
.case__visual--industrial { background: linear-gradient(135deg, #151515, #f0b038); }
.browser-dot { position: absolute; top: 18px; left: 18px; width: 46px; height: 12px; border-radius: 99px; background: rgba(255,255,255,.58); box-shadow: 18px 0 0 rgba(255,255,255,.28), 36px 0 0 rgba(255,255,255,.18); }
.mockup { position: absolute; inset: 54px 22px 22px; padding: 20px; border: 1px solid rgba(255,255,255,.22); border-radius: 20px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.mockup i { display: block; height: 16px; margin-top: 12px; border-radius: 999px; background: rgba(255,255,255,.34); }
.mockup i:nth-child(1) { width: 72%; height: 42px; margin-top: 0; }
.mockup i:nth-child(2) { width: 92%; }
.mockup i:nth-child(3) { width: 60%; }
.mockup i:nth-child(4) { width: 78%; }
.mockup--columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mockup--columns i { width: auto !important; height: auto; min-height: 70px; margin: 0; }
.mockup--shop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mockup--shop i { width: auto !important; height: 150px; margin: 0; border-radius: 18px; }
.mockup--gallery { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10px; }
.mockup--gallery i { width: auto !important; height: auto; min-height: 68px; margin: 0; }
.mockup--gallery i:first-child { grid-row: span 3; }
.mockup--dash i:nth-child(1) { width: 48%; }
.mockup--dash i:nth-child(2) { width: 86%; height: 88px; }

.case__content { display: flex; flex-direction: column; justify-content: center; padding: 12px 8px 12px 0; }
.case__top { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 18px; color: var(--muted); font-size: 14px; font-weight: 900; }
.case__top a { color: var(--ink); }
.case h3 { max-width: 720px; margin-bottom: 14px; font-size: clamp(28px, 4vw, 56px); line-height: .98; letter-spacing: -.065em; }
.case p { max-width: 660px; color: var(--muted); font-size: 17px; line-height: 1.68; }
.case__list { display: grid; gap: 8px; max-width: 660px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: 14px; font-weight: 750; }
.case__list li { position: relative; padding-left: 20px; }
.case__list li::before { content: ""; position: absolute; top: .63em; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service { min-height: 250px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.32); transition: transform .22s ease, background .22s ease; }
.service:hover { transform: translateY(-4px); background: rgba(255,255,255,.52); }
.service span { display: inline-grid; width: 46px; height: 46px; place-items: center; margin-bottom: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 950; }
.service--accent { background: rgba(255,86,55,.12); }
.service--accent span { background: var(--accent); }
.service h3 { margin-bottom: 10px; font-size: 26px; letter-spacing: -.055em; }
.service p { color: var(--muted); line-height: 1.7; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.process__item { min-height: 270px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.32); }
.process__item span { color: var(--accent); font-size: 13px; font-weight: 950; letter-spacing: .14em; }
.process__item h3 { margin: 80px 0 10px; font-size: 24px; letter-spacing: -.05em; }
.process__item p { color: var(--muted); font-size: 15px; line-height: 1.65; }

.section--split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.faq { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.34); }
summary { cursor: pointer; padding: 20px; font-size: 18px; font-weight: 900; letter-spacing: -.035em; list-style: none; }
summary::-webkit-details-marker { display: none; }
details p { padding: 0 20px 20px; color: var(--muted); line-height: 1.7; }

.contact { padding: clamp(58px, 7vw, 92px) 24px 30px; }
.contact__box { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: end; padding: clamp(30px, 6vw, 66px); border-radius: var(--radius-xl); background: var(--ink); color: var(--paper); }
.contact__box h2 { color: var(--paper); }
.contact__box p:not(.kicker) { max-width: 620px; margin-top: 18px; color: rgba(255,250,240,.7); font-size: 18px; line-height: 1.75; }
.contact__links { display: grid; gap: 10px; }
.contact__links a { display: flex; gap: 16px; justify-content: space-between; padding: 18px; border: 1px solid var(--line-dark); border-radius: 18px; transition: .2s ease; }
.contact__links a:hover { transform: translateX(4px); background: rgba(255,250,240,.08); }
.contact__links span { color: rgba(255,250,240,.62); }
.contact__links strong { text-align: right; }

.footer { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; padding: 24px; color: var(--muted); font-size: 14px; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .hero__grid, .section__head, .case, .services, .contact__box, .section--split { grid-template-columns: 1fr; }
  .hero__content, .hero-card { min-height: auto; }
  .hero-card__top { margin-bottom: 90px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .case__content { padding: 4px; }
}

@media (max-width: 760px) {
  .page-shell { width: calc(100% - 14px); margin: 7px auto; border-radius: 26px; }
  .nav { grid-template-columns: 1fr auto; gap: 12px; padding: 12px; }
  .nav__toggle { display: block; }
  .nav__links { display: none; grid-column: 1 / -1; flex-direction: column; align-items: stretch; padding: 6px 0; }
  .nav__links a { padding: 13px; background: rgba(15,17,21,.04); }
  .nav__cta { display: none; }
  .nav.is-open .nav__links { display: flex; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .hero, .section, .contact { padding-right: 16px; padding-left: 16px; }
  .hero__title { font-size: clamp(38px, 12vw, 56px); letter-spacing: -.055em; }
  .button { width: 100%; }
  .trust-strip { overflow-x: auto; }
  .trust-strip span { flex: 0 0 auto; }
  .case { padding: 12px; }
  .case__visual { min-height: 230px; }
  .case__top { align-items: flex-start; flex-direction: column; }
  .services, .process { grid-template-columns: 1fr; }
  .process__item { min-height: auto; }
  .process__item h3 { margin-top: 44px; }
  .mockup--shop { grid-template-columns: repeat(2, 1fr); }
  .mockup--shop i { height: 70px; }
  .contact__links a { align-items: flex-start; flex-direction: column; }
  .contact__links strong { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
