:root {
  color-scheme: dark;
  --bg: #0a0612;
  --bg-2: #12051f;
  --panel: rgba(255, 255, 255, .07);
  --panel-strong: rgba(255, 255, 255, .12);
  --text: #f7f2ff;
  --muted: #b9a9ce;
  --line: rgba(255, 255, 255, .14);
  --purple: #8b5cf6;
  --purple-2: #c026d3;
  --cyan: #22d3ee;
  --ink: #170c25;
  --light: #f5f2fa;
  --light-text: #171020;
  --light-muted: #5e526d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: hidden; }
body {
  margin: 0;
  padding-top: 86px;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 86px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 5, 18, .82);
  backdrop-filter: blur(18px);
}
.site-header.is-scrolled { box-shadow: 0 18px 50px rgba(0, 0, 0, .32); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 0 28px rgba(139, 92, 246, .24);
}
.brand-mark-text {
  color: #08040f;
  font-family: Inter, "Arial Black", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}
.brand-mark img {
  width: 82%;
  height: 82%;
  display: block;
  object-fit: contain;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
}
.main-nav a:hover { color: var(--text); }
.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}
.header-cta {
  border: 1px solid rgba(255,255,255,.36);
}
.button.primary {
  border: 0;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 18px 45px rgba(139, 92, 246, .32);
}
.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
}
.menu-button { display: none; }
.scroll-top {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 40;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 18px 48px rgba(0, 0, 0, .38);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.scroll-top:hover,
.scroll-top:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.section-dark {
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 12%, rgba(139, 92, 246, .34), transparent 28%),
    radial-gradient(circle at 12% 70%, rgba(34, 211, 238, .13), transparent 24%),
    var(--bg);
  background-size: 58px 58px, 58px 58px, auto, auto, auto;
}
.section-light {
  background: var(--light);
  color: var(--light-text);
}
.hero {
  min-height: calc(100vh - 86px);
  padding: clamp(22px, 3vw, 44px) clamp(18px, 4vw, 56px) 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .82fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .12em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: .98;
  letter-spacing: 0;
}
mark {
  display: inline-block;
  padding: 0 .14em .06em;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero-lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.52;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
  margin: 0;
}
.metrics div, .service-card, .timeline article, .lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.metrics div { padding: 18px; }
.metrics dt { font-size: 29px; font-weight: 900; }
.metrics dd { margin: 6px 0 0; color: var(--muted); }
.hero-side {
  display: grid;
  gap: 18px;
}
.hero-art {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #10071b;
  box-shadow: 0 28px 90px rgba(0,0,0,.48);
}
.hero-art img {
  width: 100%;
  min-height: clamp(280px, 30vw, 380px);
  object-fit: cover;
}
.hero-image-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 58px;
  margin-top: 0;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, #22d3ee, var(--purple), var(--purple-2));
  font-size: 18px;
  font-weight: 900;
  border: 0;
  box-shadow: 0 18px 45px rgba(139, 92, 246, .34);
}
.hero-image-cta:hover,
.hero-image-cta:focus-visible {
  filter: brightness(1.08);
  outline: none;
}
.service-strip {
  margin: clamp(34px, 5vw, 58px) calc(clamp(18px, 4vw, 56px) * -1) 0;
  padding: 21px clamp(18px, 4vw, 56px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: rgba(255,255,255,.72);
  font-size: clamp(20px, 3vw, 42px);
  font-weight: 900;
  white-space: nowrap;
}
.service-strip-track {
  display: flex;
  width: max-content;
  gap: 38px;
  animation: serviceTicker 26s linear infinite;
  will-change: transform;
}
.service-strip span { min-width: max-content; }
@keyframes serviceTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

section:not(.hero) {
  padding: clamp(70px, 8vw, 118px) clamp(18px, 4vw, 56px);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(180px, .45fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto 40px;
}
.section-head h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}
.intro-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  max-width: 1240px;
  margin: 0 auto;
}
.intro-layout p {
  color: var(--light-muted);
  font-size: 21px;
  line-height: 1.55;
}
.pill-grid, .stack-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pill-grid span, .stack-grid span {
  border: 1px solid rgba(23,16,32,.12);
  border-radius: 8px;
  padding: 14px 18px;
  background: white;
  color: var(--light-text);
  font-weight: 800;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}
.region-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(23,16,32,.12);
  border-radius: 8px;
  background: white;
}
.region-grid h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.08;
}
.region-grid p {
  color: var(--light-muted);
  line-height: 1.62;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}
.services-grid .service-card:last-child {
  grid-column: 2;
}
.service-card {
  min-height: 236px;
  padding: 24px;
  display: block;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(192, 38, 211, .58);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
  outline: none;
}
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: white;
  background: rgba(139, 92, 246, .2);
  border: 1px solid rgba(139, 92, 246, .45);
  font-weight: 900;
}
.service-card h3, .timeline h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.service-card p, .timeline p, .case-card span, .contact-copy p, .contact-copy li {
  color: var(--muted);
  line-height: 1.62;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}
