:root {
  --bg: #f7f6f2;
  --soft: #eeece5;
  --ink: #141414;
  --muted: #66635d;
  --line: rgba(20, 20, 20, 0.1);
  --line-strong: rgba(20, 20, 20, 0.18);
  --accent: #ff4d3d;
  --accent-dark: #df3829;
  --green: #05875f;
  --card: #ffffff;
  --dark: #101113;
  --radius: 8px;
  --font-display: Outfit, Inter, Arial, sans-serif;
  --font-body: Inter, Arial, sans-serif;
  --shadow: 0 26px 80px rgba(20, 20, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(100% - 80px, 1300px);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 40px;
  background: rgba(247, 246, 242, 0.76);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand i {
  width: 7px;
  height: 7px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--accent);
}

.header-cta {
  justify-self: end;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}

.header-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-menu {
  position: fixed;
  inset: 74px 18px auto;
  z-index: 45;
  display: none;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.mobile-menu.open {
  display: grid;
}

.mobile-menu a {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--ink);
  color: var(--bg);
}

.button.primary:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 77, 61, 0.18);
}

.button.secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

p {
  margin-top: 0;
  color: var(--muted);
}

section[id] {
  scroll-margin-top: 110px;
}

.hero {
  padding: 180px 0 74px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(38px, 7vw, 96px);
  align-items: center;
}

.badge {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 24px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 77, 61, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  max-width: 720px;
  font-size: clamp(58px, 7.4vw, 110px);
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: 20px;
  font-weight: 600;
}

.hero-note {
  max-width: 600px;
  margin: 16px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 700px;
}

.hero-trust div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.hero-trust strong,
.hero-trust span {
  display: block;
}

.hero-trust strong {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.1;
}

.hero-trust span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.browser-bar span:nth-child(2) {
  background: #eebd4d;
}

.browser-bar span:nth-child(3) {
  background: #37b66a;
}

.browser-bar small {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-row div {
  min-height: 96px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.proof-row div:last-child {
  border-right: 0;
}

.proof-row b {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.7vw, 38px);
  line-height: 1;
}

.proof-row span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(72px, 9vw, 132px) 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.36fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 52px;
}

.section-num {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

h2 {
  font-size: clamp(40px, 5.3vw, 78px);
}

.section-head p {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -28px 0 28px;
}

.filter {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px) 32px;
}

.case-card {
  min-width: 0;
}

.case-card.hidden {
  display: none;
}

.case-card a {
  display: grid;
  gap: 22px;
}

.case-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  aspect-ratio: 1 / 0.84;
}

.case-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(20, 20, 20, 0.04)),
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.22), rgba(20, 20, 20, 0.05));
  pointer-events: none;
}

.case-media img,
.case-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1), opacity 260ms ease;
}

.case-media img {
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1);
  opacity: 1;
}

.case-media video {
  z-index: 2;
  opacity: 0;
  box-sizing: border-box;
  padding: 12px;
  object-fit: contain;
  background: rgba(247, 246, 242, 0.92);
  filter: drop-shadow(0 18px 34px rgba(20, 20, 20, 0.18));
}

