:root {
  color-scheme: dark;
  --bg: #030509;
  --bg-soft: #050a12;
  --surface: #080d15;
  --surface-2: #0d1420;
  --text: #f6f8fb;
  --muted: #aab5c5;
  --muted-2: #748195;
  --magenta: #ef0b96;
  --magenta-dark: #a900b8;
  --blue: #2487ff;
  --blue-deep: #154eb8;
  --green: #45e37c;
  --line: rgba(129, 160, 202, 0.24);
  --line-strong: rgba(116, 151, 199, 0.42);
  --gradient: linear-gradient(110deg, #f00b92 0%, #a627ce 48%, #278cff 100%);
  --gradient-soft: linear-gradient(110deg, rgba(29, 91, 202, .82), rgba(117, 25, 155, .8) 56%, rgba(228, 8, 146, .83));
  --font: "Segoe UI Variable", "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 1280px;
  --header-h: 88px;
  --section-y: clamp(5rem, 9vw, 9rem);
  --shadow: 0 24px 70px rgba(0, 0, 0, .36);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--magenta) #08090d;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }

.skip-link {
  position: fixed;
  z-index: 200;
  left: 1rem;
  top: 1rem;
  padding: .75rem 1rem;
  transform: translateY(-150%);
  background: var(--text);
  color: #000;
  border-radius: 999px;
}

.skip-link:focus { transform: none; }

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 6vw, 6rem); }
.section--surface { background: var(--surface); }
.section--midnight { background: linear-gradient(180deg, #050b14, #030509); }

.eyebrow,
.technical-tag {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .5rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--gradient) border-box;
  color: var(--text);
  font-size: .98rem;
  font-weight: 500;
  letter-spacing: .01em;
}

.section-title {
  margin-bottom: 1.2rem;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1.04;
  font-weight: 430;
  letter-spacing: -.04em;
}

.section-title--medium { font-size: clamp(2.2rem, 4vw, 3.9rem); }
.section-title--small { font-size: clamp(2rem, 3vw, 3rem); }

.section-copy {
  max-width: 750px;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.accent-text {
  color: transparent;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 56px;
  padding: .85rem 1.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .98rem;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: .005em;
  cursor: pointer;
  transition: transform .22s ease, filter .22s ease, border-color .22s ease, background-color .22s ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:focus-visible,
.nav-toggle:focus-visible,
.filter-button:focus-visible,
.gallery-item:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(36, 135, 255, .85);
  outline-offset: 4px;
}

.button--primary {
  color: white;
  background: var(--gradient);
  box-shadow: 0 14px 42px rgba(198, 16, 180, .24);
}

.button--primary:hover { filter: brightness(1.12); }

.button--secondary {
  border-color: transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--gradient) border-box;
}

.button--secondary:hover { background: rgba(36, 135, 255, .09); border-color: rgba(36, 135, 255, .6); }

.button__arrow {
  width: 20px;
  height: 20px;
  transition: transform .22s ease;
}

.button:hover .button__arrow { transform: translateX(3px); }

.tech-rule {
  position: relative;
  height: 18px;
  margin-block: 2rem;
  border-top: 1px solid var(--line-strong);
  background-image: repeating-linear-gradient(90deg, transparent 0 16px, rgba(128, 160, 202, .28) 16px 17px);
  background-size: 100% 7px;
  background-repeat: no-repeat;
}

.tech-rule::before,
.tech-rule::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--magenta);
  border-radius: 50%;
}

.tech-rule::before { left: 0; }
.tech-rule::after { right: 0; border-color: var(--blue); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-h);
  border-bottom: 1px solid rgba(116, 151, 199, .17);
  background: rgba(2, 3, 6, .92);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img { width: 218px; height: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.7vw, 2.65rem); }

.site-nav a {
  position: relative;
  padding-block: 1.9rem;
  color: #f4f6fa;
  font-size: .98rem;
  font-weight: 520;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 1rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gradient);
  transition: transform .24s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current="page"] { color: #ff38b3; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 1px;
  margin-inline: auto;
  background: white;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #02050a;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 23%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.45) 16%, #000 43%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.45) 16%, #000 43%, #000 100%);
}