.timeline article {
  background: white;
  border-color: rgba(23,16,32,.1);
  padding: 24px;
}
.timeline span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 42px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 900;
}
.timeline p { color: var(--light-muted); }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}
.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.case-card div { padding: 22px; }
.case-card p {
  margin-bottom: 10px;
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .1em;
}
.case-card h3 { font-size: 28px; margin-bottom: 10px; }
.section-more {
  max-width: 1240px;
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
}
.page-hero {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 4vw, 56px);
}
.page-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  min-width: 0;
}
.page-hero h1 {
  max-width: 980px;
}
.page-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}
.detail-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(23,16,32,.12);
  border-radius: 8px;
  background: white;
}
.detail-card h2,
.detail-card h3 {
  margin-bottom: 14px;
  font-size: 26px;
  line-height: 1.08;
}
.detail-card p,
.detail-card li {
  color: var(--light-muted);
  line-height: 1.62;
}
.detail-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}
.seo-service {
  display: grid;
  gap: 26px;
  max-width: 1240px;
  margin: 0 auto;
}
.seo-service-intro {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: start;
}
.seo-service-intro h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}
.seo-service-intro p,
.seo-service-card p,
.seo-service-card li {
  color: var(--light-muted);
  line-height: 1.66;
}
.seo-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.seo-service-card {
  padding: 24px;
  border: 1px solid rgba(23,16,32,.12);
  border-radius: 8px;
  background: white;
}
.seo-service-card h3 {
  margin-bottom: 14px;
  font-size: 25px;
  line-height: 1.08;
}
.seo-service-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}
.seo-article {
  display: grid;
  gap: 22px;
  max-width: 960px;
  padding: 30px;
  border: 1px solid rgba(23,16,32,.12);
  border-radius: 8px;
  background: white;
}
.seo-article h2,
.seo-article h3 {
  margin: 0;
  line-height: 1.08;
}
.seo-article h2 {
  font-size: clamp(30px, 3.4vw, 46px);
}
.seo-article h3 {
  font-size: clamp(24px, 2.2vw, 31px);
}
.seo-article p,
.seo-article li {
  color: var(--light-muted);
  font-size: 17px;
  line-height: 1.75;
}
.seo-article ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}
.seo-article-note {
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: rgba(137, 70, 255, .08);
}
.logo-variants {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}
.logo-variant {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(23,16,32,.12);
  border-radius: 8px;
  background: white;
}
.logo-sample {
  display: inline-grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 12px;
  color: #08040f;
  background: #fff;
  box-shadow: 0 16px 40px rgba(23,16,32,.16);
  font-size: 35px;
  line-height: 1;
}
.logo-sample-1 { font-family: Inter, "Arial Black", sans-serif; font-weight: 950; }
.logo-sample-2 { font-family: "Arial Black", Impact, sans-serif; font-weight: 900; }
.logo-sample-3 { font-family: "Trebuchet MS", Inter, sans-serif; font-weight: 900; }
.logo-sample-4 { font-family: Georgia, "Times New Roman", serif; font-weight: 900; }
.logo-variant h3 { margin: 0; font-size: 23px; }
.logo-variant p { color: var(--light-muted); line-height: 1.62; }
.case-detail-grid {
  display: grid;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.case-detail {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.case-detail img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.case-detail-body {
  display: grid;
  gap: 18px;
  align-content: center;
  padding: clamp(22px, 3vw, 36px);
}
.case-detail-body h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}
.case-detail-body p,
.case-detail-body li {
  color: var(--muted);
  line-height: 1.62;
}
.case-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
}
.case-news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, .72fr);
  height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.case-news-card:hover,