.case-media::after {
  content: "Открыть кейс";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.has-video .case-media::after {
  content: "Наведи, чтобы посмотреть";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.has-video.is-playing .case-media video,
.has-video:focus-within .case-media video {
  opacity: 1;
}

.has-video.is-playing .case-media::after,
.has-video:focus-within .case-media::after {
  content: "Сейчас играет";
}

.has-video .case-media::before {
  z-index: 1;
}

.has-video .case-media::after {
  padding-left: 30px;
}

.has-video .case-media .play-dot,
.has-video .case-media::marker {
  display: none;
}

.has-video .case-media img + * {
  pointer-events: none;
}

.has-video .case-media::before {
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.02);
}

.case-card:hover .case-media video {
  transform: scale(1.018);
}

.case-card:hover .case-media img {
  transform: scale(1.12);
}

.case-info {
  display: grid;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.case-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-info h3 {
  font-size: clamp(30px, 3.5vw, 48px);
}

.case-info p {
  margin: 0;
  max-width: 620px;
  font-weight: 600;
}

.case-info ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.case-info li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.case-impact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.case-details {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.case-details span {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.42;
}

.case-details b {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-impact span {
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.case-impact b {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-open {
  justify-self: start;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 2px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.case-open::after {
  content: "->";
  margin-left: 8px;
  color: var(--accent);
}

.featured-case {
  grid-column: 1 / -1;
}

.featured-case a {
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.featured-case .case-media {
  aspect-ratio: 1.55 / 0.9;
}

.ai-agents {
  background: var(--soft);
}

.ai-stack {
  display: grid;
  gap: clamp(56px, 8vw, 104px);
}

.ai-showcase {
  min-width: 0;
}

.ai-showcase a {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.ai-showcase .case-media {
  aspect-ratio: 1.55 / 0.9;
}

.ai-showcase .case-media img {
  object-fit: contain;
  background: #eaf2f4;
}

.product-case a {
  grid-template-columns: minmax(380px, 1.05fr) minmax(0, 0.95fr);
}

.product-case .case-media {
  order: 2;
  border-color: rgba(19, 91, 75, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(232, 238, 234, 0.92)),
    #eef2ee;
}

.product-case .case-media img {
  object-fit: cover;
  object-position: left top;
  background: #eef2ee;
}

.product-case .case-info {
  order: 1;
}

.ai-showcase .case-info {
  padding: 24px 0;
}

.featured-case .case-info {
  padding: 24px 0 24px 0;
}

.featured-case .case-info h3 {
  font-size: clamp(44px, 5.6vw, 78px);
}

.philosophy {
  background: var(--soft);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(38px, 8vw, 110px);
  align-items: center;
}

.large-text {
  max-width: 760px;
  margin: 26px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.3vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 740px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.feature-row b {
  display: block;
  margin-bottom: 7px;
  font-weight: 900;
}

.feature-row span {
  color: var(--muted);
  font-weight: 600;
}

.side-image {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.side-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.service-grid,
.price-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}

.service-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article,
.process-grid li,
.price-card {
  min-height: 250px;
  padding: 32px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.service-grid article:last-child,
.process-grid li:last-child,
.price-card:last-child {
  border-right: 0;
}

.tile-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(247, 246, 242, 0.72);
  color: var(--ink);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-grid span,
.process-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

h3 {
  font-size: 24px;
}

.service-grid p,
.process-grid p {
  margin: 10px 0 0;
  font-weight: 600;
}

.visual-upgrade,
.process {
  background: var(--soft);
}

.scorecard {
  background: var(--dark);
  color: #fff;
}

.scorecard p {
  color: rgba(255, 255, 255, 0.66);
}

.scorecard .button.primary,
.contact .button.primary {
  background: #fff;
  color: var(--ink);
}

.scorecard .button.primary:hover,
.contact .button.primary:hover {
  background: var(--accent);
  color: #fff;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-grid article {
  min-height: 292px;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.metric-grid article:last-child {
  border-right: 0;
}

.metric-grid small {
  display: block;
  margin-bottom: 46px;
  color: var(--accent);
  font-weight: 900;
}

.metric-grid h3 {
  margin-bottom: 12px;
  color: #fff;
}

.metric-grid p {
  margin-bottom: 18px;
  font-weight: 600;
}

.metric-grid b {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.45;
}

.audit-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.audit-strip p {
  margin: 0;
  max-width: 880px;
  font-weight: 700;
}

.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  min-height: auto;
  background: var(--card);
}

.price-card.featured {
  background: var(--ink);
  color: #fff;
}

.price-card p:first-child {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card.featured p:first-child {
  color: #d7ff4f;
}

.price-card strong {
  display: block;
  margin: 26px 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
}

.price-card ul {
  display: grid;
  gap: 12px;
  min-height: 168px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 700;
}

.price-card.featured li {
  color: rgba(255, 255, 255, 0.76);
}

.price-card li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.process-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.conversion-bridge {
  background: var(--soft);
}

.bridge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.bridge-grid .large-text {
  margin-bottom: 30px;
}

.faq-list {
  display: grid;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.faq-list details {
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-list p {
  margin: 12px 0 0;
  font-weight: 650;
}

.contact {
  border-bottom: 0;
  background: var(--dark);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.72fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: start;
}

.contact h2 {
  max-width: 740px;
}

.contact p {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.quick-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px;
  padding: 0;
  border: 0;
}

.quick-choice legend {
  width: 100%;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-choice label {
  display: inline-flex;
  cursor: pointer;
  text-transform: none;
}

.quick-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lead-form .quick-choice input {
  width: 1px;
  height: 1px;
}

.quick-choice span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
}

.quick-choice input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-form .quick-choice label {
  display: inline-flex;
  gap: 0;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  outline: 0;
}

.lead-form input {
  height: 48px;
  padding: 0 14px;
}

.lead-form textarea {
  min-height: 128px;
  padding: 14px;
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .container {
    width: min(100% - 36px, 1300px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 16px 18px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 124px;
  }

  .hero-grid,
  .philosophy-grid,
  .contact-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .proof-row,
  .service-grid,
  .service-grid.three,
  .metric-grid,
  .price-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .featured-case a {
    grid-template-columns: 1fr;
  }

  .ai-showcase a {
    grid-template-columns: 1fr;
  }

  .product-case .case-media,
  .product-case .case-info {
    order: initial;
  }

  .featured-case .case-media {
    aspect-ratio: 1 / 0.78;
  }

  .ai-showcase .case-media {
    aspect-ratio: 1 / 0.78;
  }

  .bridge-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article:nth-child(2),
  .metric-grid article:nth-child(2),
  .process-grid li:nth-child(2),
  .price-card:nth-child(2) {
    border-right: 0;
  }

  .service-grid article:nth-child(-n + 2),
  .metric-grid article:nth-child(-n + 2),
  .process-grid li:nth-child(-n + 2),
  .price-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .metric-grid article:nth-child(-n + 2) {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .audit-strip {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, 1300px);
  }

  h1 {
    font-size: clamp(46px, 15vw, 70px);
  }

  h2 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .hero-actions,
  .lead-form .button {
    display: grid;
    width: 100%;
  }

  .hero-trust {
    gap: 8px;
  }

  .proof-row,
  .service-grid,
  .service-grid.three,
  .metric-grid,
  .price-grid,
  .process-grid,
  .feature-row,
  .hero-trust,
  .case-impact {
    grid-template-columns: 1fr;
  }

  .proof-row div,
  .service-grid article,
  .metric-grid article,
  .process-grid li,
  .price-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-grid article {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .proof-row div:last-child,
  .service-grid article:last-child,
  .metric-grid article:last-child,
  .process-grid li:last-child,
  .price-card:last-child {
    border-bottom: 0;
  }

  .hero-trust div,
  .metric-grid article {
    min-height: auto;
  }

  .metric-grid small {
    margin-bottom: 28px;
  }

  .case-media {
    aspect-ratio: 1 / 0.92;
  }

  .featured-case .case-media {
    aspect-ratio: 1 / 0.95;
  }

  .ai-showcase .case-media {
    aspect-ratio: 1 / 0.95;
  }

  .case-media video {
    padding: 8px;
  }

  .footer-grid {
    display: grid;
  }
}

.text-coral {
  color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 176px 0 88px;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.92) 0 12%, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 84% 38%, rgba(255, 77, 61, 0.08), rgba(255, 77, 61, 0) 34%),
    linear-gradient(180deg, rgba(247, 246, 242, 0.98), rgba(247, 246, 242, 0.9));
}

.hero::before {
  content: "";
  position: absolute;
  top: 116px;
  right: -120px;
  width: min(720px, 52vw);
  height: min(720px, 52vw);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(58px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 5vw;
  bottom: 88px;
  width: min(420px, 34vw);
  height: min(180px, 15vw);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.075);
  filter: blur(48px);
  pointer-events: none;
}

.hero-grid,
.proof-row {
  position: relative;
  z-index: 1;
}

.hero-grid {
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(48px, 8vw, 120px);
}

.hero-copy {
  padding-top: 6px;
}

.badge {
  padding: 7px 15px;
  background: rgba(255, 77, 61, 0.07);
  font-size: 11px;
  letter-spacing: 0.03em;
}

h1 {
  max-width: 760px;
  font-size: clamp(58px, 6.8vw, 104px);
}

.hero-lead {
  max-width: 620px;
  color: rgba(20, 20, 20, 0.58);
  font-size: 19px;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  transform: translateY(10px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -38px -42px -54px -34px;
  z-index: -2;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.12)),
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 42%);
  filter: blur(10px);
}

.hero-visual::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 6%;
  bottom: -46px;
  z-index: -3;
  height: 90px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.14);
  filter: blur(36px);
}

.browser-frame {
  border-color: rgba(20, 20, 20, 0.075);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 34px 90px rgba(20, 20, 20, 0.11),
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
  backdrop-filter: blur(12px);
}

.browser-bar {
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.66);
  border-bottom-color: rgba(20, 20, 20, 0.06);
}

.browser-bar span {
  width: 8px;
  height: 8px;
}

.browser-bar small {
  color: rgba(20, 20, 20, 0.36);
  font-size: 11px;
  font-weight: 600;
}

.hero-visual img {
  aspect-ratio: 1.24 / 0.84;
  object-position: center;
  filter: saturate(0.96) contrast(0.98);
}

.proof-row {
  margin-top: 92px;
  background: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
}

@media (max-width: 1080px) {
  .hero {
    padding-top: 126px;
  }

  .hero-visual {
    transform: none;
  }

  .hero::before,
  .hero::after {
    opacity: 0.7;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-bottom: 58px;
  }

  .hero-visual::before {
    inset: -18px -16px -28px;
  }

  .hero-visual::after {
    bottom: -24px;
    height: 54px;
  }

  .hero-visual img {
    aspect-ratio: 1.08 / 0.92;
  }

  .proof-row {
    margin-top: 58px;
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy,
  .hero-visual {
    min-width: 0;
  }

  .hero-visual {
    width: min(100%, 720px);
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .hero-grid {
    gap: 34px;
  }

  .hero-visual {
    width: 100%;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 168px 0 118px;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.98) 0 10%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 77% 42%, rgba(255, 90, 54, 0.09), rgba(255, 90, 54, 0) 34%),
    linear-gradient(180deg, #f8f7f3 0%, #f7f6f2 74%, #f1efe8 100%);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(64px, 9vw, 132px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  padding-top: 0;
}

.badge {
  margin-bottom: 26px;
  padding: 7px 16px;
  color: var(--accent);
  background: rgba(255, 90, 54, 0.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.badge span {
  width: 6px;
  height: 6px;
}

h1 {
  max-width: 850px;
  font-size: clamp(64px, 7vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.052em;
  font-weight: 800;
}

.hero-lead {
  max-width: 680px;
  margin-top: 28px;
  color: rgba(20, 20, 20, 0.58);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.62;
}

.hero-actions {
  margin-top: 36px;
}

.hero-visual {
  transform: translateY(0);
  justify-self: end;
  width: min(100%, 610px);
}

.hero-visual::before {
  inset: -74px -88px -92px -72px;
  border-radius: 48px;
  background:
    radial-gradient(circle at 54% 36%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 48%),
    radial-gradient(circle at 70% 44%, rgba(255, 90, 54, 0.12), rgba(255, 90, 54, 0) 43%);
  filter: blur(24px);
}

.hero-visual::after {
  left: 6%;
  right: 4%;
  bottom: -58px;
  height: 112px;
  background: rgba(20, 20, 20, 0.12);
  filter: blur(46px);
}

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.055);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 44px 110px rgba(20, 20, 20, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.browser-bar {
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(20, 20, 20, 0.055);
}

.browser-bar small {
  color: rgba(20, 20, 20, 0.32);
  font-weight: 600;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.32 / 0.88;
  object-fit: cover;
  filter: saturate(0.96) contrast(0.98) brightness(1.02);
}

.proof-row {
  display: none;
}

.portfolio {
  padding-top: clamp(88px, 10vw, 148px);
}

@media (max-width: 1080px) {
  .hero {
    min-height: auto;
    padding: 128px 0 86px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-visual {
    justify-self: stretch;
    width: min(100%, 760px);
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 102px 0 44px;
  }

  h1 {
    font-size: clamp(42px, 12.8vw, 62px);
    line-height: 1;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.48;
  }

  .hero-note {
    font-size: 14px;
  }

  .hero-trust div {
    min-height: auto;
    padding: 13px;
  }

  .hero-trust strong {
    font-size: 16px;
  }

  .hero-visual {
    display: none;
  }

  .hero-visual::before {
    inset: -30px -24px -42px;
  }

  .hero-visual::after {
    bottom: -26px;
    height: 58px;
  }

  .hero-visual img {
    aspect-ratio: 1.08 / 0.92;
  }
}