.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }

.hero__inner { padding-block: clamp(5.4rem, 9vw, 8.5rem); }

.hero__content { max-width: 820px; }

.hero h1 {
  max-width: 800px;
  margin: 1.65rem 0 1.2rem;
  font-size: clamp(3.25rem, 6.4vw, 6.2rem);
  font-weight: 460;
  line-height: .98;
  letter-spacing: -.055em;
}

.hero__proof {
  margin-bottom: 2rem;
  color: #e5eaf2;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 550;
}

.hero__ruler { width: min(760px, 75vw); margin-top: 4.7rem; }

.hero-next {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  min-height: 110px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: rgba(3, 5, 9, .82);
}

.hero-next__inner {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
  font-size: clamp(1.4rem, 2.6vw, 2.25rem);
  font-weight: 350;
}

.hero-next__inner strong { font-weight: 660; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, .95fr);
  align-items: stretch;
  gap: clamp(3rem, 6vw, 6.5rem);
}

.about-content { align-self: center; }

.check-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.4rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2.3rem;
  color: #e8ecf3;
  font-size: 1.03rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: .22rem;
  left: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--gradient);
}

.check-list li::after {
  content: "";
  position: absolute;
  top: .55rem;
  left: .4rem;
  width: .52rem;
  height: .28rem;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

.button-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.media-frame__note {
  position: absolute;
  inset: auto 1.2rem 1.2rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--magenta);
  background: rgba(2, 5, 10, .89);
  color: #eff3f9;
  font-size: .95rem;
  backdrop-filter: blur(12px);
}

.services-header { text-align: center; margin-bottom: 3.5rem; }

.service-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}