.case-news-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(192, 38, 211, .58);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .34);
  outline: none;
}
.case-news-copy {
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 24px;
  min-width: 0;
}
.case-news-copy h3 {
  margin: 0;
  font-size: clamp(25px, 2.6vw, 38px);
  line-height: 1;
}
.case-news-copy > p:not(.project-tag) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.case-news-card > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  object-fit: cover;
  object-position: top center;
  background: rgba(5, 3, 9, .72);
}
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.case-meta span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 28px auto 0;
}
.project-card {
  display: block;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(192, 38, 211, .58);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .34);
  outline: none;
}
.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  object-fit: cover;
}
.project-body {
  padding: 18px;
}
.project-tag {
  margin-bottom: 12px;
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .1em;
}
.project-card h3 {
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.04;
}
.project-details {
  display: none;
}
.modal-content p:not(.project-tag) {
  color: var(--muted);
  line-height: 1.62;
}
.modal-content ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}
.detail-gallery {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.detail-gallery img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050309;
}
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 34px);
}
.project-modal.is-open {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 2, 8, .78);
  backdrop-filter: blur(16px);
}
.modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr);
  width: min(1180px, 100%);
  max-height: min(86vh, 900px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #10071b;
  box-shadow: 0 34px 120px rgba(0, 0, 0, .62);
}
.modal-media {
  min-height: 420px;
  max-height: min(86vh, 900px);
  overflow: auto;
  background: #050309;
}
.modal-panel img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: initial;
  background: #050309;
}
.modal-content {
  align-self: center;
  max-height: min(86vh, 900px);
  overflow: auto;
  padding: clamp(22px, 3vw, 38px);
}
.modal-content h3 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(0,0,0,.48);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
body.modal-lock {
  overflow: hidden;
}
.stack-grid {
  max-width: 1240px;
  margin: 0 auto;
}
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: start;
}
.contact-channels {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
}
.contact-channel-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.contact-channel {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  display: grid;
  gap: 14px;
  align-content: start;
}
.contact-channel-label {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-channel-handle {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
}
.contact-email {
  display: inline-block;
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 0 28px rgba(34, 211, 238, .55), 0 0 48px rgba(139, 92, 246, .35);
  background: linear-gradient(120deg, #f7f2ff 0%, #22d3ee 45%, #c026d3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-email:hover {
  filter: brightness(1.12);
}
.contact-email--inline {
  font-size: inherit;
  font-weight: 800;
}
.contact-hours {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.contact-page .contact-channels {
  padding-bottom: 24px;
}
.contact-copy h2 {
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1;
  margin-bottom: 22px;
}
.contact-copy ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding-left: 20px;
}
.contact-direct {
  display: grid;
  gap: 12px;
  max-width: 460px;
  margin-top: 28px;
  color: var(--muted);
}
.contact-direct .button {
  width: fit-content;
}
.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 34px);
}
.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--text);
  background: rgba(255,255,255,.06);
  font: inherit;
}
select option {
  color: #171020;
  background: #ffffff;
}
textarea { resize: vertical; }
.consent {
  grid-template-columns: 18px 1fr;
  align-items: center;
}
.consent input { width: 18px; height: 18px; }
button:disabled {
  cursor: not-allowed;
  opacity: .5;
  box-shadow: none;
}
.form-status { margin: 0; color: var(--cyan); min-height: 24px; }
.footer {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(280px, 1.2fr);
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #07040c;
}
.footer div {
  display: grid;
  gap: 8px;
}
.footer-brand {
  color: var(--text);
  font-weight: 900;
  font-size: 20px;
}
.footer-legal {
  justify-items: end;
  text-align: right;
  font-size: 14px;
  line-height: 1.45;
}
.footer-legal a {
  color: var(--cyan);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto; }
  .menu-button {
    display: inline-grid;
    gap: 5px;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
  }
  .menu-button span { height: 2px; background: var(--text); }
  .main-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0 4px;
  }
  .main-nav.is-open { display: flex; }
  .header-cta { display: none; }
  .hero-grid, .intro-layout, .contact { grid-template-columns: 1fr; }
  .metrics {
    grid-column: auto;
    grid-row: auto;
  }
  .hero-art img { min-height: 320px; }
  .section-head { grid-template-columns: 1fr; }
  .services-grid, .case-grid, .project-grid, .detail-grid, .case-news-grid, .seo-service-grid, .logo-variants { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid .service-card:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 18px) / 2);
    justify-self: center;
  }
  .seo-service-intro { grid-template-columns: 1fr; }
  .case-news-card { grid-template-columns: 1fr; }
  .case-news-card > img {
    order: -1;
    aspect-ratio: 16 / 11;
    min-height: 0;
    height: auto;
  }
  .case-detail { grid-template-columns: 1fr; }
  .modal-panel { grid-template-columns: 1fr; overflow: auto; }
  .modal-media { min-height: 0; max-height: 58vh; }
  .modal-content { max-height: none; }
  .timeline, .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hero { min-height: auto; }
  .page-hero,
  section:not(.hero) {
    max-width: 100vw;
    overflow-x: hidden;
  }
  .page-lead {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .page-hero-inner,
  .case-news-grid {
    width: 100%;
    max-width: 352px;
    margin-left: 0;
    margin-right: 0;
  }
  h1 {
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.06;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  mark { display: inline; }
  .page-hero h1 {
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.08;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .metrics, .services-grid, .timeline, .case-grid, .project-grid, .region-grid, .detail-grid, .case-news-grid, .seo-service-grid, .logo-variants { grid-template-columns: 1fr; }
  .services-grid .service-card:last-child {
    grid-column: auto;
    width: 100%;
  }
  .seo-article { padding: 22px; }
  .case-news-card {
    height: auto;
    min-height: 0;
  }
  .case-news-copy { padding: 18px; }
  .case-news-card > img { width: 100%; max-width: 100%; }
  .hero-actions .button { width: 100%; }
  .service-strip { font-size: 22px; }
  .footer {
    grid-template-columns: 1fr;
  }
  .footer-legal {
    justify-items: start;
    text-align: left;
  }
  .contact-direct .button {
    width: 100%;
  }
}