.service-panel {
  position: relative;
  min-height: 410px;
  padding: clamp(2rem, 4vw, 3.6rem);
  clip-path: polygon(22px 0, calc(100% - 26px) 0, 100% 26px, 100% calc(100% - 26px), calc(100% - 26px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
  background: var(--gradient);
}

.service-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  clip-path: inherit;
  background: #050912;
}

.service-panel--filled::before { background: linear-gradient(135deg, #2a1241 0%, #12174f 54%, #07347c); }

.service-panel h3 {
  margin-bottom: 2rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 480;
}

.service-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }

.service-list li {
  position: relative;
  padding: 1.05rem 0 1.05rem 2.25rem;
  border-top: 1px solid rgba(143, 168, 203, .22);
  color: #e4eaf2;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(239, 11, 150, .1);
}

.process-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(36, 135, 255, .11), transparent 30rem),
    linear-gradient(180deg, #030509, #060b13);
}

.process-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .72fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.process-header .technical-tag { margin-bottom: 1.5rem; }
.process-header .section-title, .process-header .section-copy { margin-bottom: 0; }

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

.process-step {
  position: relative;
  min-height: 310px;
  padding: 2.2rem clamp(1.2rem, 2.5vw, 2.2rem) 2rem;
}

.process-step + .process-step { border-left: 1px solid var(--line); }
.process-step::before { content: ""; position: absolute; inset: -1px auto auto 0; width: 42%; height: 2px; background: var(--gradient); }
.process-step__number { display: block; margin-bottom: 3rem; color: transparent; background: var(--gradient); background-clip: text; -webkit-background-clip: text; font-size: 1.1rem; font-weight: 760; letter-spacing: .12em; }
.process-step h3 { min-height: 2.4em; margin-bottom: 1rem; font-size: clamp(1.35rem, 2vw, 1.85rem); font-weight: 540; line-height: 1.18; }
.process-step p { margin: 0; color: var(--muted); font-size: .98rem; }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 2rem 0 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.proof-strip li { position: relative; padding: 1.15rem 1.2rem 1.15rem 3.2rem; background: #050a12; color: #e5ebf4; }
.proof-strip li::before { content: ""; position: absolute; left: 1.2rem; top: 50%; width: .75rem; height: .4rem; border-left: 2px solid var(--magenta); border-bottom: 2px solid var(--blue); transform: translateY(-65%) rotate(-45deg); }

.quality {
  overflow: hidden;
  text-align: center;
  background: radial-gradient(circle at 50% 120%, rgba(24, 89, 186, .16), transparent 44%), #03060b;
}

.quality .section-title { max-width: 820px; margin-inline: auto; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3.7rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.metric {
  position: relative;
  padding: 2.75rem 1.5rem;
  text-align: left;
}

.metric + .metric { border-left: 1px solid var(--line); }

.metric__value {
  display: block;
  margin-bottom: .25rem;
  color: transparent;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
  line-height: 1;
  font-weight: 480;
  letter-spacing: -.05em;
}

.metric__label { color: #e3e9f1; font-size: 1rem; }

.gallery-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.gallery-preview {
  display: grid;
  grid-template-columns: .9fr 1.45fr .9fr;
  grid-template-rows: 340px 150px;
  gap: 1rem;
}

.gallery-preview figure { margin: 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); }
.gallery-preview figure:nth-child(1) { grid-row: 1 / 3; }
.gallery-preview figure:nth-child(2) { grid-row: 1 / 3; }
.gallery-preview figure:nth-child(3) { grid-row: 1 / 3; }
.gallery-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-preview figure:hover img { transform: scale(1.035); }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(3rem, 6vw, 6.5rem);
}

.faq-media { min-height: 590px; }

.faq-list { display: grid; gap: .8rem; }
.faq-list details { border-bottom: 1px solid transparent; }

.faq-list summary {
  position: relative;
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 1rem 4rem 1rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--gradient) border-box;
  font-size: 1.02rem;
  font-weight: 560;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 1.45rem;
  width: 15px;
  height: 1.5px;
  background: white;
  transition: transform .22s ease;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary { background: var(--gradient); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { margin: 0; padding: 1.05rem 1.5rem 1.25rem; color: var(--muted); }

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.4rem, 6vw, 5.5rem);
  background: linear-gradient(110deg, #09245e 0%, #331069 54%, #c9007c 120%);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: auto 4vw 1rem 4vw;
  height: 12px;
  border-top: 1px solid rgba(156, 191, 238, .4);
  background: repeating-linear-gradient(90deg, transparent 0 23px, rgba(213, 230, 253, .35) 23px 24px);
  background-size: 100% 7px;
  background-repeat: no-repeat;
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 3rem;
}

.cta-band h2 { margin-bottom: .7rem; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.05; font-weight: 470; }
.cta-band p { max-width: 760px; margin-bottom: 0; color: #e4e9f2; }

.site-footer { padding: 4.7rem 0 1.8rem; background: #010204; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .8fr .9fr; gap: 4rem; }
.footer-brand img { width: 210px; margin-bottom: 1.5rem; }
.footer-brand p { max-width: 390px; color: var(--muted); }
.footer-column h2 { margin-bottom: 1rem; font-size: 1.1rem; font-weight: 650; }
.footer-links { display: grid; gap: .45rem; color: #dce3ed; }
.footer-links a:hover { color: #ff39b4; }
.footer-contact a { display: block; color: #46a4ff; }
.footer-contact a:first-of-type { color: #ff38b3; }
.footer-legal { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }
.footer-bottom { margin-top: 3.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); text-align: center; color: var(--muted-2); font-size: .9rem; }

/* Interior pages */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  display: grid;
  align-items: center;
  background: #03070d;
}

.page-hero__media { position: absolute; inset: 0 0 0 47%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 36%); mask-image: linear-gradient(90deg, transparent, #000 36%); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__content { position: relative; z-index: 1; max-width: 780px; padding-block: 7rem; }
.page-hero h1 { margin: 1.4rem 0 1rem; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .98; font-weight: 450; letter-spacing: -.05em; }
.page-hero p { max-width: 720px; margin-bottom: 2rem; color: #d7dfea; font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 520; }

.numbered-services { display: grid; }
.numbered-service { display: grid; grid-template-columns: 90px minmax(240px, .62fr) minmax(0, 1fr); gap: 2rem; padding-block: 2rem; border-top: 1px solid var(--line); align-items: start; }
.numbered-service:last-child { border-bottom: 1px solid var(--line); }
.numbered-service__index { color: transparent; background: var(--gradient); background-clip: text; -webkit-background-clip: text; font-size: 1.2rem; font-weight: 700; }
.numbered-service h3 { margin-bottom: .5rem; font-size: clamp(1.45rem, 2.3vw, 2.15rem); font-weight: 530; }
.numbered-service p { margin: 0; color: var(--muted); }

.quality-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.quality-grid .media-frame { min-height: 570px; }

.region-strip {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.region-strip h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.3rem); font-weight: 470; }
.region-strip p { margin: 0; color: var(--muted); }

/* Contact */
.contact-hero { min-height: 500px; text-align: center; background: radial-gradient(circle at 50% 120%, rgba(50, 90, 195, .22), transparent 50%), #03060b; }
.contact-hero .page-hero__content { max-width: 900px; margin-inline: auto; }
.contact-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.5rem; }
.contact-action { position: relative; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.8rem; border: 1px solid var(--line); background: var(--surface); transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.contact-action:hover { transform: translateY(-4px); border-color: rgba(36, 135, 255, .7); background: #0b1220; }
.contact-action__icon { width: 42px; height: 42px; color: #48a7ff; }
.contact-action h2 { margin: 0; font-size: 1.35rem; font-weight: 560; }
.contact-action span { color: var(--muted); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-detail { padding: 2rem; border-top: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(16, 27, 44, .7), transparent); }
.contact-detail h2 { font-size: 1.1rem; color: var(--muted); }
.contact-detail p { margin: 0; font-size: 1.2rem; }
.project-brief { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); margin-top: clamp(4rem, 8vw, 7rem); padding: clamp(2rem, 5vw, 4.5rem); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); background: linear-gradient(110deg, rgba(13, 31, 62, .65), rgba(52, 12, 73, .24) 60%, transparent); }
.project-brief .technical-tag { margin-bottom: 1.4rem; }
.project-brief .section-title { margin-bottom: 1rem; }
.project-brief .check-list { margin: 0; }
.contact-form-panel { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(3rem, 7vw, 6rem); padding: clamp(1.5rem, 4vw, 3.5rem); border: 1px solid var(--line-strong); background: #050a12; }
.contact-form-panel__intro { align-self: start; }
.contact-form-panel__intro .technical-tag { margin-bottom: 1.4rem; }
.contact-form { display: grid; gap: 1.2rem; }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .45rem; color: #d8e1ed; font-size: .86rem; font-weight: 620; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid var(--line-strong); border-radius: 3px; outline: 0; color: var(--text); background: #02060c; transition: border-color .16s, box-shadow .16s; }
.contact-form input, .contact-form select { min-height: 3.1rem; padding: .75rem .9rem; }
.contact-form textarea { padding: .8rem .9rem; resize: vertical; line-height: 1.55; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,135,255,.16); }
.contact-form__wide { grid-column: 1 / -1; }
.contact-form__privacy { grid-template-columns: auto 1fr !important; align-items: start; gap: .7rem !important; color: var(--muted) !important; font-weight: 450 !important; line-height: 1.5; }
.contact-form__privacy input { width: 1.15rem; min-height: 1.15rem; margin-top: .18rem; accent-color: var(--magenta); }
.contact-form__privacy a { color: #61aeff; text-decoration: underline; text-underline-offset: 3px; }
.contact-form__submit { display: flex; align-items: center; gap: 1rem; }
.contact-form__status { margin: 0; color: var(--muted); font-size: .9rem; }
.contact-form__status[data-kind="success"] { color: #7eeba4; }
.contact-form__status[data-kind="error"] { color: #ff96a8; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Gallery */
.gallery-page-intro { max-width: 900px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .7rem; margin: 2.5rem 0 3rem; }
.filter-button { min-height: 45px; padding: .65rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-size: .92rem; cursor: pointer; }
.filter-button:hover, .filter-button[aria-pressed="true"] { border-color: transparent; background: var(--gradient); }
.project-gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 1rem; }
.gallery-item { position: relative; grid-column: span 4; min-height: 320px; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: zoom-in; }
.gallery-item:nth-child(7n + 1), .gallery-item:nth-child(7n + 5) { grid-column: span 6; min-height: 420px; }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item::after { content: attr(data-label); position: absolute; inset: auto .8rem .8rem; padding: .55rem .75rem; background: rgba(2, 5, 10, .82); color: #eef3f9; border-left: 2px solid var(--magenta); font-size: .78rem; text-align: left; backdrop-filter: blur(10px); }

.lightbox { position: fixed; z-index: 300; inset: 0; display: grid; place-items: center; overflow: hidden; padding: clamp(1rem, 3vw, 2rem); border: 0; background: rgba(1, 3, 7, .94); }
.lightbox[hidden] { display: none; }
.lightbox__figure { display: grid; width: min(1120px, calc(100vw - 4rem)); height: min(840px, calc(100dvh - 4rem)); min-width: 0; min-height: 0; margin: 0; place-items: center; }
.lightbox__figure img { display: block; width: 100% !important; height: 100% !important; min-width: 0; min-height: 0; object-fit: contain !important; }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%; background: #090e16; font-size: 1.7rem; cursor: pointer; }

/* Legal */
.legal-hero { min-height: 340px; }
.legal-content { max-width: 900px; }
.legal-content h2 { margin: 3rem 0 .85rem; font-size: clamp(1.6rem, 2.5vw, 2.25rem); font-weight: 560; }
.legal-content h3 { margin: 2rem 0 .6rem; font-size: 1.25rem; }
.legal-content p, .legal-content li { color: #c4cedc; }
.legal-content a { color: #55aaff; text-decoration: underline; text-underline-offset: 3px; }
.legal-note { margin: 2rem 0; padding: 1.4rem; border-left: 3px solid var(--blue); background: var(--surface); color: var(--muted); }

/* Cookie consent */
.cookie-consent { position: fixed; z-index: 220; inset: auto 1rem 1rem; width: min(680px, calc(100% - 2rem)); margin-left: auto; padding: 1.25rem; border: 1px solid var(--line-strong); background: rgba(5,10,18,.98); box-shadow: 0 24px 80px rgba(0,0,0,.55); }
.cookie-consent h2 { margin-bottom: .45rem; font-size: 1.18rem; }
.cookie-consent p { margin-bottom: 1rem; color: var(--muted); font-size: .9rem; }
.cookie-consent a { color: #62b0ff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.cookie-consent__actions .button { width: 100%; border-color: var(--line-strong); background: #0a111d; }
.cookie-consent__actions .button:hover { border-color: #5daeff; }
.cookie-settings { margin-top: .6rem; padding: 0; border: 0; color: var(--muted-2); background: none; cursor: pointer; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.cookie-settings:hover { color: var(--text); }

/* 404 */
.not-found { position: relative; display: grid; min-height: calc(100svh - var(--header-h)); align-items: center; overflow: hidden; background: radial-gradient(circle at 75% 45%, rgba(36, 135, 255, .16), transparent 28rem), #020409; }
.not-found__inner { position: relative; z-index: 1; padding-block: clamp(5rem, 10vw, 9rem); }
.not-found__code { position: absolute; z-index: -1; inset: 50% 0 auto auto; margin: 0; transform: translateY(-50%); color: transparent; background: var(--gradient); background-clip: text; -webkit-background-clip: text; font-size: clamp(12rem, 32vw, 30rem); font-weight: 800; line-height: .7; opacity: .1; }
.not-found h1 { max-width: 760px; margin: 1.5rem 0 1rem; font-size: clamp(3rem, 7vw, 6.4rem); font-weight: 450; line-height: .98; letter-spacing: -.05em; }
.not-found p:not(.not-found__code) { max-width: 650px; color: var(--muted); font-size: 1.1rem; }

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

@media (max-width: 1050px) {
  :root { --header-h: 78px; }
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .logo img { width: 190px; }
  .site-nav { gap: 1.25rem; }
  .site-nav a { font-size: .9rem; }
  .hero__media { left: 12%; }
  .about-grid, .quality-grid { grid-template-columns: 1fr; }
  .about-grid .media-frame { min-height: 650px; }
  .quality-grid .media-frame { min-height: 500px; }
  .gallery-preview { grid-template-columns: 1fr 1fr; grid-template-rows: 400px 280px; }
  .gallery-preview figure:nth-child(1) { grid-row: 1 / 3; }
  .gallery-preview figure:nth-child(2), .gallery-preview figure:nth-child(3) { grid-row: auto; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 2.4rem; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .process-step:nth-child(4) { border-top: 1px solid var(--line); }
  .gallery-item { grid-column: span 6; }
  .gallery-item:nth-child(7n + 1), .gallery-item:nth-child(7n + 5) { grid-column: span 6; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 2rem 1.2rem;
    transform: translateX(100%);
    background: rgba(2, 4, 8, .985);
    transition: transform .3s ease;
  }
  .site-nav[data-open="true"] { transform: none; }
  .site-nav a { padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
  .site-nav a::after { inset: auto auto 0 0; width: 110px; }
  .hero { min-height: auto; padding-bottom: 96px; }
  .hero__inner { padding-block: 5rem 8rem; }
  .hero__media { inset: 0 -30% 0 3%; opacity: .62; -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%); mask-image: linear-gradient(90deg, transparent, #000 65%); }
  .hero__content { max-width: 690px; }
  .hero-next { min-height: 96px; }
  .service-panels { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .gallery-intro { align-items: start; flex-direction: column; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-media { min-height: 400px; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-band__inner .button { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero { min-height: 570px; }
  .page-hero__media { inset: 0 -30% 0 15%; opacity: .52; }
  .numbered-service { grid-template-columns: 55px 1fr; }
  .numbered-service p { grid-column: 2; }
  .region-strip { grid-template-columns: 1fr; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-action { min-height: 155px; }
  .process-header, .project-brief, .contact-form-panel { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 1.25rem), var(--container)); }
  .logo img { width: 165px; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3.6rem); overflow-wrap: anywhere; }
  .contact-form__grid { grid-template-columns: 1fr; }
  .contact-form__wide { grid-column: auto; }
  .contact-form__submit { align-items: stretch; flex-direction: column; }
  .cookie-consent { inset: auto .65rem .65rem; width: calc(100% - 1.3rem); padding: 1rem; }
  .cookie-consent__actions { grid-template-columns: 1fr; }
  .hero__proof { max-width: 340px; }
  .hero__ruler { margin-top: 3rem; }
  .about-grid { gap: 2.4rem; }
  .about-grid .media-frame, .media-frame { min-height: 430px; }
  .button-row { flex-direction: column; align-items: stretch; }
  .button-row .button { width: 100%; }
  .service-panel { min-height: auto; padding: 2rem 1.4rem; }
  .metrics { grid-template-columns: 1fr; }
  .metric { text-align: center; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); }
  .gallery-preview { grid-template-columns: 1fr; grid-template-rows: repeat(3, 290px); }
  .gallery-preview figure:nth-child(1), .gallery-preview figure:nth-child(2), .gallery-preview figure:nth-child(3) { grid-row: auto; }
  .faq-media { min-height: 350px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: auto; }
  .process-grid, .proof-strip { grid-template-columns: 1fr; }
  .process-step { min-height: auto; padding: 1.7rem 1rem 1.8rem; }
  .process-step + .process-step { border-left: 0; border-top: 1px solid var(--line); }
  .process-step__number { margin-bottom: 1.5rem; }
  .process-step h3 { min-height: auto; }
  .numbered-service { grid-template-columns: 1fr; gap: .5rem; }
  .numbered-service p { grid-column: auto; }
  .page-hero__content { padding-block: 5rem; }
  .page-hero h1 { font-size: clamp(2.4rem, 10.5vw, 3.5rem); overflow-wrap: anywhere; }
  .contact-details { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:nth-child(7n + 1), .gallery-item:nth-child(7n + 5) { grid-column: auto; min-height: 330px; }
}

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